79
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 15 Feb 2026
79 points (97.6% liked)
Linux Gaming
24265 readers
226 users here now
Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.
This page can be subscribed to via RSS.
Original /r/linux_gaming pengwing by uoou.
No memes/shitposts/low-effort posts, please.
Resources
WWW:
- Linux Gaming wiki
- Gaming on Linux
- ProtonDB
- Lutris
- PCGamingWiki
- LibreGameWiki
- Boiling Steam
- Phoronix
- Linux VR Adventures
Discord:
IRC:
Matrix:
Telegram:
founded 2 years ago
MODERATORS
It's always great to see someone scratch their own itch, so kudos. However, I'm curious what the actual pain point is? Does your mouse not sample fast enough? Noticeable input lag on a gamepad? Seems like this would be a bug with the implementation if it needs to be overclocked to fix...
Well, it's not that there's a particular "problem" in a sense like a bug. But it's that if the device can be pushed further, and thus by higher polling we achieve lower effective input latency and slightly smoother input, then why wouldn't we do it? The same way gamers get higher refresh rate screens (and sometimes yet try to push them further), or other devices.
As for the implementation, my module is partially based on a patchset for actual kernel module, but it's unclear to me if it was tried to be upstreamed or why it failed if so. But it clearly didn't make it in, and there's no sign of that changing any time soon. Maybe the kernel devs would consider it "unorthodox" to alter the descriptor parameters against what the manufacturer intended.
But some devices do allow themselves to be polled higher and will just sample the inputs more often, if their firmware and sensors are capable of it. In fact, many "gaming" mice have a proprietary software that uses a proprietary protocol (this often has a Linux equivalent like Sonaar for Logitech) to set on-device settings where it'll reconnect reporting different bInterval (requested polling rate) to the host based on what was set. And yet the manufacturers will by default use some "safe default" setting like 125 or 250 at most, just to avoid any potential issues on some devices and thus RMA costs, with opt-in options of 500 and 1000. But some manufacturers don't bother making such an option or an app at all, so that's where this module comes in. And especially for controllers, it's much less common to see such an option even if the app is there, even though high amount of non-Microsoft controllers do allow such overclocking (Microsoft ones at 125 Hz locked are pathetic, you can feel the latency difference between that and my 250 Hz controller overclocked to 500 Hz side-by-side).
But TL;DR is that it's just a gamer optimization, and one that isn't quite easily possible with upstream kernel currently. Some kernel modules do have some options for some degree of overclocking, but e.g. one of them has a bug that it didn't work with USB 3 devices, so yeah...