All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 97428] Specific OpenGL applications deadlock on AMD GPU drivers
@ 2016-08-21  8:33 bugzilla-daemon
  2016-08-21  8:50 ` bugzilla-daemon
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla-daemon @ 2016-08-21  8:33 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 2386 bytes --]

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@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 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.

[-- Attachment #1.2: Type: text/html, Size: 3749 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 97428] Specific OpenGL applications deadlock on AMD GPU drivers
  2016-08-21  8:33 [Bug 97428] Specific OpenGL applications deadlock on AMD GPU drivers bugzilla-daemon
@ 2016-08-21  8:50 ` bugzilla-daemon
  2016-08-22  2:21 ` bugzilla-daemon
  2016-08-23  7:23 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2016-08-21  8:50 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 720 bytes --]

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

--- Comment #1 from Vitaly Ostrosablin <tmp6154@yandex.ru> ---
Before deadlock, nothing is printed to terminal. I've also attempted using
GALLIUM_HUD environment variable to display various information. There's
nothing unusual right before deadlock (no VRAM usage spike, no high GPU load,
etc). Deadlocks seem to be completely random (I see no relation between scene
complexity, CPU load, etc). I.e. it may deadlock both on idle scene and during
active physics simulation (in case of Tabletop Simulator). Looks like an AMD
GPU issue.

If additional info is needed, let me know.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1519 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 97428] Specific OpenGL applications deadlock on AMD GPU drivers
  2016-08-21  8:33 [Bug 97428] Specific OpenGL applications deadlock on AMD GPU drivers bugzilla-daemon
  2016-08-21  8:50 ` bugzilla-daemon
@ 2016-08-22  2:21 ` bugzilla-daemon
  2016-08-23  7:23 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2016-08-22  2:21 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 304 bytes --]

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

--- Comment #2 from Michel Dänzer <michel@daenzer.net> ---
This could be a duplicate of bug 97174, try the LD_PRELOAD / LIBGL_DRI3_DISABLE
workarounds described there.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1278 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 97428] Specific OpenGL applications deadlock on AMD GPU drivers
  2016-08-21  8:33 [Bug 97428] Specific OpenGL applications deadlock on AMD GPU drivers bugzilla-daemon
  2016-08-21  8:50 ` bugzilla-daemon
  2016-08-22  2:21 ` bugzilla-daemon
@ 2016-08-23  7:23 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2016-08-23  7:23 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 661 bytes --]

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

Vitaly Ostrosablin <tmp6154@yandex.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED

--- Comment #3 from Vitaly Ostrosablin <tmp6154@yandex.ru> ---
Yes, that worked, many thanks! Looks like this was Steam's bug rather than
driver's failure.

*** This bug has been marked as a duplicate of bug 97174 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2376 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-08-23  7:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-21  8:33 [Bug 97428] Specific OpenGL applications deadlock on AMD GPU drivers bugzilla-daemon
2016-08-21  8:50 ` bugzilla-daemon
2016-08-22  2:21 ` bugzilla-daemon
2016-08-23  7:23 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.