radv: High CPU usage and low GPU usage with RX 6600XT eGPU
Description
The issue uses 100% of CPU almost all the time, which severely criples the game performance, for reference, Shadow of the Tomb Raider gets stuck under 30 fps, with a RX 6600 XT. I have a RTX 3060, which is on par performance-wise, but it runs @ a 60-70 fps, with moderate CPU usage. Another important thing to notice, when I set the governor to powersave
, and I lock the CPU at 1300mhz, the framerate does not change, it is still as low as before, but not lower. Around 27-30.
My setup is an E-GPU dock, with thunderbolt 3.
Steps to reproduce
How can Mesa developers reproduce the issue? When reporting a game issue, start explaining from a fresh save file and don't assume prior knowledge of the game's story.
Example:
Start the game
Get 100% of CPU usage all the time.
System information
OS: Archcraft x86_64
Host: ZenBook UX425EA_UX425EA 1.0
Kernel: 5.17.1-arch1-1
Packages: 1317 (pacman), 55 (flatpak) Shell: bash 5.1.16
Resolution: 1920x1080
WM: sway
Terminal: kitty
CPU: 11th Gen Intel i5-1135G7 (8) @ 2.400GHz
GPU: Intel TigerLake-LP GT2 [Iris Xe Graphics]
GPU: AMD ATI Radeon RX 6600/6600 XT/6600M
Memory: 3009MiB / 7645MiB
-
OS: (
Archcraft
) -
GPU: (
Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6600/6600 XT/6600M]
) -
Kernel version: (
Linux archcraft 5.17.1-arch1-1 #1 SMP PREEMPT Mon, 28 Mar 2022 20:55:33 +0000 x86_64 GNU/Linux
) -
Mesa version: (
4.6 (Compatibility Profile) Mesa 22.1.0-devel (git-0bfb3b0436)
) -
Desktop environment: (
Sway (wayland) and XFCE (x11)
)
If applicable
- Xserver version: (
sudo X -version
) - DXVK version: 1.10.1
- Wine/Proton version: GE-Proton-7.14
Regression
Issue happens in standard arch package mesa
and AUR mesa-git
.
Further information (optional)
Does the issue reproduce with the LLVM backend (RADV_DEBUG=llvm
) or on the AMDGPU-PRO drivers?
With RADV_DEBUG, it still happens.
Does your environment set any of the variables ACO_DEBUG
, RADV_DEBUG
, and RADV_PERFTEST
?
These variables are not set