[Libva] regression from 1.2: ivybridge + i965/libva=1.3 decodes solid black with mpv --hwdec=vaapi --vo=opengl

Rinat Ibragimov ibragimovrinat at mail.ru
Fri Apr 11 00:09:38 PDT 2014


Sun, 6 Apr 2014 04:40:51 -0700 от Kevin Mitchell <kevmitch at gmail.com>:
> 
> This poroblem is only exhibited on an Ivy Bridge machine. A comparably configured Sandy Bridge machine decodes as expected with the first command in all cases.
> 
> Any Ideas?

I have the same issue on Ivybridge machine. It was started with Mesa upgrade to 10.1 (in Debian).
Don't know why, but it's somehow affected by GLX depth buffer. And this patch at least hides an issue:

diff -ur libva-1.3.0-orig/va/glx/va_glx_impl.c libva-1.3.0/va/glx/va_glx_impl.c
--- libva-1.3.0-orig/va/glx/va_glx_impl.c	2014-03-24 12:03:33.000000000 +0400
+++ libva-1.3.0/va/glx/va_glx_impl.c	2014-04-11 10:59:48.000000000 +0400
@@ -500,6 +500,7 @@
         GLX_RED_SIZE,           8,
         GLX_GREEN_SIZE,         8,
         GLX_BLUE_SIZE,          8,
+        GLX_DEPTH_SIZE,         24,
         GL_NONE,
     };
     for (attrib = fbconfig_attrs; *attrib != GL_NONE; attrib += 2)


> 
> Kevin
> 
> [1]  http://mpv.io/
> Debian Bug #743701  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=%23743701
> 

---
Rinat


More information about the Libva mailing list