[Bug 774811] gstreamer-vaapi fails in a headless environment.

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Nov 22 14:05:00 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=774811

--- Comment #1 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Thanks for reporting this.

My guts tell me that this might a configuration problem.

When libva reports that "va_getDriverName() returns -1" it is because it could
not find the drivers name. Normally, libva uses some hints to find this driver
name. In the case of drm, it uses a try-and-error list[1].

1. https://cgit.freedesktop.org/libva/tree/va/drm/va_drm_utils.c#n39

Now, GstVaapiDisplayDRM only tries to open render nodes, not the render device
itself. The render nodes are those called /dev/dri/renderD* [2]

2. https://dvdhrm.wordpress.com/2013/09/01/splitting-drm-and-kms-device-nodes/


The question is why libva is not finding the driver name. A workaround would be
exporting the environment variable LIBVA_DRIVER_NAME set to "i915"

Could you upload the output of 

$ strace gst-inspect-1.0 /path/to/libgstvaapi.so  

??

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list