[REGRESSION] Freeze while shutting down Steam inside of gamescope after b8adc31cc0ca ("drm/amdgpu: Avoid extra evict-restore,process.").

Matthew Schwartz matthew.schwartz at linux.dev
Mon Aug 11 05:32:02 UTC 2025


Hello,

On kernel 6.17-rc1, when I try to switch from a Steam session running inside
of gamescope back to SDDM by running `steam -shutdown`, I get this error in my dmesg:

[drm:amdgpu_job_submit [amdgpu]] *ERROR* Trying to push to a killed entity

and it locks up the transition to SDDM. I am able to switch to another TTY console,
but the console with my gamescope session stays frozen on a black screen for
several minutes. I also need to force shutdown my PC with the power button
or else the shutdown process hangs.

I bisected the issue to b8adc31cc0ca ("drm/amdgpu: Avoid extra evict-restore
process."). 

After searching the mailing list, I saw that there was a patch [1]
sent out for a race condition introduced by that commit:

[1]: https://lore.kernel.org/all/20250807084655.1597669-1-Tong.Liu01@amd.com/

That patch does seem to resolve this regression on my rig.

System:
  Host: threadripper Kernel: 6.17.0-rc1-1-git-00001-g6bd866b61c96 arch: x86_64
    bits: 64
  Desktop: KDE Plasma v: 6.4.4 Distro: CachyOS
CPU:
  Info: 64-core model: AMD Ryzen Threadripper 9980X s bits: 64 type: MT MCP
    cache: L2: 64 MiB
  Speed (MHz): avg: 1221 min/max: 1221/5476
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900
    XTX/7900 GRE/7900M] driver: amdgpu v: kernel
  Display: wayland server: X.org v: 1.21.1.18 with: Xwayland v: 24.1.8
    compositor: kwin_wayland driver: X: loaded: amdgpu unloaded: modesetting
    dri: radeonsi gpu: amdgpu resolution: 5120x2160~165Hz
  API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast
    platforms: gbm,wayland,x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.3.0-devel
    renderer: AMD Radeon RX 7900 XTX (radeonsi navi31 LLVM 20.1.8 DRM 3.64
    6.17.0-rc1-1-git-00001-g6bd866b61c96)
  API: Vulkan v: 1.4.321 drivers: radv,llvmpipe surfaces: N/A
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor wl: wayland-info
    x11: xdpyinfo, xprop, xrandr

Thanks,

Matthew


More information about the amd-gfx mailing list