[Bug 94220] New: AccelMethod "none" breaks DRI2 and VDPAU on amdgpu

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 19 17:47:00 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=94220

            Bug ID: 94220
           Summary: AccelMethod "none" breaks  DRI2 and VDPAU on amdgpu
           Product: xorg
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Driver/AMDgpu
          Assignee: xorg-driver-ati at lists.x.org
          Reporter: csaba.halasz at gmail.com
        QA Contact: xorg-team at lists.x.org

Created attachment 121847
  --> https://bugs.freedesktop.org/attachment.cgi?id=121847&action=edit
Xorg log

As far as I understand accelmethod none should just disable 2D (glamor). The
man page says:

"Setting this option to none disables use of the glamor acceleration
architecture. In that case, all 2D rendering is done by the CPU, but 3D and
video hardware acceleration can still work."

Also Xorg log seems to confirm this:

[ 55521.565] (II) AMDGPU(0): [DRI2] Setup complete
[ 55521.565] (II) AMDGPU(0): [DRI2]   DRI driver: radeonsi
[ 55521.565] (II) AMDGPU(0): [DRI2]   VDPAU driver: radeonsi
[ 55521.565] (II) AMDGPU(0): Front buffer pitch: 15360 bytes
[ 55521.566] (==) AMDGPU(0): DRI3 disabled
[ 55521.566] (==) AMDGPU(0): Backing store enabled
[ 55521.566] (II) AMDGPU(0): Direct rendering enabled
[ 55521.566] (II) AMDGPU(0): 2D acceleration disabled

Nevertheless running glxgears produces the following error:

X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  152 (DRI2)
  Minor opcode of failed request:  8 (DRI2SwapBuffers           )
  Resource id in failed request:  0xe00002
  Serial number of failed request:  48
  Current serial number in output stream:  49

With this in the Xorg log:

[ 55718.984] (EE) AMDGPU(0): [DRI2] DRI2SwapBuffers: drawable has no back or
front?

Running mplayer with -vo vdpau shows errors:

[vdpau] Error when calling vdp_presentation_queue_display: An invalid handle
value was provided. Either the handle does not exist at all, or refers to an
object of an incorrect type.
X11 error: BadAlloc (insufficient resources for operation)

Version info: Xorg 1.18, amdgpu git a3eac85d

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg-driver-ati/attachments/20160219/c2574ec6/attachment.html>


More information about the xorg-driver-ati mailing list