14

cross-posted from: https://feddit.it/post/23350094

what are your experiences using game controllers with linux, I'm especially interested in the xbox series s controller because it's the one I have, but I'm also interested in other controllers. From my experience the latency is disappointing, but I have no way of proving it.

So, I primarily use this controller in bluetooth mode using xpadneo. There's definitely noticeable latency, but in most games it's fine, I played through a lot of games without bother... until I played Conker: Live and Reloaded. On the infamous race level, it took me like two days to pass it, and I only made some progress when i connected the cable and dropped BT. Even that was fine though, It was just one old game and just one level, there could be a number of things to blame for that. Come hollow knight, as the game got harder after beating Hornet, it quickly became apparent that I couldn't get far without the cable, save for traversing the world, still, not that bad... until I got to fight radiance. It has been extremely frustrating, I tried it for days and eventually I started just doing a few attempts every few days, without any improvement, finding it hard to get to the second phase. Today I visited my parents and in the late evening decided to try it on a windows computer I left here, mind you, the last time I played was more than a week ago. So, I start the game, plug the same controller in, with the same cable, I beat Radiance on the fucking first try, with half health bar left...

It literally happened 10 minutes ago, I'm still riled up, this doesn't make sense, this has to be latency, there is no way I got that better just like that, It is literally impossible.

So, after all that, I need to unfuck the latency of my controller someway... Ok, it's fine on most games, but this situation is... frustrating

you are viewing a single comment's thread
view the rest of the comments
[-] tal@lemmy.today 4 points 1 month ago* (last edited 1 month ago)

I would guess that you'll normally find that (a) there will be higher latency (especially worst-case latency) on Bluetooth interfaces than USB interfaces:

According to this:

https://gamepadla.com/xbox-core-controller.html

You have average/max USB latency of 8.3 ms/12.23 ms.

You have average/max dongle latency of 8.88 ms/14.64 ms.

You have average/max Bluetooth latency of 12.98 ms/20.89 ms.

For the wireless protocols, I expect that the amount of interference where you are will also be a factor.

It looks at least at one point, there was an issue with those controllers not specifying the polling rate that they actually wanted. I don't know if you have one of this particular generation, but you might try the specified workaround:

https://github.com/atar-axis/xpadneo/commit/15801c6c0421957190193fec3f371a353111c12e

It looks like the above patch is still present in current xpadneo, so I assume that the issue remains:

https://atar-axis.github.io/xpadneo/#troubleshooting

High Latency or Lost Button Events with Bluetooth LE

Affected models: Xbox controllers using Bluetooth LE (Xbox Series X|S or later)

While using new Xbox Series X|S controller, you may experience laggy or choppy input, also button presses may be lost or delayed. This problem only affects Bluetooth LE controllers, the older models are not affected by these settings even if you think you may see such a problem.

A proper solution is still missing but we isolated it to the Bluetooth LE connection parameters for latency and intervals. The bluez developers say that the connected device should suggest the best settings, the bluez daemon only ships sensible default settings. It looks like the new Xbox controllers do not properly suggest their preferred connection parameters, some BLE mice show the same problem. You can work around it by changing the bluez defaults instead. This change is not recommended by the bluez developers but as long as you only use a very specific set of BLE devices, this change should be fine.

The controller uses 100 Hz internally for its protocol, so we decided to use intervals of 8.75..11.25ms. Each tick is 1.25ms, so we end up with MinConnectionInterval=7 and MaxConnectionInterval=9. If you already use a similar work-around for other devices, you may need to adjust your settings to the proper bounds, i.e. do not increase the min value, do not lower the max value.

Edit the following file and restart the Bluetooth service or reboot:

# /etc/bluetooth/main.conf
[LE]
MinConnectionInterval=7
MaxConnectionInterval=9
ConnectionLatency=0
[-] edinbruh@feddit.it 1 points 4 weeks ago

The Bluetooth LE settings shouldn't be necessary for me anymore, I think the package I'm using for xpadneo already packages some settings. Inbefore, that issue would cause latency in the tenths of seconds (not even close to milliseconds) and was extremely noticeable

this post was submitted on 01 Nov 2025
14 points (100.0% liked)

Linux Gaming

22303 readers
680 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:

Discord:

IRC:

Matrix:

Telegram:

founded 2 years ago
MODERATORS