Osu! DRI_PRIME=1 Crashes To Login
System information
- OS: cat /etc/os-release | grep "NAME"
- GPU: 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev c7)
- Kernel version: Linux pop-os 5.4.0-7634-generic #38 (closed)
159249712920.04~9a1ea2e-Ubuntu SMP Fri Jun 19 22:43:37 UTC x86_64 x86_64 x86_64 GNU/Linux - Mesa version: OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.1.2 - kisak-mesa PPA
- Xserver version X.Org X Server 1.20.8 X Protocol Version 11, Revision 0
- Desktop manager and compositor: Gnome - Mutter
If applicable
- DXVK version: game is OpenGL
- Wine/Proton version: tkg-osu-4.6-x86_64
Describe the issue
When launching Osu! (windows) using Lutris with the discrete_graphics option (DRI_PRIME=1), it crashes the desktop back to login screen. Using the iGPU (DRI_PRIME=0) the game runs fine.
Regression
This happens every time without fail, even with a fresh OS install.
Log files as attachment
- Output of
dmesg
: https://paste.ubuntu.com/p/SGmf2xYjNS/ - Wine debug output with DRI_PRIME=1: https://paste.ubuntu.com/p/gXykqYdXTb/
- Win debug output with DRI_PRIME=0: https://paste.ubuntu.com/p/xY7cnCyYrx/
Screenshots/video files (if applicable)
- Video showing the crash: https://youtu.be/6NSLhTCS97s