Keep the native launcher alive for F1 and warm-up restarts under Proton #2168
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!2168
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2168"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@BlackpawNR on GitHub · 2026-11-29 10:08 UTC · original
BlackpawNR:fix/proton-menu-restart→main· +193 −27 · 7 files · 1 commits · openFixes #1954
What it changes
Under Wine, the native
victory playlauncher stays alive while the game runs. F1 and the warm-up timer can ask it to start the game again, preload shaders, or clear the shader cache. The launcher waits for the previous game process to exit, then starts the same executable with its original arguments, working directory and terminal. An ordinary exit or crash ends the session with the original exit status.A preload requested on the command line is consumed on the first start. Each later start reads the saved F1 settings again. This also prevents an explicitly configured warm-up timer from repeatedly restarting the same session.
How it was tested
SAVED, BUT THE RESTART FAILED.victory.exe playinvocation launched the title four times. The fixture wrote a 60 FPS setting in the F1 settings file and verified it on each subsequent start. The launcher preloaded once, cleared the cache once, preserved a quoted argument, and returned the fixture's final exit code 37. Repeating with--preloadadded exactly one initial preload across the same four starts. This exercised the launcher with the Series S profile and DLSS off. Gameplay and rendering performance were outside this test.cargo test --locked -p victory -p victory-gpu -p victory-hlepassed on Windows. The three packages had 1,423 passing tests and 62 ignored.cargo xtask policy --stagedandgit diff --cached --checkpassed.Checked for overlap
Implementation and verification were assisted by Codex.
@andrewpozdnakov7-jpg on GitHub · 2026-11-30 13:55 UTC · original
I replayed
9d65f47cleanly on the current release main41adb551(v2026.11.29.05) and tested the restart path on native Windows.NotFound. On main, the request returnedSAVED, BUT THE RESTART FAILEDand the regression assertion failed. With this PR, the supervised child returned thePlayrestart action to its parent and the assertion passed with the same unavailable-shell fixture.Play,PreloadandClearShaders. It also checks that a supervised restart suppresses the one-time warmup timer.0,37and synthetic0xc0000005, it ran four child steps in the same Unicode working directory, preserved the requested preload and clear transitions, and forwarded the final status.These are native Windows confirmations on the latest base. Your Debian Wine/Proton synthetic-title run remains the Linux end-to-end test. GitHub currently shows the label check only for this PR. A runner result and maintainer review are pending.
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.