[Libva] vaCreateSurfaceGLX now works with psb (IEGD 10.3) + Xorg 1.6.4

Gwenole Beauchesne gbeauchesne at splitted-desktop.com
Thu Feb 18 07:55:49 PST 2010


Hi,

On Thu, 18 Feb 2010, Adam Strzelecki wrote:

> Of course there's a problem with VAAPI requiring both 
> GL_ARB_framebuffer_object & GL_EXT_framebuffer_object, which is IMHO 
> wrong and makes vaCreateSurfaceGLX fail. So please change 
> `check_fbo_extensions` so it is returning TRUE when any of those two 
> extensions is present as below:

You are right, the FBO code in VA/GLX is not up-to-date.

Thanks for testing. BTW, if FBO works with your change then the plain 
vaCopySurfaceGLX() function should work too. If so, I'd be interested to 
know whether this makes a difference, performance-wise, in MPlayer for 
example.

e.g.
mplayer -vo vaapi:gl -va vaapi
vs.
mplayer -vo vaapi:gl:bind -va vaapi

Regards,
Gwenole.


More information about the Libva mailing list