https://bugs.freedesktop.org/show_bug.cgi?id=91308
Bug ID: 91308 Summary: Tonga UVD not working with GL_NV_vdpau_interop Product: DRI Version: DRI git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: adf.lists@gmail.com
UVD seems OK generally on Tonga (barring apparently being in low power) but not with GL_NV_vdpau_interop.
Tested with kodi and mpv.
kodi says -
ERROR: VDPAU::COutput error mapping surface DEBUG: CLinuxRendererGL::GetPlaneTextureSize - invalid size 0x0 - 0
mpv -
[vo/opengl] after rendering: OpenGL error INVALID_OPERATION.
glxinfo shows GL_NV_vdpau_interop present.
mesa is of course agd5f, with some llvm build fixes plus a minor modification I made to advertise level 52 (as ffmpeg cli at least does check).
I'll attach my diff against agd5f mesa just in case I obviously messed up!