gstreamer-plugins-vaapi broken (again) with Gnome Videos (AKA totem).

Gnome Videos (totem) crashes when trying to open mp4 videos, while videos needing only OSS codecs still play OK.
AGAIN the problem is something related to gstreamer-plugins-vaapi: uninstalling it everything plays again (without HW acceleration, of course).
It played OK for a while on this system, but something in recent updates broke it again, it seems a recurring problem.
I tried to revert the updates of the last couple of days, without success. Tried with kernel 4.4.36-8-default, same story.

This is not really a request for help, I can live without video HW acceleration, but I’m ready to help in testing if somebody is interested.
As a starting point I noticed that the following unusual error was issued when starting totem from a terminal:


bruno@LT_B:~> totem Videos/Tutto.mp4
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0

(totem:7686): Gtk-WARNING **: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node slider owner GtkScale)
**intel_do_flush_locked failed: No such file or directory**
bruno@LT_B:~>

Hi
I see the same part on amdgpu, but videos work, that intel_do_flush_locked is driver related, not gstreamer…

Let me test on my MackBook which has the core2-duo and intel gpu…

Hi
Hmmmm I see your warning, but no error…

Try;


export LIBGL_DRI3_DISABLE=1; totem Videos/Tutto.mp4

https://bugs.freedesktop.org/show_bug.cgi?id=71759

Thanks Malcolm, that was it! So the culprit was not an update but ME playing with xorg.conf.d/50-device.conf and inserting ‘Option “DRI” “3”’ a few days ago…
Issue closed.

For information of those stumbling upon this thread… this issue is fixed in Mesa 17.0.0 (it should have been OK since 12.04 according to the referenced bug report).