Wine on NVIDIA RTX 5080: title quits itself (rc=3) at t+11 min of world load, with prepass + #189/#1849/#3714; per-frame costs measured #3748

Open
opened 2026-11-28 14:44:22 +00:00 by cobrajet302gt · 8 comments
cobrajet302gt commented 2026-11-28 14:44:22 +00:00 (Migrated from github.com)
Contributor

Imported from Marvisak/VIctory. Originally posted by cobrajet302gt on 2026-11-28T14:44:22Z.


Running the title's world load under Wine on an NVIDIA RTX 5080, and the title stops itself (exit(3), no fault of any kind) at t+11 min of every boot, whatever the platform layer fixes. Measurements, in the hope they slot into the per-frame picture (#1317's ranking, #774's Wine stops, #1670's 5080 removal, which we do not see).

Environment

  • Linux (CachyOS, kernel 7.2.9), Proton 11.0 (Wine 11, vkd3d-proton), NVIDIA RTX 5080 (driver 615.78.08), Intel Core Ultra 9 285K, 62 GB RAM
  • Our victory build: mainline + #189 + #1849 + #3714 (all merged cleanly in-tree), diagnostics feature on
  • victory run; VICTORY_RELAY=2, VICTORY_INDIRECT_WINDOW=1, VICTORY_LATE_WAIT=0, VICTORY_CARD_BUFFERS_MB=1024, VICTORY_TEXTURE_MIP_DROP=1, VICTORY_SHADER_LOOP_LIMIT=32, VICTORY_PIPELINE_WORKERS=16; boots under systemd (no memory cap)

What each fix changed, and the wall that stayed (boots 63–73, ~12 min each)

landed effect wall
#189 (wave64 emulated) host pipeline refused 208 → 0; the +0x297176 first-chance class gone; engine reaches frame 16.6k exit(3) at t+10.7–11.0 min
offline prepass (translate --cache --pipelines, 25,985 programs, 1,333 MB) zero dropped … pipelines are still being made stalls — was 227–340 per frame same, unchanged
#1849 (Wine heap deadlock) slow host submission ms=253–342 warnings gone, 6/6 boots → 0 same, unchanged
#3714 + full-pack seed via VICTORY_PREBUILD_KEYS title pipelines to start early pipelines=28164 (whole pack registered; read is uncapped; see note below) same, unchanged

Shape of the stop: always exit(3) at t+11:00 ±10 s, right after a world-bind batch begins (fps 17 → 0.8 across the cook); no first-chance exceptions, no title crash report (the temp\*.crash.log files appear for SEH-era deaths, so this is the title quitting on purpose), no kernel OOM, no device removal, crashes.log untouched.

Per-frame costs at the stop (boot 73; nvidia-smi at 5 Hz plus your own copystat lines — thanks for those):

  • GPU utilization avg 24 %, max 35 % — the card is idle ~2/3 of the time. This stop is not device-bound.
  • Unique host pipelines made in the entire boot: ~102. The title quits long before pipeline throughput matters; the early machinery (create-time starts) is not what is missing here.
  • guard lock held per frame: watch.rs:918 32.6 ms (longest hold 11.7)
  • 28 refresh copies/frame; host textures 1529 (4610 MB); video memory 5270 MB of a 15287 MB budget
  • frame waits 148, 148 of them ended at once; presents sharing a flip tick: 0 — not present-paced.

Two host-mechanism observations for Wine hosts

  1. The host pipeline library cannot exist under vkd3d-proton: CreatePipelineLibrary fails even empty — no host pipeline library: pipelines are not kept. Fine; but note that library::save() then returns before writing early-pipelines.txt, so on a library-less host the early list never persists and start early pipelines=0 forever. We carry a 10-line patch that lets the list save on its own (it works: 22 keys round-tripped across boots before we seeded; happy to send it).
  2. vkd3d-proton.cache in our run dir is frozen at 41,520 bytes across nine boots: it is written only when the process exits cleanly — every title death discards the driver-layer compiled-pipeline work. (Our prepass exit is clean; it wrote it.)

Note on the seed: we seeded early-pipelines.txt with all 28,164 pack keys (offline, via VICTORY_PREBUILD_KEYS, 18 s — a lovely diagnostic). The runtime's first save re-truncates it to EARLY_MAX (8192); we now re-seed per boot in the wrapper. The 28,164 read confirmed working at boot.

