Low fps and long loads on i5-14600KF + RTX 4070 SUPER: game threads wait ~250 ms for a virtual core (also with HOS_CORES=8) #1420
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#1420
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 (source d6369f1e), built with HookshotBuilder on Windows
What kind of problem
Low fps or stutter
What happened
Without frame generation the game itself runs at roughly 40-50 fps, with uneven frame times and long loading screens. Only frame generation gets it over 60. The same save in an emulator on the same PC runs noticeably smoother, so the GPU doesn't look like the limit.
The log points at the virtual cores. Game threads regularly wait a quarter of a second for a core, and that includes the loading and decompression threads:
That happened 38 times in a ~10 minute session with the defaults. With
HOS_CORES=8inhookshot_env.txtit still happened 32 times, so going from 6 to 8 virtual cores only helped a little.The game's own presents in that first session (
vi:lines, 5 s windows):Second session with
HOS_CORES=8, 2560x1440 output, frame pacing on and 4x frame generation: the game's own rate was 42-50 fps (vi: ... (46.3 fps ...),(49.8 fps ...),(41.8 fps ...)).The CPU is a hybrid Intel part (6 P-cores + 8 E-cores), in case that matters for which host cores the game's threads end up on.
Where in the game
Loading a save and playing for about 10 minutes. Loading screens and area transitions are the worst.
How often
Every time
Graphics card and driver version
NVIDIA GeForce RTX 4070 SUPER (12 GB), driver 621.14
CPU, RAM and operating system
Intel Core i5-14600KF (6P+8E, 20 threads), 32 GB RAM, Windows 11 Pro (26200)
Changes from the defaults
HOS_CORES=8inhookshot_env.txt, output 2560x1440, frame generation 4x, frame pacing on, sharpness 40%, ultrawide set to the monitor's shape (3440x1440).Other software hooked into the game
MSI Afterburner / RivaTuner only as an fps overlay in the first session. The numbers above come from the game's own
vi:log lines.hookshot_log.txt
The relevant lines are quoted above. I can attach the full logs if that helps.
Screenshots or video
Thanks for the vcores data (game threads waiting ~250 ms for a virtual core, also with HOS_CORES=8). Low FPS is tracked in #995. On this CPU class (i5-14600KF, P+E cores), #1286 found the reserved core landing on an E-core; that fix is in the next release, so please retest then. Closing this as a duplicate; please follow #995.