Skip to content

U-7: Provide tested Linux Proton launch path - #52

Merged
ShinniUwU merged 5 commits into
ProjectLeonidaL:mainfrom
JohnReedV:codex/u7-linux-proton-launch
Nov 26, 2026
Merged

ShinniUwU merged 5 commits into
ProjectLeonidaL:mainfrom
JohnReedV:codex/u7-linux-proton-launch

Conversation

@JohnReedV

@JohnReedV JohnReedV commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

What changed

Closes U-7 with a repeatable Linux launch path for a Windows Leonida build under Steam Flatpak Proton. The helper creates a dedicated Wine prefix with the required native graphics DLLs, grants and checks the host audio socket before title execution, keeps derived data outside the checkout, and grants selected game paths read-only. It can copy a matching newer vkd3d-proton x64 DLL pair into that prefix when Proton's bundled version fails during world loading. The README gives build, launch, and troubleshooting steps, including the limits of Flatpak as a security boundary.

How it was tested

  • cargo xwin build --release --locked --offline --target x86_64-pc-windows-msvc -p leonida on Linux.
  • bash -n run-gta6-linux.sh, invalid-path checks, git diff --check, and cargo xtask policy (241 files).
  • Bind-only run: zero missing imports with the manifest's filename casing different from Leonida's spelling and an explicit external graphics config.
  • No-audio run: the helper stopped before title execution with an actionable audio-socket error. A separate earlier no-audio title run reached the same early breakpoint twice; audio-enabled runs did not.
  • Bounded 75-second title run in an additional offline sandbox presented at least 1,024 frames at the start UI without a title breakpoint, device loss, or crash report.
  • Longer offline title run with Proton 11.0 and newer official vkd3d-proton DLLs from this CI build passed the compute-pipeline creation point where Proton's bundled vkd3d-proton 3.0.0 had exited, reached the opening sequence, then stopped at a separate title resource-pool breakpoint before gameplay. The workaround passes this graphics-compiler blocker; it does not establish a playable game.
  • Windows CI passed on 2f024d6 (cargo test --workspace --locked and both required Clippy suites).

Playtest

GPU and driver RTX 5090, NVIDIA 580.173.02
CPU, RAM Intel Core i9-14900KS, 62 GiB
Host and Wine/Proton Pop!_OS 22.04, Proton 11.0 / Wine 11.0, Steam Flatpak
Console profile Series X
Furthest point Opening sequence with newer vkd3d-proton DLLs; gameplay was not reached.
Long run About 12 minutes 41 seconds before the separate resource-pool breakpoint.
Frame rate before / after Not compared; this PR changes launch setup, not rendering or pacing.

No screenshot, log, executable, or game file is attached or committed.

AI

  • AI-assisted: launcher implementation, documentation, launch triage, and tests.

@JohnReedV
JohnReedV marked this pull request as ready for review November 26, 2026 21:41
@ShinniUwU
ShinniUwU merged commit a4c4092 into ProjectLeonidaL:main Nov 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants