JetPack 4.5 L4T 32.5 on NX developer kit.
The pipeline below works as expected with x11 but fails for waylands/weston. Changing the plane_id to 2 or 3 yields the same results.
gst-launch-1.0 videotestsrc ! nvdrmvideosink conn_id=0 plane_id=1 set_mode=0 -e
It seems to be an issue with DRM buffer allocation if I google the gst-launch error messages:
cannot create dumb buffer
Cannot create frame buffer
Why is this happening?
DaneLLL
3
Hi,
The nvdrmvideosink plugin is to work in the environment without Window system. Please look at
https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/accelerated_gstreamer.html#wwpID0E0UP0HA
By default X11 is enabled. Need to stop it before launching the pipeline:
$ sudo systemctl stop gdm
$ sudo loginctl terminate-seat seat0
So it is a bit strange it works with X11. We would suggest disable it.