run.sh: Wayland/HDR environment and keep-awake while playing #207
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem!207
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-207"
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?
@HeroOfOlympus on GitHub · 2026-12-02 16:25 UTC · original
HeroOfOlympus:run-sh-wayland-hdr→main· +35 −1 · 1 files · 1 commits · openSets the Proton Wayland/HDR environment when
VICTORY_HDR=1, and holds a sleep inhibitor while the game runs.🤖 Generated with Claude Code
@Luxuride on GitHub · 2026-12-04 12:01 UTC · original
Half of this landed while you were away:
run.sh:279-282onmainalready builds thesystemd-inhibit --what=sleep:idlearray and prefixessystemd-run --user --scopewith it (293c6cc). What is genuinely new here is only the power-profile choice and the KDE screensaver inhibitor.The HDR block is the problem:
run.sh:95-99turns HDR on for anyone who hasDXVK_HDR=1exported globally for other games, and assignsVICTORY_HDR=1a meaning that differs fromVICTORY_HDR_NITSon main. It also cannot see a user-exportedVICTORY_HDR, becauserun.sh:60unsets everyVICTORY_*before that point.Also: if
powerprofilesctl launchorkde-inhibitexists but fails, the wrapper's exit code becomes the game's exit code and feeds run.sh's restart logic instead of falling back to a plain launch.And a rebase trap: on this branch the
WINEDLLOVERRIDESmerge works because the base export is above it (run.sh:48), but onmainthat export is atrun.sh:103, after the insertion point — a naive rebase makes the whole Wayland override block dead code.If you want Wayland to be first class, send a PR that only adds the winex11/winewayland overrides below main's
WINEDLLOVERRIDESline, with a README sentence, and leave HDR toVICTORY_HDR_NITS.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.