Xid 13 (Illegal Instruction Encoding / Out Of Range Register) at a fixed shader PC during runtime pipeline compilation — UE5 game (Gray Zone Warfare)

Offen
#1,536 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
25/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
c, linux

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

bug
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

  1. 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.
  2. The error type at that PC changes from one incident to the next. It is 0x0d Out Of Range Register (35 records) or 0x09 Illegal Instruction Encoding (15+ records). The engine class changes too: 8 incidents report Class c7c0 (AMPERE_COMPUTE_B) and the 21:06 and 21:09 incidents report Class c797 (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.
  3. 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.
  4. 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.
  5. 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_SIZE to 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

nvidia-bug-report.log.gz

More Info

No response

Vorherrschende Sprache
C
Sterne
17.7k
Forks
2k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus NVIDIA/open-gpu-kernel-modules

Alle Issues in NVIDIA/open-gpu-kernel-modules

Ähnliche Issues

Weitere Issues zu C

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.