Bug 6126

Summary: Review request: Kernel module (kmod) for xpadneo
Product: Package Reviews Reporter: Artem <ego.cordatus>
Component: Review RequestAssignee: Nicolas Chauvet <kwizart>
Status: RESOLVED FIXED    
Severity: enhancement CC: rpmfusion-package-review, sentrycraft123
Priority: P1    
Version: Current   
Hardware: x86_64   
OS: GNU/Linux   
namespace: free
Bug Depends on: 6125    
Bug Blocks:    

Description Artem 2021-11-04 11:32:03 CET
Advanced Linux Driver for Xbox One Wireless Controller (shipped with Xbox One
S).

  * Supports Bluetooth
  * Supports all Force Feedback/Rumble effects through Linux ff-memless effect
    emulation
  * Supports Trigger Force Feedback in every game by applying a
    pressure-dependent effect intensity to the current rumble effect (not even
    supported in Windows)
  * Supports disabling FF
  * Supports multiple Gamepads at the same time (not even supported in
    Windows)
  * Offers a consistent mapping, even if the Gamepad was paired to
    Windows/Xbox before, and independent of software layers (SDL2, Stadia via
    Chrome Gamepad API, etc)
  * Working Select, Start, Mode buttons
  * Correct Axis Range (signed, important for e.g. RPCS3)
  * Supports Battery Level Indication (including the Play 'n Charge Kit)
    Battery Level Indication
  * Easy Installation
  * Agile Support and Development
  * Supports customization through profiles (work in progress)
  * Optional high-precision mode for Wine/Proton users
  * Share button support on supported controllers
  * Works as a mouse if you're are in couch-mode (press Guide+Select)

This package contains the kmod module for xpadneo.

SPEC: https://download.copr.fedorainfracloud.org/results/atim/xpadneo/fedora-rawhide-x86_64/02918332-xpadneo-kmod/xpadneo-kmod.spec
SRPM: https://download.copr.fedorainfracloud.org/results/atim/xpadneo/fedora-rawhide-x86_64/02918332-xpadneo-kmod/xpadneo-kmod-0.9.1-2.fc36.src.rpm
Comment 2 Nicolas Chauvet 2021-11-04 13:19:34 CET
Thanks for the contribution.

Do you know if there is any plan to submit to the upstream kernel ?
There is at least a xpad driver into the linux kernel. Is it based on this driver or a totally different driver ?
Comment 3 Artem 2021-11-04 13:24:17 CET
(In reply to Nicolas Chauvet from comment #2)

This is totally different driver. Just starting tinkering with it but it turns out that this must have driver if we want playing wirelessly on Xbox controller especially new one "series controller" (2020 year). Kernel driver basically unusable at all (wireless case). This works fine for me, only found some issue with vibro but this happened only in one game. Also according to upstream bugzilla this maybe more BT dongle problem, not sure yet.
Comment 4 Jan 2021-11-04 16:12:42 CET
It should be noted that the XBox Series X and S controllers are give incorrect latency values to bluez which cause input lag and issues with rumbling.

https://github.com/atar-axis/xpadneo/issues/198
https://github.com/bluez/bluez/issues/156
Comment 5 Artem 2021-11-10 11:23:57 CET
(In reply to Jan from comment #4)

Interesting, subscribed. But i would say it works subjectively without noticeable input lag, but sometimes have issues with rumble. As for input lag i've tested in all this time mostly on Divinity: Original Sin 2 where this not important, but also tested on fast paces games and still okay to me. I am using UB400 tp-link dongle. Experience is pretty much OK overall, so i still want to share this piece of software with other people.
Comment 6 Artem 2022-02-02 20:12:37 CET
Any reason why this stalled? I am rarely playing these days but what i could say about this driver it is must have for Xbox SX (2020) controllers because in some games with kernel driver there is wrong buttons mapping and this xpadneo fixing this. Also there is no any input lag for me which i always notice and can't tolerate. My previous issues was due no line-of-sight and also reproducible on Windows so this is not related to xpadneo.
Comment 8 Nicolas Chauvet 2023-03-13 11:13:32 CET
Please use the same conditions so we can default to akmods on fedora and pre-built kmod (current) for RHEL.



Is there improvements with upstream kernel xpad driver with nowadays kernel ?
Comment 9 Artem 2023-03-14 04:32:10 CET
Please check:

SPEC: https://download.copr.fedorainfracloud.org/results/atim/xpadneo/fedora-rawhide-x86_64/05634292-xpadneo-kmod/xpadneo-kmod.spec
SRPM: https://download.copr.fedorainfracloud.org/results/atim/xpadneo/fedora-rawhide-x86_64/05634292-xpadneo-kmod/xpadneo-kmod-0.9.5-2.fc39.src.rpm

> Is there improvements with upstream kernel xpad driver with nowadays kernel ?

Have no opportunity to actively test right now. But last time there is still no vibro via Bluetooth and still mapping incorrect in 50% of games.
Comment 10 Artem 2023-09-20 13:56:55 CEST
Look like since 6.5 kernel (in Bodhi for f38 currently) we don't need xpadneo anymore. Now vibration works over Bluetooth on my Xbox SX controller. Probably the only useful thing which provides xpadneo is a reporting battery status.
Comment 11 Nicolas Chauvet 2023-10-10 15:35:09 CEST
(In reply to Artem from comment #10)
> Look like since 6.5 kernel (in Bodhi for f38 currently) we don't need
> xpadneo anymore. Now vibration works over Bluetooth on my Xbox SX
> controller. Probably the only useful thing which provides xpadneo is a
> reporting battery status.

Thanks for the feedback, closing the bug hence.