[1.0.2551] Linux mouse panning not working correctly

Started by endlesik, February 22, 2020, 01:40:22 PM

Previous topic - Next topic

endlesik

Hi!
I'm having this weird issue with Rimworld, namely - SLOW middle-mouse panning on Linux (mint 19.3). I've seen that few people had similar issue, but what I've discovered is extremely weird. I'm using Recon Tracer mouse on my PC (windows and linux), and some cheap noname for laptop (linux) and I've checked that Recon works ok under windows, but under linux, on both, PC and laptop (linuxes), causes slow and little laggy panning - everything is okay with cheap mouse.. In addition, I've removed all mods, created a new map/colony, tried disabling/enabling screen-edge mouse scroll etc. - nothing worked. 

  • What I did: While using Recon Tracer mouse under Linux Mint 19.3, tried to pan camera using middle mouse button
  • What I've seen: Panning was very slow, and laggy
  • What should I've seen: Smooth, fast panning
  • What reproduces bug: Used Recon Tracer under Linux
I'll provide logs if needed, but I haven't seen anything about the mouse though.
Double checked the issue - even with two mice connected, Recon pan is terrible, noname is okay..
Maybe it's connected somehow with mouse changeable DPI..? I've tried with lowest settings however, and the pan is still slower than cursor movement.
https://youtu.be/4aKBaQKPEco here's yt video showing how it looks, 0:00 - recon 0:10 - noname

Maybe some of you know some kind of trick to get it working properly?

Now I saw another weird bug, while in game, I've disconnected Recon and connected it again - now screen was panning, like the cursors was on the edge. It stopped after I pressed middle button (can't reproduce though).

Love the game nevertheless, best regards!

Ark

Now that you mentioned it... I have always had that issue, it's on alpha 13 and that's the earliest version I have. I just shrugged and used WASD or the arrow keys to pan. Left shift to pan faster. (Why doesn't right shift also pan faster?)

RimWorld 1.1.2552 rev603 drm-free edition on Linux Mint 19.3 Xfce. Logitech G300s mouse. Tried a generic HP mouse and it works propably as intended, terrain moves smoothly and faster than the mouse cursor when panning, G300s cursor moves much faster relative to terrain and movement seems jittery.
I also noticed higher cpu load while panning with the G300s mouse vs HP mouse.
Changing the mouse sensitivity (dpi) or acceleration had no desirable effect on the panning.

I think this is an issue with Unity and high poll rate mice.
G300s has 1000Hz/500Hz poll rate, and refuses to go lower. The 1000Hz is worse than 500Hz for panning. HP mouse has 125Hz poll rate.

You could try your luck with https://wiki.archlinux.org/index.php/Mouse_polling_rate.
I used ratbag to change the polling rate. sudo cat /sys/kernel/debug/usb/devices and lsusb -v did not show the actual polling rate. Use evhz.

Ark

Apart from the snap to top left corner bug, panning is now amazingly good in 1.1.2560 rev1172 Linux drm-free version, thanks!
Middle click rotate bug remains unchanged.

endlesik

I tried changing polling rate, but without success, was still around 1kHz.
I haven't tried 1.1 yet because of mods compatibility :D Will give it a shot on steam version