2129917_ja-JP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2129917_ja-JP

2129917_ja-JP

IMX8MP MLの例が動作しない

こんにちは、
私はBSP 5.15.71-2.2.2を実行しており、 https://www.nxp.com/docs/en/user-guide/UG10166.pdfの機械学習の例を試してみたかったのです。セクション8.1

この例に基づいて、この特定のパイプラインを実行すると(ヘッドレスで実行しているため、waylandsink が fakevideosink に変更されているだけです)

GST_DEBUG=3 gst-launch-1.0 --no-position v4l2src device=/dev/video2 ! video/x-raw,width=640,height=480,framerate=24/1 ! tee name=t t. ! queue max-size-buffers=2 leaky=2 !  imxvideoconvert_g2d ! video/x-raw,width=300,height=300,format=RGBA ! videoconvert ! video/x-raw,format=RGB ! tensor_converter ! tensor_filter framework=tensorflow-lite model=/home/root/ssd_mobilenet_v2_coco_quant_postprocess.tflite  custom=Delegate:External,ExtDelegateLib:libvx_delegate.so ! tensor_decoder mode=bounding_boxes option1=mobilenet-ssd-postprocess option2=/home/root/ssd_labels.txt option3=0:1:2:3,50 option4=640:480 option5=300:300 ! mix. t. ! queue max-size-buffers=2 ! imxcompositor_g2d name=mix latency=30000000 min-upstream-latency=30000000 sink_0::zorder=2 sink_1::zorder=1 ! fakevideosink


ハードウェアアクセラレーションのimxcompositor_g2dは次のエラーを発生します

** Message: 19:38:14.427: accl = cpu
Vx delegate: allowed_cache_mode set to 0.
Vx delegate: device num set to 0.
Vx delegate: allowed_builtin_code set to 0.
Vx delegate: error_during_init set to 0.
Vx delegate: error_during_prepare set to 0.
Vx delegate: error_during_invoke set to 0.
WARNING: Fallback unsupported op 32 to TfLite
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
0:00:00.964549750  1671 0xaaaaedd5fb00 WARN           imxcompositor gstimxcompositor.c:1540:gst_imxcompositor_aggregate_frames: set rotate failed 0xaaaaee03eb40

W [HandleLayoutInfer:274]Op 162: default layout inference pass.
W [HandleLayoutInfer:274]Op 162: default layout inference pass.
0:00:01.005968875  1671 0xaaaaedd5fb00 WARN           imxcompositor gstimxcompositor.c:1540:gst_imxcompositor_aggregate_frames: set rotate failed 0xaaaaee03ec60

0:00:01.050180875  1671 0xaaaaedd5fb00 WARN           imxcompositor gstimxcompositor.c:1540:gst_imxcompositor_aggregate_frames: set rotate failed 0xffff4c013480

0:00:01.089492750  1671 0xaaaaedd5fb00 WARN           imxcompositor gstimxcompositor.c:1540:gst_imxcompositor_aggregate_frames: set rotate failed 0xaaaaee03eea0

ログや私が試した他のパイプラインから、VX デリゲートは正常に動作し、HW オブジェクト検出を実行します。発生する唯一の問題は、imxcompositor_g2d の場合です。HW イメージ コンポジターを使用する際に気付かない特定の制限はありますか?

グラフィックスとディスプレイマルチメディアソフトウェア不具合の疑いYocto ProjectRe: IMX8MP ML Example not working

私の側でこれをテストしましたが、エラーログは見つかりませんでした。以下のメッセージは警告メッセージで、古いBSPにも存在します。これはエラーメッセージではありません。この警告メッセージについては以前にGPUチームに報告しました。

0:00:01.005968875  1671 0xaaaaedd5fb00 WARN           imxcompositor gstimxcompositor.c:1540:gst_imxcompositor_aggregate_frames: set rotate failed 0xaaaaee03ec60

joanxie_0-1752732604448.png


Re: IMX8MP ML Example not working

いいえ、シンクは、偽のシンク、UDP シンク、その他のいずれであってもマターありません。具体的には、 imxcompositor_g2dコンポーネントに特定しました。ソフトウェアベースのコンポジターコンポーネントに変更したため、パイプラインは正常に動作します。

Re: IMX8MP ML Example not working

パイプラインは waylandsink では機能するが、waylandsink から fakevideosink では失敗するということでしょうか?

Tags (1)
No ratings
Version history
Last update:
‎11-22-2025 12:04 AM
Updated by: