Blackscreen on startup via wine/proton #407

Open
opened 2026-12-01 22:51:41 +00:00 by IcyEclipseX · 13 comments
IcyEclipseX commented 2026-12-01 22:51:41 +00:00 (Migrated from github.com)
Contributor

Imported from readmet3xt-lab/foxhound. Originally posted by IcyEclipseX on 2026-12-01T22:51:41Z.


foxhound version:
v0.8.2

GPU / CPU / RAM / Windows:
CPU: i5-13400F / GPU: RTX 4060 Ti 8GB / RAM: 32GB DDR5 / Windows 10 being ran through proton experimental via steam

Launcher settings (resolution, DLSS, Frame Generation, VRAM limit):
Resolution: 1080p Series S
DLSS: Performance (50%)
Frame Gen: On
Display Settings: Fullscreen borderless
VRAM Limit: 8GB
Texture Loading: Auto
Water: With its light
Dark areas: as tested (0.8)
Frame rate: 30
Process priority: normal
Logs: Full

What happens, and when:
Blackscreen permanently that occurs on startup. Happens when launching via the foxhound launcher. Inputs (keyboard) work as intended. Launching with proton experimental of victory.exe causes it to crash before startup.

Log ;

foxhound-20261201-173153.log

<!-- greyfinch-sync:readmet3xt-lab/foxhound:issue:6732469548 --> Imported from [readmet3xt-lab/foxhound](https://github.com/readmet3xt-lab/foxhound/issues/407). Originally posted by [IcyEclipseX](https://github.com/IcyEclipseX) on 2026-12-01T22:51:41Z. --- **foxhound version:** v0.8.2 **GPU / CPU / RAM / Windows:** CPU: i5-13400F / GPU: RTX 4060 Ti 8GB / RAM: 32GB DDR5 / Windows 10 being ran through proton experimental via steam **Launcher settings (resolution, DLSS, Frame Generation, VRAM limit):** Resolution: 1080p Series S DLSS: Performance (50%) Frame Gen: On Display Settings: Fullscreen borderless VRAM Limit: 8GB Texture Loading: Auto Water: With its light Dark areas: as tested (0.8) Frame rate: 30 Process priority: normal Logs: Full **What happens, and when:** Blackscreen permanently that occurs on startup. Happens when launching via the foxhound launcher. Inputs (keyboard) work as intended. Launching with proton experimental of victory.exe causes it to crash before startup. **Log** ; [foxhound-20261201-173153.log](https://github.com/user-attachments/files/35712015/foxhound-20261201-173153.log)
kwaadrat commented 2026-12-01 23:42:38 +00:00 (Migrated from github.com)
Author
Contributor

Imported from readmet3xt-lab/foxhound. Originally posted by kwaadrat on 2026-12-01T23:42:38Z.


This happens because Wine/Proton's built-in d3dcompiler_47 fails to compile several internal victory-gpu shaders (E_FAIL 0x80004005) that use cs_5_1/vs_5_1/ps_5_1 with inline [RootSignature(...)] (and RWByteAddressBuffer .Load4/.Interlocked* methods), even though none of them require SM 5.1 features:

  1. Series S two-plane composer (compose.rs) — fails with two-plane composer not made; showing base plane only error=Call failed. (0x80004005), hiding the over plane (loading screen, menus, HUD) and leaving a black screen while inputs still work. Fixed in #409.
  2. Indirect argument clamp (indirect.rs, indirect/batch.rs) — fails with no argument clamp: indirect execution dropped, dropping indirect draws/dispatches in 3D scenes. Fixed in #411.
  3. Card buffer compare (host.rs) — fails with no host copies in the card's memory, disabling VRAM buffer copies. Fixed in #388.

Additionally, if warm was skipped, in-game pipeline compilation can stall on warm-bad.txt pipelines (#412).

<!-- greyfinch-sync:readmet3xt-lab/foxhound:comment:7329679914 --> Imported from [readmet3xt-lab/foxhound](https://github.com/readmet3xt-lab/foxhound/issues/407#issuecomment-7329679914). Originally posted by [kwaadrat](https://github.com/kwaadrat) on 2026-12-01T23:42:38Z. --- This happens because Wine/Proton's built-in `d3dcompiler_47` fails to compile several internal `victory-gpu` shaders (`E_FAIL 0x80004005`) that use `cs_5_1`/`vs_5_1`/`ps_5_1` with inline `[RootSignature(...)]` (and `RWByteAddressBuffer` `.Load4`/`.Interlocked*` methods), even though none of them require SM 5.1 features: 1. **Series S two-plane composer (`compose.rs`)** — fails with `two-plane composer not made; showing base plane only error=Call failed. (0x80004005)`, hiding the `over` plane (loading screen, menus, HUD) and leaving a black screen while inputs still work. Fixed in #409. 2. **Indirect argument clamp (`indirect.rs`, `indirect/batch.rs`)** — fails with `no argument clamp: indirect execution dropped`, dropping indirect draws/dispatches in 3D scenes. Fixed in #411. 3. **Card buffer compare (`host.rs`)** — fails with `no host copies in the card's memory`, disabling VRAM buffer copies. Fixed in #388. Additionally, if `warm` was skipped, in-game pipeline compilation can stall on `warm-bad.txt` pipelines (#412).
kwaadrat commented 2026-12-02 10:59:22 +00:00 (Migrated from github.com)
Author
Contributor

Imported from readmet3xt-lab/foxhound. Originally posted by kwaadrat on 2026-12-02T10:59:22Z.


Tested official v0.8.3 on Linux (Proton Experimental / vkd3d-proton, NVIDIA RTX 3060 12 GB, Intel i5-9600KF 6c/6t, Series S profile, 1080p, no title profile):

  1. Startup black screen is fixed in v0.8.3: the title now boots cleanly past the black screen and renders full 3D scenes (~2,400–4,200 draws/frame).
  2. Crash with default VICTORY_FAULT_UNLOCKED=1: With the default settings, two threads hit a simultaneous unhandled exception 0xc0000005 ... (write ...: read-only) in the same 64 KiB block (e.g. 0x4fd4df50 and 0x4fd4e340 at Frame 1855). Likely VirtualProtect over wineserver exceeds the 2 ms LONGEST wait in watch.rs under heavy CPU load.
    • Workaround: setting VICTORY_FAULT_UNLOCKED=0 completely stopped the crash in our run.
  3. Performance bottleneck on 6-core CPU + Proton (~1.0 fps, 963 ms/frame after shader compilation settled):
    • queue::behind (VICTORY_ASYNC_SUBMIT): 245–400 ms per frame (up to 1236 ms), title waits 218–376 ms at Present
    • settles (title memory read): 222.3 ms waiting for the card (relay waits 236.1 ms, copying back 24.7 MB takes 106.2 ms)
    • list::thin: ~23,400 calls in 571–895 ms across all threads (201 lists)
    • GPU: 128.0 ms (dlss=off, native 1080p)
    • Note: VICTORY_GPU_RO_SKIP is working well here (191.1 MB/frame skipped).
<!-- greyfinch-sync:readmet3xt-lab/foxhound:comment:7343265681 --> Imported from [readmet3xt-lab/foxhound](https://github.com/readmet3xt-lab/foxhound/issues/407#issuecomment-7343265681). Originally posted by [kwaadrat](https://github.com/kwaadrat) on 2026-12-02T10:59:22Z. --- Tested official **v0.8.3** on **Linux (Proton Experimental / vkd3d-proton, NVIDIA RTX 3060 12 GB, Intel i5-9600KF 6c/6t, Series S profile, 1080p, no title profile)**: 1. **Startup black screen is fixed in v0.8.3:** the title now boots cleanly past the black screen and renders full 3D scenes (~2,400–4,200 draws/frame). 2. **Crash with default `VICTORY_FAULT_UNLOCKED=1`:** With the default settings, two threads hit a simultaneous `unhandled exception 0xc0000005 ... (write ...: read-only)` in the same 64 KiB block (e.g. `0x4fd4df50` and `0x4fd4e340` at Frame 1855). Likely `VirtualProtect` over `wineserver` exceeds the 2 ms `LONGEST` wait in `watch.rs` under heavy CPU load. - **Workaround:** setting `VICTORY_FAULT_UNLOCKED=0` completely stopped the crash in our run. 3. **Performance bottleneck on 6-core CPU + Proton (`~1.0 fps`, `963 ms/frame` after shader compilation settled):** - `queue::behind` (`VICTORY_ASYNC_SUBMIT`): `245–400 ms` per frame (up to `1236 ms`), title waits `218–376 ms` at `Present` - `settles` (`title memory read`): `222.3 ms` waiting for the card (`relay` waits `236.1 ms`, `copying back 24.7 MB` takes `106.2 ms`) - `list::thin`: `~23,400` calls in `571–895 ms` across all threads (`201` lists) - `GPU`: `128.0 ms` (`dlss=off`, native 1080p) - Note: `VICTORY_GPU_RO_SKIP` is working well here (`191.1 MB/frame` skipped).
kwaadrat commented 2026-12-02 13:57:36 +00:00 (Migrated from github.com)
Author
Contributor

Imported from readmet3xt-lab/foxhound. Originally posted by kwaadrat on 2026-12-02T13:57:36Z.


Follow-up on Linux / Proton Experimental (vkd3d-proton, NVIDIA RTX 3060 12 GB, Intel i5-9600KF 6c/6t, Series S profile, 1080p, no title profile):

  1. Stability & CPU (VICTORY_FAULT_UNLOCKED=1):
    • With #457 (protect_alias/protect_here vs open_unlocked race fix) and #460 (skipping redundant guard_ahead) + GUARD_PAGES=1, CARD_STEPS_ASIDE=1, BVH_STUB=1, the title ran crash-free across multiple 7–10 min runs with VICTORY_FAULT_UNLOCKED=1:
      • asking the write watch: 37.5–65.3 ms -> 11.6–11.9 ms
      • preparing total on submitting thread: 125–186 ms -> 49.2 ms
      • snapshots: 11.9–12.6 ms (down from 28–34 ms)
      • Frame rate: 3.6 fps (279.8 ms/frame) vs 1.0 fps (963 ms) on stock v0.8.3.
  2. Where the remaining time goes (VICTORY_PROFILE=1):
    • Geometry draws (~4,490 draws/frame): only 18.9 ms; Foxhound own GPU passes: 1.95 ms.
    • compute dispatches take ~300 ms without a title profile (dlss=off, no leave_out role). With VICTORY_WATER_LEAVE_OUT=1 and leaving out the heaviest compute passes via VICTORY_LEAVE_OUT, GPU time dropped to 13.2–51.8 ms (5.8–6.5 fps), leaving CPU (refreshes 50–86 ms, list::thin 350–385 ms across 4 threads on 6c/6t) as the remaining floor.
  3. A/B notes for 12 GB NVIDIA + Proton (256 MiB BAR1):
    • VKD3D_CONFIG=no_upload_hvv regressed copying back (28.3 ms -> 74–129 ms, 2.6–2.9 fps).
    • STREAM_BOUND=1 + LOOSE_READ=1 + WINDOW_KB=1024 + WINDOW_TAILS=1 reduced VRAM buffer copies (870 MB -> 255 MB) but pushed more work back to CPU (preparing 49 ms -> 101–133 ms, copying back 28 ms -> 122–212 ms, 2.1–2.8 fps).
    • VICTORY_GUARD_REST=2000 regressed putting title bytes under flights writes (0.7 ms -> 61–133 ms).
<!-- greyfinch-sync:readmet3xt-lab/foxhound:comment:7347748730 --> Imported from [readmet3xt-lab/foxhound](https://github.com/readmet3xt-lab/foxhound/issues/407#issuecomment-7347748730). Originally posted by [kwaadrat](https://github.com/kwaadrat) on 2026-12-02T13:57:36Z. --- Follow-up on Linux / Proton Experimental (`vkd3d-proton`, NVIDIA RTX 3060 12 GB, Intel i5-9600KF 6c/6t, Series S profile, 1080p, no title profile): 1. **Stability & CPU (`VICTORY_FAULT_UNLOCKED=1`):** - With #457 (`protect_alias`/`protect_here` vs `open_unlocked` race fix) and #460 (skipping redundant `guard_ahead`) + `GUARD_PAGES=1`, `CARD_STEPS_ASIDE=1`, `BVH_STUB=1`, the title ran crash-free across multiple 7–10 min runs with `VICTORY_FAULT_UNLOCKED=1`: - `asking the write watch`: `37.5–65.3 ms` -> **`11.6–11.9 ms`** - `preparing` total on submitting thread: `125–186 ms` -> **`49.2 ms`** - `snapshots`: **`11.9–12.6 ms`** (down from `28–34 ms`) - Frame rate: **`3.6 fps` (`279.8 ms/frame`)** vs `1.0 fps` (`963 ms`) on stock v0.8.3. 2. **Where the remaining time goes (`VICTORY_PROFILE=1`):** - Geometry draws (`~4,490` draws/frame): only **`18.9 ms`**; Foxhound own GPU passes: **`1.95 ms`**. - **`compute dispatches` take `~300 ms`** without a title profile (`dlss=off`, no `leave_out` role). With `VICTORY_WATER_LEAVE_OUT=1` and leaving out the heaviest compute passes via `VICTORY_LEAVE_OUT`, GPU time dropped to `13.2–51.8 ms` (`5.8–6.5 fps`), leaving CPU (`refreshes` `50–86 ms`, `list::thin` `350–385 ms` across 4 threads on 6c/6t) as the remaining floor. 3. **A/B notes for 12 GB NVIDIA + Proton (`256 MiB BAR1`):** - `VKD3D_CONFIG=no_upload_hvv` regressed `copying back` (`28.3 ms` -> `74–129 ms`, `2.6–2.9 fps`). - `STREAM_BOUND=1` + `LOOSE_READ=1` + `WINDOW_KB=1024` + `WINDOW_TAILS=1` reduced VRAM buffer copies (`870 MB` -> `255 MB`) but pushed more work back to CPU (`preparing` `49 ms` -> `101–133 ms`, `copying back` `28 ms` -> `122–212 ms`, `2.1–2.8 fps`). - `VICTORY_GUARD_REST=2000` regressed `putting title bytes under flights writes` (`0.7 ms` -> `61–133 ms`).
bercedev commented 2026-12-02 21:14:38 +00:00 (Migrated from github.com)
Author
Contributor

Imported from readmet3xt-lab/foxhound. Originally posted by bercedev on 2026-12-02T21:14:38Z.


same thing here on linux (proton experimental, rtx 4050 laptop 6 gb, nvidia 620.73.04), two more things that got me past it:

  • on the older builds i tried, the black screen went away with microsoft's real d3dcompiler_47 in the prefix (winetricks d3dcompiler_47 + d3dcompiler_47=n). shader compile errors went from 2770 to 0
  • on 0.8.3 the title then exited with code 3 a couple of minutes in, right before the world. with WINEDEBUG=err+all it's err:vulkan:vkCreateComputePipelines Exception 0xc000001d inside libnvidia-gpucomp.so.620.73.04, from the vkd3d-proton 3.1 proton ships. a vkd3d-proton master build (f8c1cae83, from their ci artifacts) in system32 fixed it and the world loaded. no need to downgrade the driver, vkd3d-proton #3405 shows the same crash on 595 to 620
<!-- greyfinch-sync:readmet3xt-lab/foxhound:comment:7359000772 --> Imported from [readmet3xt-lab/foxhound](https://github.com/readmet3xt-lab/foxhound/issues/407#issuecomment-7359000772). Originally posted by [bercedev](https://github.com/bercedev) on 2026-12-02T21:14:38Z. --- same thing here on linux (proton experimental, rtx 4050 laptop 6 gb, nvidia 620.73.04), two more things that got me past it: - on the older builds i tried, the black screen went away with microsoft's real d3dcompiler_47 in the prefix (winetricks d3dcompiler_47 + d3dcompiler_47=n). shader compile errors went from 2770 to 0 - on 0.8.3 the title then exited with code 3 a couple of minutes in, right before the world. with WINEDEBUG=err+all it's err:vulkan:vkCreateComputePipelines Exception 0xc000001d inside libnvidia-gpucomp.so.620.73.04, from the vkd3d-proton 3.1 proton ships. a vkd3d-proton master build (f8c1cae83, from their ci artifacts) in system32 fixed it and the world loaded. no need to downgrade the driver, vkd3d-proton #3405 shows the same crash on 595 to 620
kwaadrat commented 2026-12-02 23:38:09 +00:00 (Migrated from github.com)
Author
Contributor

Imported from readmet3xt-lab/foxhound. Originally posted by kwaadrat on 2026-12-02T23:38:09Z.


Thanks for the data point, @bercedev — that d3dcompiler_47=n (2770 -> 0 shader errors) and vkd3d-proton master (#3405 fix for NVIDIA 595–620 vkCreateComputePipelines crash) info is super helpful for Linux/Proton users hitting the black screen or exit code 3 on 0.8.3.

<!-- greyfinch-sync:readmet3xt-lab/foxhound:comment:7362242869 --> Imported from [readmet3xt-lab/foxhound](https://github.com/readmet3xt-lab/foxhound/issues/407#issuecomment-7362242869). Originally posted by [kwaadrat](https://github.com/kwaadrat) on 2026-12-02T23:38:09Z. --- Thanks for the data point, @bercedev — that `d3dcompiler_47=n` (`2770 -> 0` shader errors) and `vkd3d-proton` master (`#3405` fix for NVIDIA 595–620 `vkCreateComputePipelines` crash) info is super helpful for Linux/Proton users hitting the black screen or exit code 3 on 0.8.3.
Headache3318 commented 2026-12-03 02:44:33 +00:00 (Migrated from github.com)
Author
Contributor

Imported from readmet3xt-lab/foxhound. Originally posted by Headache3318 on 2026-12-03T02:44:33Z.


Field report from a 24 GB card, bare Wine (no Steam/Proton/gamescope) — the "needs testers" 24 GB row of v0.8.3's own recommended-settings table.

Environment: Arch, kernel 7.3.6-arch1-2, wine-11.23 (pacman), wineprefix fresh + winecfg -v win11, display = KDE Wayland's rootless Xwayland (DISPLAY=:2, fullscreen, no gamescope), GPU = first-enumerated RTX 4090 24 GB (ReBAR verified: NVreg_EnableResizableBar=1, own_memory_mb=24564 in your own log), 8 cores + 60 GB RAM, NVIDIA driver 620.73.04 — the 595–620 band tracked by HansKristian-Work/vkd3d-proton issue #3405. 512 GB free on the SSD.

Binaries (SHA-256, verified against your release bodies):

  • v0.8.3 zip F887F0EF3BC32A9781217F2D0B4B95B01A776CA1F67DC617E09C98CE1CF4560A → victory.exe ED7C69A78628315A70F05D8DFE775217B034C4CE4DC46409969D5B8A92761C6A
  • v0.8.2 zip CEF02B7CED6347A59DDE0E3088C14BB6E6255034D0451A3121804261908B72EE (victory.exe D96E0F85B7F8E610FF97DCAAE0420C09B279A246DEA6A938DB961AD253CA3A2E)
  • loader pair: own cross-build of vkd3d-proton master 55efc5324aec1c9 (applicationVersion 3.2.0, meson + mingw-w64, buildtype=release, stripped) as system32 d3d12.dll+d3d12core.dll, D3D12\D3D12Core.dll = same core; dxgi.dll = DXVK v3.1.1-235-gf90f1bf180f4135-GE-Proton(dirty) from GE-Proton 11-14
  • WINEDLLOVERRIDES="d3d12=n,b;d3d12core=n,b;dxgi=n,b", Streamline SDK 2.14.16 + nvngx 310.9.16 unpacked beside the exe

1. Stock Wine's built-in D3D12 cannot host the title. upscaler-check --device --present on wine-11.23's own d3d12.dll finishes rc=0 but logs victory_gpu::host: no host D3D12 device; command lists will not run error=Invalid parameter. (0x80070057) — and upscaler-check is not a swap-chain discriminator, so nothing below it can boot. A run --execute with the native d3d12 pair but builtin dxgi.dll dies unhandled 0xc0000005 read AV at wined3d.dll+0x16da30 through dxgi.dll+0x7415 → victory.exe+0x57067a in ~50 s. Different mechanism from this thread's d3dcompiler_47 reports (no E_FAIL compile lines at all), same startup black-screen class: on stock Wine, the device/adapter layer, not shader compilation, is what stops startup. The DXVK dxgi.dll + vkd3d pair fixes this completely (all runs below ran with it).

2. Native pair works, and vkd3d master is healthy on driver 620.73.04. host device on the card … adapter=NVIDIA GeForce RTX 4090 own_memory_mb=24564, SM 6.8 … DXR 1.2 support enabled … DX Ultimate supported!. ~2,850 DXIL→SPIR-V→host pipeline compiles ran live during play, zero SIGILL / compute-pipeline failures on the 595–620 band at 55efc532 — positive data point for #3405's hardware band, RTX 4090 end.

3. --console series-x on v0.8.3 asserts at the offline user (n=1, reproducible so far 1/1). Boots deep first — game_scarlett_master.exe: 95 hle, 420 host, 72 title, 0 missing — then unhandled 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x31f50 ~100 s in; the last content lines are victory_hle::modules::xuser: XUserAddAsync: the offline local user options=1 then two XMem protects kind 0x203000, then the assert (breakpad minidump + crashes.log written). It is not the 8 GB out-of-memory crash (24 GB VRAM, 60 GB RAM) and not an import-coverage miss (0 missing); if the assert near offline-user-add is the profile/role gating you've seen on the Series X path, +0x31f50 should symbol-map in your build.

4. --console series-s reaches in-world and played 17 min 49 s before crashing (v0.8.3, fresh cache, no title profile — see 6): area Americas (the opening), status=5 exit at 17:49 wall, memory peak 15.5 GB + 1 GB swap, no OOM. Live build telemetry: first presents 0.4 fps / 2,696 ms climbing through 2 to 7–9 fps by ~run min 7; my title-bar sampler (sampled every 5 s, your own window-title counters) then holds N=135 samples over the last 11.2 min of the run: median 7 fps, last-5-minutes median 6.0 fps / 168.6 ms/frame, fps range 1–9, draws/frame median ~6,400, max 8,329. Then the crash: unhandled 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0x23cf683 (write 0x0: nothing mapped there) (worker-thread stack +0x23cf683 ← +0x2215c35 ← +0x2215eca; the run's only first-chance exception was this one). In the 10 s of VICTORY_GPU_TIMING=1 lines just before it: write faults on a block open already, per frame: 18.2 sent back, write watch asked by refreshes per frame: 1,898, 67.81 ms, 277.5 MB per frame declared written by shaders in memory with a watch — i.e. heavy protection/watch churn, the same subsystem #457 and #460 address. And crashes.log holds 8 title said: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 … falling back to NewBE lines (FSR4 compute passes; NOTIMPL, the title falls back — worth a knob, not a fault). Since kwaadrat's follow-up found the GUARD_PAGES=1 CARD_STEPS_ASIDE=1 BVH_STUB=1 + #457/#460 combo crash-free on a 3060, I read our write-0x0 as plausibly the same family on the 24 GB end — our next run applies those guards before claiming anything, then victory.exe warm (the VICTORY_PIPELINE_BOOK=1 book is written; 532 MB cache kept) for a representative steady-state number, which I'll post as a follow-up.

5. Streamline on this path: loads, but NVAPI blocks DLSS. Streamline loaded (manual hooking, no downloads) … sdk="2.14.16" adapter="NVIDIA GeForce RTX 4090", then getSystemCaps: NVAPI failed to initialize + getNGXFeatureRequirements: ngxResult failed 0xbad00002 → driver 0.0.0 (needs 512.15.0) → sl.dlss / sl.dlss_g "not supported on this platform", dlss=false framegen=false. So the "12 GB+, 24 GB card with 32+ GB RAM" DLSS row cannot be verified under bare wine-11.23 as it stands: NVAPI's driver-version query answers 0.0.0 even though the driver is 620.73.04. (Under Steam's Proton per this thread, DLSS reportedly works — likely a Proton-external NVAPI seeding difference.)

6. The blocker for representative 24 GB testing is the missing title profile, and where to get one. Your README says a profile is "obtained separately" but names no canonical source (the repo and its releases hold none, and the owner has no second repo); PortWatch's Lab page only links a chat invite (fluxer.gg/OnlxqoHf). Running without one logs dstorage: no BCPack table file … textures packed with BCPack are not decoded and the stand-in for indirect light and reflections: off, as the title profile names no shaders for it … profile=false — so our numbers and this thread's existing "no title profile" Linux reports should all be read as the profile-less column. Please pin one canonical place to obtain the GTA VI profile in the README (or ship the role tables — they're your own derived data); right now testers boot half-disabled without knowing which knob is greyed.

Commands (repeatable): cd <release dir> with env WINEPREFIX=<fresh> DISPLAY=:2 XAUTHORITY=<xauth> WINEDLLOVERRIDES='d3d12=n,b;d3d12core=n,b;dxgi=n,b' VICTORY_GAME_DIR='Z:…<our copy>' VICTORY_CACHE_DIR/DATA_DIR=<spinning-off dirs> VICTORY_STREAMLINE_DIR=<…\streamline> VICTORY_PIPELINE_BOOK=1 VICTORY_GPU_TIMING=1 VICTORY_KEYS_FILE=<growing file>; probe wine victory.exe upscaler-check --output 2560x1440 --device --present; title systemd-run --user --collect -p MemoryMax=infinity bash -c 'wine victory.exe run "Z:…" --execute --console series-s'.

No game files, dumps, or shader names attached, per policy. AI-assisted (Hermes Agent), human-verified commands and measured numbers.

<!-- greyfinch-sync:readmet3xt-lab/foxhound:comment:7365811081 --> Imported from [readmet3xt-lab/foxhound](https://github.com/readmet3xt-lab/foxhound/issues/407#issuecomment-7365811081). Originally posted by [Headache3318](https://github.com/Headache3318) on 2026-12-03T02:44:33Z. --- Field report from a 24 GB card, bare Wine (no Steam/Proton/gamescope) — the "needs testers" 24 GB row of v0.8.3's own recommended-settings table. **Environment:** Arch, kernel 7.3.6-arch1-2, wine-11.23 (pacman), wineprefix fresh + `winecfg -v win11`, display = KDE Wayland's rootless Xwayland (`DISPLAY=:2`, fullscreen, no gamescope), GPU = first-enumerated RTX 4090 24 GB (ReBAR verified: `NVreg_EnableResizableBar=1`, `own_memory_mb=24564` in your own log), 8 cores + 60 GB RAM, NVIDIA driver **620.73.04** — the 595–620 band tracked by HansKristian-Work/vkd3d-proton issue #3405. 512 GB free on the SSD. **Binaries (SHA-256, verified against your release bodies):** - v0.8.3 zip `F887F0EF3BC32A9781217F2D0B4B95B01A776CA1F67DC617E09C98CE1CF4560A` → `victory.exe` `ED7C69A78628315A70F05D8DFE775217B034C4CE4DC46409969D5B8A92761C6A` - v0.8.2 zip `CEF02B7CED6347A59DDE0E3088C14BB6E6255034D0451A3121804261908B72EE` (`victory.exe` `D96E0F85B7F8E610FF97DCAAE0420C09B279A246DEA6A938DB961AD253CA3A2E`) - loader pair: own cross-build of **vkd3d-proton master `55efc5324aec1c9`** (applicationVersion 3.2.0, meson + mingw-w64, `buildtype=release`, stripped) as system32 `d3d12.dll`+`d3d12core.dll`, `D3D12\D3D12Core.dll` = same core; `dxgi.dll` = DXVK `v3.1.1-235-gf90f1bf180f4135-GE-Proton(dirty)` from GE-Proton 11-14 - `WINEDLLOVERRIDES="d3d12=n,b;d3d12core=n,b;dxgi=n,b"`, Streamline SDK 2.14.16 + nvngx 310.9.16 unpacked beside the exe **1. Stock Wine's built-in D3D12 cannot host the title.** `upscaler-check --device --present` on wine-11.23's own `d3d12.dll` finishes rc=0 but logs `victory_gpu::host: no host D3D12 device; command lists will not run error=Invalid parameter. (0x80070057)` — and `upscaler-check` is not a swap-chain discriminator, so nothing below it can boot. A `run --execute` with the native d3d12 pair but **builtin** `dxgi.dll` dies unhandled **`0xc0000005` read AV at `wined3d.dll+0x16da30`** through `dxgi.dll+0x7415` → `victory.exe+0x57067a` in ~50 s. Different mechanism from this thread's d3dcompiler_47 reports (no `E_FAIL` compile lines at all), same startup black-screen class: on stock Wine, the device/adapter layer, not shader compilation, is what stops startup. The DXVK `dxgi.dll` + vkd3d pair fixes this completely (all runs below ran with it). **2. Native pair works, and vkd3d master is healthy on driver 620.73.04.** `host device on the card … adapter=NVIDIA GeForce RTX 4090 own_memory_mb=24564`, `SM 6.8 … DXR 1.2 support enabled … DX Ultimate supported!`. ~2,850 DXIL→SPIR-V→host pipeline compiles ran live during play, **zero SIGILL / compute-pipeline failures** on the 595–620 band at `55efc532` — positive data point for #3405's hardware band, RTX 4090 end. **3. `--console series-x` on v0.8.3 asserts at the offline user (n=1, reproducible so far 1/1).** Boots deep first — `game_scarlett_master.exe: 95 hle, 420 host, 72 title, 0 missing` — then unhandled **`0x80000003` at `victory-image-b99f876b74d4a77f.dll+0x31f50`** ~100 s in; the last content lines are `victory_hle::modules::xuser: XUserAddAsync: the offline local user options=1` then two `XMem` protects `kind 0x203000`, then the assert (breakpad minidump + `crashes.log` written). It is not the 8 GB out-of-memory crash (24 GB VRAM, 60 GB RAM) and not an import-coverage miss (`0 missing`); if the assert near offline-user-add is the profile/role gating you've seen on the Series X path, `+0x31f50` should symbol-map in your build. **4. `--console series-s` reaches in-world and played 17 min 49 s before crashing** (v0.8.3, fresh cache, **no title profile** — see 6): area `Americas` (the opening), `status=5` exit at 17:49 wall, memory peak 15.5 GB + 1 GB swap, no OOM. Live build telemetry: first presents 0.4 fps / 2,696 ms climbing through 2 to 7–9 fps by ~run min 7; my title-bar sampler (sampled every 5 s, your own window-title counters) then holds **N=135 samples over the last 11.2 min of the run: median 7 fps, last-5-minutes median 6.0 fps / 168.6 ms/frame, fps range 1–9, draws/frame median ~6,400, max 8,329**. Then the crash: unhandled **`0xc0000005` at `victory-image-b99f876b74d4a77f.dll+0x23cf683` `(write 0x0: nothing mapped there)`** (worker-thread stack `+0x23cf683` ← `+0x2215c35` ← `+0x2215eca`; the run's only first-chance exception was this one). In the 10 s of `VICTORY_GPU_TIMING=1` lines just before it: `write faults on a block open already, per frame: 18.2 sent back`, `write watch asked by refreshes per frame: 1,898, 67.81 ms`, `277.5 MB per frame declared written by shaders in memory with a watch` — i.e. heavy protection/watch churn, the same subsystem #457 and #460 address. And `crashes.log` holds 8 `title said: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 … falling back to NewBE` lines (FSR4 compute passes; NOTIMPL, the title falls back — worth a knob, not a fault). Since kwaadrat's follow-up found the `GUARD_PAGES=1 CARD_STEPS_ASIDE=1 BVH_STUB=1` + #457/#460 combo crash-free on a 3060, I read our write-`0x0` as plausibly the same family on the 24 GB end — our next run applies those guards before claiming anything, then `victory.exe warm` (the `VICTORY_PIPELINE_BOOK=1` book is written; 532 MB cache kept) for a representative steady-state number, which I'll post as a follow-up. **5. Streamline on this path: loads, but NVAPI blocks DLSS.** `Streamline loaded (manual hooking, no downloads) … sdk="2.14.16" adapter="NVIDIA GeForce RTX 4090"`, then `getSystemCaps: NVAPI failed to initialize` + `getNGXFeatureRequirements: ngxResult failed 0xbad00002` → `driver 0.0.0 (needs 512.15.0)` → `sl.dlss` / `sl.dlss_g` "not supported on this platform", `dlss=false framegen=false`. So the "12 GB+, 24 GB card with 32+ GB RAM" DLSS row cannot be verified under bare wine-11.23 as it stands: NVAPI's driver-version query answers 0.0.0 even though the driver is 620.73.04. (Under Steam's Proton per this thread, DLSS reportedly works — likely a Proton-external NVAPI seeding difference.) **6. The blocker for representative 24 GB testing is the missing title profile, and where to get one.** Your README says a profile is "obtained separately" but names no canonical source (the repo and its releases hold none, and the owner has no second repo); PortWatch's Lab page only links a chat invite (`fluxer.gg/OnlxqoHf`). Running without one logs `dstorage: no BCPack table file … textures packed with BCPack are not decoded` and `the stand-in for indirect light and reflections: off, as the title profile names no shaders for it … profile=false` — so our numbers and this thread's existing "no title profile" Linux reports should all be read as the **profile-less column**. Please pin one canonical place to obtain the GTA VI profile in the README (or ship the role tables — they're your own derived data); right now testers boot half-disabled without knowing which knob is greyed. **Commands (repeatable):** `cd <release dir>` with env `WINEPREFIX=<fresh> DISPLAY=:2 XAUTHORITY=<xauth> WINEDLLOVERRIDES='d3d12=n,b;d3d12core=n,b;dxgi=n,b' VICTORY_GAME_DIR='Z:…<our copy>' VICTORY_CACHE_DIR/DATA_DIR=<spinning-off dirs> VICTORY_STREAMLINE_DIR=<…\streamline> VICTORY_PIPELINE_BOOK=1 VICTORY_GPU_TIMING=1 VICTORY_KEYS_FILE=<growing file>`; probe `wine victory.exe upscaler-check --output 2560x1440 --device --present`; title `systemd-run --user --collect -p MemoryMax=infinity bash -c 'wine victory.exe run "Z:…" --execute --console series-s'`. No game files, dumps, or shader names attached, per policy. AI-assisted (Hermes Agent), human-verified commands and measured numbers.
Cthululz commented 2026-12-03 05:09:58 +00:00 (Migrated from github.com)
Author
Contributor

Imported from readmet3xt-lab/foxhound. Originally posted by Cthululz on 2026-12-03T05:09:58Z.


Environment

  • foxhound v0.8.3 (release zip, victory.exe sha256 ED7C69A7…C1F2C6A), --console series-x, --unimplemented zero, VICTORY_FAULT_UNLOCKED=0, otherwise the play-foxhound.ps1 switch set, no title profile, VICTORY_LOG=debug.
  • GE-Proton11-1-LinUwUx (Proton 11, wine 11.0 staging; vkd3d-proton beee300e4 / "vkd3d-1.1-5388-gbeee300e4"). Launched as: proton run victory.exe run 'C:\gta6\game_scarlett_master.exe' --unimplemented zero --console series-x --execute, with STEAM_COMPAT_DATA_PATH + UMU_ID=0 (direct launch) and VKD3D_SHADER_DUMP_PATH set.
  • NVIDIA 620.73.04 open, RTX 5090 32 GB, kernel 6.8.0-151. Prefix Windows version: win11 (10.0.22000).
  • Title: Xbox Series S/X v1.0.2.1 dump, game_scarlett_master.exe build hash b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93 ("build unknown" — patches left alone; the game still boots).

Symptom
Boots cleanly (account picker, brightness, terms; menus render at 30 fps, ~20 draws/frame). On the first frame of the loading screen:
INFO victory_gpu::pipeline: first bind pipeline=0x1109dba0 frame=1391 stage="compute"
INFO victory_gpu::pipeline: shader translated stage="compute" hash=4e296b1885c37b29
…and the process exits in the same second with code 3 (systemd: code=exited, status=3). No "VIctory: unimplemented import" line (so not the --unimplemented path), no exception in the layer's log, crashes.log unchanged, no Xid/OOM (peak 9.1 GB of 93 GB).

With WINEDEBUG=+seh,+vulkan,err+all:
warn:seh:handle_syscall_fault --- Exception 0xc0000005 at 0x7c19e3d46f98: /lib/x86_64-linux-gnu/libnvidia-glvkspirv.so.620.73.04 + 0x346f98
… libnvidia-glvkspirv.so → libnvidia-glcore.so → winevulkan.so → __wine_unix_call_dispatcher
warn:seh:dump_syscall_fault: returning to user mode ip=… ret=c0000005
err:vulkan:vkCreateComputePipelines Exception 0xc0000005 in Unix call.

So: vkCreateComputePipelines → NVIDIA's SPIR-V compiler (libnvidia-glvkspirv) segfaults on the module; vkd3d reports the failed call; the layer takes its "pipeline can't be made" path → exit 3.

Root cause: the SPIR-V fed to the driver is invalid
VKD3D_SHADER_DUMP_PATH captured 47 modules. spirv-val --target-env vulkan1.3 accepts 44 and rejects exactly 3 — all this layer's own shaders (DXIL from D3DCompile with *_5_1 targets, per compile_now; there is no DXC path):

  1. b99ad72fefbbeca7 — GLCompute (the one that kills it; descriptor index clamped via UMin %idx %uint_999999, i.e. the 1M view-heap clamp — the run also logs "host view heap capped at 1000000; views past it read a null slot count=1245184"):
    error: line 8762: Function end cannot be called in blocks (OpFunctionEnd)
    With an OpReturn inserted before OpFunctionEnd, the real defect appears:
    error: line 8430: block 5826 branches to the selection construct, but not to the selection header 1295
  2. d360844b3010819d — Fragment (SV_Position, TEXCOORD, 2 render targets):
    error: line 2365: block '1883' exits the loop headed by '556', but not via a structured exit
  3. 3934cf98e5f229e6 — Fragment (many inputs/registers):
    error: line 2074: block '1627' exits the loop headed by '477', but not via a structured exit

That is non-conformant structured control flow (branches into a selection construct bypassing its header; loop exits that aren't structured exits). spirv-opt cannot repair it (refuses invalid input; --skip-validation doesn't restructure CFG). AMD's compiler tolerates these modules; NVIDIA's does not — and segfaulting on invalid SPIR-V is itself a driver robustness bug. Since Windows consumes the same SM 5.1 DXIL directly through D3D12, the defect only exists on the SPIR-V path, matching the title working on Windows.

Already ruled out

  • d3dcompiler_47=n with Microsoft's real 4.3 MB compiler in the prefix: no change (shaders ship pre-compiled in 0.8.3; compile_now uses D3DCompile anyway; the failure is downstream in dxil-spirv).
  • Driver rollback to 610.57.04: not possible on this distro (Ubuntu/Mint rewrote the 610/615 packages into 37 KB shims depending on 620).
  • --unimplemented zero: no "unimplemented import" line ever appears; exit 3 comes from the pipeline path.
  • VKD3D_SHADER_OVERRIDE: can't, there is no valid replacement module — they need restructuring, not a flag.

Ask
A fix in dxil-spirv (structurizer) — or a change on the foxhound side so these three shaders emit DXIL that structurizes (different loop/return shape, or DXC with SM 6 targets) — would unblock GTA VI on Linux/Proton for NVIDIA 620 users. I have the three .dxil/.spv pairs and the full spirv-val outputs and can attach them if useful (they are compiled from this repo's own GPL HLSL, not title content). I've also built vkd3d-proton master (55efc53, project 3.2.0, dxil-spirv 7ce4a2d2) and will report back on whether it changes anything.

<!-- greyfinch-sync:readmet3xt-lab/foxhound:comment:7368444875 --> Imported from [readmet3xt-lab/foxhound](https://github.com/readmet3xt-lab/foxhound/issues/407#issuecomment-7368444875). Originally posted by [Cthululz](https://github.com/Cthululz) on 2026-12-03T05:09:58Z. --- Environment - foxhound v0.8.3 (release zip, victory.exe sha256 ED7C69A7…C1F2C6A), --console series-x, --unimplemented zero, VICTORY_FAULT_UNLOCKED=0, otherwise the play-foxhound.ps1 switch set, no title profile, VICTORY_LOG=debug. - GE-Proton11-1-LinUwUx (Proton 11, wine 11.0 staging; vkd3d-proton beee300e4 / "vkd3d-1.1-5388-gbeee300e4"). Launched as: proton run victory.exe run 'C:\gta6\game_scarlett_master.exe' --unimplemented zero --console series-x --execute, with STEAM_COMPAT_DATA_PATH + UMU_ID=0 (direct launch) and VKD3D_SHADER_DUMP_PATH set. - NVIDIA 620.73.04 open, RTX 5090 32 GB, kernel 6.8.0-151. Prefix Windows version: win11 (10.0.22000). - Title: Xbox Series S/X v1.0.2.1 dump, game_scarlett_master.exe build hash b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93 ("build unknown" — patches left alone; the game still boots). Symptom Boots cleanly (account picker, brightness, terms; menus render at 30 fps, ~20 draws/frame). On the first frame of the loading screen: INFO victory_gpu::pipeline: first bind pipeline=0x1109dba0 frame=1391 stage="compute" INFO victory_gpu::pipeline: shader translated stage="compute" hash=4e296b1885c37b29 …and the process exits in the same second with code 3 (systemd: code=exited, status=3). No "VIctory: unimplemented import" line (so not the --unimplemented path), no exception in the layer's log, crashes.log unchanged, no Xid/OOM (peak 9.1 GB of 93 GB). With WINEDEBUG=+seh,+vulkan,err+all: warn:seh:handle_syscall_fault --- Exception 0xc0000005 at 0x7c19e3d46f98: /lib/x86_64-linux-gnu/libnvidia-glvkspirv.so.620.73.04 + 0x346f98 … libnvidia-glvkspirv.so → libnvidia-glcore.so → winevulkan.so → __wine_unix_call_dispatcher warn:seh:dump_syscall_fault: returning to user mode ip=… ret=c0000005 err:vulkan:vkCreateComputePipelines Exception 0xc0000005 in Unix call. So: vkCreateComputePipelines → NVIDIA's SPIR-V compiler (libnvidia-glvkspirv) segfaults on the module; vkd3d reports the failed call; the layer takes its "pipeline can't be made" path → exit 3. Root cause: the SPIR-V fed to the driver is invalid VKD3D_SHADER_DUMP_PATH captured 47 modules. spirv-val --target-env vulkan1.3 accepts 44 and rejects exactly 3 — all this layer's own shaders (DXIL from D3DCompile with *_5_1 targets, per compile_now; there is no DXC path): 1. b99ad72fefbbeca7 — GLCompute (the one that kills it; descriptor index clamped via UMin %idx %uint_999999, i.e. the 1M view-heap clamp — the run also logs "host view heap capped at 1000000; views past it read a null slot count=1245184"): error: line 8762: Function end cannot be called in blocks (OpFunctionEnd) With an OpReturn inserted before OpFunctionEnd, the real defect appears: error: line 8430: block <ID> 5826 branches to the selection construct, but not to the selection header <ID> 1295 2. d360844b3010819d — Fragment (SV_Position, TEXCOORD, 2 render targets): error: line 2365: block <ID> '1883' exits the loop headed by <ID> '556', but not via a structured exit 3. 3934cf98e5f229e6 — Fragment (many inputs/registers): error: line 2074: block <ID> '1627' exits the loop headed by <ID> '477', but not via a structured exit That is non-conformant structured control flow (branches into a selection construct bypassing its header; loop exits that aren't structured exits). spirv-opt cannot repair it (refuses invalid input; --skip-validation doesn't restructure CFG). AMD's compiler tolerates these modules; NVIDIA's does not — and segfaulting on invalid SPIR-V is itself a driver robustness bug. Since Windows consumes the same SM 5.1 DXIL directly through D3D12, the defect only exists on the SPIR-V path, matching the title working on Windows. Already ruled out - d3dcompiler_47=n with Microsoft's real 4.3 MB compiler in the prefix: no change (shaders ship pre-compiled in 0.8.3; compile_now uses D3DCompile anyway; the failure is downstream in dxil-spirv). - Driver rollback to 610.57.04: not possible on this distro (Ubuntu/Mint rewrote the 610/615 packages into 37 KB shims depending on 620). - --unimplemented zero: no "unimplemented import" line ever appears; exit 3 comes from the pipeline path. - VKD3D_SHADER_OVERRIDE: can't, there is no valid replacement module — they need restructuring, not a flag. Ask A fix in dxil-spirv (structurizer) — or a change on the foxhound side so these three shaders emit DXIL that structurizes (different loop/return shape, or DXC with SM 6 targets) — would unblock GTA VI on Linux/Proton for NVIDIA 620 users. I have the three .dxil/.spv pairs and the full spirv-val outputs and can attach them if useful (they are compiled from this repo's own GPL HLSL, not title content). I've also built vkd3d-proton master (55efc53, project 3.2.0, dxil-spirv 7ce4a2d2) and will report back on whether it changes anything.
Cthululz commented 2026-12-03 05:21:00 +00:00 (Migrated from github.com)
Author
Contributor

Imported from readmet3xt-lab/foxhound. Originally posted by Cthululz on 2026-12-03T05:21:00Z.


Update: built vkd3d-proton master (55efc53, project 3.2.0, dxil-spirv 7ce4a2d2) into a private Proton tree and reran. The invalid-SPIR-V problem is gone — the compute pipeline that killed 0.8.3 now builds, the title gets past the loading screen and starts rendering the world (2116 draws/frame, ~20 GB committed, audio playing, confirmed by ear). So the dxil-spirv structurizer issue in my comment above is real and fixed by master; no need to chase it further.

It then dies about a minute into world load with an unhandled 0xc0000005 (write 0x0) in the title image at +0x23cf683, reached through the same thread frames (+0x2215c35 / +0x2215eca) as the original 0.8.2 startup crash — the 'write-0x0 family' on the Proton path, different call site. VICTORY_FAULT_UNLOCKED=0 is set. Next attempt is the GUARD_PAGES=1 / CARD_STEPS_ASIDE=1 / BVH_STUB=1 combination from this thread; I'll report back.

Separately, the picture is black while it renders: dstorage logs 'BCPack references ... 0.000 % from the dictionaries' with no title profile, which fits the profile-less texture limitation. If a profile is obtainable anywhere public, a pointer would help — otherwise this run is geometry-only.

<!-- greyfinch-sync:readmet3xt-lab/foxhound:comment:7368643302 --> Imported from [readmet3xt-lab/foxhound](https://github.com/readmet3xt-lab/foxhound/issues/407#issuecomment-7368643302). Originally posted by [Cthululz](https://github.com/Cthululz) on 2026-12-03T05:21:00Z. --- Update: built vkd3d-proton master (55efc53, project 3.2.0, dxil-spirv 7ce4a2d2) into a private Proton tree and reran. The invalid-SPIR-V problem is gone — the compute pipeline that killed 0.8.3 now builds, the title gets past the loading screen and starts rendering the world (2116 draws/frame, ~20 GB committed, audio playing, confirmed by ear). So the dxil-spirv structurizer issue in my comment above is real and fixed by master; no need to chase it further. It then dies about a minute into world load with an unhandled 0xc0000005 (write 0x0) in the title image at +0x23cf683, reached through the same thread frames (+0x2215c35 / +0x2215eca) as the original 0.8.2 startup crash — the 'write-0x0 family' on the Proton path, different call site. VICTORY_FAULT_UNLOCKED=0 is set. Next attempt is the GUARD_PAGES=1 / CARD_STEPS_ASIDE=1 / BVH_STUB=1 combination from this thread; I'll report back. Separately, the picture is black while it renders: dstorage logs 'BCPack references ... 0.000 % from the dictionaries' with no title profile, which fits the profile-less texture limitation. If a profile is obtainable anywhere public, a pointer would help — otherwise this run is geometry-only.
Cthululz commented 2026-12-03 05:26:11 +00:00 (Migrated from github.com)
Author
Contributor

Imported from readmet3xt-lab/foxhound. Originally posted by Cthululz on 2026-12-03T05:26:11Z.


Result with GUARD_PAGES=1 / CARD_STEPS_ASIDE=1 / BVH_STUB=1 (plus VICTORY_FAULT_UNLOCKED=0): the crash is unchanged — same unhandled write-0x0 at +0x23cf683, same thread frames, exit 5, about two minutes in. What did change is that real frames now come through: ~0.2 fps (5.1 s/frame, 'preparing' 135->374 ms and climbing), ~15 GB peak, and the opening scene with subtitles was visible for a frame or two before the crash. So the guards alone are not the crash-free combo; consistent with kwaadrat's note that #457 + #460 are needed as well. Next step on my side is a build of main with those two, unless a v0.8.4 lands first.

<!-- greyfinch-sync:readmet3xt-lab/foxhound:comment:7368736638 --> Imported from [readmet3xt-lab/foxhound](https://github.com/readmet3xt-lab/foxhound/issues/407#issuecomment-7368736638). Originally posted by [Cthululz](https://github.com/Cthululz) on 2026-12-03T05:26:11Z. --- Result with GUARD_PAGES=1 / CARD_STEPS_ASIDE=1 / BVH_STUB=1 (plus VICTORY_FAULT_UNLOCKED=0): the crash is unchanged — same unhandled write-0x0 at +0x23cf683, same thread frames, exit 5, about two minutes in. What did change is that real frames now come through: ~0.2 fps (5.1 s/frame, 'preparing' 135->374 ms and climbing), ~15 GB peak, and the opening scene with subtitles was visible for a frame or two before the crash. So the guards alone are not the crash-free combo; consistent with kwaadrat's note that #457 + #460 are needed as well. Next step on my side is a build of main with those two, unless a v0.8.4 lands first.
Cthululz commented 2026-12-03 05:40:44 +00:00 (Migrated from github.com)
Author
Contributor

Imported from readmet3xt-lab/foxhound. Originally posted by Cthululz on 2026-12-03T05:40:44Z.


Built main + #457 + #460 from source (GNU target, cross-compiled on Linux) and ran it: unchanged. Same unhandled 0xc0000005 at +0x23cf683 in the title image, exit 5, no world frames this run, 13.8 GB peak.

One thing worth recording: our fault message is 'write 0x0: nothing mapped there' — a null write in title code — not the 'write ... : read-only' watch-protection variant that #457 targets. So #457/#460 don't cover this path, which fits the zero improvement.

Also, in case it saves someone time: with the precompiled table empty on a non-Windows host, four of the layer's own shaders compile at run time through the real Microsoft d3dcompiler_47, and that works fine — so the runtime-compile path is sound and this is title-side. Config-side I'm now out of knobs: guards on/off, FAULT_UNLOCKED 0 and 1, and the two PRs all land on the same site.

<!-- greyfinch-sync:readmet3xt-lab/foxhound:comment:7368995256 --> Imported from [readmet3xt-lab/foxhound](https://github.com/readmet3xt-lab/foxhound/issues/407#issuecomment-7368995256). Originally posted by [Cthululz](https://github.com/Cthululz) on 2026-12-03T05:40:44Z. --- Built main + #457 + #460 from source (GNU target, cross-compiled on Linux) and ran it: unchanged. Same unhandled 0xc0000005 at +0x23cf683 in the title image, exit 5, no world frames this run, 13.8 GB peak. One thing worth recording: our fault message is 'write 0x0: nothing mapped there' — a null write in title code — not the 'write ... : read-only' watch-protection variant that #457 targets. So #457/#460 don't cover this path, which fits the zero improvement. Also, in case it saves someone time: with the precompiled table empty on a non-Windows host, four of the layer's own shaders compile at run time through the real Microsoft d3dcompiler_47, and that works fine — so the runtime-compile path is sound and this is title-side. Config-side I'm now out of knobs: guards on/off, FAULT_UNLOCKED 0 and 1, and the two PRs all land on the same site.
Cthululz commented 2026-12-03 17:59:50 +00:00 (Migrated from github.com)
Author
Contributor

Imported from readmet3xt-lab/foxhound. Originally posted by Cthululz on 2026-12-03T17:59:50Z.


Tested v0.8.3.5 with the 0.8.3.5 title profile installed (title-profile install, roles=30, bcpack=ok, tables=ok) and bcpack-tables.bin in use ('BCPack: the table file ... is used (77982 bytes)'). Shaders re-translated for the new cache keys, first start done.

Result: exactly the same fault, same offset — unhandled write 0x0 at +0x23cf683, exit 5, 15.3 GB peak. The picture never comes up; the opening cinematic plays its audio ('what you doing in my mama's car'), sits a few seconds, window closes. For reference, one earlier run (0.8.3 with just the guards) got 1-2 frames of the same scene showing, so the scene does render sometimes.

So neither the profile, the BCPack table, nor the pipeline list changes this one — it is not a profile-less rule or texture-decode path. The layer logs 'title view slots in written pages past the host heap's share per frame: 105267' right before death, if that helps. I've run out of config levers on my side (guards, FAULT_UNLOCKED 0/1, #457+#460 build, 0.8.3.5, profile, table).

<!-- greyfinch-sync:readmet3xt-lab/foxhound:comment:7387421288 --> Imported from [readmet3xt-lab/foxhound](https://github.com/readmet3xt-lab/foxhound/issues/407#issuecomment-7387421288). Originally posted by [Cthululz](https://github.com/Cthululz) on 2026-12-03T17:59:50Z. --- Tested v0.8.3.5 with the 0.8.3.5 title profile installed (title-profile install, roles=30, bcpack=ok, tables=ok) and bcpack-tables.bin in use ('BCPack: the table file ... is used (77982 bytes)'). Shaders re-translated for the new cache keys, first start done. Result: exactly the same fault, same offset — unhandled write 0x0 at +0x23cf683, exit 5, 15.3 GB peak. The picture never comes up; the opening cinematic plays its audio ('what you doing in my mama's car'), sits a few seconds, window closes. For reference, one earlier run (0.8.3 with just the guards) got 1-2 frames of the same scene showing, so the scene does render sometimes. So neither the profile, the BCPack table, nor the pipeline list changes this one — it is not a profile-less rule or texture-decode path. The layer logs 'title view slots in written pages past the host heap's share per frame: 105267' right before death, if that helps. I've run out of config levers on my side (guards, FAULT_UNLOCKED 0/1, #457+#460 build, 0.8.3.5, profile, table).
Cthululz commented 2026-12-03 18:53:29 +00:00 (Migrated from github.com)
Author
Contributor

Imported from readmet3xt-lab/foxhound. Originally posted by Cthululz on 2026-12-03T18:53:29Z.


Different finding — this is not a bad pointer the layer handed the title. Disassembled the faulting instruction in the title image:

0x1423cf683: c7 04 25 00 00 00 00   movl $0x4d8bd421, 0x0
0x1423cf68a: 21 d4 8b 4d              (immediate, second half)
0x1423cf68e: 48 83 c4 48              add $0x48, %rsp
0x1423cf692: c3                       ret

A mov dword ptr [0], imm32 followed by the epilogue: a deliberate write to address 0 — the Xbox crash-marker convention (page 0 is the monitored page on the console; the marker identifies the reason in the dump). On the layer address 0 is unmapped, so the marker write becomes 0xc0000005. In other words the title aborts by design, and 0x4d8bd421 is its reason code.

Context of the one that fired: once, on the title's own thread (#1 +0x2215c35, #2 +0x2215eca, both out of kernel32 base-thread), about 20 s after first bind pipeline=0x931d13b0 frame=3196 stage=compute and host pipeline shaders=[compute 8a4336adc37735ab], with no GPU progress logged in between. That pattern reads as the engine's GPU-stall watchdog.

Also tried this run: VICTORY_VIEW_SPLIT_ADAPTIVE=1 — past-share writes drop from 105267 to 72 per frame (the option does what it says), the abort is unchanged.

Two suggestions: (1) map a page at 0 (or trap the write) so the marker gets logged instead of disappearing into 0xc0000005 — that would name the abort; (2) see whether compute 8a4336adc37735ab is the dispatch that stalls. On my side: warm is complete (93,546 pipelines made, 1,477 s), the profile is installed, so pipeline-compile timing is ruled out.

<!-- greyfinch-sync:readmet3xt-lab/foxhound:comment:7388833996 --> Imported from [readmet3xt-lab/foxhound](https://github.com/readmet3xt-lab/foxhound/issues/407#issuecomment-7388833996). Originally posted by [Cthululz](https://github.com/Cthululz) on 2026-12-03T18:53:29Z. --- Different finding — this is not a bad pointer the layer handed the title. Disassembled the faulting instruction in the title image: 0x1423cf683: c7 04 25 00 00 00 00 movl $0x4d8bd421, 0x0 0x1423cf68a: 21 d4 8b 4d (immediate, second half) 0x1423cf68e: 48 83 c4 48 add $0x48, %rsp 0x1423cf692: c3 ret A `mov dword ptr [0], imm32` followed by the epilogue: a deliberate write to address 0 — the Xbox crash-marker convention (page 0 is the monitored page on the console; the marker identifies the reason in the dump). On the layer address 0 is unmapped, so the marker write becomes 0xc0000005. In other words the title aborts by design, and 0x4d8bd421 is its reason code. Context of the one that fired: once, on the title's own thread (#1 +0x2215c35, #2 +0x2215eca, both out of kernel32 base-thread), about 20 s after `first bind pipeline=0x931d13b0 frame=3196 stage=compute` and `host pipeline shaders=[compute 8a4336adc37735ab]`, with no GPU progress logged in between. That pattern reads as the engine's GPU-stall watchdog. Also tried this run: VICTORY_VIEW_SPLIT_ADAPTIVE=1 — past-share writes drop from 105267 to 72 per frame (the option does what it says), the abort is unchanged. Two suggestions: (1) map a page at 0 (or trap the write) so the marker gets logged instead of disappearing into 0xc0000005 — that would name the abort; (2) see whether compute 8a4336adc37735ab is the dispatch that stalls. On my side: warm is complete (93,546 pipelines made, 1,477 s), the profile is installed, so pipeline-compile timing is ruled out.
Headache3318 commented 2026-12-04 10:40:42 +00:00 (Migrated from github.com)
Author
Contributor

Imported from readmet3xt-lab/foxhound. Originally posted by Headache3318 on 2026-12-04T10:40:42Z.


Your disassembly is the key — and there is a public decoder for that reason code: a sibling port already treats this trap as survivable, and its trigger wording matches our run above.

Verified from rpatty-dev/PercyScarlett src/pe_loader.rs today (code-search on the immediate finds 99 public matches; that handler is the one that decodes it). Their vectored exception handler on 0xC0000005 with va == 0 tests rip's bytes against the 11-byte sequence C7 04 25 00 00 00 00 21 D4 8B 4D — your movl $0x4d8bd421, 0x0 — under this comment (around lines 1366-1391):

Intentional GPU hang-watchdog trap (GPU Loc Sig: mov dword ptr [0], 0x4d8bd421, 11 bytes)
fires during slow CPU-decompressed streaming even while PresentX is actively advancing.

On a match they log [watchdog] skipped GPU Loc Sig trap (11B) at G+<off> (first 8 times), set rip += 11 and return EXCEPTION_CONTINUE_EXECUTION — the title runs on past the marker. They handle a second variant too: mov dword ptr [0], 0 followed by int3 (12 bytes, immediate 0), so there are already at least two reason values in the wild, 0x4d8bd421 and 0.

Our run above (run C, 24 GB / bare wine 11.23, --console series-s) is a fourth reproduction, and it matches their trigger wording. It died at 17 min 49 s at +0x23cf683 with the same return frames (+0x2215c35 / +0x2215eca) and write 0x0: nothing mapped there — while presents were actively advancing right up to the fault (title-bar sampler, posted above: last 11.2 min, median 7 fps, ~6,400 draws/frame). So the watchdog did not need a visible present stall. Its last 10 s of VICTORY_GPU_TIMING (also posted above: write watch asked by refreshes per frame: 1,898, 67.81 ms, 277.5 MB per frame declared written by shaders in memory with a watch, write faults on a block open already: 18.2 sent back) is heavy streaming/watch churn — the slow-delivery side of the same condition.

@Cthululz, your two negatives narrow the trigger further. VICTORY_VIEW_SPLIT_ADAPTIVE=1 dropping past-share writes 105,267 -> 72/frame with the fault unchanged says the watchdog's condition is not that counter; and the 0.8.3.5 profile + BCPack-table run changing nothing (your 17:59 comment) says it is not texture decode either. Read together with kwaadrat's Proton measurement (compute dispatches floor of ~300 ms/frame), the starvation sits on the compute/geometry delivery side: the marker fires when delivery misses its budget, even while presents keep ticking over.

Concrete suggestion for the layer: generalize what PercyScarlett hard-codes. On a write fault at address 0x0 with rip inside the title image whose instruction starts C7 04 25 00 00 00 00, decode the following 4 bytes as a reason immediate and log title stall marker reason=0x<imm> at image+<off>. That turns every write-0x0 report in this thread's family into a named, comparable condition immediately — today each tester rediscovers one offset. Then, behind a default-off knob, EXCEPTION_CONTINUE_EXECUTION with rip += insn_len, so people can A/B whether skipping the marker lets streaming catch up or the same marker just repeats; PercyScarlett caps its skip at 8, which suggests they have seen it repeat. The current behaviour — an unhandled AV at the first one, exit 5 — hides the engine's own diagnosis of itself.

Two cautions, stated plainly: (1) skipping lets the engine continue after it declared a GPU stall — whether that reaches the world or only delays the marker is exactly what the knob would measure; (2) our foxhound kit was deleted by operator request after run C, so we cannot re-run the decode locally today — the quoted numbers come from that run's posted log lines, and a fresh marker-aware run follows when a card frees (all three of our 4090s are currently holding 20+ GiB for another workload).

No game files, dumps, or shader names attached, per policy. AI-assisted (Hermes Agent), human-verified sources and measured numbers.

<!-- greyfinch-sync:readmet3xt-lab/foxhound:comment:7409045746 --> Imported from [readmet3xt-lab/foxhound](https://github.com/readmet3xt-lab/foxhound/issues/407#issuecomment-7409045746). Originally posted by [Headache3318](https://github.com/Headache3318) on 2026-12-04T10:40:42Z. --- **Your disassembly is the key — and there is a public decoder for that reason code: a sibling port already treats this trap as survivable, and its trigger wording matches our run above.** Verified from `rpatty-dev/PercyScarlett` `src/pe_loader.rs` today (code-search on the immediate finds 99 public matches; that handler is the one that decodes it). Their vectored exception handler on `0xC0000005` with `va == 0` tests rip's bytes against the 11-byte sequence `C7 04 25 00 00 00 00 21 D4 8B 4D` — your `movl $0x4d8bd421, 0x0` — under this comment (around lines 1366-1391): > Intentional GPU hang-watchdog trap (`GPU Loc Sig`: mov dword ptr [0], 0x4d8bd421, 11 bytes) > fires during slow CPU-decompressed streaming even while PresentX is actively advancing. On a match they log `[watchdog] skipped GPU Loc Sig trap (11B) at G+<off>` (first 8 times), set `rip += 11` and return `EXCEPTION_CONTINUE_EXECUTION` — the title runs on past the marker. They handle a second variant too: `mov dword ptr [0], 0` followed by `int3` (12 bytes, immediate 0), so there are already at least two reason values in the wild, `0x4d8bd421` and `0`. **Our run above (run C, 24 GB / bare wine 11.23, `--console series-s`) is a fourth reproduction, and it matches their trigger wording.** It died at 17 min 49 s at `+0x23cf683` with the same return frames (`+0x2215c35` / `+0x2215eca`) and `write 0x0: nothing mapped there` — while presents were actively advancing right up to the fault (title-bar sampler, posted above: last 11.2 min, median 7 fps, ~6,400 draws/frame). So the watchdog did **not** need a visible present stall. Its last 10 s of `VICTORY_GPU_TIMING` (also posted above: `write watch asked by refreshes per frame: 1,898, 67.81 ms`, `277.5 MB per frame declared written by shaders in memory with a watch`, `write faults on a block open already: 18.2 sent back`) is heavy streaming/watch churn — the slow-delivery side of the same condition. **@Cthululz, your two negatives narrow the trigger further.** `VICTORY_VIEW_SPLIT_ADAPTIVE=1` dropping past-share writes 105,267 -> 72/frame with the fault unchanged says the watchdog's condition is not that counter; and the 0.8.3.5 profile + BCPack-table run changing nothing (your 17:59 comment) says it is not texture decode either. Read together with kwaadrat's Proton measurement (`compute dispatches` floor of ~300 ms/frame), the starvation sits on the compute/geometry delivery side: the marker fires when *delivery* misses its budget, even while presents keep ticking over. **Concrete suggestion for the layer: generalize what PercyScarlett hard-codes.** On a write fault at address `0x0` with rip inside the title image whose instruction starts `C7 04 25 00 00 00 00`, decode the following 4 bytes as a reason immediate and log `title stall marker reason=0x<imm> at image+<off>`. That turns every write-`0x0` report in this thread's family into a named, comparable condition immediately — today each tester rediscovers one offset. Then, behind a default-off knob, `EXCEPTION_CONTINUE_EXECUTION` with `rip += insn_len`, so people can A/B whether skipping the marker lets streaming catch up or the same marker just repeats; PercyScarlett caps its skip at 8, which suggests they have seen it repeat. The current behaviour — an unhandled AV at the first one, exit 5 — hides the engine's own diagnosis of itself. Two cautions, stated plainly: (1) skipping lets the engine continue after it declared a GPU stall — whether that reaches the world or only delays the marker is exactly what the knob would measure; (2) our foxhound kit was deleted by operator request after run C, so we cannot re-run the decode locally today — the quoted numbers come from that run's posted log lines, and a fresh marker-aware run follows when a card frees (all three of our 4090s are currently holding 20+ GiB for another workload). No game files, dumps, or shader names attached, per policy. AI-assisted (Hermes Agent), human-verified sources and measured numbers.
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
readmet3xt-lab/foxhound#407
No description provided.