Linux/NVIDIA: device removed 0x887A0005 (Xid 13 SKEDCHECK23_CONSTANT_BUFFER_SIZE) on v1.1.2–v1.1.6, v1.0.11 works #409
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/gamingwithhomie--larp#409
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@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
Versions tested
Error
play.log (v1.1.6):
Kernel at the same second:
(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":
vertex 80239409f2fa80da; vertex f3c75a8647f760c7 + pixel ea8689d4263d085e
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
Attachments
larp-1.1.2-crash-play.log
larp-1.1.6-crash-play.log
@vanya890 on GitHub · 2026-12-06 00:43 UTC · original
I inspected the attached v1.1.6
play.log. One potentially useful cross-check:191ecaed66eea3b1appears 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
-O3compilation exhausts host memory on RTX 5060/5070 Ti systems, while a manually compiled-Odreplacement completes. Could you test the #249-Odreplacement 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 suggestsVKD3D_CONFIG=faultandVKD3D_DEBUG=err.@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-testat219d404, built from source withlinux/build.sh.linux/run.sh -- --console series-s, 1080p output (UI pool patch), native Microsoftd3dcompiler_47.dllin the prefix (host ray tracing on),LARP_WINE_NO_SPARSEat 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:
Some runs got
Xid 109 ... CTX SWITCH TIMEOUTat that spot instead, followed byNV_ERR_NO_MEMORYfrom the driver's context-buffer pools. Every time, frames then stop (larp-relay: CardWait ... 20114 ms), and the title watchdog ends it at+0x23cf683. TheXid 13signature (GPC 2 / TPC 0 / SM 0, ESR0xf812b60/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 sameXid 13)LARP_SHADER_REPLACE=0(gotXid 109instead ofXid 13)Only thing that avoids it: host ray tracing off (Wine's builtin
d3dcompiler_47makes 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
#183reverted (219d404with the merge reverted;created.rskept as is, since later commits build on its I/O refactor): RESULT_PLACEHOLDER@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_int0inPrestream, mission0x03da4607, stage0x33824f3b, with 272 streaming requests. I haven’t established a repeatable trigger or compared that checkpoint with RT off.Sequence relative to the last frame
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-smiafterwards.Setup
30b0eb9bc12dc9f, running under Bubblewrap.d3dcompiler_47.dll. The log confirms host RT on and the Wine no-sparse path active. DLSS and FSR unavailable.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?