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

            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 at lists.freedesktop.org
          Reporter: tmp6154 at 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 exhibit
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-gentoo,
LLVM 3.7.1)

XOrg log shows GPUs are initialized:

[    30.903] (II) AMDGPU(G0): [DRI2] Setup complete 
[    30.903] (II) AMDGPU(G0): [DRI2]   DRI driver: radeonsi 
[    30.903] (II) AMDGPU(G0): [DRI2]   VDPAU driver: radeonsi 
[    30.905] (**) AMDGPU(G0): DRI3 enabled 
[    30.963] (II) AMDGPU(0): [DRI2] Setup complete 
[    30.963] (II) AMDGPU(0): [DRI2]   DRI driver: radeonsi 
[    30.963] (II) AMDGPU(0): [DRI2]   VDPAU driver: radeonsi 
[    30.964] (**) AMDGPU(0): DRI3 enabled 
[    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" 
    Identifier  "AMD Radeon RX 480 (POLARIS10)" 
    Driver      "amdgpu" 
    BusID       "PCI:1:0:0" 
    Option      "DRI"         "3" 
    Option      "AccelMethod" "glamor" 
EndSection

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.freedesktop.org/archives/dri-devel/attachments/20160821/7a2a988c/attachment.html>

Reply via email to