s25client icon indicating copy to clipboard operation
s25client copied to clipboard

Panning with mouse erratic

Open Homo-carbonis opened this issue 3 years ago • 4 comments

I've just started playing the game after building from git and I'm getting an enormous input lag when panning with the mouse. The camera just whizzes around the map uncontrollably. Both the mouse cursor and moving the camera with the arrow keys work normally.

Homo-carbonis avatar Feb 18 '22 10:02 Homo-carbonis

Same here, panning with mouse is almost unusable, although mine is stuck mostly and just moves very little I'm using latest Manjaro Linux

Same problem was described here (in german): https://www.siedler25.org/index.php?com=forum&mod=forum&action=thread&id=1704&start=-1#last

Disabling smart cursor is a workaround

Is there anything we can do to track this down?

phoenix147 avatar Feb 23 '22 08:02 phoenix147

Hm, I have no idea, but hope @Flamefire has - Could this be related to high DPI mouses when using linux?

Spikeone avatar Feb 23 '22 11:02 Spikeone

Same here with 0.9.5 on Gentoo. 0.9.1 worked fine last I checked. I don't have a high DPI screen or mouse.

chewi avatar Mar 21 '22 22:03 chewi

Actually I've retested 0.9.1 again and it happens there too. Perhaps it's a change in SDL or Xorg. Disabling the Smart Cursor option does indeed help although the panning is much faster than I remember.

chewi avatar Mar 22 '22 09:03 chewi

vsync=0

seems to work fine

vsync=1

seems to cause 1 FPS

Spikeone avatar Mar 12 '23 14:03 Spikeone

this should be fixed and the vsync issue is not related to this one

Spikeone avatar Apr 17 '23 05:04 Spikeone