After switching Game speed to Per frame once, saves in large areas load at ~5 fps on every later start #519
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#519
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?
What happens
After switching Game speed to Per frame once (and back to Real time), the game runs at about 4-5 fps on every later start, as soon as the first save loaded is in a large area (Goron City, Darunia's room, Death Mountain Trail, Hyrule Field). Once that happens, every save loaded in the same session runs at about 5 fps.
Before switching to Per frame for the first time, the same saves ran normally when loaded first after starting the game (40-60 fps in Goron City).
Steps
Reproduced twice. Restarting the PC does not undo it.
What still works after step 3: loading a save at the entrance of Kakariko Village first (about 25 fps), then any other save, which then runs normally.
What I checked
option.sav,hookshot_options.iniand the three cache files (hookshot_programs.bin,hookshot_pipelines.bin,mkw_vk_pipelines.bin) from before step 2 did not undo it; neither did removing the caches or the NVIDIA shader cache.Log of a slow session
VRAM: 4052 MB used of 3367 MB allowed (961 MB of it free in the blocks); textures 432 MB (budget 0 MB), up to 5602 MB used with 2565 MB of texturesGPU time130-240 ms a frame;slow submit: 180 ms: draw 179 descriptors 177 texture lookups 1760 waits for shaders or pipelines,0 jobs queuedSetup
Log of a slow session (Goron City save loaded first): https://gist.github.com/hallygtree/2ccdd7327f087579442d97d4ba42d95c
I can send the save I used if it helps.
Update: after a crash (#287), I started the game and loaded my newest save first, without loading the Kakariko save before it, and it ran normally (about 25-40 fps). That save was made today, after the Per frame problem started, in a session that began with the Kakariko workaround. The save from before the Per frame switch (Goron City) still loads at about 5 fps unless the Kakariko save is loaded first.
Thanks for the detailed report: the log showed it. On your 4 GB card the scene's textures were decoded uncompressed (1.75 GB of them in Goron City), so VRAM went to 5.6 GB of the 3.3 the driver allows and the driver paged. Release https://github.com/NotRexed/Hookshot/releases/tag/low-vram keeps them compressed on cards with under 6 GB (a quarter of the size). Could you update and try the Goron City save again?
Tested v2.0.1 with the Goron City save from before the Per frame switch, the same files both times:
The log shows big ASTC textures kept as BC3.
Logs:
Tracked in #993, follow there. That issue collects every report of garbled or rainbow textures that get worse over play time, and this one is linked from it with its GPU, version and log details. It is a known issue in v2.0.6 and not fixed yet. 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.