Hello Bryce,
I have tested the packages provided for update, but they don't solve the
reported problem - the slowdown is similar (about 4 seconds taken by SDL
to initialize). Here's a sample of the tests from before and after the
update of the SDL2 packages. I also attached a list of input devices
present on my system - besides the ones exposed by the laptop I'm using
for testing, only a PS 4/Dualshock 4 gamepad was connected via USB.
== BEFORE
pi@retropie:~$ python3 test.py
2025-02-08 14:16:33,570 DEBUG Debugging enabled, running in foreground
2025-02-08 14:16:37,592 DEBUG Using SDL Version 2.30.0, PySDL2 version 0.9.16
pi@retropie:~$ python3 test.py
2025-02-08 14:16:48,375 DEBUG Debugging enabled, running in foreground
2025-02-08 14:16:52,481 DEBUG Using SDL Version 2.30.0, PySDL2 version 0.9.16
pi@retropie:~$ python3 test.py
2025-02-08 14:16:53,721 DEBUG Debugging enabled, running in foreground
2025-02-08 14:16:57,685 DEBUG Using SDL Version 2.30.0, PySDL2 version 0.9.16
pi@retropie:~$ apt-cache policy libsdl2-2.0-0
libsdl2-2.0-0:
Installed: 2.30.0+dfsg-1build3
Candidate: 2.30.0+dfsg-1build3
Version table:
*** 2.30.0+dfsg-1build3 500
500 http://de.archive.ubuntu.com/ubuntu noble/main amd64 Packages
100 /var/lib/dpkg/status
== AFTER
pi@retropie:~$ python3 test.py
2025-02-08 14:27:37,901 DEBUG Debugging enabled, running in foreground
2025-02-08 14:27:48,317 DEBUG Using SDL Version 2.30.0, PySDL2 version 0.9.16
pi@retropie:~$ python3 test.py
2025-02-08 14:27:54,370 DEBUG Debugging enabled, running in foreground
2025-02-08 14:28:04,055 DEBUG Using SDL Version 2.30.0, PySDL2 version 0.9.16
pi@retropie:~$ python3 test.py
2025-02-08 14:28:04,995 DEBUG Debugging enabled, running in foreground
2025-02-08 14:28:15,201 DEBUG Using SDL Version 2.30.0, PySDL2 version 0.9.16
pi@retropie:~$ apt-cache policy libsdl2-2.0-0
libsdl2-2.0-0:
Installed: 2.30.0+dfsg-1ubuntu3.1~noble4
Candidate: 2.30.0+dfsg-1ubuntu3.1~noble4
Version table:
*** 2.30.0+dfsg-1ubuntu3.1~noble4 100
100 /var/lib/dpkg/status
2.30.0+dfsg-1build3 500
500 http://de.archive.ubuntu.com/ubuntu noble/main amd64 Packages
=== Input Devices
pi@retropie:~$ cat /proc/bus/input/devices | grep ^N:
N: Name="Lid Switch"
N: Name="Power Button"
N: Name="Sleep Button"
N: Name="Power Button"
N: Name="AT Translated Set 2 keyboard"
N: Name="DualPoint Stick"
N: Name="DLL07D0:01 044E:120B"
N: Name="Sony Interactive Entertainment Wireless Controller"
N: Name="Sony Interactive Entertainment Wireless Controller Motion Sensors"
N: Name="Sony Interactive Entertainment Wireless Controller Touchpad"
N: Name="Intel HID events"
N: Name="Intel HID 5 button array"
N: Name="Dell WMI hotkeys"
N: Name="ST LIS3LV02DL Accelerometer"
N: Name="Video Bus"
N: Name="HDA Intel PCH Headphone Mic"
N: Name="HDA Intel PCH HDMI/DP,pcm=3"
N: Name="HDA Intel PCH HDMI/DP,pcm=7"
N: Name="HDA Intel PCH HDMI/DP,pcm=8"
regards,
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2085140
Title:
Patch Joystick subsystem regression
To manage notifications about this bug go to:
https://bugs.launchpad.net/libsdl/+bug/2085140/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs