Alt+Enter freezes the picture while the title keeps running (RX 9070, e2a28ec + #55) #91

Open
opened 2026-11-26 03:32:01 +00:00 by github-bot · 1 comment
Owner

@⁠Toons29 on GitHub · 2026-11-26 03:09 UTC · original

Alt+Enter freezes the picture, but the title keeps running. Alt+Enter again brings it back.

Build e2a28ec + #55 (ae39f3c), diag build
GPU AMD Radeon RX 9070 (RDNA 4), Adrenalin 26.11.2, driver 32.0.32029.2010
OS Windows 11 build 26300
Run scripts\play.ps1 settings, windowed, Series X profile

Steps

  1. Start the title, so it is in its window. This happened in a cutscene in the prison/office part of the first mission.
  2. Press Alt+Enter.

What happens

  • The window shows the last frame and doesn't change.
  • The cutscene's audio goes on.
  • Pressing Alt+Enter again brings the picture back, at the same ~15 fps as before.

Expected: a full-screen picture, or Alt+Enter ignored.

Possible cause (from reading the code, not tested): I found no MakeWindowAssociation / DXGI_MWA_NO_ALT_ENTER or full-screen handling in the tree. DXGI's own Alt+Enter handling probably switches the swap chain to full screen without the buffers being resized. The run log has no line at the moment of the switch, and no device removal.

AI use: Claude Code (Claude Opus 5.5) checked the code and log, and wrote and posted this issue on my behalf with my go-ahead. I saw the problem in my own run.

**@⁠Toons29** on GitHub · 2026-11-26 03:09 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/91) **Alt+Enter freezes the picture, but the title keeps running. Alt+Enter again brings it back.** | | | |---|---| | Build | `e2a28ec` + #55 (`ae39f3c`), diag build | | GPU | AMD Radeon RX 9070 (RDNA 4), Adrenalin 26.11.2, driver 32.0.32029.2010 | | OS | Windows 11 build 26300 | | Run | `scripts\play.ps1` settings, windowed, Series X profile | **Steps** 1. Start the title, so it is in its window. This happened in a cutscene in the prison/office part of the first mission. 2. Press Alt+Enter. **What happens** - The window shows the last frame and doesn't change. - The cutscene's audio goes on. - Pressing Alt+Enter again brings the picture back, at the same ~15 fps as before. **Expected:** a full-screen picture, or Alt+Enter ignored. **Possible cause (from reading the code, not tested):** I found no `MakeWindowAssociation` / `DXGI_MWA_NO_ALT_ENTER` or full-screen handling in the tree. DXGI's own Alt+Enter handling probably switches the swap chain to full screen without the buffers being resized. The run log has no line at the moment of the switch, and no device removal. AI use: Claude Code (Claude Opus 5.5) checked the code and log, and wrote and posted this issue on my behalf with my go-ahead. I saw the problem in my own run.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:32:01 +00:00
Author
Owner

@⁠mintymerry7-create on GitHub · 2026-11-26 20:12 UTC · original

A workaround that works here (RX 9060 XT, same driver 32.0.32029.2010, Windows 11 26300). Instead of changing the display mode, make the window borderless and stretch it over the monitor from outside the process. The title keeps presenting, with FSR and frame generation on, and Alt+Tab works.

A small PowerShell script started next to the game:

Add-Type @"
using System; using System.Runtime.InteropServices;
public class W {
  [DllImport("user32.dll", EntryPoint="GetWindowLongPtrW")] public static extern IntPtr Get(IntPtr h, int i);
  [DllImport("user32.dll", EntryPoint="SetWindowLongPtrW")] public static extern IntPtr Set(IntPtr h, int i, IntPtr v);
  [DllImport("user32.dll")] public static extern bool SetWindowPos(IntPtr h, IntPtr a, int x, int y, int cx, int cy, uint f);
}
"@
Add-Type -AssemblyName System.Windows.Forms
$b = [System.Windows.Forms.Screen]::PrimaryScreen.Bounds
do { Start-Sleep -Milliseconds 700; $p = Get-Process victory -EA 0 | ? MainWindowHandle -ne 0 | select -First 1 } until ($p)
$h = $p.MainWindowHandle
$s = [W]::Get($h, -16).ToInt64() -band (-bnot (0x00C00000 -bor 0x00040000 -bor 0x00080000 -bor 0x00020000 -bor 0x00010000))
[void][W]::Set($h, -16, [IntPtr]((($s -band 0xFFFFFFFFL) -bor 2147483648L)))   # + WS_POPUP
[void][W]::SetWindowPos($h, [IntPtr]::Zero, $b.X, $b.Y, $b.Width, $b.Height, 0x0020 -bor 0x0040 -bor 0x0200)

The cost: at 2560×1440 it ran a few fps slower here than the 1920×1080 window, because frame generation and presentation work on 1.8× the pixels. So we went back to the window. A full RDNA4 config: #345.

(AI-assisted)

**@⁠mintymerry7-create** on GitHub · 2026-11-26 20:12 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/91#issuecomment-7202413196) A workaround that works here (RX 9060 XT, same driver 32.0.32029.2010, Windows 11 26300). Instead of changing the display mode, make the window borderless and stretch it over the monitor from outside the process. The title keeps presenting, with FSR and frame generation on, and Alt+Tab works. A small PowerShell script started next to the game: ```powershell Add-Type @" using System; using System.Runtime.InteropServices; public class W { [DllImport("user32.dll", EntryPoint="GetWindowLongPtrW")] public static extern IntPtr Get(IntPtr h, int i); [DllImport("user32.dll", EntryPoint="SetWindowLongPtrW")] public static extern IntPtr Set(IntPtr h, int i, IntPtr v); [DllImport("user32.dll")] public static extern bool SetWindowPos(IntPtr h, IntPtr a, int x, int y, int cx, int cy, uint f); } "@ Add-Type -AssemblyName System.Windows.Forms $b = [System.Windows.Forms.Screen]::PrimaryScreen.Bounds do { Start-Sleep -Milliseconds 700; $p = Get-Process victory -EA 0 | ? MainWindowHandle -ne 0 | select -First 1 } until ($p) $h = $p.MainWindowHandle $s = [W]::Get($h, -16).ToInt64() -band (-bnot (0x00C00000 -bor 0x00040000 -bor 0x00080000 -bor 0x00020000 -bor 0x00010000)) [void][W]::Set($h, -16, [IntPtr]((($s -band 0xFFFFFFFFL) -bor 2147483648L))) # + WS_POPUP [void][W]::SetWindowPos($h, [IntPtr]::Zero, $b.X, $b.Y, $b.Width, $b.Height, 0x0020 -bor 0x0040 -bor 0x0200) ``` The cost: at 2560×1440 it ran a few fps slower here than the 1920×1080 window, because frame generation and presentation work on 1.8× the pixels. So we went back to the window. A full RDNA4 config: #345. (AI-assisted)
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/avatarmanz--VIctory-7900XTX#91
No description provided.