Linux/NVIDIA: device removed 0x887A0005 (Xid 13 SKEDCHECK23_CONSTANT_BUFFER_SIZE) on v1.1.2–v1.1.6, v1.0.11 works #409

Open
opened 2026-12-06 00:26:55 +00:00 by github-bot · 3 comments
Owner

@⁠Mhf2ooo on GitHub · 2026-12-06 00:19 UTC · original

Summary

Since v1.1.2, larp on Linux/Proton with an RTX 3060 reliably loses the GPU shortly after launch
(during the first pipeline compile / first frames). The NVIDIA kernel driver reports
Xid 13 "SKEDCHECK23_CONSTANT_BUFFER_SIZE failed" on the compute class, i.e. a compute dispatch
is launched with an invalid constant buffer size. v1.0.11 runs fine on the same machine with the
same prefix, caches and settings.

System

  • GPU: NVIDIA GeForce RTX 3060 12 GB, driver 620.70.06
  • CPU: Intel i5-10400F (6C/12T), 16 GB RAM
  • OS: Nobara Linux (Fedora 44), kernel 7.3.7-201.nobara.fc44.x86_64
  • Proton: GE-Proton 11-15 via umu-launcher 1.4.4 (linux/run.sh)
    • also tried GE-Proton 11-16:
  • Launch: linux/run.sh -- --console series-s
  • Prefix: setup.sh run, native Microsoft d3dcompiler_47.dll installed (re-run with v1.1.6 setup.sh)

Versions tested

Version Package Result
v1.0.11 linux-proton zip works (Series S and X)
v1.1.2 linux-proton FULL crash, 2/2 runs, same point
v1.1.3 linux-proton UPDATE over v1.1.2 FULL crash
v1.1.6 linux-proton UPDATE over v1.1.2 FULL crash

Error

play.log (v1.1.6):

ERROR larp_gpu::host: host GPU device removed after 6 submissions sent ahead of 103 lists; device removed: 0x887A0005
[larp exited with code -2005270523]

Kernel at the same second:

NVRM: Xid (PCI:0000:01:00): 13, name=main, Graphics Exception: SKEDCHECK23_CONSTANT_BUFFER_SIZE failed
NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: ESR 0x407020=0x80 0x407028=0x0 0x40702c=0x22133e3 0x407030=0x0
NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: channel 0x00000020, Class 0000c7c0, Offset 00000000, Data 00000000

(v1.1.2 showed the identical Xid 13 with 0x40702c=0x221d0ae / 0x225184f.)

Pipelines in the failing submission 11028 (graphics queue, fence 12544), from "in the line at the removal":

  • list 25: compute 3e7c51f5a390d0f0
  • list 27: compute 73ac67482f6b6a5d, cbf9b65f2249ba96, e31872b8b22ff6a9, e74cb994939d4c26;
    vertex 80239409f2fa80da; vertex f3c75a8647f760c7 + pixel ea8689d4263d085e
  • list 30: compute 01e00844d8ae6819, 2854b7f2e22168ed, 374e035a642e7955, 7cd148448c6f5f5e,
    9ba86fa7dcb9f314, a13866a15dcd0efb, aa1b3f9d32f16240, b233a46eb9e0afed, d3c330847c597f3c,
    d6328cc01ebc6026, d650520811a54b13, da72acbf805a315d, e00e837b0c016d12;
    vertex e2e894028f67286d + pixel 29c858db8053e16c

Suspected cause

The change between v1.0.11 and v1.1.2 that touches this is PR #183 (shader translator +
wide-heap replacement shaders). #227 and #320 in v1.1.6 did not fix it.
Test with v1.1.6 exe + the v1.0.11 replacement shaders (LARP_SHADER_REPLACE pointing to them):

Settings in use (in case they matter)

linux.env: LARP_CONTROLS=mnk, LARP_PROMPTS=keys, LARP_UPSCALER_SCALE=0.58,
LARP_PIPELINE_WAIT_MS=8, LARP_PRELOAD_THREADS=max, LARP_KEYBOARD_DRIVING=1, LARP_SKIP_INTRO=1,
_GL_SHADER_DISK_CACHE_SIZE=4294967295
settings.ini: several quality options lowered (shadows, GI, volumetrics, reflections, rt
* low/off,
lod_scale 0.75, grass_lod 0.5, vrs_enabled on). Output 2560x1440, DLSS.

