From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97428] Specific OpenGL applications deadlock on AMD GPU drivers Date: Sun, 21 Aug 2016 08:33:47 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0612260864==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id A486F6E0BD for ; Sun, 21 Aug 2016 08:33:47 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0612260864== Content-Type: multipart/alternative; boundary="14717684270.fa7E6.11426"; charset="UTF-8" --14717684270.fa7E6.11426 Date: Sun, 21 Aug 2016 08:33:47 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97428 Bug ID: 97428 Summary: Specific OpenGL applications deadlock on AMD GPU drivers Product: DRI Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: major Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: tmp6154@yandex.ru I've been experiencing problems with open-source AMD GPU driver and specific OpenGL applications. Particularly, Tabletop Simulator and Left 4 Dead 2 exh= ibit this behavior. After a few minutes since game launches, it (apparently randomly) deadlocks, screen stops to refresh. If game is minimized and maximized again, it will show black screen. From this state, it could only = be closed with SIGINT in terminal or SIGKILL. Left 4 Dead 2 has similar issue,= but unlike Tabletop Simulator, it doesn't seem to deadlock in main menu. My configuration: Gentoo Linux Dual AMD Radeon RX 480 (Polaris 10). 4.7.0 kernel with AMD GPU built as module (PowerPlay component enabled). mesa git (9999). xf86-video-amdgpu git (9999). XOrg 1.17.4 Direct Rendering works, GPU is detected according to glxinfo: direct rendering: Yes OpenGL renderer string: Gallium 0.4 on AMD POLARIS10 (DRM 3.2.0 / 4.7.1-gen= too, LLVM 3.7.1) XOrg log shows GPUs are initialized: [ 30.903] (II) AMDGPU(G0): [DRI2] Setup complete=20 [ 30.903] (II) AMDGPU(G0): [DRI2] DRI driver: radeonsi=20 [ 30.903] (II) AMDGPU(G0): [DRI2] VDPAU driver: radeonsi=20 [ 30.905] (**) AMDGPU(G0): DRI3 enabled=20 [ 30.963] (II) AMDGPU(0): [DRI2] Setup complete=20 [ 30.963] (II) AMDGPU(0): [DRI2] DRI driver: radeonsi=20 [ 30.963] (II) AMDGPU(0): [DRI2] VDPAU driver: radeonsi=20 [ 30.964] (**) AMDGPU(0): DRI3 enabled=20 [ 31.036] (II) GLX: Initialized DRI2 GL provider for screen 0 DRI3 is enabled (though GLX uses DRI2 for some reason). Here's my device configuration: Section "Device"=20 Identifier "AMD Radeon RX 480 (POLARIS10)"=20 Driver "amdgpu"=20 BusID "PCI:1:0:0"=20 Option "DRI" "3"=20 Option "AccelMethod" "glamor"=20 EndSection --=20 You are receiving this mail because: You are the assignee for the bug.= --14717684270.fa7E6.11426 Date: Sun, 21 Aug 2016 08:33:47 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 97428
Summary Specific OpenGL applications deadlock on AMD GPU drivers
Product DRI
Version unspecified
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity major
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter tmp6154@yandex.ru

I've been experiencing problems with open-source AMD GPU drive=
r and specific
OpenGL applications. Particularly, Tabletop Simulator and Left 4 Dead 2 exh=
ibit
this behavior. After a few minutes since game launches, it (apparently
randomly) deadlocks, screen stops to refresh. If game is minimized and
maximized again, it will show black screen. From this state, it could only =
be
closed with SIGINT in terminal or SIGKILL. Left 4 Dead 2 has similar issue,=
 but
unlike Tabletop Simulator, it doesn't seem to deadlock in main menu.

My configuration:

Gentoo Linux
Dual AMD Radeon RX 480 (Polaris 10).
4.7.0 kernel with AMD GPU built as module (PowerPlay component enabled).
mesa git (9999).
xf86-video-amdgpu git (9999).
XOrg 1.17.4

Direct Rendering works, GPU is detected according to glxinfo:

direct rendering: Yes

OpenGL renderer string: Gallium 0.4 on AMD POLARIS10 (DRM 3.2.0 / 4.7.1-gen=
too,
LLVM 3.7.1)

XOrg log shows GPUs are initialized:

[    30.903] (II) AMDGPU(G0): [DRI2] Setup complete=20
[    30.903] (II) AMDGPU(G0): [DRI2]   DRI driver: radeonsi=20
[    30.903] (II) AMDGPU(G0): [DRI2]   VDPAU driver: radeonsi=20
[    30.905] (**) AMDGPU(G0): DRI3 enabled=20
[    30.963] (II) AMDGPU(0): [DRI2] Setup complete=20
[    30.963] (II) AMDGPU(0): [DRI2]   DRI driver: radeonsi=20
[    30.963] (II) AMDGPU(0): [DRI2]   VDPAU driver: radeonsi=20
[    30.964] (**) AMDGPU(0): DRI3 enabled=20
[    31.036] (II) GLX: Initialized DRI2 GL provider for screen 0

DRI3 is enabled (though GLX uses DRI2 for some reason).

Here's my device configuration:

Section "Device"=20
    Identifier  "AMD Radeon RX 480 (POLARIS10)"=20
    Driver      "amdgpu"=20
    BusID       "PCI:1:0:0"=20
    Option      "DRI"         "3"=20
    Option      "AccelMethod" "glamor"=20
EndSection


You are receiving this mail because:
  • You are the assignee for the bug.
= --14717684270.fa7E6.11426-- --===============0612260864== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0612260864==--