fix(gpu): disable DXGI Alt+Enter exclusive fullscreen on FSR 3 swap chain #1132
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1132"
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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by adwen-007 on 2026-11-28T13:50:54Z.
Problem
host.rscallsMakeWindowAssociation(hwnd, DXGI_MWA_NO_ALT_ENTER)when Streamline creates the swap chain, butstreamline::fsr::swap_chaindid not. On RTX 30-series / non-DLSS-FG cards running FSR 3 Frame Generation, pressingAlt+Enterlets DXGI attempt an exclusive fullscreen transition on FidelityFX's frame interpolation swap chain, freezing video output while audio continues playing.Fix
Call
factory.MakeWindowAssociation(hwnd, DXGI_MWA_NO_ALT_ENTER)incrates/victory-gpu/src/streamline/fsr.rsright after creating the FidelityFX swap chain, matching the Streamline path.Verification
cargo check -p victory-gpupasses cleanly onv2026.11.28.01(63b902f).VICTORY_FSR_FRAMEGEN=1: pressingAlt+Enterno longer freezes the frame interpolation swap chain.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by nick0451 on 2026-11-29T02:08:08Z.
Tested on the card class this PR is for: RTX 3090 (Ampere, no DLSS FG, so FSR 3 FG), driver 610.88, Windows 11, windowed. This PR merged onto main
d148613against maind148613, Series S, DLSS performance, F1 FRAME GENERATION 2X with FG type FSR. Same frozen save. About 30 s into the world, the game's window gets one Alt+Enter (keybd_event, window in front). The whole screen is captured 4, 7 and 10 s later, and Windows'SHQueryUserNotificationStateis read before and after.FSR 3 frame generation: 209 presents with it on)FPS 16.2 FG 32.4: a frozen picture175 presents with it on)FG 33.8→25.4)So on main, Alt+Enter with FSR 3 FG on takes FidelityFX's swap chain into exclusive fullscreen and the output freezes, as described. With this PR, DXGI leaves it alone. No crash in either run.
🤖 Generated with Claude Code