Bug 99685

Summary: [amdgpu R9 390X] GPU hang on windows switching while running Quetoo
Product: Mesa Reporter: Thomas DEBESSE <dev>
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact: Default DRI bug account <dri-devel>
Severity: normal    
Priority: medium    
Version: 17.0   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Thomas DEBESSE 2017-02-05 21:58:57 UTC
Hi, I trigger a GPU hang whenever I switch between the Quetoo window and another windows using Alt+Tab. A map must be loaded to trigger the hang. Once the GPU hanged, the display does not update (but everything else is still running, I can hear sound effects, connect from a remote computer to monitor things etc) and every action that query the GPU will hang, for example after the display hang, it's not possible to run clinfo otherwise it will never return.

GPU: R9 390X
Distro: Ubuntu 16.10
Kernel: Linux 4.9.0-6.1 (from https://liquorix.net/ )
KMD: amdgpu
UMD: Mesa 17.1.0-devel (from https://launchpad.net/~paulo-miguel-dias/+archive/ubuntu/mesa )

How to trigger the bug:

1. Untar Quetoo prebuild binary (from http://quetoo.org/pages/downloads )
2. run bin/quetoo-update to get data
3. delete lib/libdrm.so.2 and lib/libstdc++.so.6 from quetoo dir if needed
4. run bin/quetoo
5. load a map (or join a server)
6. do the Alt+Tab thing to switch between windows and come back to Quetoo.

If you want to build quetoo yourself, you can run it that way after having built it:
$ src/main/quetoo -p …/quetoo/share/default -p …/quetoo/lib/default

"…/quetoo" being the path where you ran quetoo-update before (share/default contains pk3 game data and lib/default contains glsl etc.)

I don't know if the bug is on Mesa side or kernel side.

dmesg
http://pastebin.com/eQt6radD
Xorg.0.log
http://pastebin.com/Ge11mwN6
journactl /usr/lib/gdm3/gdm-x-session
http://pastebin.com/3hYX08H7
Comment 1 GitLab Migration User 2019-09-25 17:56:47 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1250.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.