SkyFactory-4 icon indicating copy to clipboard operation
SkyFactory-4 copied to clipboard

Abnormal Mouse Movement

Open LA-111 opened this issue 2 years ago • 5 comments

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 happen

Steps to Reproduce (for bugs)

  1. 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

LA-111 avatar Apr 13 '22 03:04 LA-111

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.

sam-kirby avatar Apr 13 '22 08:04 sam-kirby

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...

LA-111 avatar Apr 14 '22 07:04 LA-111

Same problem...

GraphonTail avatar Apr 16 '22 20:04 GraphonTail

same problem but just on skyfactory 4

Doggo48 avatar Apr 18 '22 13:04 Doggo48

Same issue here as well.

Discharge03 avatar May 15 '23 05:05 Discharge03