Shader preparation takes ~7.5 minutes on first run (RX 6650 XT) and again lags when entering new areas #711

Closed
opened 2026-11-08 18:09:16 +00:00 by ENPFakeDeveloper · 2 comments
ENPFakeDeveloper commented 2026-11-08 18:09:16 +00:00 (Migrated from github.com)

Hookshot version

2.0.2

What kind of problem

Low fps or stutter

What happened

Hookshot version: v2.0.2 (source 998ef8f9). Also tested a device-lost-fix build (source caaaf2b7).
GPU / driver: AMD Radeon RX 6650 XT, Adrenalin 32.0.21045.16010, Vulkan 1.4
CPU / RAM / OS: Intel Core i5-10400F, 16 GB, Windows 11 Enterprise LTSC 2024
Where: Shader preparation at boot; stutter when entering new areas (e.g. leaving Kokiri Forest towards the valley).
How often: Every time the program cache is empty.

What happened

With an empty program cache, preparing shaders takes a very long time:

Log Build Program cache at start Result
hookshot_log.1.txt v2.0.2 0 keys prepared 31985 shader programs (39842 new, 0 failed, 3808 stage libraries) in 449.8 s
hookshot_log.2.txt device-lost-fix 0 keys prepared 14179 shader programs (21671 new, 43 failed) in 69.6 s; ~31 "does not lower" errors
hookshot_log.txt v2.0.2 39927 keys (~5.6 GB) no recompile, but 1185 pipelines (1421 ms) and several frames over 40 ms

I also felt waits of roughly 10 seconds or more when some shaders load. I did not time this precisely, so it may only be the cold start.

Expected

Faster preparation, or at least clear progress/time-left, and fewer hitches when entering new areas once the cache exists.

Notes

  • I read #617: compiled shaders are tied to GPU and driver, so this cannot be shared. This request is about speeding up or smoothing the local build (e.g. more parallelism, background compile, better ETA).
  • The 5.6 GB program cache seems large; not sure if that is expected.
  • The log also shows a 12288x12288 texture upload taking 334.7 ms.
  • Related visual bugs I commented on: #659, #696, #667.

Logs: hookshot_log.txt, hookshot_log.1.txt, hookshot_log.2.txt (attached below).

Analysis created with Claude; it may contain errors.

Where in the game

Shader preparation at boot; entering new areas

How often

Every time

Graphics card and driver version

AMD Radeon RX 6650 XT Adrenalin driver 32.0.21045.16010

CPU, RAM and operating system

i5-10400F, 16 GB, Windows 11 Enterprise LTSC 2024

Changes from the defaults

Other software hooked into the game

No, nothing hooked in

hookshot_log.txt

hookshot_log.txt

hookshot_log.1.txt

hookshot_log.2.txt

Screenshots or video

No response

Before you send it

  • I'm on the newest release, or the problem is still there on it.
  • I searched the open issues for this problem.
  • I'm not attaching game files, keys, hookshot.exe, the .bin caches or saves.
### Hookshot version 2.0.2 ### What kind of problem Low fps or stutter ### What happened **Hookshot version:** v2.0.2 (source 998ef8f9). Also tested a `device-lost-fix` build (source caaaf2b7). **GPU / driver:** AMD Radeon RX 6650 XT, Adrenalin 32.0.21045.16010, Vulkan 1.4 **CPU / RAM / OS:** Intel Core i5-10400F, 16 GB, Windows 11 Enterprise LTSC 2024 **Where:** Shader preparation at boot; stutter when entering new areas (e.g. leaving Kokiri Forest towards the valley). **How often:** Every time the program cache is empty. ## What happened With an empty program cache, preparing shaders takes a very long time: | Log | Build | Program cache at start | Result | |---|---|---|---| | hookshot_log.1.txt | v2.0.2 | 0 keys | `prepared 31985 shader programs (39842 new, 0 failed, 3808 stage libraries) in 449.8 s` | | hookshot_log.2.txt | device-lost-fix | 0 keys | `prepared 14179 shader programs (21671 new, 43 failed) in 69.6 s`; ~31 "does not lower" errors | | hookshot_log.txt | v2.0.2 | 39927 keys (~5.6 GB) | no recompile, but `1185 pipelines (1421 ms)` and several frames over 40 ms | I also felt waits of roughly 10 seconds or more when some shaders load. I did not time this precisely, so it may only be the cold start. ## Expected Faster preparation, or at least clear progress/time-left, and fewer hitches when entering new areas once the cache exists. ## Notes - I read #617: compiled shaders are tied to GPU and driver, so this cannot be shared. This request is about speeding up or smoothing the local build (e.g. more parallelism, background compile, better ETA). - The 5.6 GB program cache seems large; not sure if that is expected. - The log also shows a 12288x12288 texture upload taking 334.7 ms. - Related visual bugs I commented on: #659, #696, #667. Logs: hookshot_log.txt, hookshot_log.1.txt, hookshot_log.2.txt (attached below). _Analysis created with Claude; it may contain errors._ ### Where in the game Shader preparation at boot; entering new areas ### How often Every time ### Graphics card and driver version AMD Radeon RX 6650 XT Adrenalin driver 32.0.21045.16010 ### CPU, RAM and operating system i5-10400F, 16 GB, Windows 11 Enterprise LTSC 2024 ### Changes from the defaults ### Other software hooked into the game No, nothing hooked in ### hookshot_log.txt [hookshot_log.txt](https://github.com/user-attachments/files/34550679/hookshot_log.txt) [hookshot_log.1.txt](https://github.com/user-attachments/files/34550680/hookshot_log.1.txt) [hookshot_log.2.txt](https://github.com/user-attachments/files/34550681/hookshot_log.2.txt) ### Screenshots or video _No response_ ### Before you send it - [x] I'm on the newest release, or the problem is still there on it. - [x] I searched the open issues for this problem. - [x] I'm not attaching game files, keys, hookshot.exe, the .bin caches or saves.
hckrman101 commented 2026-11-08 19:06:17 +00:00 (Migrated from github.com)

#727 should fix the shader lag when entering new areas

https://git.magicbean.dev/MagicBeanDev/Hookshot/pulls/727 should fix the shader lag when entering new areas
NotRexed commented 2026-11-09 05:54:08 +00:00 (Migrated from github.com)

Tracked in #995, follow there. That issue collects every report of low FPS while the GPU is not fully used, and shader stutter, and this one is linked from it with its GPU, version and log details. If it still happens on v2.0.6 (https://github.com/NotRexed/Hookshot/releases/tag/v2.0.6; Update next to Play in the launcher), please add a comment there with your hookshot_log.txt.

Tracked in #995, follow there. That issue collects every report of low FPS while the GPU is not fully used, and shader stutter, and this one is linked from it with its GPU, version and log details. If it still happens on v2.0.6 (https://github.com/NotRexed/Hookshot/releases/tag/v2.0.6; Update next to Play in the launcher), please add a comment there with your `hookshot_log.txt`.
Commenting is not possible because the repository is archived.
No milestone
No assignees
1 participant
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
MagicBeanDev/Hookshot#711
No description provided.