Problem with XPAD since latest update
-
Pi Model or other hardware: RPi400
Power Supply used: CanaKit 3.5A USB-C
RetroPie Version Used: 4.8.9 (latest)
USB Devices connected:- wireless dongle of Logitech F710
- Kingston 240 GB SSD using SATA to USB3 adaptor (boots from there)
Controller used: Logitech F710
Error messages received: Failed to update XPAD driver after UPDATE
Emulator: none
Hello,
I have problem since an update (from the retropie update menu): At the end of the process i received a popup with FAILED TO INSTALL XPAD driver (instead of the habitual update sucessful message). After pressing F4 and do a REBOOT command, i entered in a strange error mode (not sure of the correct name) but i was able to reboot it again and it booted normaly (without F710 working of course).
Now the F710 no longer works so i tried to re-execute sudo ./RetroPie-Setup/retropie_setup.sh manually and looked at rps_2025-01-08_020037.log and saw this:
Deleting module version: 0.4
completely from the DKMS tree.Done.
Creating symlink /var/lib/dkms/xpad/0.4/source ->
/usr/src/xpad-0.4DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j4 KERNELRELEASE=5.10.103-v7l+ KVERSION=5.10.103-v7l+...(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.10.103-v7l+ (armv7l)
Consult /var/lib/dkms/xpad/0.4/build/make.log for more information.
Failed to install xpadIs there something i can do to fix that ?
Regards,
Martin
-
The problem is the upstream repository, which added some features in the driver which are not compatible with the (old) Linux kernel version we have.
I'll see if we can fix this without pinning the
xpad
version.EDIT: looks like the new version of
xpad
would build only with Linux kernel 6.5 or later, which may affect also Ubuntu/Debian users. -
@mitu Thanks for this update !
I understand that the solution will be to pin xpad with using the next update on retropie setup script that will come in the near future ?
Thanks again !
-
@mbernier said in Problem with XPAD since latest update:
I understand that the solution will be to pin xpad with using the next update on retropie setup script that will come in the near future ?
That would be just a workaround. I've asked the
xpad
repository developer and they said that the breakage should be just temporary and they'll fix the build for older kernels also.As such, I'm inclinded to wait a bit before adding a workaround in RetroPie, if the upstream repository gets fixed then no update (in RetroPie-Setup) should be needed, just a simple re-install for
xpad
.I'll keep this topic updated when a decision/solution is added.
-
How ironic that I haven't updated my RetroPie image in 2+ years and I decided to do it yesterday, only to hit the same xpad bug (that was released this week) :D
-
OK, we added a (temporary ?) workaround to fix the installation of
xpad
, until upstream fixes it.You'll need to update RetroPie-Setup and then update/re-install
xpad
and it should install succesfully. Let me know if the functionality is also ok after the changes. -
I did the following:
- Restored my sdcard .IMG from a backup I made in July 2022.
- Did a full update of all RetroPie packages including kernel.
- Performed a manual update of xpad from source.
- Cleared all EmulationStation control configs
No xpad error messages during any updates.
After rebooting clean, I plugged in my wired XBox One controller.
I was able to correctly reconfigure the XBox One controller, and everything works as expected.
Thank you!
-
@mitu Thanks, I re-executed ./RetroPie-Setup/retropie_setup.sh manually from an up-to-date (4.8.9) version and it is working now ! When the upstream repository will be fixed, is there anything we will need to do or it will be fully transparent ?
Thanks again !
-
@mbernier said in Problem with XPAD since latest update:
When the upstream repository will be fixed, is there anything we will need to do or it will be fully transparent ?
Just a regular update will be enough, but it's not going to be mandatory.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.