intel / intel-vaapi-driver

VA-API user mode driver for Intel GEN Graphics family
https://01.org/linuxmedia
Other
303 stars 126 forks source link

vaCreateSurfaces fails silently with attribute VA_SURFACE_ATTRIB_MEM_TYPE_USER_PTR #504

Open whbruce opened 4 years ago

whbruce commented 4 years ago

CreateSurfaces2 does not support attribute VA_SURFACE_ATTRIB_MEM_TYPE_USER_PTR so does not correctly create the requested surface and fails silently.

Contrast this behavior with the iHD driver which correctly sets up a user surface.

Short term fix would be return VA_STATUS_ERROR_INVALID_PARAMETER if specified attribute is not supported. Longer term option would be add user pointer surface support.