Hello, between commit "Use render node for DRI3 if available" and "glamor: Return NullPixmap on failure to create shareable pixmap" something broke mpv's OGL output. I can bisect that if needed. When I run -vo vdpau it works fine, but -vo opengl or -vo opengl-hq gives me no video in the window, and error lines such as: "[vo/opengl-hq] after creating framebuffer texture: OpenGL error INVALID_OPERATION." "[vo/opengl-hq] after rendering: OpenGL error INVALID_OPERATION." and on quitting: "[vo/opengl-hq/vdpau-glx] Before uninitializing OpenGL interop: OpenGL error INVALID_OPERATION." Rolling back to commit "Set RADEON_GEM_NO_CPU_ACCESS flag for BOs which don't need CPU access" fixes it. I see nothing in dmesg related. Other OGL programs seem to still run fine (I tried glxgears and dolphin-emu quickly), so I am not sure. I am on Linux 4.5, mesa git, Xorg 1.18.2, using a 280X. I tried using mpv from latest git in case, but it didn't change anything from 0.16. Thank you! John
It's cd94248f ("Use render node for DRI3 if available"). The problem is likely related to the Gallium VDPAU code not supporting DRI3 yet. Until that's fixed, you can work around the problem with the environment variable LIBGL_DRI3_DISABLE=1.
That works! Thank you!
commit 8a6cd4bda05b9569b3dd0a5a75b2cc385b9ecba9 Author: Michel Dänzer <michel.daenzer@amd.com> Date: Fri Mar 25 11:50:15 2016 +0900 Revert "Use render node for DRI3 if available"
*** Bug 94470 has been marked as a duplicate of this bug. ***
I've seen you reverted the revert, so I tried it. Latest mesa and xf86 works fine again, I'm guessing this is now properly fixed. Thank you!
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.