Keep the presenter windowed when Alt+Enter is pressed #149
No reviewers
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX!149
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-149"
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?
@feanorsun on GitHub · 2026-11-26 07:39 UTC · original
feanorsun:fix/ignore-dxgi-alt-enter→main· +2 −0 · 1 files · 1 commits · openRefs #91
The reporter observed that Alt+Enter froze the picture on an RX 9070 while audio continued, and identified staying windowed as an acceptable outcome.
After creating the swap chain, the presenter now calls
MakeWindowAssociation(hwnd, DXGI_MWA_NO_ALT_ENTER)on the same DXGI factory. The HWND is the one passed toCreateSwapChainForHwnd, whether it came from the title or from the fallback window. An association failure propagates through the presenter's existing error path.Windows verification
cargo check --locked -j 1 -p victory-gpu --libandgit diff --checkpassed.Host::presenterto create a swap chain for one visible 640 × 240 window on an NVIDIA GeForce RTX 5080 Laptop GPU. It presented changing colors, displayed the frame count in the title, and dispatched a manually entered Alt+Enter normally.AMD reporter retest
The original game cutscene on the RX 9070 with Adrenalin 26.11.2 still needs confirmation. During the cutscene, press Alt+Enter once and check that the window stays windowed and the picture continues moving alongside the audio.
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.