i used imx6q sabreauto.
There is a phenomenon of screen separation in my display device.
Parallel LCD and HDMI have the same phenomenon.
export FB_MULTI_BUFFER=8
echo 1 > /sys/class/graphics/fb2/blank
echo 0 > /sys/class/graphics/fb2/blank
fbset -fb /dev/fb2 --geometry 1280 1024 1280 1024 32
gst-launch-1.0 imxv4l2videosrc device=/dev/video0 ! queue ! imxg2dvideosink use-vsync=true sync=true framebuffer=/dev/fb2 window-width=1280 window-height=960 window-y-coord=64
how about trying to use overlaysink to replace imxg2dvideosink ?
hi
I also tried using overlaysink.
I used gstreamer overlaysink display-master=true display-hdmi=true....
It does not work well.
I set the display-master to LCD and the display-hdmi to HDMI for overlaysink.
Do you have an example that you know?
regards.
why do you set FB_MULTI_BUFFER to 8? I suggest that you can use 2 or 3, and what backend do you use? x11 or wayland?
I tested FB_MULTI_BUFFER by changing from 1 to 8. This was seen on the this community site.
I have seen that in this community site we need to increase the number of FB_MULTI_BUFFER to remove tearing.
i used backend = FB
DISTRO=fsl-imx-fb
regards!
what bsp version do you use?
repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-morty -m imx-4.9.11-1.0.0_ga.xml
yocto morty
kernel 4.9.11
DISTRO=fsl-imx-fb
bitbake fsl-image-qt5-validation-imx
thanks for your information, FB_MULTI_BUFFER should improve this issue, I'm not sure gstreamer plugins you use would effect this issue, do you mind tring to use unit test to reproduce this? the command like
/unit_tests/mxc_v4l2_capture.out -iw 1280 -ih 960 -ow 1280 -oh 960 -i 1 -fr 30 -m 4 /tmp/test.yuv
/unit_tests/mxc_v4l2_output.out -iw 1280 -ih 720 -ow 1280 -oh 720 -fr 30 /tmp/test.yuv
hi
i used
export FB_MULTI_BUFFER=4
and
---- Running < ./mxc_v4l2_capture.out > test ----
in_width = 1280, in_height = 960
out_width = 1280, out_height = 960
top = 0, left = 0
sensor chip is daycam_camera
sensor supported frame size:
1280x960
1280x960
1280x960
1280x960
1280x960
1280x960
1280x960
1280x960
1280x960
sensor frame format: UYVY
Width = 1280 Height = 960 Image size = 1843200
pixelformat: YU12
VIDIOC_DQBUF failed.
VIDIOC_QBUF failed
my camera pixelformat = V4L2_PIX_FMT_UYVY
---- Running < ./mxc_v4l2_capture.out > test ----
in_width = 1280, in_height = 960
out_width = 1280, out_height = 960
top = 0, left = 0
sensor chip is daycam_camera
sensor supported frame size:
1280x960
1280x960
1280x960
1280x960
1280x960
1280x960
1280x960
1280x960
1280x960
sensor frame format: UYVY
Width = 1280 Height = 960 Image size = 2457600
pixelformat: UYVY
VIDIOC_DQBUF failed.
VIDIOC_QBUF failed