2025-06-18 12:56 AM
Hello,
I'm using Buildroot environment with the STM32MP257F-DK board. I'm testing GStreamer with a simple pipeline:
gst-launch-1.0 videotestsrc ! autovideosink
When I first run it there is no problem. The test video shows fine on the HDMI monitor. But when I run it again second time there are errors : pipeline doesn't want to preroll. And all attempts after that fail too. It works only one time after the boot.
There is additional debug info: drmModeSetPlane failed: No space left on device (28).
Maybe some setting is missing ?
BR
raimo
2025-06-18 3:02 AM
Hi,
in OSTL Yocto based environment, there is no issue running several times your gstreamer command.
In you Builtroot env, you can try to check CMA memory with this command into a shell script:
"while true ; do grep CmaFree /proc/meminfo ; sleep 3 ; done"
And also try a bigger and HW accelerated mp4 video with the similar command to that:
su -l weston -c "gst-launch-1.0 filesrc location=/usr/local/demo/medical/videos/air_1024.mp4 ! qtdemux ! h264parse ! queue ! v4l2slh264dec ! autovideosink"
(replace mp4 file with yours)
Note: to check HW VPU is activated, check interrrupts number:
"cat /proc/interrupts | grep vdec"
BR,
Philippe.
2025-06-18 3:31 AM
Hi,
I did the CMA check, first it shows CmaFree 129400kB
After a succesful gstreamer launch there was 120976 kB, and after next failing tries there's 128800 kB and it doesnt change after this.
BR Raimo
2025-06-18 4:58 AM
Hi,
could you please add "-v" option in you gstreamer command to get more info.
Philippe.