cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP257F-DK GStreamer problem

Ronte.1
Associate II

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

3 REPLIES 3
PPAGE.13
ST Employee

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.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Ronte.1
Associate II

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

 

 

Hi,

 

could you please add "-v" option in you gstreamer command to get more info.

 

Philippe.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.