GPU hang (device lost) on Steam Deck: mesh draws with extended-register pixel shaders (near Deku Tree) #1424
Labels
No labels
accessibility
autorelease: pending
autorelease: tagged
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
testing wanted
wontfix
No milestone
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Hookshot#1424
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?
Hookshot version
v2.0.11
What kind of problem
Crash, freeze or black screen
What happened
Hookshot v2.0.11, Steam Deck (RADV VANGOGH).
Note: the log names the app mkw-recomp, but this is Ocarina of Time.
The game reliably hangs the GPU near the Deku Tree, especially when looking around. The kernel shows ring gfx_0.0.0 timeout … Process hookshot followed by a GPU reset.
There’s also heavy flickering, with or without the workaround. The logs show repeated “upload over a drawn image” on screen-sized targets (1536×864, 384×216).
Where in the game
3D rendered areas, only Kokiri forest so far
How often
Every time
Graphics card and driver version
RDNA 2
CPU, RAM and operating system
Van Gogh, SteamOS
Changes from the defaults
Workaround (Thank you claude):
RX_VK_SKIP_CODE=463f42630fce83a0,d38b0d52a94ab5a8,40d0c0768e874600
RX_VK_NO_EXTREGS=1
also avoids the hang, but ~20 shaders then fail to lower and ~87 draws per frame are dropped.
Other software hooked into the game
No, nothing hooked in
hookshot_log.txt
RX_VK_CHECKPOINTS=1 identified the hung draws:
mesh program 89ca750f9852b7ca = mesh 1c45a2b32040620d + pixel d38b0d52a94ab5a8
mesh program 636eed4d5000d1c0 = mesh 0801cca176fd6c81 + pixel 40d0c0768e874600
Both pixel shaders are “lowered with extended registers”. 463f42630fce83a0 (also extended-register, used with a mesh shader) caused earlier freezes too.
Screenshots or video
No response
Before you send it
Thanks for the detailed report (ring timeout near the Deku Tree, mesh draws with extended-register pixel shaders, uploads over screen-sized drawn images). Steam Deck GPU hangs are tracked in #1000, which links this. Closing this as a duplicate; please follow #1000.
Thanks! I'm graduating high school (similar to you(?))
but I'm still currently one, this is insane work man keep it up!!!
Also-- is there any way to get my save files from Lichii over to Hookshot? Idk much abt how the save files work I havent poked around but I imagine it is hard if not impossible..