Hello,
on tx2 4g, we enabled dual screen and execute the following:
gst-launch-1.0 videotestsrc pattern=18 ! tee name=t ! queue ! nvvidconv ! ‘video/x-raw(memory:NVMM),width=1920,height=1080,format=RGBA,framerate=25/1’ ! nvoverlaysink name=out1 overlay-x=0 overlay-y=0 overlay-w=940 overlay-h=540 display-id=0 sync=false async=false t. ! queue ! nvvidconv ! ‘video/x-raw(memory:NVMM),width=1920,height=1080,format=RGBA,framerate=25/1’ ! nvoverlaysink name=out2 overlay-x=940 overlay-y=540 overlay-w=940 overlay-h=540 display-id=1 sync=false async=false -v
but both screens keep flashing red strips like in the attached pictures :
could you help to solve this?
Hi,
Please not to set overlay-x/overlay-y/overlay-w/overlay-h and try again. By default it should be full screen.
gst-launch-1.0 videotestsrc pattern=18 ! tee name=t ! queue ! nvvidconv ! ‘video/x-raw(memory:NVMM),width=1920,height=1080,format=RGBA,framerate=25/1’ ! nvoverlaysink name=out1 display-id=0 sync=false async=false t. ! queue ! nvvidconv ! ‘video/x-raw(memory:NVMM),width=1920,height=1080,format=RGBA,framerate=25/1’ ! nvoverlaysink name=out2 display-id=1 sync=false async=false -v
setting full screen with following:
gst-launch-1.0 videotestsrc pattern=18 ! tee name=t ! queue ! nvvidconv ! ‘video/x-raw(memory:NVMM),width=1920,height=1080,format=RGBA,framerate=25/1’ ! nvoverlaysink name=out1 display-id=0 sync=false async=false t. ! queue ! nvvidconv ! ‘video/x-raw(memory:NVMM),width=1920,height=1080,format=RGBA,framerate=25/1’ ! nvoverlaysink name=out2 display-id=1 sync=false async=false -v
the red strips is still there:
Hi
please check
sudo cat /sys/kernel/debug/tegradc.0/stats
sudo cat /sys/kernel/debug/tegradc.1/stats
sudo cat /sys/kernel/debug/tegradc.2/stats
sudo cat /sys/kernel/debug/tegradc.0/stats
underflows: 576
underflows_frames: 10
sudo cat /sys/kernel/debug/tegradc.1/stats
underflows: 583
underflow_frames: 1162
sudo cat /sys/kernel/debug/tegradc.2/stats:Nosuch file or directory
Hi,
Please try the steps in
1 Like