Run on GE-Proton11-14 from Linux: composer root signature and linux/play.sh #222

Manually merged
github merged 2 commits from github-bot/gh-222 into gh-pr/222/base 2026-11-27 11:56:52 +00:00 AGit
Owner

@⁠zmelumian972 on GitHub · 2026-11-27 10:57 UTC · original
zmelumian972:fix/linux-proton-launcher → main · +181 −14 · 3 files · 2 commits · merged 2026-11-27 11:35 UTC

Two changes that let a cross-compiled build show a picture on GE-Proton11-14 from Linux. The intro still stops later; that's #221.

Composer root signature

compose.rs compiled its root signature from an HLSL [RootSignature] attribute. Wine's d3dcompiler_47 fails that with E_FAIL, so the composer was never made and every frame logged display composer not made error=Call failed. (0x80004005). On Series S the presented frames were black.

  • The root signature is now built in Rust with D3D12SerializeRootSignature: the SRV table (t0–t1) and one root constant (b0) for the pixel shader, and a linear clamp static sampler (s0). These are the same parameters the HLSL string declared.
  • The shaders compile as vs_5_0/ps_5_0. They use no 5.1 features.
  • A compile or serialization failure now logs the error blob's text.

linux/play.sh

Runs a build from cargo xwin build --target x86_64-pc-windows-msvc on GE-Proton11-14's Wine, outside Steam:

  • play.ps1's base and NVIDIA settings, with SAFE=1 for -Safe, and WINDOWED=1 / NOPANEL=1.
  • Uses GE-Proton11-14-viewtree when linux/wineserver/build.sh has built it, and keeps one prefix per Proton version.
  • Calls files/bin/wine directly with Proton's DLL overrides, because proton run victory.exe exits 1 with no output. Proton is only used to create the prefix.
  • The title runs in a network namespace with only loopback (NET=1 turns that off).
  • Pretranslates shaders when the cache holds fewer than 1,000, like play.ps1, and keeps the last two runs' output.

The README's Linux section gets a short note, including the native d3dcompiler_47 that the runtime HLSL needs, as #33 also found.

Testing

  • Linux, GE-Proton11-14, RTX 5090 (driver 620.73.04), Series S profile:
    • Before: 0 composed frames and a composer warning every frame.
    • After: 0 composer warnings, and the overlay and the title's account picker and loading art are presented at 30 fps.
    • Checked with screenshots, not a full recording.
  • cargo xwin clippy -p victory-gpu --all-targets with and without --all-features, -D warnings, for x86_64-pc-windows-msvc: clean.
  • Not tested on Windows. The workspace tests and a Windows run of the composer are still to do. The composer's behaviour should be unchanged there, since the root signature and shaders are the same.

🤖 Generated with Claude Code

https://claude.ai/code/session_013YhYvd7QZSJ9mpKsVQkvgy

**@⁠zmelumian972** on GitHub · 2026-11-27 10:57 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/222) `zmelumian972:fix/linux-proton-launcher` → `main` · +181 −14 · 3 files · 2 commits · merged 2026-11-27 11:35 UTC Two changes that let a cross-compiled build show a picture on GE-Proton11-14 from Linux. The intro still stops later; that's #221. ## Composer root signature `compose.rs` compiled its root signature from an HLSL `[RootSignature]` attribute. Wine's `d3dcompiler_47` fails that with `E_FAIL`, so the composer was never made and every frame logged `display composer not made error=Call failed. (0x80004005)`. On Series S the presented frames were black. - The root signature is now built in Rust with `D3D12SerializeRootSignature`: the SRV table (t0–t1) and one root constant (b0) for the pixel shader, and a linear clamp static sampler (s0). These are the same parameters the HLSL string declared. - The shaders compile as `vs_5_0`/`ps_5_0`. They use no 5.1 features. - A compile or serialization failure now logs the error blob's text. ## `linux/play.sh` Runs a build from `cargo xwin build --target x86_64-pc-windows-msvc` on GE-Proton11-14's Wine, outside Steam: - play.ps1's base and NVIDIA settings, with `SAFE=1` for `-Safe`, and `WINDOWED=1` / `NOPANEL=1`. - Uses `GE-Proton11-14-viewtree` when `linux/wineserver/build.sh` has built it, and keeps one prefix per Proton version. - Calls `files/bin/wine` directly with Proton's DLL overrides, because `proton run victory.exe` exits 1 with no output. Proton is only used to create the prefix. - The title runs in a network namespace with only loopback (`NET=1` turns that off). - Pretranslates shaders when the cache holds fewer than 1,000, like play.ps1, and keeps the last two runs' output. The README's Linux section gets a short note, including the native `d3dcompiler_47` that the runtime HLSL needs, as #33 also found. ## Testing - Linux, GE-Proton11-14, RTX 5090 (driver 620.73.04), Series S profile: - Before: 0 composed frames and a composer warning every frame. - After: 0 composer warnings, and the overlay and the title's account picker and loading art are presented at 30 fps. - Checked with screenshots, not a full recording. - `cargo xwin clippy -p victory-gpu --all-targets` with and without `--all-features`, `-D warnings`, for `x86_64-pc-windows-msvc`: clean. - **Not tested on Windows.** The workspace tests and a Windows run of the composer are still to do. The composer's behaviour should be unchanged there, since the root signature and shaders are the same. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_013YhYvd7QZSJ9mpKsVQkvgy
The display composer compiled its root signature from an HLSL
[RootSignature] attribute. Wine's d3dcompiler fails that with E_FAIL, so
the composer was never made and every frame logged "display composer not
made". The root signature is now built with D3D12SerializeRootSignature,
the shaders compile as SM 5.0, and a compile failure logs the compiler's
message.

