Exiting nvdrmvideosink causes display to go blank

Hello there,

I have an AGX Xavier connected to a Connettech Rogue-X carrier board. In one of our applications we use the nvdrmvideosink. I noticed that whenvever we quit the process running the nvdrmvideosink, the screen gets blanked. We are not running any X11. Also when using gst-launch, we can only run this command once:

gst-launch-1.0 videotestsrc num-buffers=300 is-live=1 ! nvvidconv ! 'video/x-raw(memory:NVMM),format=I420' ! nvdrmvideosink -e

If we immediatly repeat the command we get

Failed to set plane
Failed to display frame buffer

If I unblank the screen using the following comamnd I can repeat the gstreamer pipeline without problems:

sudo sh -c 'echo 0 > /sys/class/graphics/fb0/blank'

Is there any way we can use nvdrmvideosink without it blanking the screen?

We use the following version of Jetpack:

# R32 (release), REVISION: 7.2, GCID: 30192233, BOARD: t186ref, EABI: aarch64, DATE: Sun Apr 17 09:53:50 UTC 2022


We will set up and check this. The solution you shared looks fine:

sudo sh -c ‘echo 0 > /sys/class/graphics/fb0/blank’

Please use it as a quick solution.