Questions for the Windows regulars (each cheap if you're already set up)

  1. During your world load, what do your copystat lines show — is the watch.rs:918 guard-lock hold the long pole there too, or do refresh copies dominate your frame time?
  2. The README's "loading into the world (about a minute)" — is that with a warm host pipeline library? How long does a cold translate --cache --pipelines take on your GPU/driver?
  3. Does anything in the title time out at ~11 minutes of loading on Windows too? Our stop clock never moves: 208 refusals → 0, translation waits → 0, submission stalls → 0, and the clock is identical across five fix states.

If a patience/timeout setting exists anywhere, we have not found it; VICTORY_* was read in full.

<!-- greyfinch-sync:Marvisak/VIctory:issue:6666640106 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3748). Originally posted by [cobrajet302gt](https://github.com/cobrajet302gt) on 2026-11-28T14:44:22Z. --- Running the title's world load under Wine on an NVIDIA RTX 5080, and the title stops itself (`exit(3)`, no fault of any kind) at t+11 min of every boot, whatever the platform layer fixes. Measurements, in the hope they slot into the per-frame picture (#1317's ranking, #774's Wine stops, #1670's 5080 removal, which we do **not** see). **Environment** - Linux (CachyOS, kernel 7.2.9), Proton 11.0 (Wine 11, vkd3d-proton), NVIDIA RTX 5080 (driver 615.78.08), Intel Core Ultra 9 285K, 62 GB RAM - Our `victory` build: mainline + #189 + #1849 + #3714 (all merged cleanly in-tree), diagnostics feature on - `victory run`; `VICTORY_RELAY=2`, `VICTORY_INDIRECT_WINDOW=1`, `VICTORY_LATE_WAIT=0`, `VICTORY_CARD_BUFFERS_MB=1024`, `VICTORY_TEXTURE_MIP_DROP=1`, `VICTORY_SHADER_LOOP_LIMIT=32`, `VICTORY_PIPELINE_WORKERS=16`; boots under systemd (no memory cap) **What each fix changed, and the wall that stayed** (boots 63–73, ~12 min each) | landed | effect | wall | |---|---|---| | #189 (wave64 emulated) | `host pipeline refused` 208 → 0; the `+0x297176` first-chance class gone; engine reaches frame 16.6k | `exit(3)` at t+10.7–11.0 min | | offline prepass (`translate --cache --pipelines`, 25,985 programs, 1,333 MB) | zero `dropped … pipelines are still being made` stalls — was 227–340 per frame | same, unchanged | | #1849 (Wine heap deadlock) | `slow host submission ms=253–342` warnings gone, 6/6 boots → 0 | same, unchanged | | #3714 + full-pack seed via `VICTORY_PREBUILD_KEYS` | `title pipelines to start early pipelines=28164` (whole pack registered; read is uncapped; see note below) | same, unchanged | **Shape of the stop**: always `exit(3)` at t+11:00 ±10 s, right after a world-bind batch begins (fps 17 → 0.8 across the cook); no first-chance exceptions, **no title crash report** (the `temp\*.crash.log` files appear for SEH-era deaths, so this is the title quitting on purpose), no kernel OOM, no device removal, `crashes.log` untouched. **Per-frame costs at the stop** (boot 73; `nvidia-smi` at 5 Hz plus your own copystat lines — thanks for those): - GPU utilization **avg 24 %, max 35 %** — the card is idle ~2/3 of the time. This stop is not device-bound. - **Unique host pipelines made in the entire boot: ~102.** The title quits long before pipeline throughput matters; the early machinery (create-time starts) is not what is missing here. - `guard lock held per frame: watch.rs:918 32.6 ms (longest hold 11.7)` - `28 refresh copies/frame`; `host textures 1529 (4610 MB)`; `video memory 5270 MB of a 15287 MB budget` - `frame waits 148, 148 of them ended at once`; `presents sharing a flip tick: 0` — not present-paced. **Two host-mechanism observations for Wine hosts** 1. The host pipeline library cannot exist under vkd3d-proton: `CreatePipelineLibrary` fails even empty — `no host pipeline library: pipelines are not kept`. Fine; but note that `library::save()` then returns *before* writing `early-pipelines.txt`, so on a library-less host the early list never persists and `start early pipelines=0` forever. We carry a 10-line patch that lets the list save on its own (it works: 22 keys round-tripped across boots before we seeded; happy to send it). 2. `vkd3d-proton.cache` in our run dir is frozen at 41,520 bytes across nine boots: it is written only when the process exits cleanly — every title death discards the driver-layer compiled-pipeline work. (Our prepass exit is clean; it wrote it.) **Note on the seed**: we seeded `early-pipelines.txt` with all 28,164 pack keys (offline, via `VICTORY_PREBUILD_KEYS`, 18 s — a lovely diagnostic). The runtime's first save re-truncates it to `EARLY_MAX` (8192); we now re-seed per boot in the wrapper. The 28,164 read confirmed working at boot. **Questions for the Windows regulars** (each cheap if you're already set up) 1. During your world load, what do your copystat lines show — is the `watch.rs:918` guard-lock hold the long pole there too, or do refresh copies dominate your frame time? 2. The README's "loading into the world (about a minute)" — is that with a **warm** host pipeline library? How long does a cold `translate --cache --pipelines` take on your GPU/driver? 3. Does anything in the title time out at ~11 minutes of loading on Windows too? Our stop clock never moves: 208 refusals → 0, translation waits → 0, submission stalls → 0, and the clock is identical across five fix states. If a patience/timeout setting exists anywhere, we have not found it; `VICTORY_*` was read in full.
cobrajet302gt commented 2026-11-28 15:18:20 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by cobrajet302gt on 2026-11-28T15:18:20Z.


Follow-up from the same boots (two running in parallel now: Series X and --console SeriesS), plus one question the numbers sharpened.

Both lanes today never started the story load — and your own diagnostics prove it: copystat shows 0 title copies 0.0 MB per frame and capture.rs never logs a first-frame-with-500-draws, while the screen is the black transitional shell whose only drawn content is the bottom-right legend (ACCOUNT PICKER Y / SCREEN NARRATION (OFF) X / PLAYER A). Unattended past the t+11 min mark, the title simply stays there, alive and idle — no quit, no fault. Same on a virgin prefix (fresh shader and pipeline caches) with VICTORY_KEYS pressing Enter every 6 s from 25 s to 150 s, which matches the route recipe from #1317.

So the t+11 min exit(3) of our earlier boots belongs to the load-in-progress state, not to a global startup timer: never load, never quit. That makes your input route the critical path on our host, and one question:

  • What exactly crosses the black account-picker shell on your machines — keyboard Enter? a pad press, and through which facility: VICTORY_PAD_FILE, a real evdev device under Wine, or the VICTORY_KEYS script (our uinput virtual pad is opened (GameInputCreate observed) and taps A/Y/B every 30 s, yet the shell's PLAYER [A] never advances)? We also read the first-run docs' LEONIDA_INPUT_SCRIPT-style route for your sibling project — is there a VIctory equivalent, or a save file past first-boot a tester can share format-wise (no game data needed — just how you get there)?

Also confirmed from your side of the fence, for the record: with everything pre-translated and the early list seeded from VICTORY_PREBUILD_KEYS (all 28,164 pack names, read uncapped), title pipelines to start early pipelines=28164 works under Wine — and a full-list boot and an 8k-truncated boot die identically, so list size is not the wall either. The per-frame bill for the load-state boots stands as posted: GPU 24 % avg, guard lock 32.6 ms/frame, ~102 unique pipelines made.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7241364091 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3748#issuecomment-7241364091). Originally posted by [cobrajet302gt](https://github.com/cobrajet302gt) on 2026-11-28T15:18:20Z. --- Follow-up from the same boots (two running in parallel now: Series X and `--console SeriesS`), plus one question the numbers sharpened. Both lanes today never started the story load — and your own diagnostics prove it: `copystat` shows `0 title copies 0.0 MB` per frame and `capture.rs` never logs a first-frame-with-500-draws, while the screen is the black transitional shell whose only drawn content is the bottom-right legend (`ACCOUNT PICKER Y / SCREEN NARRATION (OFF) X / PLAYER A`). Unattended past the t+11 min mark, the title simply **stays there, alive and idle** — no quit, no fault. Same on a virgin prefix (fresh shader and pipeline caches) with `VICTORY_KEYS` pressing Enter every 6 s from 25 s to 150 s, which matches the route recipe from #1317. So the t+11 min `exit(3)` of our earlier boots belongs to the **load-in-progress state**, not to a global startup timer: never load, never quit. That makes your input route the critical path on our host, and one question: - What exactly crosses the black account-picker shell on your machines — keyboard Enter? a pad press, and through which facility: `VICTORY_PAD_FILE`, a real evdev device under Wine, or the `VICTORY_KEYS` script (our uinput virtual pad is opened (`GameInputCreate` observed) and taps A/Y/B every 30 s, yet the shell's `PLAYER [A]` never advances)? We also read the first-run docs' `LEONIDA_INPUT_SCRIPT`-style route for your sibling project — is there a VIctory equivalent, or a save file past first-boot a tester can share format-wise (no game data needed — just how you get there)? Also confirmed from your side of the fence, for the record: with everything pre-translated and the early list seeded from `VICTORY_PREBUILD_KEYS` (all 28,164 pack names, read uncapped), `title pipelines to start early pipelines=28164` works under Wine — and a full-list boot and an 8k-truncated boot die identically, so list size is not the wall either. The per-frame bill for the load-state boots stands as posted: GPU 24 % avg, guard lock 32.6 ms/frame, ~102 unique pipelines made.
cobrajet302gt commented 2026-11-28 17:39:09 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by cobrajet302gt on 2026-11-28T17:39:09Z.


One more measured fact from tonight, then we'll rest the lane and wait for your answers.

The 8-minute crossing does not reproduce. Our Nov-27 session crossed this exact shell at t+8:20 into the key-art loading screen (captures: frames up to 8192 = idle-size, frame-9300 = real content; the old script's first scheduled X sat at t+8:20 and a live stick-walk script existed from t+45 min). Today we re-booted the identical artifact (same 57.8 MB exe, md5 unchanged), same prefix, same save/settings (mtimes predate that crossing, unchanged since), same scripts — four boots, longest 60 min: it never crosses. Between attempts we removed every title scratch state (temp/, telemetry cache) with the same result.

And input demonstrably never arrives at the title today, on either build: across stock scripted keys (correct seconds format confirmed in your source), literal pad letters, a uinput virtual pad enumerated as your own device=0, the fallback pad with the uinput gone, and our ported scripted-console-pad bridge — captures before and after presses are byte-identical (md5), including presses held 3–5 s. The shell legend itself is state-dependent (three items incl. SCREEN NARRATION (OFF) on current main; two items on the Nov-27 build), so the shell we're in is a real, changing state — it just seems to be waiting for something other than pad input.

Two questions for your testers, if cheap:

  1. From a fresh checkout today — can anyone reach the loading screen from the black shell at all, and from what save state? (Our reads of the room say everyone's "past first boot setup" saves are doing load-bearing work.)
  2. Does the crossing on your machines follow an async event (profile/account enumeration completing) rather than a button? Ours lands suspiciously near t+8 min on Nov-27 and nowhere on identical input today.

Lane parked with captures and full logs; will re-run whatever recipe you name.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7243181378 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3748#issuecomment-7243181378). Originally posted by [cobrajet302gt](https://github.com/cobrajet302gt) on 2026-11-28T17:39:09Z. --- One more measured fact from tonight, then we'll rest the lane and wait for your answers. **The 8-minute crossing does not reproduce.** Our Nov-27 session crossed this exact shell at t+8:20 into the key-art loading screen (captures: frames up to 8192 = idle-size, frame-9300 = real content; the old script's first scheduled `X` sat at t+8:20 and a live stick-walk script existed from t+45 min). Today we re-booted the *identical artifact* (same 57.8 MB exe, md5 unchanged), same prefix, same save/settings (mtimes predate that crossing, unchanged since), same scripts — four boots, longest 60 min: it never crosses. Between attempts we removed every title scratch state (temp/, telemetry cache) with the same result. And input demonstrably never arrives at the title today, on either build: across stock scripted keys (correct seconds format confirmed in your source), literal pad letters, a uinput virtual pad enumerated as your own `device=0`, the fallback pad with the uinput gone, and our ported scripted-console-pad bridge — captures before and after presses are **byte-identical** (md5), including presses held 3–5 s. The shell legend itself is state-dependent (three items incl. `SCREEN NARRATION (OFF)` on current main; two items on the Nov-27 build), so the shell we're in is a real, changing state — it just seems to be waiting for something other than pad input. Two questions for your testers, if cheap: 1. From a fresh checkout today — can anyone reach the loading screen from the black shell at all, and from what save state? (Our reads of the room say everyone's "past first boot setup" saves are doing load-bearing work.) 2. Does the crossing on your machines follow an async event (profile/account enumeration completing) rather than a button? Ours lands suspiciously near t+8 min on Nov-27 and nowhere on identical input today. Lane parked with captures and full logs; will re-run whatever recipe you name.
cobrajet302gt commented 2026-11-29 02:15:50 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by cobrajet302gt on 2026-11-29T02:15:50Z.


Answering my own shell-crossing question — we crossed it last night and I want to hand over the mechanism because it looks harness-specific, not game-specific.

The account-picker/legend screen does respond to input — but only to core X11 events delivered to a focused window. Our harness is headless (Xvfb, no window manager). Two things we'd assumed were input bugs turned out to be one input-delivery fact:

  • XSendEvent-style synthetic keys (e.g. xdotool key --window <id>) reach the wine window but the title ignores them — zero screen change, verified by capture md5 before/after every press.
  • Once we set XSetInputFocus on the game window explicitly (no WM does it for you on a bare Xvfb), XTEST-injected keys are heard immediately: the legend walk advanced and the boot entered the real world-load (key-art frame, then 9.3 GB streaming: our own log went 30 fps idle → 17.8/56 ms → 8.3/120 → 2.4/413 ms preparing:copies while the 28k pipeline pack ran — the exact signature from our earlier traces). On a real desktop (any WM setting focus) this presumably "just works", which may be why nobody hit it.

Sequence that opened it: focus the game window, then keyboard keys per your own README mapping table (the title reads the GameInput keyboard device directly at that screen; the scripted pad did NOT move this screen for us, pad enumerated and live — happy to dig into that separately if it's known).

Second confirmation from the same run: on an older tree (before the #3714 patience work reached us) the crossed load streamed ~10-11 more minutes and then exited(3) at the documented post-load-screen patience horizon, mid-stream at 2.4 fps — consistent with the load-start anchored clock we measured (load+~655 s). With the current tree + early-pipelines + seed cache we expect to survive it; the next run is exactly that A/B and I'll post the frame budget.

Repro recipe for anyone wanting the same evidence: headless host, victory under wine, xdotool search --all → 1920x1080 window → xdotool windowfocus <wid> → xdotool key <Return/arrows/wasd>. Capture the frame before/after each press and you can watch the legend state change instead of guessing.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7249315315 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3748#issuecomment-7249315315). Originally posted by [cobrajet302gt](https://github.com/cobrajet302gt) on 2026-11-29T02:15:50Z. --- Answering my own shell-crossing question — we crossed it last night and I want to hand over the mechanism because it looks harness-specific, not game-specific. **The account-picker/legend screen does respond to input — but only to core X11 events delivered to a focused window.** Our harness is headless (Xvfb, no window manager). Two things we'd assumed were input bugs turned out to be one input-delivery fact: - `XSendEvent`-style synthetic keys (e.g. `xdotool key --window <id>`) reach the wine window but the title ignores them — zero screen change, verified by capture md5 before/after every press. - Once we set `XSetInputFocus` on the game window explicitly (no WM does it for you on a bare Xvfb), **XTEST-injected keys are heard immediately**: the legend walk advanced and the boot entered the real world-load (key-art frame, then 9.3 GB streaming: our own log went 30 fps idle → 17.8/56 ms → 8.3/120 → 2.4/413 ms preparing:copies while the 28k pipeline pack ran — the exact signature from our earlier traces). On a real desktop (any WM setting focus) this presumably "just works", which may be why nobody hit it. Sequence that opened it: focus the game window, then keyboard keys per your own README mapping table (the title reads the GameInput keyboard device directly at that screen; the scripted pad did NOT move this screen for us, pad enumerated and live — happy to dig into that separately if it's known). Second confirmation from the same run: on an older tree (before the #3714 patience work reached us) the crossed load streamed ~10-11 more minutes and then exited(3) at the documented post-load-screen patience horizon, mid-stream at 2.4 fps — consistent with the load-start anchored clock we measured (load+~655 s). With the current tree + early-pipelines + seed cache we expect to survive it; the next run is exactly that A/B and I'll post the frame budget. Repro recipe for anyone wanting the same evidence: headless host, victory under wine, `xdotool search --all` → 1920x1080 window → `xdotool windowfocus <wid>` → `xdotool key <Return/arrows/wasd>`. Capture the frame before/after each press and you can watch the legend state change instead of guessing.
cobrajet302gt commented 2026-11-29 05:47:01 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by cobrajet302gt on 2026-11-29T05:47:01Z.


Follow-up with four additional in-game load attempts (same X-profile recipe as above), and a possible regression window.

New findings:

  1. The first-run wizard is fully walkable via the scripted console pad (PLAYER gate → navigation experience → subtitles → brightness → finish → CONTINUE). Confirmed by screen captures at each page.
  2. Trap: once the world load has started, an A press (even one already being held when the transition begins) exits the title with code 3 immediately. Three attempts died within 4–12 s of an A-hold landing after the CONTINUE press. Scripted walks should end before the load transition, with all input silent afterwards.
  3. With input fully silent, the current tree still exits silently (code 3) within 3–80 s of the load transition. Last log context each time: black frame after a frame that was not + levels after the black frame [255,255,255,255], refused buffer view: empty or past its copy start=0x0, first audio coprocessor commands (5, 18, 7), indirect execution dropped, then nothing — no panic, no patience-style countdown. Deaths occurred at t+3:40 to t+7:29 from boot, at frames ~5,500 to ~12,000 (shader cooking well underway, thousands of first-binds).
  4. Control: an older stack from this same binary lineage (189 + 1849 + 3714 + pipeline-workers, i.e. before the 3557 / 2178 era) crossed the same transition on the same rig and streamed ~10.7 min of world load before exiting at the usual late point.

So the current stack (189 + 1849 + 3714 + 3557 + 2178, HEAD f8132a0) appears to regress specifically at the black-frame/load transition. Happy to re-run against candidate builds — if 2178 (structured raw views) or 3557 are suspects, a build with one reverted would narrow it quickly; we can report first-bind frames and death timing against each.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7251457009 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3748#issuecomment-7251457009). Originally posted by [cobrajet302gt](https://github.com/cobrajet302gt) on 2026-11-29T05:47:01Z. --- Follow-up with four additional in-game load attempts (same X-profile recipe as above), and a possible regression window. New findings: 1. The first-run wizard is fully walkable via the scripted console pad (PLAYER gate → navigation experience → subtitles → brightness → finish → CONTINUE). Confirmed by screen captures at each page. 2. Trap: once the world load has started, an A press (even one already being held when the transition begins) exits the title with code 3 immediately. Three attempts died within 4–12 s of an A-hold landing after the CONTINUE press. Scripted walks should end *before* the load transition, with all input silent afterwards. 3. With input fully silent, the current tree still exits silently (code 3) within 3–80 s of the load transition. Last log context each time: `black frame after a frame that was not` + `levels after the black frame [255,255,255,255]`, `refused buffer view: empty or past its copy start=0x0`, first audio coprocessor commands (5, 18, 7), `indirect execution dropped`, then nothing — no panic, no patience-style countdown. Deaths occurred at t+3:40 to t+7:29 from boot, at frames ~5,500 to ~12,000 (shader cooking well underway, thousands of first-binds). 4. Control: an older stack from this same binary lineage (189 + 1849 + 3714 + pipeline-workers, i.e. before the 3557 / 2178 era) crossed the same transition on the same rig and streamed ~10.7 min of world load before exiting at the usual late point. So the current stack (189 + 1849 + 3714 + 3557 + 2178, HEAD f8132a0) appears to regress specifically at the black-frame/load transition. Happy to re-run against candidate builds — if 2178 (structured raw views) or 3557 are suspects, a build with one reverted would narrow it quickly; we can report first-bind frames and death timing against each.
cobrajet302gt commented 2026-11-29 14:36:41 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by cobrajet302gt on 2026-11-29T14:36:41Z.


Linux/Wine addendum: exit code 3 = the title's watchdog store, and the levers that lengthened our load

Controlled Linux data points (Proton 11 + stock vkd3d-proton, RTX 5080 16 GB, 62 GB RAM, 63bcca4-era tree with #2328/#3181 cherry-picked): across twelve boots, every silent stop under WINEDEBUG=-all exits with code 3, no panic line — consistent with the kill-map in #630, since a title-side access violation surfaces as rc 3 through Wine. All of our deaths land 40-105 s after presents stop, matching the reported window; the same watchdog tag is credited independently in bordersky/victory-linux (a cold-cache load crash at +0x23cf683 blamed on an unbounded pipeline wait, fixed there by a bounded wait), which cross-confirms the mechanism from a second machine and GPU vendor.

Measured levers in our boot logs:

  • shader workers 8 -> 24 (the #3714 knob): survival from world-load start to the watchdog kill rose from ~60-90 s to ~510 s on the same tree. GPU stayed 0-6% busy at every death, so this is the serial first-world-frame pipeline batch, not the card.
  • #2328 + #3181 cherry-pick cleanly onto this era (one expected conflict in pipeline/library.rs where the SAVING guard and the early-list rewrite overlap; keeping both works). Load-phase cgroup peaks 15.0-16.7 GB with zero OOM events, consistent with #1118's finding that the save path is what exhausts memory before the world.
  • VICTORY_CARD_BUFFERS_MB=4096 shortened survival on a 16 GB card (walk+103 s vs walk+510 s at 1024 MB); the 4 GB guidance may assume larger-VRAM cards. 1024 MB restored.
  • Wine tester gotchas worth a docs line: a fresh prefix ignores XTEST input until one synthetic --window key event lands, and systemd-run defaults SIGKILL a mid-load cgroup on its start timeout, which otherwise looks exactly like a silent engine stop (TimeoutStartSec=infinity).

Next run applies --console series-s on this same tree. Can post full text boot logs if useful.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7257437912 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3748#issuecomment-7257437912). Originally posted by [cobrajet302gt](https://github.com/cobrajet302gt) on 2026-11-29T14:36:41Z. --- **Linux/Wine addendum: exit code 3 = the title's watchdog store, and the levers that lengthened our load** Controlled Linux data points (Proton 11 + stock vkd3d-proton, RTX 5080 16 GB, 62 GB RAM, 63bcca4-era tree with #2328/#3181 cherry-picked): across twelve boots, every silent stop under `WINEDEBUG=-all` exits with **code 3**, no panic line — consistent with the kill-map in #630, since a title-side access violation surfaces as rc 3 through Wine. All of our deaths land **40-105 s after presents stop**, matching the reported window; the same watchdog tag is credited independently in bordersky/victory-linux (a cold-cache load crash at `+0x23cf683` blamed on an unbounded pipeline wait, fixed there by a bounded wait), which cross-confirms the mechanism from a second machine and GPU vendor. Measured levers in our boot logs: - shader workers 8 -> 24 (the #3714 knob): survival from world-load start to the watchdog kill rose from ~60-90 s to ~510 s on the same tree. GPU stayed 0-6% busy at every death, so this is the serial first-world-frame pipeline batch, not the card. - #2328 + #3181 cherry-pick cleanly onto this era (one expected conflict in `pipeline/library.rs` where the `SAVING` guard and the early-list rewrite overlap; keeping both works). Load-phase cgroup peaks 15.0-16.7 GB with zero OOM events, consistent with #1118's finding that the save path is what exhausts memory before the world. - `VICTORY_CARD_BUFFERS_MB=4096` *shortened* survival on a 16 GB card (walk+103 s vs walk+510 s at 1024 MB); the 4 GB guidance may assume larger-VRAM cards. 1024 MB restored. - Wine tester gotchas worth a docs line: a fresh prefix ignores XTEST input until one synthetic `--window` key event lands, and `systemd-run` defaults SIGKILL a mid-load cgroup on its start timeout, which otherwise looks exactly like a silent engine stop (`TimeoutStartSec=infinity`). Next run applies `--console series-s` on this same tree. Can post full text boot logs if useful.
cobrajet302gt commented 2026-11-29 15:51:53 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by cobrajet302gt on 2026-11-29T15:51:53Z.


Survival result — the wineserver views-list fix converts our death phase into a live 30 fps boot (NVIDIA, Proton 11, venue trunk).

Rationale + method: both public Linux lanes (bordersky's README, FiveNine's linux/) independently point at Wine bug 60868 — wineserver keeps mapped memory views in a linked list, and this title issues on the order of 13k VirtualQuery/view operations per frame during world-streaming. We built the views-rbtree patch against Valve's proton_11.0 wine fork (64-bit) and swapped it into Proton 11.0's files/bin/wineserver; tree unchanged from our earlier posts (trunk + #2328/#3181 save stack, 24 workers, 1 GB card buffers, --console series-s).

Before/after on the identical boot recipe:

  • old server: load crawls at 14.6-19.8 fps with 500-1,778 ms idle-GPU frame lines; stall-watchdog null-store lands 40-105 s after presents stop (rc=3 under Wine); best survival ~510 s at a still key-art frame, never interactive
  • patched server: sustained 29.8-30.4 fps / 33.3 ms through the entire world-stream phase — the crawl lines are gone; 20+ minutes continuous, first-ever passage of the boot wizard into interactive UI (tips carousel, UI-text-size, brightness calibration, and the "FINISH SETUP?" gate), first-bind depth frame 28,445 (prior record 21,984), game still presenting 30 fps when we stopped watching

Toolchain constraints that cost us three dead boots and are absent from every guide we've seen: vanilla wine-11.0's wineserver fails the proton client with version mismatch 930/931 (fork protocol bump), and wine-11 defaults to a 32-bit host build that refuses a 64-bit prefix — the server must come from the same proton fork tree, built with --enable-archs=x86_64.

Remaining wall is input mapping, not the stall: arrow keys cycle the carousel and Return advanced three pages, but A/B-glyph prompts on the setup/legal overlays ignore Return/a/Escape/BackSpace — looks pad-only. Next step here: a uinput-emulated Xbox pad into the prefix. If anyone has already cleared that gate on Linux, what did you use?

<!-- greyfinch-sync:Marvisak/VIctory:comment:7258428073 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3748#issuecomment-7258428073). Originally posted by [cobrajet302gt](https://github.com/cobrajet302gt) on 2026-11-29T15:51:53Z. --- **Survival result — the wineserver views-list fix converts our death phase into a live 30 fps boot (NVIDIA, Proton 11, venue trunk).** Rationale + method: both public Linux lanes (bordersky's README, FiveNine's linux/) independently point at Wine bug 60868 — wineserver keeps mapped memory views in a linked list, and this title issues on the order of 13k VirtualQuery/view operations per frame during world-streaming. We built the views-rbtree patch against Valve's `proton_11.0` wine fork (64-bit) and swapped it into Proton 11.0's `files/bin/wineserver`; tree unchanged from our earlier posts (trunk + #2328/#3181 save stack, 24 workers, 1 GB card buffers, `--console series-s`). Before/after on the identical boot recipe: - old server: load crawls at 14.6-19.8 fps with 500-1,778 ms idle-GPU frame lines; stall-watchdog null-store lands 40-105 s after presents stop (rc=3 under Wine); best survival ~510 s at a still key-art frame, never interactive - patched server: sustained 29.8-30.4 fps / 33.3 ms **through the entire world-stream phase** — the crawl lines are gone; **20+ minutes continuous**, first-ever passage of the boot wizard into interactive UI (tips carousel, UI-text-size, brightness calibration, and the "FINISH SETUP?" gate), first-bind depth frame 28,445 (prior record 21,984), game still presenting 30 fps when we stopped watching Toolchain constraints that cost us three dead boots and are absent from every guide we've seen: vanilla wine-11.0's wineserver fails the proton client with `version mismatch 930/931` (fork protocol bump), and wine-11 defaults to a 32-bit host build that refuses a 64-bit prefix — the server must come from the same proton fork tree, built with `--enable-archs=x86_64`. Remaining wall is input mapping, not the stall: arrow keys cycle the carousel and Return advanced three pages, but A/B-glyph prompts on the setup/legal overlays ignore Return/a/Escape/BackSpace — looks pad-only. Next step here: a uinput-emulated Xbox pad into the prefix. If anyone has already cleared that gate on Linux, what did you use?
crissuper20 commented 2026-11-30 13:26:29 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by crissuper20 on 2026-11-30T13:26:29Z.


On point 1 ("CreatePipelineLibrary fails even empty"), I found the cause. vkd3d-proton refuses a zero-length blob unless the pointer is null:

// libs/vkd3d/cache.c, d3d12_pipeline_library_init
if (!blob_length && blob)
    return E_INVALIDARG;

library.rs asks for the empty library with make(&[]), which goes through device.CreatePipelineLibrary(bytes). A Rust empty slice's pointer isn't null, so under Proton the empty library is never made, and no pipeline is kept between runs. Windows' D3D12 accepts it, which is why it only shows up on Linux. Pass std::ptr::null() when the blob is empty: call the ID3D12Device1 vtable directly, or see VIctory-NVIDIA d9377769 ("pass a null pointer on an empty blob for proton compatibility"), which does exactly that.

If a library from another driver or OS is lying around, it gets rejected first (0x887E0002, driver version mismatch) and then hits the same empty-blob failure. Without a rebuild, VKD3D_CONFIG=pipeline_library_ignore_mismatch_driver makes vkd3d-proton accept such a blob as an empty library. With either of those, the library loads and saves here (Proton Experimental 11, vkd3d-proton 2576c0b4, NVIDIA 620.70). One more thing I noticed: under vkd3d-proton it only holds metadata (about 190 bytes per pipeline), so the compiled code still comes from NVIDIA's own disk cache.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7279849038 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3748#issuecomment-7279849038). Originally posted by [crissuper20](https://github.com/crissuper20) on 2026-11-30T13:26:29Z. --- On point 1 ("`CreatePipelineLibrary` fails even empty"), I found the cause. vkd3d-proton refuses a zero-length blob unless the pointer is null: ```c // libs/vkd3d/cache.c, d3d12_pipeline_library_init if (!blob_length && blob) return E_INVALIDARG; ``` `library.rs` asks for the empty library with `make(&[])`, which goes through `device.CreatePipelineLibrary(bytes)`. A Rust empty slice's pointer isn't null, so under Proton the empty library is never made, and no pipeline is kept between runs. Windows' D3D12 accepts it, which is why it only shows up on Linux. Pass `std::ptr::null()` when the blob is empty: call the `ID3D12Device1` vtable directly, or see VIctory-NVIDIA d9377769 ("pass a null pointer on an empty blob for proton compatibility"), which does exactly that. If a library from another driver or OS is lying around, it gets rejected first (`0x887E0002`, driver version mismatch) and then hits the same empty-blob failure. Without a rebuild, `VKD3D_CONFIG=pipeline_library_ignore_mismatch_driver` makes vkd3d-proton accept such a blob as an empty library. With either of those, the library loads and saves here (Proton Experimental 11, vkd3d-proton 2576c0b4, NVIDIA 620.70). One more thing I noticed: under vkd3d-proton it only holds metadata (about 190 bytes per pipeline), so the compiled code still comes from NVIDIA's own disk cache.
cobrajet302gt commented 2026-11-30 13:42:54 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by cobrajet302gt on 2026-11-30T13:42:54Z.


Confirmed the cause in this tree too (pinned lineage: main 63bcca43 + #189 + #1849 + #3714) — [FILE-VERIFIED]:

  • crates/victory-gpu/src/pipeline/library.rs:187 — let library = make(&[]).ok()?;
  • crates/victory-gpu/src/pipeline/library.rs:165 — device.CreatePipelineLibrary::<ID3D12PipelineLibrary>(bytes)?

An empty &[] slice carries a non-null pointer, so under Proton the vkd3d-proton check @crissuper20 quoted (if (!blob_length && blob) → E_INVALIDARG) rejects exactly this call, and the .ok()? drops it without a sound — the runtime store is never created, and pipelines late-bound during play never persist between runs. Matches our bench quietly: the offline prepass noted above covers all 25,985 pack programs and those hits persist across boots; what never persisted is the runtime's late additions, with zero log lines at the site — silent, as expected from the quoted code.

Two boundaries so this claim doesn't outrun the data:

  1. It does not explain the exit(3)-at-t+11:00 wall in the table above. At the stop there is no pipeline-store activity (the title pipelines to start early pipelines=28164 batch completed long before, and the prepass removed the dropped-pipeline stalls that #189-era boots showed). That wall stays open on its own terms.
  2. We have not yet measured with the null-pointer fix applied. The fix itself is verified in history: d9377769 (2026-11-27, "fix: pass a null pointer on an empty blob for proton compatibility", cherry-picked from dad5e489), present in the transferred NVIDIA fork (now trustno1-coder/VIctory-NVIDIA), absent from main as of 63bcca43.

Next step on our side: apply the null-on-empty-blob path to this lineage and run it against the same bench, then report what changes in the pipeline-store rows — and what stubbornly doesn't.

Credit: @crissuper20 for the vkd3d-proton citation and the d9377769 pointer.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7280246882 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3748#issuecomment-7280246882). Originally posted by [cobrajet302gt](https://github.com/cobrajet302gt) on 2026-11-30T13:42:54Z. --- Confirmed the cause in this tree too (pinned lineage: main `63bcca43` + #189 + #1849 + #3714) — [FILE-VERIFIED]: - `crates/victory-gpu/src/pipeline/library.rs:187` — `let library = make(&[]).ok()?;` - `crates/victory-gpu/src/pipeline/library.rs:165` — `device.CreatePipelineLibrary::<ID3D12PipelineLibrary>(bytes)?` An empty `&[]` slice carries a non-null pointer, so under Proton the vkd3d-proton check @crissuper20 quoted (`if (!blob_length && blob) → E_INVALIDARG`) rejects exactly this call, and the `.ok()?` drops it without a sound — the runtime store is never created, and pipelines late-bound during play never persist between runs. Matches our bench quietly: the offline prepass noted above covers all 25,985 pack programs and those hits persist across boots; what never persisted is the runtime's late additions, with zero log lines at the site — silent, as expected from the quoted code. Two boundaries so this claim doesn't outrun the data: 1. It does **not** explain the `exit(3)`-at-t+11:00 wall in the table above. At the stop there is no pipeline-store activity (the `title pipelines to start early pipelines=28164` batch completed long before, and the prepass removed the dropped-pipeline stalls that #189-era boots showed). That wall stays open on its own terms. 2. We have **not** yet measured with the null-pointer fix applied. The fix itself is verified in history: `d9377769` (2026-11-27, *"fix: pass a null pointer on an empty blob for proton compatibility"*, cherry-picked from `dad5e489`), present in the transferred NVIDIA fork (now `trustno1-coder/VIctory-NVIDIA`), absent from `main` as of `63bcca43`. Next step on our side: apply the null-on-empty-blob path to this lineage and run it against the same bench, then report what changes in the pipeline-store rows — and what stubbornly doesn't. Credit: @crissuper20 for the vkd3d-proton citation and the `d9377769` pointer.
Sign in to join this conversation.
No labels
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.

Reference
Marvisak/VIctory#3748
No description provided.