Steps to reproduce

  1. Fresh larp-v1.1.2 (or later) linux-proton package, linux/setup.sh
  2. linux/run.sh /path/to/game_scarlett_master.exe -- --console series-s
  3. GPU is lost during the first pipeline compile / first frames, every time.

Attachments

  • play.log from v1.1.2 and v1.1.6 crashes

larp-1.1.2-crash-play.log
larp-1.1.6-crash-play.log

**@⁠Mhf2ooo** on GitHub · 2026-12-06 00:19 UTC · [original](https://github.com/gamingwithhomie/larp/issues/409) ## Summary Since v1.1.2, larp on Linux/Proton with an RTX 3060 reliably loses the GPU shortly after launch (during the first pipeline compile / first frames). The NVIDIA kernel driver reports Xid 13 "SKEDCHECK23_CONSTANT_BUFFER_SIZE failed" on the compute class, i.e. a compute dispatch is launched with an invalid constant buffer size. v1.0.11 runs fine on the same machine with the same prefix, caches and settings. ## System - GPU: NVIDIA GeForce RTX 3060 12 GB, driver 620.70.06 - CPU: Intel i5-10400F (6C/12T), 16 GB RAM - OS: Nobara Linux (Fedora 44), kernel 7.3.7-201.nobara.fc44.x86_64 - Proton: GE-Proton 11-15 via umu-launcher 1.4.4 (linux/run.sh) - also tried GE-Proton 11-16: <result> - Launch: linux/run.sh -- --console series-s - Prefix: setup.sh run, native Microsoft d3dcompiler_47.dll installed (re-run with v1.1.6 setup.sh) ## Versions tested | Version | Package | Result | |---|---|---| | v1.0.11 | linux-proton zip | works (Series S and X) | | v1.1.2 | linux-proton FULL | crash, 2/2 runs, same point | | v1.1.3 | linux-proton UPDATE over v1.1.2 FULL | crash | | v1.1.6 | linux-proton UPDATE over v1.1.2 FULL | crash | ## Error play.log (v1.1.6): ``` ERROR larp_gpu::host: host GPU device removed after 6 submissions sent ahead of 103 lists; device removed: 0x887A0005 [larp exited with code -2005270523] ``` Kernel at the same second: ``` NVRM: Xid (PCI:0000:01:00): 13, name=main, Graphics Exception: SKEDCHECK23_CONSTANT_BUFFER_SIZE failed NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: ESR 0x407020=0x80 0x407028=0x0 0x40702c=0x22133e3 0x407030=0x0 NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: channel 0x00000020, Class 0000c7c0, Offset 00000000, Data 00000000 ``` (v1.1.2 showed the identical Xid 13 with 0x40702c=0x221d0ae / 0x225184f.) Pipelines in the failing submission 11028 (graphics queue, fence 12544), from "in the line at the removal": - list 25: compute 3e7c51f5a390d0f0 - list 27: compute 73ac67482f6b6a5d, cbf9b65f2249ba96, e31872b8b22ff6a9, e74cb994939d4c26; vertex 80239409f2fa80da; vertex f3c75a8647f760c7 + pixel ea8689d4263d085e - list 30: compute 01e00844d8ae6819, 2854b7f2e22168ed, 374e035a642e7955, 7cd148448c6f5f5e, 9ba86fa7dcb9f314, a13866a15dcd0efb, aa1b3f9d32f16240, b233a46eb9e0afed, d3c330847c597f3c, d6328cc01ebc6026, d650520811a54b13, da72acbf805a315d, e00e837b0c016d12; vertex e2e894028f67286d + pixel 29c858db8053e16c ## Suspected cause The change between v1.0.11 and v1.1.2 that touches this is PR #183 (shader translator + wide-heap replacement shaders). #227 and #320 in v1.1.6 did not fix it. Test with v1.1.6 exe + the v1.0.11 replacement shaders (LARP_SHADER_REPLACE pointing to them): <result> ## Settings in use (in case they matter) linux.env: LARP_CONTROLS=mnk, LARP_PROMPTS=keys, LARP_UPSCALER_SCALE=0.58, LARP_PIPELINE_WAIT_MS=8, LARP_PRELOAD_THREADS=max, LARP_KEYBOARD_DRIVING=1, LARP_SKIP_INTRO=1, __GL_SHADER_DISK_CACHE_SIZE=4294967295 settings.ini: several quality options lowered (shadows, GI, volumetrics, reflections, rt_* low/off, lod_scale 0.75, grass_lod 0.5, vrs_enabled on). Output 2560x1440, DLSS. ## Steps to reproduce 1. Fresh larp-v1.1.2 (or later) linux-proton package, linux/setup.sh 2. linux/run.sh /path/to/game_scarlett_master.exe -- --console series-s 3. GPU is lost during the first pipeline compile / first frames, every time. ## Attachments - play.log from v1.1.2 and v1.1.6 crashes [larp-1.1.2-crash-play.log](https://github.com/user-attachments/files/35925126/larp-1.1.2-crash-play.log) [larp-1.1.6-crash-play.log](https://github.com/user-attachments/files/35925125/larp-1.1.6-crash-play.log)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-06 00:26:55 +00:00
Author
Owner

@⁠vanya890 on GitHub · 2026-12-06 00:43 UTC · original

I inspected the attached v1.1.6 play.log. One potentially useful cross-check: 191ecaed66eea3b1 appears as a compute pipeline in submission 11018, list 19, among the submissions still in flight when the device was removed. It is not listed in the final submission 11028's reported list, and the log records many other pipelines too, so this is not enough to identify it as the cause.

That same shader is independently implicated in #249: its DXC -O3 compilation exhausts host memory on RTX 5060/5070 Ti systems, while a manually compiled -Od replacement completes. Could you test the #249 -Od replacement on this Proton setup (or temporarily remove only this replacement) and report whether the Xid 13 still occurs? This would be a useful isolation test, not a presumed fix for the constant-buffer fault.

The log also confirms this run did not load a controls.ini; that is unrelated to the GPU removal. For additional driver-side detail under vkd3d-proton, the log's own diagnostic suggests VKD3D_CONFIG=fault and VKD3D_DEBUG=err.

**@⁠vanya890** on GitHub · 2026-12-06 00:43 UTC · [original](https://github.com/gamingwithhomie/larp/issues/409#issuecomment-7448594744) I inspected the attached v1.1.6 `play.log`. One potentially useful cross-check: `191ecaed66eea3b1` appears as a compute pipeline in submission 11018, list 19, among the submissions still in flight when the device was removed. It is not listed in the final submission 11028's reported list, and the log records many other pipelines too, so this is not enough to identify it as the cause. That same shader is independently implicated in #249: its DXC `-O3` compilation exhausts host memory on RTX 5060/5070 Ti systems, while a manually compiled `-Od` replacement completes. Could you test the #249 `-Od` replacement on this Proton setup (or temporarily remove only this replacement) and report whether the Xid 13 still occurs? This would be a useful isolation test, not a presumed fix for the constant-buffer fault. The log also confirms this run did not load a `controls.ini`; that is unrelated to the GPU removal. For additional driver-side detail under vkd3d-proton, the log's own diagnostic suggests `VKD3D_CONFIG=fault` and `VKD3D_DEBUG=err`.
Author
Owner

@⁠AkselGlyholt on GitHub · 2026-12-06 00:58 UTC · original

Same family here on a different NVIDIA card, with ray tracing as the trigger:

System: RTX 4060 8 GB, driver 620.73.04, Arch Linux (kernel 7.3.6), i5-12500, 32 GB RAM, umu-launcher 1.4.4.
larp: linux-test at 219d404, built from source with linux/build.sh. linux/run.sh -- --console series-s, 1080p output (UI pool patch), native Microsoft d3dcompiler_47.dll in the prefix (host ray tracing on), LARP_WINE_NO_SPARSE at its default (on).

Symptom: about 2-3 minutes after loading a save, at the same spot every time, the GPU faults on the compute class. Usually the driver first logs mapping failures; the card budget run below had none:

NVRM: intermapRegisterDmaMapping: Failed to insert new mapping node for range 0xDE56D20000-0xDE56D2FFFF!
NVRM: dmaAllocMapping_GM107: can't update VA space for mapping @vaddr=0x25f000000
NVRM: Xid (PCI:0000:01:00): 13, name=main, Graphics SM Warp Exception on (GPC 2, TPC 0, SM 0): MMU Fault
NVRM: Xid (PCI:0000:01:00): 13, name=main, Graphics SM Global Exception on (GPC 2, TPC 0, SM 0): Multiple Warp Errors
NVRM: Xid (PCI:0000:01:00): 13, name=main, Graphics Exception: ESR 0x514730=0x8010017 0x514734=0x4 0x514728=0xf812b60 0x51472c=0x1104
NVRM: Xid (PCI:0000:01:00): 13, name=main, Graphics Exception: channel 0x00000007, Class 0000c9c0, Offset 00000000, Data 00000000

Some runs got Xid 109 ... CTX SWITCH TIMEOUT at that spot instead, followed by NV_ERR_NO_MEMORY from the driver's context-buffer pools. Every time, frames then stop (larp-relay: CardWait ... 20114 ms), and the title watchdog ends it at +0x23cf683. The Xid 13 signature (GPC 2 / TPC 0 / SM 0, ESR 0xf812b60 / 0x1104) is identical across runs.

Tested, with no change (still faults at the same spot):

  • VKD3D_CONFIG=pipeline_library_app_cache,no_upload_hvv
  • --card-budget 6500 (VRAM otherwise sits at ~7.8 of 8 GB; with the budget, no OOM lines but the same Xid 13)
  • LARP_SHADER_REPLACE=0 (got Xid 109 instead of Xid 13)
  • Proton Experimental (11.0-20261112) instead of GE-Proton11-16, with a fresh prefix and pipeline cache

Only thing that avoids it: host ray tracing off (Wine's builtin d3dcompiler_47 makes larp's RT passes fail to compile). Same save, same spot: it plays straight through, with zero NVRM lines in the kernel log, not even the mapping failures.

Testing #183 reverted (219d404 with the merge reverted; created.rs kept as is, since later commits build on its I/O refactor): RESULT_PLACEHOLDER

**@⁠AkselGlyholt** on GitHub · 2026-12-06 00:58 UTC · [original](https://github.com/gamingwithhomie/larp/issues/409#issuecomment-7448799017) Same family here on a different NVIDIA card, with ray tracing as the trigger: **System:** RTX 4060 8 GB, driver 620.73.04, Arch Linux (kernel 7.3.6), i5-12500, 32 GB RAM, umu-launcher 1.4.4. **larp:** `linux-test` at `219d404`, built from source with `linux/build.sh`. `linux/run.sh -- --console series-s`, 1080p output (UI pool patch), native Microsoft `d3dcompiler_47.dll` in the prefix (host ray tracing on), `LARP_WINE_NO_SPARSE` at its default (on). **Symptom:** about 2-3 minutes after loading a save, at the same spot every time, the GPU faults on the compute class. Usually the driver first logs mapping failures; the card budget run below had none: ``` NVRM: intermapRegisterDmaMapping: Failed to insert new mapping node for range 0xDE56D20000-0xDE56D2FFFF! NVRM: dmaAllocMapping_GM107: can't update VA space for mapping @vaddr=0x25f000000 NVRM: Xid (PCI:0000:01:00): 13, name=main, Graphics SM Warp Exception on (GPC 2, TPC 0, SM 0): MMU Fault NVRM: Xid (PCI:0000:01:00): 13, name=main, Graphics SM Global Exception on (GPC 2, TPC 0, SM 0): Multiple Warp Errors NVRM: Xid (PCI:0000:01:00): 13, name=main, Graphics Exception: ESR 0x514730=0x8010017 0x514734=0x4 0x514728=0xf812b60 0x51472c=0x1104 NVRM: Xid (PCI:0000:01:00): 13, name=main, Graphics Exception: channel 0x00000007, Class 0000c9c0, Offset 00000000, Data 00000000 ``` Some runs got `Xid 109 ... CTX SWITCH TIMEOUT` at that spot instead, followed by `NV_ERR_NO_MEMORY` from the driver's context-buffer pools. Every time, frames then stop (`larp-relay: CardWait ... 20114 ms`), and the title watchdog ends it at `+0x23cf683`. The `Xid 13` signature (GPC 2 / TPC 0 / SM 0, ESR `0xf812b60` / `0x1104`) is identical across runs. **Tested, with no change (still faults at the same spot):** - `VKD3D_CONFIG=pipeline_library_app_cache,no_upload_hvv` - `--card-budget 6500` (VRAM otherwise sits at ~7.8 of 8 GB; with the budget, no OOM lines but the same `Xid 13`) - `LARP_SHADER_REPLACE=0` (got `Xid 109` instead of `Xid 13`) - Proton Experimental (11.0-20261112) instead of GE-Proton11-16, with a fresh prefix and pipeline cache **Only thing that avoids it:** host ray tracing off (Wine's builtin `d3dcompiler_47` makes larp's RT passes fail to compile). Same save, same spot: it plays straight through, with zero NVRM lines in the kernel log, not even the mapping failures. **Testing `#183` reverted** (`219d404` with the merge reverted; `created.rs` kept as is, since later commits build on its I/O refactor): RESULT_PLACEHOLDER
Author
Owner

@⁠christopear on GitHub · 2026-12-06 01:07 UTC · original

RTX 3090 on Linux — Xid 109 followed by CardWait and the title watchdog

I saw the same sequence as the RTX 4060 report once on a 24 GiB RTX 3090. The kernel attributed Xid 109 to the game process. I found no Xid 13, NVIDIA mapping or allocation errors, or OS out-of-memory kill in the session’s kernel log. I’m unsure whether this shares the original Xid 13 issue’s cause.

I believe I was in a cutscene about 46 minutes into the run. The crash context recorded int_chase_int_chase_int0 in Prestream, mission 0x03da4607, stage 0x33824f3b, with 272 streaming requests. I haven’t established a repeatable trigger or compared that checkpoint with RT off.

Sequence relative to the last frame

 ~5 s  NVRM Xid 109, CTX SWITCH TIMEOUT, Info 0x11c027
~20 s  No new frame. Submission thread between submissions.
       Mapping guards and journal free.
       larp-relay CardWait 20220 ms, another thread LineWait at 0x8 for 20120 ms.
~32 s  Title watchdog, 0xc0000005 write to address zero.
       +0x23cf683 <- +0x2215c35 <- +0x2215eca

Earlier stalls recovered and showed PipelineMake. The fatal stall showed a GPU fence wait. LARP logged no device-removed reason before exit. The GPU responded to nvidia-smi afterwards.

Setup

  • Ubuntu 26.04, kernel 7.0.0-44-generic, NVIDIA 595.99.02, 64 GB RAM.
  • Proton Experimental 11.0-20261123b, vkd3d-proton build 30b0eb9bc12dc9f, running under Bubblewrap.
  • Series X mode, native Microsoft d3dcompiler_47.dll. The log confirms host RT on and the Wine no-sparse path active. DLSS and FSR unavailable.
  • Custom stock-based build with selected community changes, including #103, #135, #142, #218, #240 and #277. It does not include #183 or #185. I haven’t tested this scene on an unmodified upstream release.

Would a diagnostics build capturing outstanding GPU submissions at the first long fence wait be useful, or is there a particular upstream revision you’d prefer for a reproduction?

**@⁠christopear** on GitHub · 2026-12-06 01:07 UTC · [original](https://github.com/gamingwithhomie/larp/issues/409#issuecomment-7448921856) **RTX 3090 on Linux — Xid 109 followed by CardWait and the title watchdog** I saw the same sequence as the [RTX 4060 report](https://git.gtahub.st/github/gamingwithhomie--larp/issues/409) once on a 24 GiB RTX 3090. The kernel attributed Xid 109 to the game process. I found no Xid 13, NVIDIA mapping or allocation errors, or OS out-of-memory kill in the session’s kernel log. I’m unsure whether this shares the original Xid 13 issue’s cause. I believe I was in a cutscene about 46 minutes into the run. The crash context recorded `int_chase_int_chase_int0` in `Prestream`, mission `0x03da4607`, stage `0x33824f3b`, with 272 streaming requests. I haven’t established a repeatable trigger or compared that checkpoint with RT off. **Sequence relative to the last frame** ```text ~5 s NVRM Xid 109, CTX SWITCH TIMEOUT, Info 0x11c027 ~20 s No new frame. Submission thread between submissions. Mapping guards and journal free. larp-relay CardWait 20220 ms, another thread LineWait at 0x8 for 20120 ms. ~32 s Title watchdog, 0xc0000005 write to address zero. +0x23cf683 <- +0x2215c35 <- +0x2215eca ``` Earlier stalls recovered and showed PipelineMake. The fatal stall showed a GPU fence wait. LARP logged no device-removed reason before exit. The GPU responded to `nvidia-smi` afterwards. **Setup** - Ubuntu 26.04, kernel 7.0.0-44-generic, NVIDIA 595.99.02, 64 GB RAM. - Proton Experimental 11.0-20261123b, vkd3d-proton build `30b0eb9bc12dc9f`, running under Bubblewrap. - Series X mode, native Microsoft `d3dcompiler_47.dll`. The log confirms host RT on and the Wine no-sparse path active. DLSS and FSR unavailable. - Custom stock-based build with selected community changes, including #103, #135, #142, #218, #240 and #277. It does **not** include #183 or #185. I haven’t tested this scene on an unmodified upstream release. Would a diagnostics build capturing outstanding GPU submissions at the first long fence wait be useful, or is there a particular upstream revision you’d prefer for a reproduction?
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/gamingwithhomie--larp#409
No description provided.