[RadeonSI] Dune: Spice Wars blue/purple screen
Description
Playing the game in OpenGL mode (through proton) sometimes when finishing a build the screen goes blue/purple.
Seems to be the shadows setting that affects it since it doesn't happen when it's set to low.
Screenshots/video files
Steps to reproduce
Unsure what the exact cause is yet, but seems it can happen when some buildings finish?
Shadows need to be set to medium or high.
This savegame is right before a building finishes which reproduce the issue. save_5_Fremen_3.sav
- Start game
and set shadows to medium or high. - Load save game above
- Fast forward a few seconds until the building completes
System information
System:
Host: kasphor Kernel: 5.17.5-arch1-1 arch: x86_64 bits: 64 compiler: gcc
v: 11.2.0 Desktop: KDE Plasma v: 5.24.4 tk: Qt v: 5.15.3 wm: kwin_wayland
dm: SDDM Distro: Arch Linux
CPU:
Info: quad core model: Intel Core i5-6600K bits: 64 type: MCP
arch: Skylake-S rev: 3 cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
Speed (MHz): avg: 3900 min/max: 800/3900 cores: 1: 3900 2: 3900 3: 3900
4: 3900 bogomips: 28009
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: AMD Tonga XT / Amethyst [Radeon R9 380X M295X] vendor: XFX Pine
driver: amdgpu v: kernel pcie: speed: 8 GT/s lanes: 16 ports:
active: DVI-D-2 empty: DP-1,DVI-D-1,HDMI-A-1 bus-ID: 01:00.0
chip-ID: 1002:6938
Display: wayland server: X.org v: 1.21.1.3 with: Xwayland v: 22.1.1
compositor: kwin_wayland driver: X: loaded: modesetting
alternate: fbdev,vesa gpu: amdgpu display-ID: 0
Monitor-1: DVI-D-2 res: 1920x1080 size: N/A
OpenGL: renderer: AMD Radeon R9 380 Series (tonga LLVM 13.0.1 DRM 3.44
5.17.5-arch1-1)
v: 4.6 Mesa 22.0.2 direct render: Yes
Also tested with fresh mesa-git
If applicable
- Xserver version: X.Org X Server 1.21.1.3 and also wayland
- Wine/Proton version: Proton 7.0-2
API captures (if applicable, optional)
Apitrace from windows https://mega.nz/file/F4w3DJZA#XJRxveZJK6Jt_XDKtMluPYheEuMAPBKe9oezGkFJHcg
Edit: Apitrace from linux (proton 7.0-2) https://mega.nz/file/IsZUUahb#XEKUXWGfCXdctK7ikhnznEZ_EQJyx6F0oodJo-7Mbfw
Further information (optional)
The issue does not happen on windows. With the amdgpu-pro opengl driver the world map doesn't render in so can't test properly with it. It also doesn't happen when the game is launched through directx with dxvk or WINED3D
I have not found any RADV_DEBUG
AMD_DEBUG
options that affect the issue nor llvm or zink