Game freezes permanently after "radv/amdgpu: The CS has been rejected (-2)" on Steam Deck LCD (SteamOS 3.8.16)

未关闭
#3,109 3 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
linux

调研方向

The report provides no repository file, test, or entry point to start from. Begin by investigating the RADV/amdgpu command submission rejection and the missing kernel diagnostics described in the report; the issue has no reliable reproduction, so progress would require identifying the failed submission and why the application waits indefinitely afterward.

由索引模型根据 Issue 内容生成。

描述

Your system information
  • Steam client version: System > "Steam Version">
  • SteamOS version: 3.8.16 (BUILD_ID 20260716.1)
  • Opted into Steam client beta?: <Yes/No>
  • Opted into SteamOS beta?: No (stable channel)
  • Have you checked for updates in Settings > System?: <Yes/No>

Additional details:

  • Steam Deck LCD (AMD Custom GPU 0932, RADV VANGOGH)
  • Mesa 26.0.0-devel (git-9cc9241790)
  • Proton: Compatibility, or "Steam default">
  • Game mode (gamescope session)
Please describe your issue in as much detail as possible:

Expected: the game keeps rendering; or, if a GPU command submission fails, the
error is surfaced (VK_ERROR_DEVICE_LOST) so the game can exit instead of hanging forever.

What happens: during normal gameplay the game image freezes permanently and never
recovers. Each time, the journal shows exactly one line from the game process at the
moment the freeze starts:

radv/amdgpu: The CS has been rejected, see dmesg for more information (-2).

Nothing is logged by the kernel at that time: no amdgpu error, no "ring gfx timeout",
no GPU reset (checked with journalctl -k).

Occurrences (same device, 3 in 5 days, 2 different games):

Nov 13 18:42:07 steamdeck steam[1589]: radv/amdgpu: The CS has been rejected, see dmesg for more information (-2).
Nov 18 14:01:56 steamdeck steam[1581]: radv/amdgpu: The CS has been rejected, see dmesg for more information (-2).
Nov 18 21:06:26 steamdeck steam[1577]: radv/amdgpu: The CS has been rejected, see dmesg for more information (-2).
  • Nov 13 18:42 and Nov 18 14:01: DARK SOULS: REMASTERED (D3D11)
  • Nov 18 21:06: Windblown (AppID 1911610, Unity 6000.3.20f1, D3D11 via DXVK, IL2CPP)

Each line matches a freeze seen by the user. The two games share no engine or code,
so this does not look title-specific.

State of the frozen process (Windblown, Nov 18 21:06). We are the developers of
Windblown. The build has a watchdog thread that forces a crash when the main thread
has not completed a frame for 20 s, which gave us a minidump of the frozen process
35 s after the RADV message:

  • Main thread: inside the Unity player loop, waiting for the previous frame to be
    presented: ExecutePlayerLoop → TimeUpdate.WaitForLastPresentationAndUpdateTime → GfxDeviceD3D11::WaitForLastPresentationAndGetTimestamp → CurrentThread::SleepForSeconds
  • Unity render thread (UnityGfxDeviceWorker): idle, waiting for commands.
  • DXVK threads (dxvk-submit, dxvk-queue, dxvk-frame, dxvk-cs): all blocked in waits
    inside d3d11.dll / winevulkan.dll (no symbols on our side).
  • No game code is running; this is not an application-side infinite loop.

So after the rejected submission, presentation never completes and the application
waits forever.

Journal around the freeze (the 21:07:01 lines are our watchdog killing the process):

Nov 18 21:06:26 steamdeck steam[1577]: radv/amdgpu: The CS has been rejected, see dmesg for more information (-2).
Nov 18 21:06:59 steamdeck gamescope-session[1401]: [gamescope] [Warn]  xwm: got the same buffer committed twi…
Nov 18 21:07:01 steamdeck gamescope-session[1401]: [gamescope] [Error] xwm: waylandres but no win

Available on request: Windblown minidump and Player.log from the Nov 18 21:06
freeze, full journal around each occurrence. We now run with PROTON_LOG=1 and will
attach the Proton/DXVK log of the next occurrence.

Not yet known: whether other Steam Deck units are affected (only one device
checked so far); which object the kernel fails to find (-ENOENT), as kernel DRM debug
logging was not enabled.

Possibly related: HansKristian-Work/vkd3d-proton#2881 (same message and -2 code,
Mesa 26.1-devel, desktop GPU, D3D12).

Steps for reproducing this issue:

No reliable repro. It happens during ordinary gameplay, roughly once every one to two
days of play on this device.

  1. Play a D3D11 title through Proton in game mode (seen with Windblown and DARK SOULS: REMASTERED).
  2. At some point the image freezes permanently (mid-combat in Windblown).
  3. journalctl --no-pager | grep "CS has been" shows the line above at the time of the freeze.
主要语言
没有语言数据
星标
2.7k
派生
89
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ValveSoftware/SteamOS 的其他 Issue

查看 ValveSoftware/SteamOS 的全部 Issue

相似的 Issue

更多 Operating Systems Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。