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
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?
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
victorybuild: mainline + #189 + #1849 + #3714 (all merged cleanly in-tree), diagnostics feature onvictory 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)
host pipeline refused208 → 0; the+0x297176first-chance class gone; engine reaches frame 16.6kexit(3)at t+10.7–11.0 mintranslate --cache --pipelines, 25,985 programs, 1,333 MB)dropped … pipelines are still being madestalls — was 227–340 per frameslow host submission ms=253–342warnings gone, 6/6 boots → 0VICTORY_PREBUILD_KEYStitle pipelines to start early pipelines=28164(whole pack registered; read is uncapped; see note below)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 (thetemp\*.crash.logfiles appear for SEH-era deaths, so this is the title quitting on purpose), no kernel OOM, no device removal,crashes.loguntouched.Per-frame costs at the stop (boot 73;
nvidia-smiat 5 Hz plus your own copystat lines — thanks for those):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 budgetframe waits 148, 148 of them ended at once;presents sharing a flip tick: 0— not present-paced.Two host-mechanism observations for Wine hosts
CreatePipelineLibraryfails even empty —no host pipeline library: pipelines are not kept. Fine; but note thatlibrary::save()then returns before writingearly-pipelines.txt, so on a library-less host the early list never persists andstart early pipelines=0forever. 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).vkd3d-proton.cachein 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.txtwith all 28,164 pack keys (offline, viaVICTORY_PREBUILD_KEYS, 18 s — a lovely diagnostic). The runtime's first save re-truncates it toEARLY_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)
watch.rs:918guard-lock hold the long pole there too, or do refresh copies dominate your frame time?translate --cache --pipelinestake on your GPU/driver?If a patience/timeout setting exists anywhere, we have not found it;
VICTORY_*was read in full.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:
copystatshows0 title copies 0.0 MBper frame andcapture.rsnever 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) withVICTORY_KEYSpressing 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:VICTORY_PAD_FILE, a real evdev device under Wine, or theVICTORY_KEYSscript (our uinput virtual pad is opened (GameInputCreateobserved) and taps A/Y/B every 30 s, yet the shell'sPLAYER [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=28164works 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.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
Xsat 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:
Lane parked with captures and full logs; will re-run whatever recipe you name.
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.XSetInputFocuson 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.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:
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).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.
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=-allexits 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+0x23cf683blamed 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:
pipeline/library.rswhere theSAVINGguard 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=4096shortened 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.--windowkey event lands, andsystemd-rundefaults 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-son this same tree. Can post full text boot logs if useful.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.0wine fork (64-bit) and swapped it into Proton 11.0'sfiles/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:
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?
Imported from Marvisak/VIctory. Originally posted by crissuper20 on 2026-11-30T13:26:29Z.
On point 1 ("
CreatePipelineLibraryfails even empty"), I found the cause. vkd3d-proton refuses a zero-length blob unless the pointer is null:library.rsasks for the empty library withmake(&[]), which goes throughdevice.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. Passstd::ptr::null()when the blob is empty: call theID3D12Device1vtable directly, or see VIctory-NVIDIAd9377769("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_drivermakes 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.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:
exit(3)-at-t+11:00 wall in the table above. At the stop there is no pipeline-store activity (thetitle pipelines to start early pipelines=28164batch completed long before, and the prepass removed the dropped-pipeline stalls that #189-era boots showed). That wall stays open on its own terms.d9377769(2026-11-27, "fix: pass a null pointer on an empty blob for proton compatibility", cherry-picked fromdad5e489), present in the transferred NVIDIA fork (nowtrustno1-coder/VIctory-NVIDIA), absent frommainas of63bcca43.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
d9377769pointer.