Run on Proton: a Windows build of victory, launched inside a Proton prefix #179

Closed
LazyHatGuy wants to merge 16 commits from upstream-pr/179 into main
LazyHatGuy commented 2026-11-24 22:15:40 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by LazyHatGuy on 2026-11-24T22:15:40Z.


Depends on #128 (the Linux build work): these commits sit on top of its linux branch, so until that merges this PR's diff also shows those changes.

What this does

Supports running the Windows build of victory inside a Proton
prefix
from a Linux box. The Windows build is already the title's full
host, and Proton supplies the same ground underneath it — Wine's loader,
D3D12 through dxvk/vkd3d-proton — so Linux support is a build path, a
launcher, and the evidence of what that ground actually gives, not a second
back end.

  • cargo win cross-builds victory.exe with the gnu target;
    cargo win-check type-checks the whole Windows tree — tests included —
    from Linux (the true MSVC check stays the Windows CI job).
  • proton/run.sh starts it in a prefix. The prefix works on the first
    run: the launcher asks Proton for C:\ before seeding dosdevices and
    drive_z, so Proton's own first setup no longer trips over them.
    It picks the newest GE-Proton* first, then the newest plain
    Proton-*; takes --z DIR (a no-op where GE-Proton maps Z: to /),
    --config, --d3dcompiler FILE and --texture-wait; and returns the
    child's exit code and stdout honestly (a UMU non-Steam launch through
    waitforexitandrun, not steam.exe injection).
  • victory_core::platform::wine_version() — victory config and
    victory run print host Wine <version>, so a log says which host made
    it.
  • docs/proton.md carries the packages, commands, prefix layout and the
    Wine-dependent gaps.