linux/play.sh starts a cross-compiled build on GE-Proton11-14's Wine with
play.ps1's NVIDIA settings (SAFE=1 for -Safe), in a network namespace with
only loopback. It prefers GE-Proton11-14-viewtree, keeps one prefix per
Proton version, pretranslates shaders when the cache is cold, and keeps the
last two runs' output.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013YhYvd7QZSJ9mpKsVQkvgy
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 11:01:41 +00:00
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 11:11 UTC · original

@⁠zmelumian972 I put a launcher fix on top of c6c0172. It records the title’s exit status under pipefail and keeps NET=0 inside the network namespace. I checked Bash syntax and exercised exit statuses 0 and 37 plus the NET=0 branch with a synthetic child process. GitHub’s Git data endpoint denied the direct fork write, so the commit is on our side with linux/play.sh still executable. Tested commit cdca82a

The composer change still needs its Windows check, and the prestream stall stays in #221.

**@⁠TaynanGT** on GitHub · 2026-11-27 11:11 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/222#issuecomment-7216791159) @⁠zmelumian972 I put a launcher fix on top of `c6c0172`. It records the title’s exit status under `pipefail` and keeps `NET=0` inside the network namespace. I checked Bash syntax and exercised exit statuses 0 and 37 plus the `NET=0` branch with a synthetic child process. GitHub’s Git data endpoint denied the direct fork write, so the commit is on our side with `linux/play.sh` still executable. [Tested commit cdca82a](https://github.com/TaynanGT/Vice-Tay/commit/cdca82a51491dcfd6f2fb1ec984a08f3d9af6e2d) The composer change still needs its Windows check, and the prestream stall stays in #221.
Report the child exit status even under pipefail and require NET=1 to enable networking.
Author
Owner

@⁠zmelumian972 on GitHub · 2026-11-27 11:21 UTC · original · edited 2026-11-27 11:26 UTC

Honestly I let Claude build and test and once he found an issue and fixed it I asked him to make a PR

Your launcher fix looks good, let me test on my environment (which is not windows.. sorry)

After it I will add cdca82a and ask Claude to repost here

**@⁠zmelumian972** on GitHub · 2026-11-27 11:21 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/222#issuecomment-7216983820) · edited 2026-11-27 11:26 UTC Honestly I let Claude build and test and once he found an issue and fixed it I asked him to make a PR Your launcher fix looks good, let me test on my environment (which is not windows.. sorry) After it I will add cdca82a and ask Claude to repost here
Author
Owner

@⁠zmelumian972 on GitHub · 2026-11-27 11:25 UTC · original

Thanks. The branch now includes cdca82a (fast-forward, your authorship kept). I tested it with the title on Linux (GE-Proton11-14, RTX 5090, Series S, diag build at cdca82a):

  • No GAME: prints set GAME to the folder with game_scarlett_master.exe and exits 1.
  • NET=0: the running victory.exe is in its own network namespace, with only lo.
  • NET=1: same namespace as the shell, with the host's interfaces.
  • Full run, windowed, A at the picker: the title reaches the intro prestream and hits the watchdog fatal from #221 (+0x23cf683, Unsignaled CrossQueueBarrier). last-run.log ends with exit code: 5 and the script exits 5.

I can't test the composer on Windows from here.

🤖 Generated with Claude Code

**@⁠zmelumian972** on GitHub · 2026-11-27 11:25 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/222#issuecomment-7217057228) Thanks. The branch now includes `cdca82a` (fast-forward, your authorship kept). I tested it with the title on Linux (GE-Proton11-14, RTX 5090, Series S, diag build at `cdca82a`): - **No `GAME`:** prints `set GAME to the folder with game_scarlett_master.exe` and exits 1. - **`NET=0`:** the running `victory.exe` is in its own network namespace, with only `lo`. - **`NET=1`:** same namespace as the shell, with the host's interfaces. - **Full run, windowed, A at the picker:** the title reaches the intro prestream and hits the watchdog fatal from #221 (`+0x23cf683`, `Unsignaled CrossQueueBarrier`). `last-run.log` ends with `exit code: 5` and the script exits 5. I can't test the composer on Windows from here. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 11:30 UTC · original

@⁠zmelumian972 The native Proton run confirms the launcher now passes exit status 5 through to the shell, and NET=0 and NET=1 select the expected namespaces. I verified cdca82a is at the PR head and linux/play.sh is still executable. Windows CI is running against that head. The prestream wait stays in #221.

**@⁠TaynanGT** on GitHub · 2026-11-27 11:30 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/222#issuecomment-7217146188) @⁠zmelumian972 The native Proton run confirms the launcher now passes exit status 5 through to the shell, and `NET=0` and `NET=1` select the expected namespaces. I verified `cdca82a` is at the PR head and `linux/play.sh` is still executable. Windows CI is running against that head. The prestream wait stays in #221.
github-bot changed target branch from main to gh-pr/222/base 2026-11-27 11:56:51 +00:00
github manually merged commit cdca82a514 into gh-pr/222/base 2026-11-27 11:56:52 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.