[REGRESSION][BISECTED] After suspend graphics hangs with a `Fence fallback timer expired` spam
Brief summary of the problem:
After waking up from suspend running any graphics app with DRI_PRIME=1 (e.g. DRI_PRIME=1 glxinfo
) results in the app being very slow and the journalctl -f
spams:
янв 03 14:28:56 constantine-N61Ja kernel: [drm] Fence fallback timer expired on ring gfx
янв 03 14:28:56 constantine-N61Ja kernel: [drm] Fence fallback timer expired on ring comp_1.0.0
янв 03 14:28:57 constantine-N61Ja kernel: [drm] Fence fallback timer expired on ring comp_1.0.1
янв 03 14:28:57 constantine-N61Ja kernel: [drm] Fence fallback timer expired on ring comp_1.0.2
янв 03 14:28:58 constantine-N61Ja kernel: [drm] Fence fallback timer expired on ring comp_1.0.3
янв 03 14:28:58 constantine-N61Ja kernel: [drm] Fence fallback timer expired on ring comp_1.0.4
янв 03 14:28:59 constantine-N61Ja kernel: [drm] Fence fallback timer expired on ring comp_1.0.5
янв 03 14:28:59 constantine-N61Ja kernel: [drm] Fence fallback timer expired on ring comp_1.0.6
янв 03 14:29:00 constantine-N61Ja kernel: [drm] Fence fallback timer expired on ring comp_1.0.7
янв 03 14:29:00 constantine-N61Ja kernel: [drm] Fence fallback timer expired on ring sdma0
янв 03 14:29:01 constantine-N61Ja kernel: [drm] Fence fallback timer expired on ring sdma1
This problem first appears on 5.14 version
Hardware description:
- CPU:
Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
- GPU:
01:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile] [10... (rev c3)
- System Memory: 8G
- Display(s): built-in laptop screen
- Type of Display Connection: eDP
System information:
- Distro name and Version: Archlinux
- Kernel version:
Linux constantine-N61Ja 5.15.12-arch1-1 #1 SMP PREEMPT Wed, 29 Dec 2021 12:04:56 +0000 x86_64 GNU/Linux
- Custom kernel: no
- AMD official driver version:
modinfo amdgpu
says 5.15.12
How to reproduce the issue:
- Execute
systemctl suspend
- Wakeup the computer and run
DRI_PRIME=1 glxinfo
Expected
It returns immediately and there's no spam about Fence fallback timer expired
Actual
There's the spam, and the app is slow to return
Attached files:
Log files (for system lockups / game freezes / crashes)
-
journalctl -f
output while suspending and waking up journalctl-suspend
Edited by Konstantin Kharlamov