Public bug reported: Hello,
the 2.30.0 SDL2 release included in 24.04 LTS (Noble) contains a regression [1] in regard to the initializaton of the Joystick/Gamepad detection. When the user is in the `input` group and has access to the inodes under `/dev/input/`, running a simple "SDL_Init(SDL_JOYSTICK)" takes about 0.5 sec per device node. In my/our case (https://retropie.org.uk), we're using a Python3 script that uses 'python3-sdl2' and 'python3-uinput' to create a virtual keyboard device from inputs received from a gamepad. When launching a game, the user has the opportunity to open a 'dialog' based menu and configure the game, but if the initialization takes a long time, the input from the gamepad is lost and the game configuration is not started. Please consider including the patch for the reported issue [1] - it's in [2] - or upgrade to 2.30.3 which contains the fix [3]. best regards, [1] https://github.com/libsdl-org/sdl/issues/9092/ [2] https://github.com/libsdl-org/SDL/pull/9450/files [3] https://github.com/libsdl-org/SDL/releases/tag/release-2.30.3 ** Affects: libsdl2 (Ubuntu) Importance: Undecided Status: New -- 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/ubuntu/+source/libsdl2/+bug/2085140/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
