Very low Vulkan performance on Radeon RX 6900 XT after resume from suspend
Description
Very low Vulkan performance on Radeon RX 6900 XT (and RX 6700 XT) after resume from suspend when PC is suspender/resumed with running Vulkan application.
Steps to reproduce
- run Vulkan application (e.g. demanding game)
- suspend the PC
- resume from suspend
- very low GPU performance in entire system
System information
System:
Kernel: 6.1.20-1-MANJARO arch: x86_64 bits: 64 compiler: gcc
v: 12.2.1 Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 wm: xfwm dm: LightDM
Distro: Manjaro Linux base: 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
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: Micro-Star MSI driver: amdgpu v: kernel arch: RDNA-2 pcie:
speed: 16 GT/s lanes: 16 ports: active: DP-2 empty: DP-1,DP-3,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: 14:00.0 chip-ID: 1002:164e temp: 44.0 C
Display: x11 server: X.Org v: 21.1.7 with: Xwayland v: 22.1.8
compositor: qdre-compositor v: 4.18.0 driver: X: loaded: amdgpu
unloaded: fbdev,modesetting,radeon,vesa dri: radeonsi gpu: amdgpu
display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 3840x2160 s-dpi: 96
Monitor-1: DP-2 mapped: DisplayPort-1 model: LG (GoldStar) HDR 4K
res: 3840x2160 dpi: 163 diag: 690mm (27.2")
API: OpenGL v: 4.6 Mesa 23.1.0-devel (git-cd59db8c46) renderer: AMD
Radeon RX 6900 XT (navi21 LLVM 15.0.7 DRM 3.49 6.1.20-1-MANJARO)
direct-render: Yes
Further information (optional)
- Does not happen with OpenGL software (tested e.g. on Unigine Heaven).
- Does not happen on integrated RDNA2 GPU (GFX1036).
- GPU/memory clocks seems to be correct, manually changing them won't fix the issue. GPU is utilized at 99%.
- Also happens on
vkcube
(it can be noticed with IMMEDIATE/MAILBOX mode and FPS counter). - Happens on Xorg and Wayland.
- I have to close running Vulkan applications (games) to restore normal GPU performance.
- Happens with AMDGPU-PRO and AMDVLK drivers, but FPS drop is not as high as in MESA.