SkyFactory-4
SkyFactory-4 copied to clipboard
Abnormal Mouse Movement
Bug Description
Whenever I move my mouse and look around in-game the sensitivity randomly speeds up for shorts moments at a time. I have tried many fixes - which have not worked - including:-Reinstalling mod pack -Restarting game/client -Changing Mouse polling rate -Changing sensitivity in-game -Enabling Override high DPI scaling behaviour for javaw.exe -Setting javaw.exe task priority to low -Using different launcher (MultiMC instead of curseforge) -Testing a different mouse -Enable/disable enhance pointer precision
Did this behavior use to work in the previous version?
I only started getting this bug not long ago and now it affects almost every modpack I play, not vanilla though, it seems to mainly happen on 1.12.2 versions because when using *some* 1.16.5+ modpacks it doesn't happenSteps to Reproduce (for bugs)
- No steps to reproduce, not my video but looks exactly like this https://youtu.be/3KNje5eSVfA
Logs
- Client/Server Log: Not applicable
- Crash Log: Not applicable
World Information
- World Preset: Default
- Prestige Enabled: N
- Modpack Version world created in: Latest
- Additional Content Installed:N
Client Information
- Modpack Version: Latest
- Java Version: Latest
- Launcher Used: MultiMC/Curseforge
- Memory Allocated: 6GB
- Server/LAN/Single Player: Single Player
- Optifine Installed: N
- Shaders Enabled: N
In the video you link, each stutter is accompanied by the RAM utilisation dropping indicating that the garbage collector has just run.
The garbage collector must pause all processing in game to run. This means that, among other things, mouse movement events get queued up and when the garbage collector is finished the game processes them all at once, leading to erratic behaviour.
If you see a similar drop in memory every time your game stutters, you may want to investigate alternative garbage collection options - there are a vast array of possibilities. These recommended arguments are a good starting point.
You likely see better behaviour in 1.16.5 packs as these use a later version of Java (typically Java 16) than 1.12.2 packs which must use Java 8 - there has been substantial improvement to GC performance between these versions. Check you are using the latest version of Java 8 though (currently 1.8.0_332) as some of these improvements have been ported back.
Thanks for the help although, this didn't seem to fix the problem completely. It may have made it a bit better but it's still happening and still driving me completely crazy...
Same problem...
same problem but just on skyfactory 4
Same issue here as well.