[Libva] vaCreateSurfaceGLX on psb fails (due lack of GLX_EXT_texture_from_pixmap)

Adam Strzelecki ono at java.pl
Wed Feb 17 15:12:21 PST 2010


Hi again,

Good news, seems that IEGD 10.3 has GLX_EXT_texture_from_pixmap! Still vaCreateSurfaceGLX fails, but not because of this missing extension.

This time I tried to install new IEGD 10.3 on Debian (my preferred distro). And I succeeded! This driver is far more stable than PSB I tried on Ubuntu. (If anyone wants to have instructions how to compile kernel module for default Debian kernel I can help).

I am able to play 6 to 7 H264 PAL resolution concurrent streams with my Atom Z530 box using vaapi-mplayer and X11 rendering, so far so good.
Yet vaCreateSurfaceGLX still doesn't work.

First of all vaCreateSurfaceGLX seems to require both GL_EXT_framebuffer_object and GL_ARB_framebuffer_object, but only GL_EXT_framebuffer_object is present on GMA500/US15. Anyway LIBVA uses only functions declared in GL_EXT_framebuffer_object specs, GL_ARB_framebuffer_object adds few more, but those are unused. Conclusion? One of GL_ARB_framebuffer_object and GL_EXT_framebuffer_object shall be IMHO required by LIBVA not both.

So I modded LIBVA to require only one of those two, but now I am stuck at glXChooseFBConfig in create_tfp_surface that does NOT find visual that has GLX_DRAWABLE_TYPE of GLX_PIXMAP_BIT.

Seems GMA500/US15 + IEGD 10.3 does not have any with GLX_PIXMAP_BIT (I do have Option "GlxVisuals" "all" in my xorg.conf). Oh c'mon :( now this is confusing, why IEGD 10.3 has GL_EXT_framebuffer_object but no GLX_DRAWABLE_TYPE of GLX_PIXMAP_BIT??? Fancy that there's no explicit statement in GL_EXT_framebuffer_object specs that there must be GLX_PIXMAP_BIT, but there's GLX_PIXMAP_BIT used in the sample at the bottom of the specs.

Frankly I didn't read it so carefully so I don't get why we really need GLX_PIXMAP_BIT there? Anyone knows why we need FBConfig with GLX_PIXMAP_BIT there?

Regards,
-- 
Adam | nanoant.com


More information about the Libva mailing list