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

オープン
#1,536 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
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 の本文から書いたものです。

説明

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

主要言語
C
スター
17.7k
フォーク
2k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NVIDIA/open-gpu-kernel-modules のほかの issue

NVIDIA/open-gpu-kernel-modules の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。