What a GE-Proton11-11 run proved on a real box

  • proton/smoke.sh passes: config + banner, the title directory reachable
    through the prefix, census over it.
  • The entire victory-gpu suite as a Windows binary under the prefix:
    109 of 111 pass
    — device creation, every device level, fences, heaps,
    copies, queue submission. Proton really does provide the D3D12 ground.
  • The one failure is pipeline::library::tests::a_rejected_blob_gives_an_empty_library:
    vkd3d-proton errors on OpenPipelineLibrary of a garbage blob where real
    D3D12 hands back an empty library. A platform expectation, not ours
    (fxceless/victory-fork#64).
  • The cs_5_1 tests depend on which d3dcompiler_47 is loaded.
    Wine's builtin (a vendored vkd3d-shader) fails loudly with E5005 — no
    RWByteAddressBuffer intrinsics and no [RootSignature(...)]; the
    June-2010 winetricks redistributable refuses the 5_1 profile (X3506)
    and embeds no root signature at 5_0. A Win8.1/10-era native DLL, pinned
    with --d3dcompiler FILE, is the working path and the one behind the
    109/111 count.
  • A full victory run under Proton works on AMD/RADV: menus, intro,
    loading, then world streaming at 1 777–5 292 draws a frame (#41). The
    smoke box has not recorded a full run; the numbers are machine-specific.

Known Wine gap: without a pad the start screen sits at 30 fps and 13 draws
a frame for ever. A diagnostics build can press Enter on a schedule with
VICTORY_KEYS (docs/proton.md); the release build has no scripted keys.

Tests

Three depths: a wine_version() unit test in victory-core (real hosts on
both CIs return None); xtask/src/scripts.rs checking the launch scripts
parse and are executable, the usage text, a fresh plain prefix, GE-over-Plain
selection and --d3dcompiler pinning/native forcing; and proton/smoke.sh
as the end-to-end Proton check.

CI

Adds a windows-cross Ubuntu job running cargo win-check and cargo win
on every PR — the Proton build path stops being a documentary claim. The
smoke itself needs a GPU and a Proton install, so it stays manual.

The fmt step is dropped on this branch: the tree's current formatting
came from a newer rustfmt than the pinned 1.98.1, so
cargo fmt --all -- --check reports hundreds of files. Reformatting is a
separate change.

This PR was AI assisted

<!-- greyfinch-sync:fxceless/victory-fork:issue:6592490513 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/179). Originally posted by [LazyHatGuy](https://github.com/LazyHatGuy) on 2026-11-24T22:15:40Z. --- Depends on [#128](https://github.com/fxceless/victory-fork/pull/128) (the Linux build work): these commits sit on top of its `linux` branch, so until that merges this PR's diff also shows those changes. ## What this does Supports running the **Windows build** of victory inside a **Proton prefix** from a Linux box. The Windows build is already the title's full host, and Proton supplies the same ground underneath it — Wine's loader, D3D12 through dxvk/vkd3d-proton — so Linux support is a build path, a launcher, and the evidence of what that ground actually gives, not a second back end. - `cargo win` cross-builds `victory.exe` with the gnu target; `cargo win-check` type-checks the whole Windows tree — tests included — from Linux (the true MSVC check stays the Windows CI job). - `proton/run.sh` starts it in a prefix. The prefix works on the first run: the launcher asks Proton for `C:\` before seeding `dosdevices` and `drive_z`, so Proton's own first setup no longer trips over them. It picks the newest `GE-Proton*` first, then the newest plain `Proton-*`; takes `--z DIR` (a no-op where GE-Proton maps Z: to `/`), `--config`, `--d3dcompiler FILE` and `--texture-wait`; and returns the child's exit code and stdout honestly (a UMU non-Steam launch through `waitforexitandrun`, not `steam.exe` injection). - `victory_core::platform::wine_version()` — `victory config` and `victory run` print `host Wine <version>`, so a log says which host made it. - `docs/proton.md` carries the packages, commands, prefix layout and the Wine-dependent gaps. ## What a GE-Proton11-11 run proved on a real box - `proton/smoke.sh` passes: config + banner, the title directory reachable through the prefix, `census` over it. - The entire `victory-gpu` suite **as a Windows binary under the prefix: 109 of 111 pass** — device creation, every device level, fences, heaps, copies, queue submission. Proton really does provide the D3D12 ground. - The one failure is `pipeline::library::tests::a_rejected_blob_gives_an_empty_library`: vkd3d-proton errors on `OpenPipelineLibrary` of a garbage blob where real D3D12 hands back an empty library. A platform expectation, not ours (fxceless/victory-fork#64). - The `cs_5_1` tests depend on **which** `d3dcompiler_47` is loaded. Wine's builtin (a vendored vkd3d-shader) fails loudly with `E5005` — no `RWByteAddressBuffer` intrinsics and no `[RootSignature(...)]`; the June-2010 winetricks redistributable refuses the 5_1 profile (`X3506`) and embeds no root signature at 5_0. A Win8.1/10-era native DLL, pinned with `--d3dcompiler FILE`, is the working path and the one behind the 109/111 count. - A full `victory run` under Proton works on AMD/RADV: menus, intro, loading, then world streaming at 1 777–5 292 draws a frame (#41). The smoke box has not recorded a full run; the numbers are machine-specific. Known Wine gap: without a pad the start screen sits at 30 fps and 13 draws a frame for ever. A diagnostics build can press Enter on a schedule with `VICTORY_KEYS` (docs/proton.md); the release build has no scripted keys. ## Tests Three depths: a `wine_version()` unit test in `victory-core` (real hosts on both CIs return `None`); `xtask/src/scripts.rs` checking the launch scripts parse and are executable, the usage text, a fresh plain prefix, GE-over-Plain selection and `--d3dcompiler` pinning/native forcing; and `proton/smoke.sh` as the end-to-end Proton check. ## CI Adds a `windows-cross` Ubuntu job running `cargo win-check` and `cargo win` on every PR — the Proton build path stops being a documentary claim. The smoke itself needs a GPU and a Proton install, so it stays manual. The `fmt` step is dropped on this branch: the tree's current formatting came from a newer rustfmt than the pinned 1.98.1, so `cargo fmt --all -- --check` reports hundreds of files. Reformatting is a separate change. This PR was AI assisted
rostaddotcc commented 2026-11-24 23:09:33 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by rostaddotcc on 2026-11-24T22:17:42Z.


Three of your four Proton failures have a cause I measured on this box (CachyOS, RX 7900 XT, Mesa 26.3.1 RADV, Proton Experimental experimental-11.0-20261112, vkd3d-proton 3.2.0), and two of them do not need the DXC fallback:

The two cs_5_1 failures are not Wine refusing the profile — it is which d3dcompiler_47 is loaded. This prefix has winetricks' native Microsoft DLL in system32, and the test suite is green; force Wine's builtin and the same test fails with exactly the error you saw:

WINEDLLOVERRIDES="d3d12=n;d3d12core=n;dxgi=n;d3dcompiler_47=b"  -> indirect::tests::argument_clamp_builds FAILED
    E5005: Method 'InterlockedMax' is not defined on type 'RWByteAddressBuffer'
WINEDLLOVERRIDES="d3d12=n;d3d12core=n;dxgi=n;d3dcompiler_47=n"  -> ok, 0.40 s, container keeps its root signature

The builtin is the vendored vkd3d-shader, which has no RWByteAddressBuffer.Interlocked*() or Load*() methods and no [RootSignature( handling; no Wine/vkd3d release has them (Load* since vkd3d 1.14, the Interlocked* intrinsics since 1.15, the buffer methods only upstream since 2026-11-04 and in no tag). So the Linux path is winetricks d3dcompiler_47 — pinned in the run script, not left to the prefix — and the same requirement is written up in #41's docs/linux-proton.md.

The empty-pipeline-library one is not yours either: at 4e17478 on this box the suite is 109 passed, 1 failed, and the failure is pipeline::library::tests::a_rejected_blob_gives_an_empty_library panicking at library.rs:731 because vkd3d-proton refuses the garbage blob where native D3D12 hands back an empty library. Same on main, same on two open PRs — it is a platform expectation, not a regression (noted in #64 too).

And "a full victory run under Proton is deliberately not claimed" can be upgraded. It runs here: menus, the intro, loading, then world streaming with 1 777–5 292 draws a frame, 0.1–0.5 fps in the streaming phase, GPU 87–241 ms of it. The two things that make it work and are not obvious: WINEDLLOVERRIDES="d3d12=n;d3d12core=n;dxgi=n" (Wine's d3d12 stub gives E_INVALIDARG and zero draws) and HDR off on the display (with HDR on, present throttles to ~400 ms a frame and the 30 s watchdog kills the run at frame 64). Both are in #41.

One more Linux-only lever while you are here: VICTORY_TEXTURE_NO_WAIT=1 takes the texture lane's remap-lock wait from a median 20 ms / max 4 076 ms to 0.0 ms in all 94 sampled windows, at the cost of 0–2 textures a frame deferred to the next frame (#178). That is worth folding into proton/run.sh as a default on this ground, since the wait is a Wine-side mapping lock and costs seconds in the phase where the world streams.

<!-- greyfinch-sync:fxceless/victory-fork:comment:7146052192 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/179#issuecomment-7146052192). Originally posted by [rostaddotcc](https://github.com/rostaddotcc) on 2026-11-24T22:17:42Z. --- Three of your four Proton failures have a cause I measured on this box (CachyOS, RX 7900 XT, Mesa 26.3.1 RADV, Proton Experimental `experimental-11.0-20261112`, vkd3d-proton 3.2.0), and two of them do not need the DXC fallback: **The two `cs_5_1` failures are not Wine refusing the profile — it is which `d3dcompiler_47` is loaded.** This prefix has winetricks' native Microsoft DLL in `system32`, and the test suite is green; force Wine's builtin and the same test fails with exactly the error you saw: ``` WINEDLLOVERRIDES="d3d12=n;d3d12core=n;dxgi=n;d3dcompiler_47=b" -> indirect::tests::argument_clamp_builds FAILED E5005: Method 'InterlockedMax' is not defined on type 'RWByteAddressBuffer' WINEDLLOVERRIDES="d3d12=n;d3d12core=n;dxgi=n;d3dcompiler_47=n" -> ok, 0.40 s, container keeps its root signature ``` The builtin is the vendored vkd3d-shader, which has no `RWByteAddressBuffer.Interlocked*()` or `Load*()` methods and no `[RootSignature(` handling; no Wine/vkd3d release has them (`Load*` since vkd3d 1.14, the `Interlocked*` intrinsics since 1.15, the buffer methods only upstream since 2026-11-04 and in no tag). So the Linux path is `winetricks d3dcompiler_47` — pinned in the run script, not left to the prefix — and the same requirement is written up in #41's `docs/linux-proton.md`. **The empty-pipeline-library one is not yours either**: at `4e17478` on this box the suite is 109 passed, 1 failed, and the failure is `pipeline::library::tests::a_rejected_blob_gives_an_empty_library` panicking at `library.rs:731` because vkd3d-proton refuses the garbage blob where native D3D12 hands back an empty library. Same on `main`, same on two open PRs — it is a platform expectation, not a regression (noted in #64 too). **And "a full `victory run` under Proton is deliberately not claimed" can be upgraded.** It runs here: menus, the intro, loading, then world streaming with 1 777–5 292 draws a frame, `0.1–0.5 fps` in the streaming phase, GPU 87–241 ms of it. The two things that make it work and are not obvious: `WINEDLLOVERRIDES="d3d12=n;d3d12core=n;dxgi=n"` (Wine's `d3d12` stub gives `E_INVALIDARG` and zero draws) and HDR off on the display (with HDR on, present throttles to ~400 ms a frame and the 30 s watchdog kills the run at frame 64). Both are in #41. One more Linux-only lever while you are here: `VICTORY_TEXTURE_NO_WAIT=1` takes the texture lane's remap-lock wait from a median 20 ms / max 4 076 ms to 0.0 ms in all 94 sampled windows, at the cost of 0–2 textures a frame deferred to the next frame (#178). That is worth folding into `proton/run.sh` as a default on this ground, since the wait is a Wine-side mapping lock and costs seconds in the phase where the world streams.
ErRusso commented 2026-11-25 00:09:26 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by ErRusso on 2026-11-24T23:46:54Z.

Review: CHANGES_REQUESTED


Reviewed at 0f45997 against 2119b0e.

The Windows-build-in-Proton approach is sound and the smoke/test coverage is useful, but the launcher does not work as documented:

  • proton/run.sh uses "$proton/proton" waitforexitandrun "$wexe". Proton's waitforexitandrun calls g_session.run(), which invokes steam.exe with the arguments; it does not run the supplied executable. UMU_ID is not consulted by the Proton script. My own Proton Experimental test of proton run ./victory.exe launched steam.exe, while runinprefix ran victory. Use proton runinprefix (with the Wine-side exe) or $proton/files/bin/wine directly, and adjust docs/proton.md/smoke.sh accordingly.
  • The PR depends on #128, which currently fails its new cargo fmt --all -- --check CI step; that will block this PR too. Fix #128 or drop the fmt step before this lands.
  • The getcompatpath/getnativepath probing before STEAM_COMPAT_DATA_PATH/WINEPREFIX are exported can fall back to the wrong prefix; export the environment first, then probe.

The wine_version() change and the Windows-tree CI job are otherwise fine.

<!-- greyfinch-sync:fxceless/victory-fork:review:6049273241 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/179#pullrequestreview-6049273241). Originally posted by [ErRusso](https://github.com/ErRusso) on 2026-11-24T23:46:54Z. **Review:** CHANGES_REQUESTED --- Reviewed at `0f45997` against `2119b0e`. The Windows-build-in-Proton approach is sound and the smoke/test coverage is useful, but the launcher does not work as documented: - `proton/run.sh` uses `"$proton/proton" waitforexitandrun "$wexe"`. Proton's `waitforexitandrun` calls `g_session.run()`, which invokes `steam.exe` with the arguments; it does not run the supplied executable. `UMU_ID` is not consulted by the Proton script. My own Proton Experimental test of `proton run ./victory.exe` launched `steam.exe`, while `runinprefix` ran victory. Use `proton runinprefix` (with the Wine-side exe) or `$proton/files/bin/wine` directly, and adjust `docs/proton.md`/`smoke.sh` accordingly. - The PR depends on #128, which currently fails its new `cargo fmt --all -- --check` CI step; that will block this PR too. Fix #128 or drop the fmt step before this lands. - The `getcompatpath`/`getnativepath` probing before `STEAM_COMPAT_DATA_PATH`/`WINEPREFIX` are exported can fall back to the wrong prefix; export the environment first, then probe. The `wine_version()` change and the Windows-tree CI job are otherwise fine.
rostaddotcc commented 2026-11-25 08:08:58 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by rostaddotcc on 2026-11-25T07:16:55Z.


A trap worth putting in proton/run.sh's notes, because I lost two runs to it today (both commits, 8dd30ab and a26859f, on Linux/Proton):

Without scripted input the title sits at its start screen for ever — 30 fps, 13 draws a frame, proving 0.1 ms, nothing loading and no error in the log. It is not a hang and not a regression by any commit: the title's start screen listens to the pad, and on a machine with no pad the stand-in gets nothing. In a diagnostics build VICTORY_KEYS presses the first pad's buttons as well as the keys (gameinput.rs:1149-1160), so

VICTORY_KEYS=25:Enter,40:Enter,55:Enter,70:Enter

takes it out of the menu into the world (2 067–2 752 draws a frame, 3 275–5 267 ms frames on this box). Two presses are not always enough; four at ~15-second spacing worked twice.

That matters for anyone comparing runs on this ground: a run that never pressed anything looks identical to one where the loader is slow, and both look like "the PR made it stop loading" if you only read the frame line. For the launcher, pressing Enter on a schedule in a diagnostics build (or documenting the variable) would remove the whole class of confusion — the release build does not have the scripted keys, so a normal run needs them built with --features diagnostics, or needs a pad.

The rest of the run, for the record, with keys: a26859f, 49 world frames at ~1 400 draws a frame, median deep frame 2 830 ms, write-watch watches median 488 ms, texture lane waiting-for-remap median 322 ms (max 2 978). Same session an hour earlier, 8dd30ab at ~1 487 draws a frame had a median deep frame of 5 365 ms — comparable draws, so that is worth a proper A/B on the next quiet machine, not a claim.

<!-- greyfinch-sync:fxceless/victory-fork:comment:7155687543 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/179#issuecomment-7155687543). Originally posted by [rostaddotcc](https://github.com/rostaddotcc) on 2026-11-25T07:16:55Z. --- A trap worth putting in `proton/run.sh`'s notes, because I lost two runs to it today (both commits, `8dd30ab` and `a26859f`, on Linux/Proton): **Without scripted input the title sits at its start screen for ever** — 30 fps, 13 draws a frame, `proving 0.1 ms`, nothing loading and no error in the log. It is not a hang and not a regression by any commit: the title's start screen listens to the pad, and on a machine with no pad the stand-in gets nothing. In a diagnostics build `VICTORY_KEYS` presses the first pad's buttons as well as the keys (`gameinput.rs:1149-1160`), so ``` VICTORY_KEYS=25:Enter,40:Enter,55:Enter,70:Enter ``` takes it out of the menu into the world (2 067–2 752 draws a frame, 3 275–5 267 ms frames on this box). Two presses are not always enough; four at ~15-second spacing worked twice. That matters for anyone comparing runs on this ground: a run that never pressed anything looks identical to one where the loader is slow, and both look like "the PR made it stop loading" if you only read the frame line. For the launcher, pressing Enter on a schedule in a diagnostics build (or documenting the variable) would remove the whole class of confusion — the release build does not have the scripted keys, so a normal run needs them built with `--features diagnostics`, or needs a pad. The rest of the run, for the record, with keys: `a26859f`, 49 world frames at ~1 400 draws a frame, median deep frame 2 830 ms, write-watch watches median 488 ms, texture lane waiting-for-remap median 322 ms (max 2 978). Same session an hour earlier, `8dd30ab` at ~1 487 draws a frame had a median deep frame of 5 365 ms — comparable draws, so that is worth a proper A/B on the next quiet machine, not a claim.
ErRusso commented 2026-11-25 12:06:44 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by ErRusso on 2026-11-25T11:15:20Z.

Review: APPROVED


Reviewed the changes since 0f45997 (41c06a0..f23a465). My three blockers are addressed:

  • Launcher: with UMU_ID exported, waitforexitandrun runs the supplied Windows-side exe, not steam.exe. I verified this against the installed GE-Proton11-14 proton script: run() sets umu_without_steam when UMU_ID is present and then uses argv = [wine] + sys.argv[2:]. My earlier runinprefix suggestion was wrong for the UMU_ID path; keeping waitforexitandrun is correct because it still performs Proton's prefix setup. The getcompatpath argument is used correctly for the Wine side.
  • Prefix probing: STEAM_COMPAT_DATA_PATH/WINEPREFIX are now exported before getnativepath/getcompatpath, so a fresh prefix cannot resolve through the wrong root.
  • fmt gate: dropped on this branch, with a comment explaining why. Restore it after #128 lands, since #128 now passes cargo fmt --all -- --check.

The start-screen/VICTORY_KEYS note and the pinned native d3dcompiler_47 path in docs/proton.md match what the Linux reports found. The PR is CONFLICTING with main and still stacks on #128; rebase before merging.

LGTM once rebased.

<!-- greyfinch-sync:fxceless/victory-fork:review:6056598944 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/179#pullrequestreview-6056598944). Originally posted by [ErRusso](https://github.com/ErRusso) on 2026-11-25T11:15:20Z. **Review:** APPROVED --- Reviewed the changes since `0f45997` (`41c06a0`..`f23a465`). My three blockers are addressed: - **Launcher:** with `UMU_ID` exported, `waitforexitandrun` runs the supplied Windows-side exe, not `steam.exe`. I verified this against the installed GE-Proton11-14 `proton` script: `run()` sets `umu_without_steam` when `UMU_ID` is present and then uses `argv = [wine] + sys.argv[2:]`. My earlier `runinprefix` suggestion was wrong for the `UMU_ID` path; keeping `waitforexitandrun` is correct because it still performs Proton's prefix setup. The `getcompatpath` argument is used correctly for the Wine side. - **Prefix probing:** `STEAM_COMPAT_DATA_PATH`/`WINEPREFIX` are now exported before `getnativepath`/`getcompatpath`, so a fresh prefix cannot resolve through the wrong root. - **fmt gate:** dropped on this branch, with a comment explaining why. Restore it after #128 lands, since #128 now passes `cargo fmt --all -- --check`. The start-screen/`VICTORY_KEYS` note and the pinned native `d3dcompiler_47` path in `docs/proton.md` match what the Linux reports found. The PR is `CONFLICTING` with `main` and still stacks on #128; rebase before merging. LGTM once rebased.
slauko commented 2026-11-25 14:10:53 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by slauko on 2026-11-25T14:01:22Z.


The "Known Wine gap: without a pad the start screen sits at 30 fps and 13 draws a frame for ever" has a cause on the host side, and needs no change in the runtime.

Under Wine, XInput reported a gamepad that never presses a button: the keyboard interface of a Logitech G502, an HID interface with BTN_GAMEPAD, which Linux exposes as /dev/input/js0. The runtime gives the title its keyboard stand-in pad only while XInput has no pad at all (any_pad in crates/victory-hle/src/modules/gameinput.rs), so with that device connected the title listens to pad 0 for ever.

The runtime's log tells the two apart:

input device device=0 connected=true     ← the phantom pad: the title waits for it
input device device=4 connected=true     ← the keyboard stand-in: Return goes through

SDL_GAMECONTROLLER_IGNORE_DEVICES_EXCEPT=0000/0000 (a vendor/product pair no device has) keeps every pad from Wine's side. With it the stand-in is back and the start screen takes Return.

With that, the native d3d12/d3d12core/dxgi overrides, vkd3d-proton master@ec20719, the DXC fallback of #20 and the null-blob pipeline library (VIctory#1722), the first-boot screens, the loading art and the intro rendered on an RTX 3080 Ti under Proton Experimental.

<!-- greyfinch-sync:fxceless/victory-fork:comment:7164638120 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/179#issuecomment-7164638120). Originally posted by [slauko](https://github.com/slauko) on 2026-11-25T14:01:22Z. --- The "Known Wine gap: without a pad the start screen sits at 30 fps and 13 draws a frame for ever" has a cause on the host side, and needs no change in the runtime. Under Wine, XInput reported a gamepad that never presses a button: the keyboard interface of a Logitech G502, an HID interface with `BTN_GAMEPAD`, which Linux exposes as `/dev/input/js0`. The runtime gives the title its keyboard stand-in pad only while XInput has no pad at all (`any_pad` in `crates/victory-hle/src/modules/gameinput.rs`), so with that device connected the title listens to pad 0 for ever. The runtime's log tells the two apart: ``` input device device=0 connected=true ← the phantom pad: the title waits for it input device device=4 connected=true ← the keyboard stand-in: Return goes through ``` `SDL_GAMECONTROLLER_IGNORE_DEVICES_EXCEPT=0000/0000` (a vendor/product pair no device has) keeps every pad from Wine's side. With it the stand-in is back and the start screen takes Return. With that, the native `d3d12`/`d3d12core`/`dxgi` overrides, vkd3d-proton `master@ec20719`, the DXC fallback of #20 and the null-blob pipeline library (VIctory#1722), the first-boot screens, the loading art and the intro rendered on an RTX 3080 Ti under Proton Experimental.
upstream-sync closed this pull request 2026-11-26 15:03:56 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
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
fxceless/victory-fork!179
No description provided.