"[drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out!" in 5.15 and 6.3.1
Relevant logs provided below (dmesg, and kernel config)
LSPCI:
0b:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] [1002:73bf] (rev c3)
Brief summary of the problem:
When playing games, notably CSGO, Apex Legends, Squad, Call of Duty Black Ops 3 (mix of native and proton, opengl and vulkan) the screen will freeze, go black, and then re-appear usually with a stuck frame or a few frames looping. I have to end my desktop session and restart it to gain control of the screen again. The dmesg log shows a GPU hang. Expected Result: Game should run without problem Actual result: GPU triggers a reset and I have to restart my display server. How often?: This occurs usually within 4 or 5 minutes of play time of any given game. However, this does not occur if I set the "power_dpm_force_performance_level" to low. Auto and High trigger the problem nearly instantly however. It also happens across kernel versions, I will test any version you want, with any modules or flags, I've tested from 5.15 to 6.3
To reproduce: I only need to enter a game lobby with my GPU's power profile either at high or auto and play for about 5-10 minutes. On occassion, I may experience this issue within 30-45 seconds of entering a lobby in counter strike.
Hardware description:
- CPU: Ryzen 9 3900x
- GPU: VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] [1002:73bf] (rev c3) (Radeon RX 6800)
- System Memory: 64GB DDR4 Corsair Vengance at 3200mhz with FLCK: 1600
- Display(s): 1920x1080@60hz Viotek on HDMI, 2560x1440@144hz Pixio, 2560x1080@85hz Sceptr
- Type of Display Connection: HDMI, DP, DP
System information:
- Distro name and Version: Gentoo Linux
- Kernel version: Linux Gentoo 5.15.110-gentoo-r1 #1 (closed) SMP PREEMPT Mon May 15 23:17:51 PDT 2023 x86_64 AMD Ryzen 9 3900X 12-Core Processor AuthenticAMD GNU/Linux
Screenshots/video files
Log files (for system lockups / game freezes / crashes)
- Dmesg log dmesg_5.15.txt dmesg_6.3.txt
- Kernel Config .config