radv: Enshrouded GPU hang on RX 6800
Description
In Enshrouded (game uses Vulkan) when you first enter a world with your character a video will play. As soon as or a bit after it has started playing the game can hang. Edit: It isn't related to the video. Just going in to or starting a world can cause a hang. On my setup this is a bit random or racy as sometimes i can hang multiple times in a row and other times i have to try a bunch of times before it will.
Around 3 months ago the game had a demo during the Steam Next Fest and it can be seen on ProtonDB that it seemed to have the same issue back then and it seems some people had luck using amdvlk instead.
Edit: speaking with someone on Discod it is likely that that it isn't the video itself that is the issue but something that happens with the game in background. The FPS can be quite low and weird while it is playing so i assume the world itself is also being rendered or similar.
Log files (for system lockups / game freezes / crashes)
Hang logs, Proton log and game log
Steps to reproduce
Graphical settings used is the max preset
Create a new character
Select the character and create a new world
Once you try to play in that world a video should start playing and it should hang shortly
If it doesn't hang then repeat step 3. Possibly using a new world and or character if the video doesn't play again
System information
System info
System:
Host: blisto-monkey Kernel: 6.7.1-arch1-1 arch: x86_64 bits: 64
compiler: gcc v: 13.2.1 Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.12
wm: kwin_wayland dm: SDDM Distro: Arch Linux
CPU:
Info: 16-core model: AMD Ryzen 9 7950X bits: 64 type: MT MCP arch: Zen 4
rev: 2 cache: L1: 1024 KiB L2: 16 MiB L3: 64 MiB
Speed (MHz): avg: 2273 high: 5444 min/max: 400/5881 cores: 1: 5441 2: 3112
3: 400 4: 400 5: 5441 6: 400 7: 5440 8: 5444 9: 3776 10: 400 11: 5347
12: 5347 13: 400 14: 400 15: 4408 16: 400 17: 400 18: 400 19: 400 20: 400
21: 400 22: 400 23: 400 24: 400 25: 400 26: 400 27: 5348 28: 400 29: 5350
30: 5349 31: 400 32: 5349 bogomips: 288113
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: AMD Navi 21 [Radeon RX 6800/6800 XT / 6900 XT]
vendor: Tul / PowerColor driver: amdgpu v: kernel arch: RDNA-2 pcie:
speed: 16 GT/s lanes: 16 ports: active: DP-3 empty: DP-1,DP-2,HDMI-A-1
bus-ID: 03:00.0 chip-ID: 1002:73bf
Device-2: AMD Raphael vendor: ASUSTeK driver: amdgpu v: kernel
arch: RDNA-2 pcie: speed: 16 GT/s lanes: 16 ports: active: none
empty: DP-4,HDMI-A-2 bus-ID: 0e:00.0 chip-ID: 1002:164e temp: 44.0 C
Display: wayland server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.4
compositor: kwin_wayland driver: X: loaded: amdgpu unloaded: modesetting
alternate: fbdev,vesa dri: radeonsi gpu: amdgpu,amdgpu display-ID: 0
Monitor-1: DP-3 res: 1920x1080 size: N/A
API: EGL v: 1.5 platforms: device: 0 drv: radeonsi device: 1 drv: radeonsi
device: 2 drv: swrast gbm: drv: radeonsi surfaceless: drv: radeonsi wayland:
drv: radeonsi x11: drv: radeonsi
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd v: N/A glx-v: 1.4
direct-render: yes renderer: AMD Radeon RX 6800 (radeonsi navi21 LLVM
16.0.6 DRM 3.56 6.7.1-arch1-1) device-ID: 1002:73bf display-ID: :1.0
API: Vulkan v: 1.3.274 surfaces: xcb,xlib,wayland device: 0
type: discrete-gpu driver: mesa radv device-ID: 1002:73bf device: 1
type: integrated-gpu driver: mesa radv device-ID: 1002:164e device: 2
type: cpu driver: mesa llvmpipe device-ID: 10005:0000
If applicable
- Wine/Proton version: Proton Bleeding Edge
Regression
Not that i know of. Was able to run the game with 22.0.5 and could get it to hang there as well.
API captures (if applicable, optional)
TBD if a gfxreconstruct could be useful
Further information (optional)
Game doesn't launch with llvm
and nodcc
, nohiz
or nocompute
didn't make a difference.
I haven't been able to get the game to run properly with amdvlk or amdgpu-pro yet as the game will only render black unless the window isn't in focus where it will then show it properly.