tools: proton-run.sh runs Wine in a headless gamescope without a display #181
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/vktory6--VKtory!181
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-181"
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?
@360900 on GitHub · 2026-12-02 00:29 UTC · original
360900:fix/proton-run-headless→main· +21 −0 · 2 files · 1 commits · openWhat
Without
DISPLAYandWAYLAND_DISPLAYWine waits forever at its first window-system call (prefix creation, a D3D12 device), sotools/proton-run.shnever came back from an ssh session or a job without a desktop. It now runs itself ingamescope --backend headlessthen, withwinebus.sysoff (its winedevice.exe outlives the wineserver and gamescope waits for it), and passes the program's exit status through a status file (gamescope's is not the child's).With a display nothing changes.
The reference
No counterpart: a tool.
Evidence
tools/proton-run.sh cmd /c exit 3returns 3,exit 0returns 0; before, both hung.Checklist (docs/AGENTS.md)
docs/TASKS.mdnot edited (rule 29)unsafeblock has a// SAFETY:comment (rule 36): no RustTRANSLATOR_VERSION: the translator is not touched (rule 27)@vktory6 on GitHub · 2026-12-02 17:37 UTC · original
Merged, thanks: proton-run.sh runs without a display through a headless gamescope and passes the exit status back.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.