[amdgpu R9 390X] GPU hang on windows switching while running Quetoo
Submitted by Thomas DEBESSE
Assigned to Default DRI bug account
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:
- Untar Quetoo prebuild binary (from http://quetoo.org/pages/downloads )
- run bin/quetoo-update to get data
- delete lib/libdrm.so.2 and lib/libstdc++.so.6 from quetoo dir if needed
- run bin/quetoo
- load a map (or join a server)
- 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.