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

Bian, Jonathan jonathan.bian at intel.com
Tue Feb 16 09:19:15 PST 2010


Adam,

I understand your frustrations and also wish the situation could be different. There will be people at Intel looking at supporting this feature for a future release but I am not in a position to comment on the timeline.

Regards,
Jonathan

-----Original Message-----
From: Adam Strzelecki [mailto:adam.strzelecki at java.pl] On Behalf Of Adam Strzelecki
Sent: Friday, February 12, 2010 7:47 AM
To: Bian, Jonathan
Cc: libva at lists.freedesktop.org
Subject: Re: [Libva] vaCreateSurfaceGLX on psb fails (due lack of GLX_EXT_texture_from_pixmap)

> You would need either TFP extension or vaCreateSurfaceGLX/vaCopySurfaceGLX supported in the PSB driver in order to get the decoded video into the OpenGL pipeline.  Before this happens, the only way of doing blended UI is through subpictures.

Jonathan, this is what I was afraid of. Do you have any rough estimates when/if we can expect updated driver for PSB? I know it was expected for Moblin 2.1, but we are now in 2010 and still no news about new driver. Frankly I was bit surprised that vaCreateSurfaceGLX/vaCopySurfaceGLX do not work with PSB. Both OpenGL textures and vaSurfaces are internally just porinters to blocks of memory supervised by graphic chip, so I thought that vaSurface should be available as OpenGL texture straightahead, only thing needed is some binding between vaSurfaceID and OpenGL texture ID.

> Gwenole had some comments on the various ways of doing UI recently: http://lists.freedesktop.org/archives/libva/2010-January/000140.html

Yes, I saw that post. Unfortunately we have quite advanced OpenGL 2D GUI, and with subpictures all I can get is some overlays onto rendered video surfaces, this is not enough as I got quite opposite scenario here with multiple video streams (4-9) embedded into semi-transparent OpenGL GUI (menus, lists, widgets). Regular version uses OpenGL textures fed by glTexImage2D with data from software codec.

Now I was about port the decoding part to VA API, but I am stuck.

Regards,
-- 
Adam | nanoant.com


More information about the Libva mailing list