Discussion:
[Bug 94675] New: issue with mpv using OGL output on latest xf86-video-ati
b***@freedesktop.org
2016-03-23 19:20:04 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=94675

Bug ID: 94675
Summary: issue with mpv using OGL output on latest
xf86-video-ati
Product: xorg
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/Radeon
Assignee: xorg-driver-***@lists.x.org
Reporter: ***@gmail.com
QA Contact: xorg-***@lists.x.org

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
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freedesktop.org
2016-03-23 19:20:51 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=94675

John <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Hardware|Other |x86-64 (AMD64)
OS|All |Linux (All)
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freedesktop.org
2016-03-24 09:36:41 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=94675

--- Comment #1 from Michel Dänzer <***@daenzer.net> ---
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.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freedesktop.org
2016-03-24 21:38:58 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=94675

--- Comment #2 from John <***@gmail.com> ---
That works!

Thank you!
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freedesktop.org
2016-03-25 03:16:04 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=94675

Michel Dänzer <***@daenzer.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED

--- Comment #3 from Michel Dänzer <***@daenzer.net> ---
commit 8a6cd4bda05b9569b3dd0a5a75b2cc385b9ecba9
Author: Michel Dänzer <***@amd.com>
Date: Fri Mar 25 11:50:15 2016 +0900

Revert "Use render node for DRI3 if available"
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freedesktop.org
2016-03-30 02:57:38 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=94675

Michel Dänzer <***@daenzer.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com

--- Comment #4 from Michel Dänzer <***@daenzer.net> ---
*** Bug 94470 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freedesktop.org
2016-03-30 22:54:10 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=94675

--- Comment #5 from John <***@gmail.com> ---
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!
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freedesktop.org
2018-07-20 09:20:47 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=94675

John <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...