First run with a cold cache: ~20 fps, black/flickering textures, then interrupted prepare leaves the next start broken until cache rebuilt #388
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#388
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?
Builder version
foliage-linux-updater
How you built
Hookshot Builder zip, GUI, .nup
Game files given to it
A .nup
The error
A new user's first hour (all from
hookshot_log.txt, RTX 5070 Ti):the last start did not finish the driver's part of the shaders: left out, thenprepared 14179 shader programs (10440 new, 105 failed) in 17.0 s— i.e. 10,440 of 14,179 programs compiled at runtime, and 105 programs failed to translate (matching #148's "~100 shader programs fail to translate"). Those failures persist for the whole session.translation 129070 ms in allclimbing to 205 s, with visible hitches exactly at pipeline bursts — +345 pipelines in one frame at present 17760 (2.8 fps), +194 at 23280 (18.7 fps). The user-visible symptoms: ~20 fps dips, blackened/flickering textures, horizontal phasing flicker while moving.the last start did not finish the driver's part of the shadersagain and re-pays part of the cost. Nothing indicates to the user that closing early loses work.Second run with a warm 97 MB
mkw_vk_pipelines.bin:translation 0 msat boot, 60 fps — same machine, same area. So the entire first-hour experience is cache warm-up plus the 105 failed programs.Suggestions:
Relates to #334 (shareable pipeline manifest would remove most of the warm-up).
Visual Studio or Build Tools version, and Windows SDK version
VS Build Tools 2022, MSVC 14.44, Windows SDK 10.0.26100
Operating system and free space on the output drive
Windows 11, ~60 GB free
Confirmations
Fixed in https://github.com/NotRexed/Hookshot/releases/tag/ultrawide. Please reopen if it still happens with that release.