iMX6: Yocto Scarthgap: greenish bar at top of video

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

iMX6: Yocto Scarthgap: greenish bar at top of video

244 Views
pierluigi_p
Senior Contributor I

Dear NXP support,

I'm using SabreSD board connected to a HDMI display with the official Yocto Scarthgap image

root@imx6qpdlsolox:~# cat /proc/cmdline
console=ttymxc0,115200 root=/dev/mmcblk3p2 rootwait rw video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24
root@imx6qpdlsolox:~# uname -a
Linux imx6qpdlsolox 6.6.52-lts-next-ge0f9e2afd4cf #1 SMP PREEMPT Tue Nov 19 23:01:49 UTC 2024 armv7l GNU/Linux

I'm using the following pipeline to play a short AVI video (attached)

root@imx6qpdlsolox:~# gst-launch-1.0 filesrc location=usb-camera-mjpeg-2.avi ! avidemux ! vpudec ! imxcompositor_g2d ! imxv4l2sink
[INFO] Product Info: i.MX6Q/D/S
====== IMXV4L2SINK: 4.9.2 build on Oct 17 2024 06:05:58. ======
Setting pipeline to PAUSED ...
display(/dev/fb0) resolution is (1920x1080).
[INFO] Product Info: i.MX6Q/D/S
====== VPUDEC: 4.9.2 build on Oct 17 2024 06:05:58. ======
wrapper: 3.0.0 (VPUWRAPPER_ARM_LINUX Build on Oct 16 2024 08:23:41)
vpulib: 5.4.39
firmware: 3.1.1.46076
Pipeline is PREROLLING ...
[INFO] bitstreamMode 1, chromaInterleave 1, mapType 0, tiled2LinearEnable 0
v4l2sink need allocate 3 buffers.
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
Redistribute latency...0.1 %)
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:01.434171000
Setting pipeline to NULL ...
Total showed frames (43), playing for (0:00:01.434284000), fps (29.980).
Freeing pipeline ...

The video plays without errors, but with a greenish bar at top of the video.

Could you please help to fix it ?

Thanks

Best Regards

Pier

0 Kudos
Reply
4 Replies

195 Views
joanxie
NXP TechSupport
NXP TechSupport

currently I couldn't find a board to test, did you find this issue on other bsp version? how about testing other video? I didn't hear this issue before on official bsp version, or try another HDMI to test again, let me try to find a board to reproduce

0 Kudos
Reply

174 Views
lpdoyon
Contributor I

This pipeline was working correctly in previous version (see Yocto Kirkstone).

As for other video feed, we have tested many MJPEG stream coming from USB camera and they all show the issue whenever the resolution is not a multiple of 16 like 1080p resolution.

Tags (1)
0 Kudos
Reply

169 Views
pierluigi_p
Senior Contributor I

Hi @lpdoyon,

thanks for sharing.

Is there any workaround for this behavior ?

Thanks

Best Regards

Pier

0 Kudos
Reply

161 Views
lpdoyon
Contributor I

None that we found with the current Yocto Scarthgap. Like mentionned, imx-gst1.0-plugin from Yocto Kirkstone is not exhibiting this behavior, so that's what we are using at the moment.

0 Kudos
Reply