Game: GPU hang (no submission finishes for 30 s) right after the game window loses focus, RX 9070 XT, Windows #316
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/renderer
area/saves
area/upscaling
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
testing wanted
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot#316
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Longshot version
v3.0.0-rc.3 (source cb01b5a3)
Channel
Release candidate
What kind of problem
Crash, freeze or black screen
What happened
Three times in one evening the game froze and then closed with
vk: FATAL: the GPU hung: no submission finished in 30 s, and the driver never reported the device lost. Every time it happened a few seconds after I switched from the game (fullscreen) to a browser window. Before that the game ran normally at 60 fps.All three hangs show the same sequence in the log:
hid: game window not in front (foreground window: ... "MozillaWindowClass" / "Chrome_WidgetWin_1")vk: slow present: ~200 ms(second hang)vk: a capture's wait for write-back ... timed outvk: slow submit: ~251 ms: memory sync ~251 [... capture ~251 ...]vk: the GPU has finished nothing for 10 s→30 s→GPU hang→device fault:(empty) →FATALSecond hang (20:42 local, log attached):
First hang (19:31 local; that log has since been rotated away, these lines were copied from it before):
Third hang (about 21:08 local, log attached; the controller was lying still on the table, so the motion-debug lines show a pad at rest):
Earlier focus switches in the same sessions did not hang (in the third session 3 switches were fine, the 4th hung), so it doesn't happen on every switch. Windows logged no display driver reset (no TDR event). Note: during the first hang the CPU had an unstable undervolt (Windows logged corrected WHEA cache errors). I reverted it to stock before the second hang, and no WHEA errors were logged after that, so the second hang happened on a stable system.
I can run again with
RX_VK_CHECKPOINTS=1if markers would help.Where in the game
Dodongo's Cavern (the second dungeon), playing normally. The hangs don't seem tied to a spot: each came right after I switched from the game to the browser.
How often
Sometimes (3 hangs in about 2 hours of play, all right after switching to another window)
Graphics card and driver version
AMD Radeon RX 9070 XT, AMD Software 26.20.15.07 (driver 32.0.32015.7029; Vulkan reports driver 0x8001a0)
CPU, RAM and operating system
Ryzen 7 5800X3D (stock), 32 GB, Windows 11 Pro 25H2 (build 26200)
Changes from the defaults
longshot_env.txtfor the first two hangs;HOS_MOTION_DEBUG=1for the third (only extra logging); no ReShade or other injectorlongshot_log.txt
longshot_log_hang_2042.zip(second hang) andlongshot_log_hang_3.zip(third hang); the Windows user name in one path is replaced with USERBefore you send it
Prepared with help from Claude; the facts and logs are from my PC.