Steam for Linux

Steam for Linux

Mouse polling rate
I'm noticing that a lot of games everywhere, like ksp and goat simulator all the way to old dx8 games in wine do not like high mouse poling rates. AVP2 has an infamous mouse jitter bug. These games with a poling rate of 1000 don't work with the mouse so well. I set the poling rate to 125hz and things work much better.

I'm probably asking in the wrong place but not sure where the problem actually is since it effects multiple programs.

Games I tried that don't like 1000hz polling:


(Native games)

Kerbal space program
Goat simulator


(Wine games)

halo
red faction
avp2
tron 2.0


What system I run seems to be irrelevant. Been having mouse jitters since I started using Linux and wine back in 2007. Currently running Xubuntu 64 bit. Changed hardware 3 times, problem persists.
Laatst bewerkt door DIRT; 1 okt 2015 om 9:28
< >
1-15 van 15 reacties weergegeven
What is the problem with a 125 Hz polling rate? Your fps will probably be much lower, so you won't notice a faster polling rate.
Origineel geplaatst door daniel.mantione:
What is the problem with a 125 Hz polling rate? Your fps will probably be much lower, so you won't notice a faster polling rate.
Most mice default to 500hz, a lot of new ones use 1000hz. Its not terrible, I can aim ok but there is still some jitter even at 125hz. Just find it odd modern games don't like more than 500hz.
(ksp doesn't jitter it freezes for a second when turning the camera)
What is its main problem now?
Default is always 125 Hz, you have to tweak your kernel to get higher:

https://wiki.archlinux.org/index.php/Mouse_polling_rate

... and I still don't get how any higher rate could an advantage if my monitor can do max 60 Hz.
usbhid is not installed by default in ubuntu. Razer defaults to 1000, roccat defaults to 1000. It seems to go to whatever the mouse is setup to use.

The poling rate isn’t the issue its the mouse jitter the polling rate causes.

I couldn't even set my Logitech to less than 1000. Had problems with an adventure game which didn't pull mouse infos often enough, but thankfully someone provided an injection library to fix it.
What does it do when there isn’t a config file?
I am running 64-bit Ubuntu 14.04 and if I am reading lsusb -v correctly, it seems to indicate that on my Logitech Unifying Receiver, 1st device would be a keyboard (bInterfaceProtocol 1 Keyboard, bInterval 8 in lsusb -v), 2nd device is mouse (bInterfaceProtocol 2 Mouse, bInterval 2), and 3rd device is data (bInterfaceProtocol 0 None, bInterval 2). That corresponds with Ivl=8 ms, 2 ms, and 2 ms below from "sudo cat /sys/kernel/debug/usb/devices". So it appears that my mouse is already polling at 500 Hz (2 ms) by default. I am using an MX Master mouse without any special settings.

T: Bus=02 Lev=02 Prnt=02 Port=04 Cnt=03 Dev#= 5 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=046d ProdID=c52b Rev=12.03 S: Manufacturer=Logitech S: Product=USB Receiver C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr= 98mA I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=usbhid E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=8ms I:* If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=usbhid E: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl=2ms I:* If#= 2 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid E: Ad=83(I) Atr=03(Int.) MxPS= 32 Ivl=2ms

My keyboard is actually an MS Sidewinder X4 that I bought because it was lighted, not realizing that it was a gaming keyboard. It is polled at 1000 Hz (Ivl=1ms).
Laatst bewerkt door Long Ago [Linux]; 1 okt 2015 om 15:22
Origineel geplaatst door daniel.mantione:
Default is always 125 Hz, you have to tweak your kernel to get higher:

https://wiki.archlinux.org/index.php/Mouse_polling_rate

... and I still don't get how any higher rate could an advantage if my monitor can do max 60 Hz.
It will eliminate 8 ms delay. The difference in first-person games is huge.
Laatst bewerkt door egs; 2 okt 2015 om 2:44
A lot of gaming mice have 3-4ms delay just from their hardware. Im wondering if the usb poling updates everything on the mouse every cycle or if it just updates one input at a time? If it does eveything at once that is more like a 1ms delay if you have a perfect mouse.

Anyways, the mouse jitter is by far the biggest handicap.
Laatst bewerkt door DIRT; 2 okt 2015 om 20:27
You could check "Mice with flawless sensors" on ESReality. That should affect all operating systems.
Any mouse that runs at 1000hz has mouse jitter in those games I listed. I tried razer deathadder, roccat kone pure, roccat tyon, some random genereal electric mouse from target.
I set the razer and roccat mice to 125hz the problem ALMOST goes away.

Is this a problem with the xserver? Its not just wine its some native games too.
No like seriously avp2 would show you how bad the jitter is. You can't even turn to look.
Another way to permanently deactivate acceleration in X

Create a file /etc/X11/xorg.conf.d/90-mouse.conf with the following content and restart X:

Section "InputClass" Identifier "mouse" MatchIsPointer "on" Option "AccelerationProfile" "-1" Option "AccelerationScheme" "none" EndSection
Laatst bewerkt door scheissdrm; 6 okt 2015 om 2:36
Nice good
< >
1-15 van 15 reacties weergegeven
Per pagina: 1530 50

Geplaatst op: 1 okt 2015 om 9:24
Aantal berichten: 15