RTX 5060 (Blackwell): Xid 109 / Xid 13 in Fortnite (Proton), reproducible GPU hang inside the Niagara stateless compute pass (Festival stage and Battle Royale), 620.73.04 open
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- c, linux
调研方向
Start by comparing the Xid 109 and Xid 13 reports with related issues #1080, #1097, and #1243; the payload does not identify a source file or test. The reproducible workload is Fortnite through Proton on an RTX 50-series GPU using the es31 Performance renderer, with breadcrumbs ending in the Niagara stateless compute pass. Done means identifying and fixing the kernel-module cause so the workload no longer hangs; redacted logs are available from the reporter.
由索引模型根据 Issue 内容生成。
描述
Summary
On an RTX 5060 (Blackwell, PCI 10de:2d05), Fortnite running through Proton (Epic's Linux beta) hangs the GPU repeatedly. The image freezes while audio keeps playing, and the kernel logs Xid 109 CTX SWITCH TIMEOUT (5 of 6 times) or Xid 13 ... MMU Fault (1 of 6 times). The process never recovers and has to be killed.
It reproduced in 6 of 6 sessions today. In all 6 the game's D3D12 GPU breadcrumbs end inside the same Niagara stateless compute pass (NiagaraStateless > FNiagaraStatelessComputeManager_OnPreRender), so this looks like a deterministic GPU hang in one workload, not random instability.
Where it happens:
- Sessions 1-5: in Fortnite Festival, Main Stage, 60-63 seconds after the song "CONNECT:COMMUNE" started.
- Session 6: right after entering Battle Royale (not on the Festival stage; the breadcrumb scene has no Festival objects, but has
SkyAtmosphereandMediaTextureResourcepasses).
So it is not limited to Festival or to one song; the common factor is the Niagara stateless compute pass under the Performance-mode (mobile) renderer.
Switching Fortnite from Performance mode (D3D12 PreferredFeatureLevel: es31, mobile renderer) to standard DirectX 12 (sm6) avoided the hang in my test: one session of ~32 minutes with no GPU timeout and no Xid, including a Battle Royale match (~9 min) and the same song "CONNECT:COMMUNE" played for 3 min 51 s (previously the GPU hung ~63 s in). This is a single session, so it is not conclusive, but all 6 hangs happened with es31.
Related open reports with the same Xid on Blackwell + Proton: #1080, #1097, #1243.
Environment
- GPU: NVIDIA GeForce RTX 5060, 8 GB (D3D12 FL 12_2, SM 6.7)
- Driver: 620.73.04, open kernel module (
nvidia-open, CachyOS packagelinux-cachyos-eac-nvidia-open) - Kernel: 7.3.5-2-cachyos-eac, Secure Boot enabled
- CPU/RAM: AMD Ryzen 5 5600XT, 16 GB
- Session: Hyprland 0.57.2 (Wayland), 3 monitors
- Game: Fortnite
++Fortnite+Release-43.11-CL-60803671(Epic Games Launcher Linux Preview 0.127.0) - Wine/Proton: GE-Proton10-34 and GE-Proton11-9 (both reproduce)
- Renderer: D3D12 via vkd3d-proton, Fortnite Performance mode (
PreferredFeatureLevel: es31)
Kernel log
NVRM: Xid (PCI:0000:07:00): 109, channel 0x0000002d, errorString CTX SWITCH TIMEOUT, Info 0x45c04a
NVRM: Xid (PCI:0000:07:00): 13, Graphics SM Warp Exception on (GPC 1, TPC 3, SM 0): MMU Fault
NVRM: Xid (PCI:0000:07:00): 13, Graphics Exception: ESR 0x518730=0x8030017 0x518734=0x0 0x518728=0x1c813b60 0x51872c=0x1104
NVRM: Xid (PCI:0000:07:00): 13, Graphics Exception: channel 0x0000002e, Class 0000cec0, Offset 00000000, Data 00000000
Timeline (local time, UTC-8)
| # | Proton | Extra setting | Song started (game log) | Kernel error | Song start to Xid |
|---|---|---|---|---|---|
| 1 | GE-Proton10-34 | none | 18:01:27 | 18:02:30 Xid 109 | ~63 s |
| 2 | GE-Proton10-34 | none | 18:10:43 | 18:11:43 Xid 13 (MMU Fault) | ~60 s |
| 3 | GE-Proton10-34 | VKD3D_CONFIG=no_upload_hvv |
18:19:50 | 18:20:53 Xid 109 | ~63 s |
| 4 | GE-Proton11-9 | none | 18:25:26 | 18:26:30 Xid 109 | ~63 s |
| 5 | GE-Proton11-9 | VKD3D_CONFIG=descriptor_heap, shader caches wiped |
18:35:28 | 18:36:32 Xid 109 | ~63 s |
| 6 | GE-Proton11-9 | same as 5 (caches regenerated) | n/a: not in Festival, had just entered Battle Royale | 18:44:16 Xid 109 | n/a |
"Song started" is the last LogSparksMediaStreamer: Playing song connectcommune line in the game log. The Xid is logged when the kernel detects the timeout, so the real stall starts a few seconds earlier.
Game-side evidence
In sessions 1-5 the breadcrumbs marked Active at the time of the hang are identical (only the IDs change):
Frame N [Active]
SceneRender - ViewFamilies [Active]
MobileSceneRender [Active]
RenderGraphExecute [Active]
NiagaraStateless [Active]
FNiagaraStatelessComputeManager_OnPreRender [Active]
NiagaraUpdateDrawIndirectBuffers [Active]
Earlier work in the same frame (light grid, shadows, fog, base pass) is Finished. In the 6th session the active leaf was slightly deeper in the same pass: GPU KeyGen & Sort > GPUSort_Batch0(LowPrecision) > KeyGen_FNiagaraGpuComputeDispatch. In session 1 the game also logged:
LogD3D12RHI: Warning: GPU timeout: A payload (...) on the [..., 3D] queue has not completed after 5.000001 seconds.
LogRendererCore: Error: GameThread timed out waiting for RenderThread after 40.00 seconds
What I tried (none fixed it)
- GE-Proton10-34 and GE-Proton11-9
VKD3D_CONFIG=no_upload_hvvandVKD3D_CONFIG=descriptor_heap- Deleted
~/.cache/nvidia/GLCacheandvkd3d-proton.cache - Fortnite effects quality already at minimum (
sg.EffectsQuality=0)
Worked around (1 session, not conclusive): standard DirectX 12 (sm6) instead of Performance mode (es31). Not tried: older driver (580.x), X11 session.
Reproduce
- Linux with an RTX 50-series GPU, driver 620.73.04, GE-Proton, Fortnite in Performance mode.
- Join Fortnite Festival, Main Stage, play "CONNECT:COMMUNE" (or enter Battle Royale).
- About one minute in, the image freezes, audio continues, and the kernel logs Xid 109 (or 13). Session 6 shows the hang also happens after entering Battle Royale, so the song is not the only trigger.
I have not attached nvidia-bug-report.log.gz or the game logs publicly because they contain account identifiers. I can provide a redacted version or a bug report log if useful.
- 主要语言
- C
- 星标
- 17.7k
- 派生
- 2k
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NVIDIA/open-gpu-kernel-modules 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
NVIDIA/open-gpu-kernel-modules#1635 ·
维护者通常 1 天内回复
-
nvidia-drm: NULL dereference in nv_drm_create_sync_file() when sync_file_create() fails (kernel oops when fs.file-max is exhausted)可能重新可做 关联的 PR 已关闭且未合并。 未关闭bug
难度 2/5 1-3 小时 新手友好度 82/100
NVIDIA/open-gpu-kernel-modules#1601 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
NVIDIA/open-gpu-kernel-modules#1479 · 2 条评论 ·
维护者通常 1 天内回复
-
PlatformRequestHandler: missing !bInit guard on bSystemParamLimitUpdate causes NV_ERR_INVALID_DATA at boot可能已有人在做 @SammyTourani 于 69 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 88/100
NVIDIA/open-gpu-kernel-modules#1360 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
NVIDIA/open-gpu-kernel-modules#1343 · 3 条评论 ·
维护者通常 1 天内回复
查看 NVIDIA/open-gpu-kernel-modules 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 74/100
Jstar269/nakagawa-recomp#3753 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 72/100
ly05010419/MacNativeGames#2474 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
Life-Framework/Life-Framework#7017 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
gjrtimmer/jetson-nvmpi#170 ·