noah-nuebling / mac-mouse-fix

Mac Mouse Fix - Make Your $10 Mouse Better Than an Apple Trackpad!
https://macmousefix.com/
Other
5.34k stars 149 forks source link

Scrolling is not smooth with external displays [enhancement] #1036

Open neel04 opened 2 months ago

neel04 commented 2 months ago

Description

When using higher refresh monitors (I'm using a 1440p @ 165Hz monitor) the scrolling isn't smooth/seems to be locked at 60 fps. This is evident when you do scrolling through other means (such as page up/down key) and see how smooth the scrolling is there.

Rationale

Smooth scrolling feels nice, and a paid product whose entire existence relies on smooth scrolling deserves this feature :]

Additional info

Pikachews commented 2 months ago

What is your means of testing this? I don't seem to have any framerate/smoothness issues when scrolling.

Testing on the Mac Mouse Fix home page on Chrome with Frame Rendering Stats enabled, scrolling the page seems to render at my display's refresh rate (170 Hz). image

When I move the window to my lower refresh rate display, it renders at the same FPS as the refresh rate (60 Hz). image

And on the MacBook's display:

image
neel04 commented 2 months ago

I don't have a quantitative way of measuring this unfortunately - but its highly visible. I think the problem is that somehow, the scrolling happens in discrete chunks rather than a smooth continous curve.

If I turn the smoothness down (from High -> Off) then the scrolling happens very smoothly, counterintuitively.

Its as if with High smoothness, the interpolation itself isn't very continous - it feels discrete. Whereas switching smoothness to Off and relying on macOS to handle it feels very smooth, but lacks the scrolling inertia I'm used to.