AccelMethod "none" breaks DRI2 and VDPAU on amdgpu
Submitted by csa..@..il.com
Assigned to xf86-video-ati maintainers
Description
Created attachment 121847
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
Attachment 121847, "Xorg log":
Xorg.0.log.accelnone