bootlin / libva-v4l2-request

LibVA implementation for the Linux Video4Linux2 Request API
Other
76 stars 59 forks source link

gstreamer vaapi : No buffer space available #40

Open nandra opened 2 years ago

nandra commented 2 years ago

Hello,

I'm trying to play h264 video with gstreamer 1.18.4 following this : https://github.com/bootlin/libva-v4l2-request/issues/20 but I'm getting:

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'vaapidecode_h264-0': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayEGL\)\ gldisplayegl0";
Got context from element 'vaapidecode_h264-0': gst.vaapi.Display=context, gst.vaapi.Display=(GstVaapiDisplay)"\(GstVaapiDisplayDRM\)\ vaapidisplaydrm1";
v4l2-request: Unable to enable stream: Invalid argument
v4l2-request: Unable to create buffer for type 1: No buffer space available
v4l2-request: Unable to create buffer for type 1: No buffer space available
v4l2-request: Unable to create buffer for type 1: No buffer space available
v4l2-request: Unable to create buffer for type 1: No buffer space available
v4l2-request: Unable to create buffer for type 1: No buffer space available

it seems it cannot allocated buffer (didn't check kernel source yet). Amy ideas what it can be ? Thanks.

P.S.: Using 5.14 kernel + github.com/noneucat/libva-v4l2-request.git and branch fix-kernel-5.14