[Mesa-dev] VAAPI egl interop on radeon

Christian König deathsimple at vodafone.de
Thu Jul 21 08:45:20 UTC 2016


Hi Jan,

I don't think we have implemented EGL interop on VA-API to this extend. 
All that is supported is exporting the handle of RGBA images, not 
directly decoded YUV data.

If you need decoding support with OpenGL/EGL interop on AMD hardware 
please use VDPAU instead.

Regards,
Christian.

Am 15.07.2016 um 11:25 schrieb Jan Burgmeier:
> Hi,
>
> I am developing an application which uses vaapi and egl. My goal is to 
> use vaDeriveImage and vaAcquireBufferHandle to get the drm buffer id 
> which then can be used to create a EGLImageKHR. My problem is, that on 
> amd hardware (AMD GX-212ZC SOC with Radeon(TM) R1E Graphics and AMD 
> GX-424CC SOC with Radeon(TM) R5E Graphics) vaDeriveImage fails with 
> "invalid VASurfaceID" and when I do vaGetImage as a fallback to get 
> the image vaAcquireBufferHandle fails with "invalid VABufferID". The 
> same code works on Intel hardware.
>
> Mesa version: 11.2.2
>
>  - Should this work in general?
>  - Is there any special setting needed?
>
> Kind regards
> Jan Burgmeier
>
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160721/1e4bba3a/attachment.html>


More information about the mesa-dev mailing list