Linux/Proton: GPU page fault (Xid 31, same address every time) freezes the game 20-30 s into an early cutscene #1951
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA#1951
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?
@Silver-3 on GitHub · 2026-11-29 04:01 UTC · original
note: claude wrote this not me
Summary
On Linux under Proton, the game freezes about 20-30 seconds into the same early cutscene (a conversation scene with a character in an orange jumpsuit), then the title's crash handler ends the process. The NVIDIA kernel log shows an MMU fault (Xid 31) at the same GPU address on every freeze. It happens with DLSS off, DLSS only, and DLSS + frame generation, so I don't think it comes from Streamline.
Environment
568c5e5(clean, cross-compiled with cargo-xwin)experimental-bleeding-edge-11.0-482815-20261128--res 1440, DLSS PerformanceWhat happens
The scene plays, then the picture freezes. The log goes quiet and about 30 seconds later the title's crash handler writes a minidump. It is not the same spot each time, but always 20-30 seconds into this scene. Each time the kernel log has:
The address
0x5_8d249000is identical in about 12 faults across different process IDs.What I tried
VICTORY_LEAVE_OUT(the two defaults plus 69b5e0963916727e, 3c62430c3db42328, 021f72334f3cabe7, 241d637b96bebcec, 9716f7b4f551be3f): same fault, same address.Possibly relevant
FAULT_PDEmeans the page table entry is missing, which would fit a buffer that was evicted but is still being read.setDynamicMFGParams failed(NvAPI_D3D_SetReflexSync error -3) and a "CPU pacer is skipping the frame ... timeout" warning, but the fault also happens with DLSS and frame generation off.Not tested
Other scenes or later gameplay, other cards or drivers, native Windows, closing other GPU applications or lowering texture quality.
Logs
victory-issue-log.txt: the first line (switches) and the last 300 lines of a frozen run, with DLSS Performance + frame generation on and only the two defaultVICTORY_LEAVE_OUThashes.setDynamicMFGParamsand Breakpad lines are removed.victory-xid.txt: every Xid line from this session. Earlier runs with frame generation off and with the extra shaders skipped faulted at the same address, but I did not keep a separate log for each.victory-xid.txt
victory-issue-log.txt
@tqwewe on GitHub · 2026-11-29 09:29 UTC · original
Note: drafted by Claude from my logs, checked by me.
Same fault on a second RTX 4070, same address
0x5_8d249000, on the latest release.Environment
v2026.11.29.01(829188e), prebuiltvictory.exefrom the release page71cae091b(d3d12.dll+d3d12core.dllbesidevictory.exe), natived3dcompiler_47in the prefixVKD3D_DISABLE_EXTENSIONS=VK_NV_raw_access_chains,PROTON_ENABLE_NVAPI=1victory.exe play --series-s --dlss quality --framegen 2 --set VICTORY_PIPELINE_WAIT_MS=0victory preloadcompleted on this build before the runWhat happens
Same early cutscene. It played for a while at around 3 fps, with low-detail ("blobby") characters at times, then the game ended. On this build the title watchdog is told to quit (#628 fix), so there is no 30 s freeze and Breakpad dump this time: the GPU faults and the device is removed straight away.
Kernel log at the moment of the crash (3 faults, one process):
Last line of the log:
Supports the "evicted but still read" theory
The card was nearly full, and the sweep was releasing host copies in the last few seconds before the fault:
The budget was only ~8.4 GB of 12 GB because other programs held about 3 GB of VRAM. I can retry with them closed, or with any switch or diagnostics build you'd like.
Other things in the log that may or may not matter:
pipeline library: made [...] (the library did not load it: Invalid parameter. (0x80070057))just before the crashAttached: full play log (gzipped) and the Xid lines.
victory-nvidia-play-20261129-085307-320.log.gz
victory-xid.txt
@zoth1380 on GitHub · 2026-11-29 10:55 UTC · original
Same on Arch Linux (kernel 7.3.6-arch1-1), Steam non-Steam shortcut, Proton Experimental 11.0-20261123b, desktop RTX 4070 12 GB, driver 620.73.04, v2026.11.29.01, Series X, DLSS Performance. It fails at the transition out of the first scene's flashback, about 85 seconds into the scene. The conversation scene is with the character in the orange jumpsuit.
Reproduced in two separate runs, same channel and fault type, nearby but not identical addresses (kernel log is local time, game log is UTC: 04:23:05 = 10:23:05Z):
Nov 29 04:23:05 ... NVRM: Xid (PCI:...): 31, pid=91193, name=main, channel 0x0000002d. MMU Fault: ENGINE GRAPHICS GPC3 GPCCLIENT_GCC faulted @ 0x5_8d258000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
Nov 29 04:30:24 ... NVRM: Xid (PCI:...): 31, pid=92670, name=main, channel 0x0000002d. MMU Fault: ENGINE GRAPHICS GPC2 GPCCLIENT_GCC faulted @ 0x5_8d249000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
Both are in 0x5_8d2xxxxx, 60 KiB apart. (PDE rather than PTE suggests nothing is mapped over the range being read; that's my reading of the fault type, not confirmed.)
Run 1: DLSS frame generation on; the game closed. Run 2: frame generation off and VKD3D_DISABLE_EXTENSIONS=VK_NV_raw_access_chains set; the picture froze instead of the game closing. Same fault both times, so neither change helps.
Game log just before the first one:
a first host texture was admitted just over the room line (black face fix) so_far=250 slot=62011 bytes=8192
ERROR victory_gpu::draw: the host device went while textures picked by index were made ready
Context: this is after fixing a black screen with dxcompiler.dll + dxil.dll beside victory.exe (details in #1380). Full log of the first run attached (victory-crash.txt, username and GPU UUID scrubbed).
Logs attached: an excerpt from before the DXC fix (victory-pre-fix-excerpt.txt; the full log was 146 MB of per-frame lines) and the full log of the run that ends at the crash (victory-crash.txt). Username and GPU UUID scrubbed.
(Draft prepared with an AI assistant; all logs and results are from my own machine.)
AI assistant: Claude Sonnet 5.5 Extra
victory-pre-fix-excerpt.txt
victory-crash.txt
@janvitos on GitHub · 2026-11-29 11:58 UTC · original
Note: drafted with Claude from my logs.
Same fault on an RTX 4070 SUPER (12 GB), on two releases, both profiles. Two new data points: it already happens on v2026.11.28.01, and
VICTORY_PORT_CONSTANTS=0does not help on v2026.11.29.01.Environment
experimental-bleeding-edge-11.0-482815-20261128(its own vkd3d-proton)d3dcompiler_47(winetricks), Windows version set to 11,PROTON_ENABLE_NVAPI=1victory.exefrom the release page, v2026.11.28.01 and v2026.11.29.01Runs that faulted
--preload--set VICTORY_PORT_CONSTANTS=0On v2026.11.29.01 each run froze about 3 minutes after the start: the picture stops, and the play log has nothing after the fault except the 10-second
title views kept in the books alonelines.There were also faults at other addresses on Nov 28, from runs on v2026.11.28.01,
GPCCLIENT_GCCandFAULT_PDEagain:Memory
The last memory line before the 06:53:52 fault does not show a full card:
In an earlier Series X session on v2026.11.28.01,
nvidia-smishowed 11.9 of 12.0 GB in use, and Streamline loggedExceeded VRAM budget.So far every report here is a 12 GB RTX 4070-class card on Linux/Proton, on driver 620.73.04 or 615.78.08.
I can run a diagnostics build or any switch you'd like.
@janvitos on GitHub · 2026-11-29 15:11 UTC · original
Note: drafted with Claude from my logs and test runs.
Follow-up to my comment above: I have a workaround and some evidence on the cause.
Workaround
VKD3D_CONFIG=no_descriptor_heap(turns off vkd3d-proton'sVK_EXT_descriptor_heappath).Same machine, same prebuilt v2026.11.29.01, same Proton, Series X, DLSS Quality, DLSS FG 2x:
VK_EXT_descriptor_heap enabled (32 / 32 size, raw uav counter on))VKD3D_CONFIG=no_descriptor_heapWhat the fault is
It is a constant-buffer read through a view-heap slot that holds a texture or typed-buffer view, not a read of freed memory.
No buffer ever lived there. I ran a vkd3d-proton build (same commit
71cae091b, tracing on) that logs every allocation, free andCreateConstantBufferViewinside0x5_8d000000–0x5_8e000000. Up to the fault at0x5_8d249000it logged none.The address is a descriptor's format word. I dumped the host view heap from the frozen process. On this driver a constant-buffer descriptor keeps
address >> 4in its low 48 bits, and an image descriptor starts with a format word. Reading an image descriptor as a constant buffer therefore givesformat word << 4:0x58d24908(RGBA8-type 2D textures, VIctory's stand-in texture among them) gives0x5_8d2490800x6014920f(R32UI typed buffers) gives0x6_014920f0That matches
0x5_8d249000and0x6_01492000, and it explains why the address is the same on every machine: it is a format, not a location. The odd high bits in0x4006_01492000and0xffffc007_01491000are the low bits of the buffer's own address, which sit in the next word of the descriptor. I have not decoded the nearby ones (0x5_8d252000,0x5_8d253000,0x5_8d257000,0x5_8d258000).Why this path is the fatal one. With
VK_EXT_descriptor_heapevery view type shares the same 32-byte slot, and vkd3d-proton's heap robustness clamps the index but does not check the type.Where it happens
vkd3d-proton breadcrumbs (
VKD3D_CONFIG=breadcrumbs) on two faulting runs put it in the title's compute lists, in runs of dispatches of two shaders (vkd3d-proton hashesa86705a0134905c1andd0f26b1ca281cd3d; in VIctory's shader cachef8/c1b6536b…and48/a6899ac9…).a86705a0134905c1reads entry 3 of a 4-entry table as a constant buffer; the table was made afresh in the dynamic slots.d0f26b1ca281cd3d, which has no constant buffer in the heap (its only one is the user-data root constants). So the breadcrumbs give the neighbourhood, not the exact reader.What the descriptor checker saw
I also ran vkd3d-proton built with
-Denable_descriptor_qa=trueandVKD3D_CONFIG=descriptor_qa_checks. That checks the type of every heap slot a shader reads, and it also turns the descriptor-heap path off.3a9cf8daf17f6356samples slots 8712–8716, which hold UAV image views0d5ea1f6245a8b63samples slots 60152 and 60155 after their texture was destroyed(That run was ended by the Linux out-of-memory killer: the checker leaks. The plain
no_descriptor_heaprun does not.)What I don't know
Which write leaves the wrong view in the slot. With the heap path off the checker saw no shader read a constant buffer from a wrong-typed slot, so it may be specific to how the slots are written or reused on that path, in vkd3d-proton, in the driver, or in something VIctory does that only that path punishes. Reading VIctory's dynamic-slot code I found the slots released only after the host fence completes.
This also suggests the common factor in this issue is a vkd3d-proton build that uses
VK_EXT_descriptor_heapon a recent NVIDIA driver, not the 12 GB cards. That part is my guess from the reports here.I kept the trace and checker builds and can run either again, or any switch you'd like.
@janvitos on GitHub · 2026-11-29 17:28 UTC · original
Note: drafted with Claude from my logs and test runs.
Update to my comment above: more runs, several things ruled out, and one correction. Same setup throughout: prebuilt v2026.11.29.01, Proton Experimental bleeding edge (vkd3d-proton
71cae091b), NVIDIA 620.73.04, RTX 4070 SUPER 12 GB.Still the only thing that stops it
VKD3D_CONFIG=no_descriptor_heap. With theVK_EXT_descriptor_heappath on it freezes at or around the same early scene, before I get control of the character.0x5_8d2490000x5_8d7ff0000x5_8d2490000x5_8d2560000x5_8d249000one second after "Save and restart now" in the F1 menuSo it is not DLSS, not frame generation and not the console mode.
Ruled out on the vkd3d-proton side
One run on the heap path with all four of these at once still froze (4 min 21 s,
0x5_8d249000). The last three are a patched build of the same commit.VKD3D_CONFIG=no_default_heap_robustness(no clamp of heap indices against the heap size kept in push data)vkCmdCuLaunchKernelNVX(DLSS runs inside the title's command list)Correction to the address decode
The fault page is the first 8 bytes of the 32-byte slot, taken as a sign-extended 44-bit field, shifted left by 4. That covers
0x4006_01492000and0xffffc007_01491000without the explanation I gave before.In the heap of a frozen process, 44,891 slots decode to page
0x5_8d249000(slot 1 is one of them, an RGBA8 texture view) and 105,397 to0x6_01492000. None decoded to0x5_8d252000–0x5_8d258000at that moment, so I still can't place those.Other facts that may help
d0f26b1ca281cd3d, whose only constant data is push data (root constants, heap address, heap count). No vkd3d-proton meta operation came before it in that list.Still unknown
Which shader does the read, and whether the slot holds the wrong view or the shader lands on the wrong slot. I have a vkd3d-proton build that records the heap slots of every compute dispatch and compares them when the device is lost; I can run that, or any patch or switch you'd like tried.
@ColorMeBoom on GitHub · 2026-11-29 21:26 UTC · original
Same fault on an RTX 4070 SUPER under plain Wine (not Proton), on the newer v2026.11.29.02.
VKD3D_CONFIG=no_descriptor_heapremoved the Xid 31 here as well, but the next run then hung at the same scene with Xid 109, as in #2769.Setup
f889bb07), release, cross-compiled71cae091, built locally; DXVKdxgi.dllfrom GE-Proton11-14dxcompiler.dll,dxil.dll) besidevictory.exe; DLSS off;VK_NV_raw_access_chainsnot disabledAll four runs reached the world and hung at the same point: the cutscene at the cell window, shortly after the intro.
Runs
VKD3D_CONFIG0x5_8d249000, about 5½ min after launch0x5_8d249000, about 6 min after launchfault,breadcrumbs0x5_8d249000, about 6 min after launch. vkd3d-proton printed no breadcrumbs or fault report, because no device loss was reported.no_descriptor_heap(and--set VICTORY_PATCH_SSE4A=0)CTX SWITCH TIMEOUT(Info 0x2c014) 8 min after launch, same sceneXid line from the default runs, the same each time:
In every run the title did not exit. The last picture stayed on screen, one title thread kept a core at 100%, and the log stopped a few seconds after the Xid.
What this adds
VICTORY_TEXTURE_ROOM_PERCENT=75crashed earlier, in the menus, from #2393). It hit the same address every time, which matches janvitos's decode of the address as a descriptor format word.no_descriptor_heap, one run is too few to say how often Xid 109 follows. Here it came at the scene where the Xid 31 used to happen, which suggests the two problems are linked. Still untested:VKD3D_DISABLE_EXTENSIONS=VK_NV_raw_access_chainstogether withno_descriptor_heap, asdocs/linux-proton.mdrecommends.I can rerun with other settings if that helps.
AI-assisted (Claude Code, Claude Opus 5.5 ran the builds and game runs and wrote this comment).
@trustno1-coder on GitHub · 2026-11-30 15:38 UTC · original
Closing this because it was opened before v2026.11.29.01, and a great deal has changed since then. The latest release is v2026.11.30.01.
If this still happens, or still applies, on the latest release, please open a new issue. For a bug, attach both logs from that run:
victory-nvidia-play-<date>-<time>-<number>.login%LOCALAPPDATA%\victory\logs\.%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, plus the newest.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\if there is one from that run.