shader stutters and freezes even with shader prebuilded from automatic run #1048
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#1048
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
2.0.6
What kind of problem
Low fps or stutter
What happened
it seems like the precompiled shaders dosent prevent ocasional freezes and stutters.
Where in the game
castle as child
How often
Every time
Graphics card and driver version
rtx 3080 lastest driver
CPU, RAM and operating system
intel 12 gen, windows 11
Changes from the defaults
No response
Other software hooked into the game
No, nothing hooked in
hookshot_log.txt
hookshot_log.txt
Screenshots or video
No response
Before you send it
Yes. I agree, it's duplicate of #1033
The game compiled the shaders, still we encounter some stuttering in game.
yeah it seems the game uses 120k shaders, but this only handles 112 or some. so it might be it or it might be that it does build the shaders but dosent precache them before running, like the emulator does at the beginning? could that be the bug?
Looks may be fixed with #906
Thanks! v2.0.6 prepared the shader programs, but graphics pipelines were still built the first time each was drawn, which is the stutter you saw. v2.0.8 (out shortly) also builds the pipelines met in play before the game starts (PR #939): in testing, pipelines built during play dropped from ~330 to ~20-90 on a first run. Closing as fixed in v2.0.8; if it still stutters after updating, comment with a new hookshot_log.txt and we'll reopen. General FPS/stutter reports are collected in #995.
Thanks for that, that's was quick, when the .exe is released I will test it and give feedbacks.
@NotRexed Confirmed it's back baby!!!
@MorpheusCode117: thanks! Is the stutter only in areas you haven't visited before (pipelines still being built in play), or also in places you've already been? Please attach a hookshot_log.txt from v2.0.9 (the video didn't upload).
I meant everything is working and boys are back in town 😎! No stuttering anymore, I am on 100-120 FPS with frame generation, so 50-60 real FPS. I went to few zones without issues.
Here the last log if you are interested: hookshot_log.txt
The new shader compilation window is cool!