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.
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.