<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - AccelMethod "none" breaks DRI2 and VDPAU on amdgpu"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94220">94220</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>AccelMethod "none" breaks  DRI2 and VDPAU on amdgpu
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Driver/AMDgpu
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>xorg-driver-ati@lists.x.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>csaba.halasz@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>xorg-team@lists.x.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=121847" name="attach_121847" title="Xorg log">attachment 121847</a> <a href="attachment.cgi?id=121847&action=edit" title="Xorg log">[details]</a></span>
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</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>