Xid 13 (Illegal Instruction Encoding / Out Of Range Register) at a fixed shader PC during runtime pipeline compilation — UE5 game (Gray Zone Warfare)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- c, linux
调研方向
Start with the attached nvidia-bug-report.log.gz and the reported Xid 13 records for the fixed PC 0xf812b60/0x1104; compare the illegal instruction and out-of-range register incidents. The report describes reproducing this by playing Gray Zone Warfare through Proton with D3D12 and vkd3d-proton for 3–45 minutes, especially in new map areas during runtime pipeline compilation. Done means identifying and fixing the driver fault that causes the GPU hang; the issue does not identify a source file or test.
由索引模型根据 Issue 内容生成。
描述
NVIDIA Open GPU Kernel Modules Version
620.70.06
Please confirm this issue does not happen with the proprietary driver (of the same version). This issue tracker is only for bugs specific to the open kernel driver.
- I confirm that this does not happen with the proprietary driver package.
Operating System and Version
CachyOS
Kernel Release
7.3.3-1-cachyos (CachyOS / Arch based)
Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.
- I am running on a stable kernel release.
Hardware: GPU
GeForce RTX 3060 Ti LHR (GA104), PCIe 4.0 x16, no overclock (clock offsets 0)
Describe the bug
System
- GPU: GeForce RTX 3060 Ti LHR (GA104), PCIe 4.0 x16, no overclock (clock offsets 0)
- Driver: 620.70.06 (open kernel module); also seen on 615.78.08 (as Xid 109)
- Kernel: 7.3.3-1-cachyos (CachyOS / Arch based)
- Desktop: KDE Plasma 6.8.2 Wayland; game runs through XWayland (
PROTON_ENABLE_WAYLAND=0) - CPU / RAM: Ryzen 5 5600X, 16 GB DDR4-3600
- Game: Gray Zone Warfare (Steam AppID 2479810), Unreal Engine 5, D3D12
- Translation layer: vkd3d-proton 3.1.0 (GE-Proton11-12 and proton-cachyos 11.0-20261015, same result with both)
Problem
During gameplay the GPU raises Xid 13 on all GPCs at the same moment. The game then freezes for good. vkd3d-proton never gets VK_ERROR_DEVICE_LOST, so the process hangs inside the driver and Steam has to be restarted as well.
Example (complete pattern from one incident, repeated on every GPC):
NVRM: Xid (PCI:0000:06:00): 13, pid=24915, name=GameThread, Graphics SM Warp Exception on (GPC 0, TPC 2, SM 0): Illegal Instruction Encoding
NVRM: Xid (PCI:0000:06:00): 13, pid=24915, name=GameThread, Graphics SM Global Exception on (GPC 0, TPC 2, SM 0): Multiple Warp Errors
NVRM: Xid (PCI:0000:06:00): 13, pid=24915, name=GameThread, Graphics Exception: ESR 0x505730=0x9 0x505734=0x4 0x505728=0xf812b60 0x50572c=0x1104
...
NVRM: Xid (PCI:0000:06:00): 13, pid=24915, name=GameThread, Graphics Exception: channel 0x0000000b, Class 0000c7c0, Offset 00000000, Data 00000000
What I found
- The faulting PC is always the same. Every Xid 13 so far (10 incidents, 60+ warp exception records over 2 days, different processes, different Proton builds) reports
pc_lo=0xf812b60 pc_hi=0x1104. - The error type at that PC changes from one incident to the next. It is
0x0dOut Of Range Register (35 records) or0x09Illegal Instruction Encoding (15+ records). The engine class changes too: 8 incidents report Classc7c0(AMPERE_COMPUTE_B) and the 21:06 and 21:09 incidents report Classc797(AMPERE_B, 3D), still with the same PC. An identical PC across compute and 3D work, with varying error types, suggests the PC is not one specific application shader. It may instead be a driver-internal or shared code location whose contents are not valid when the GPU executes it. - It may be linked to runtime shader compilation (not conclusive). I logged the size of the NVIDIA shader disk cache (
nvidiav1) every 2 s. In the 19:54:26 incident there was a 60-second compilation burst (+16 to +252 KB every 2 s) and the Xid fired 1 second after the last cache write. In the 21:06:09 incident a similar burst ended at 21:04:16, so the Xid came ~2 minutes after compilation stopped. In the 21:09:35 incident the cache was written in the same second as the Xid. A pipeline compiled in a burst might fault only when it is first used, but I cannot confirm that. - It does not track VRAM, power or temperature. Incidents occurred at 7.1–7.7 GB of 8 GB VRAM. Sessions at 7.8 GB ran without failing. One incident happened with the power limit lowered to 170 W at 70 °C.
- The hardware looks healthy. 0 PCIe AER errors (correctable or fatal), no MCE/machine-check events and no segfaults in other applications across 15 boots. The PCIe link runs at full Gen4 x16.
Things that did not fix it
- Switching GE-Proton11-12 ↔ proton-cachyos (same vkd3d-proton 3.1.0)
VKD3D_CONFIG=no_upload_hvv(sessions lasted longer, with 22, 46 and 45 min without a hang, but hangs still happen, e.g. after 13 and 15 min)DXVK_CONFIG="dxgi.maxDeviceMemory = 6144"- Clearing the shader caches, raising
__GL_SHADER_DISK_CACHE_SIZEto 18 GB - Power limit 170 W
Driver history
- 615.78.08: hangs logged as Xid 109 (CTX SWITCH TIMEOUT), followed by
NV_ERR_NO_MEMORY(pmaAllocatePages,ctxBufPoolReserve) - 620.70.06: one Xid 109 on the first day, then only Xid 13 with the fixed PC above
Incidents (local time, UTC-3)
2026-11-06 16:11 (Xid 109, 615.78.08) · 2026-11-09 15:06 (Xid 109) · 2026-11-09 16:42 · 2026-11-10 11:44, 13:23, 17:23, 17:41, 17:44, 19:39, 19:54, 21:06, 21:09 (Xid 13)
Reproduction
Play Gray Zone Warfare on Proton (D3D12 → vkd3d-proton) for about 3–45 minutes, mostly when entering new map areas, where the game compiles many PSOs at runtime. Other users have reported similar Xid 13/109 hangs limited to UE5 titles under vkd3d-proton.
nvidia-bug-report.log.gz attached (captured right after a hang, before rebooting).
To Reproduce
Reproduction
Play Gray Zone Warfare on Proton (D3D12 → vkd3d-proton) for about 3–45 minutes, mostly when entering new map areas, where the game compiles many PSOs at runtime. Other users have reported similar Xid 13/109 hangs limited to UE5 titles under vkd3d-proton.
Bug Incidence
Sometimes
nvidia-bug-report.log.gz
More Info
No response
- 主要语言
- 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 ·