Xid 13 (Illegal Instruction Encoding / Out Of Range Register) at a fixed shader PC during runtime pipeline compilation — UE5 game (Gray Zone Warfare)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- c, linux
- Lĩnh vực
- devtools, operating-systems
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- C
- Star
- 17.7k
- Fork
- 2k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của NVIDIA/open-gpu-kernel-modules
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
NVIDIA/open-gpu-kernel-modules#1635 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
nvidia-drm: NULL dereference in nv_drm_create_sync_file() when sync_file_create() fails (kernel oops when fs.file-max is exhausted)Có thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
NVIDIA/open-gpu-kernel-modules#1601 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
NVIDIA/open-gpu-kernel-modules#1479 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
PlatformRequestHandler: missing !bInit guard on bSystemParamLimitUpdate causes NV_ERR_INVALID_DATA at bootCó thể đã có người làm @SammyTourani đã nhận 69 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
NVIDIA/open-gpu-kernel-modules#1360 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
NVIDIA/open-gpu-kernel-modules#1343 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của NVIDIA/open-gpu-kernel-modules
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Jstar269/nakagawa-recomp#3753 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
ly05010419/MacNativeGames#2474 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Life-Framework/Life-Framework#7017 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
gjrtimmer/jetson-nvmpi#170 ·