Bug 487694 - The game controllers are not showing up in system settings (Game Controller) after the May 17th update
Summary: The game controllers are not showing up in system settings (Game Controller) ...
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_joystick (other bugs)
Version First Reported In: 6.0.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2024-05-28 16:08 UTC by ALP
Modified: 2024-12-14 15:54 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.3.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ALP 2024-05-28 16:08:44 UTC
SUMMARY
I use Logitech G29 gaming racing wheel and handbrake. They were showing up correctly in system settings “Game Controller” until May 15th (last update when everything was fine). But after the OS update on May 17th (see ADDITIONAL INFORMATION) no one game controller are showing up in system settings.

STEPS TO REPRODUCE
1. Connect a Logitech G29 gaming racing wheel and handbrake
2. Open System Settings
3. Open Game Controller

OBSERVED RESULT
No gaming racing wheel (Logitech G29) and handbrake shows up in the window.

EXPECTED RESULT
Gaming racing wheel (Logitech G29) and handbrake are show up in the window. Ability to test and calibrate game controllers.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.5 (and 6.0.4, 6.0.3)
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
OS updates on May 17th (one of these broke Game Controller settings):
    Upgrade  git-2.45.1-1.fc40.x86_64                 @updates
    Upgrade  git-core-2.45.1-1.fc40.x86_64            @updates
    Upgrade  git-core-doc-2.45.1-1.fc40.noarch        @updates
    Upgrade  mesa-dri-drivers-24.0.7-3.fc40.i686      @updates
    Upgrade  mesa-dri-drivers-24.0.7-3.fc40.x86_64    @updates
    Upgrade  mesa-filesystem-24.0.7-3.fc40.i686       @updates
    Upgrade  mesa-filesystem-24.0.7-3.fc40.x86_64     @updates
    Upgrade  mesa-libEGL-24.0.7-3.fc40.i686           @updates
    Upgrade  mesa-libEGL-24.0.7-3.fc40.x86_64         @updates
    Upgrade  mesa-libGL-24.0.7-3.fc40.i686            @updates
    Upgrade  mesa-libGL-24.0.7-3.fc40.x86_64          @updates
    Upgrade  mesa-libOSMesa-24.0.7-3.fc40.i686        @updates
    Upgrade  mesa-libOSMesa-24.0.7-3.fc40.x86_64      @updates
    Upgrade  mesa-libgbm-24.0.7-3.fc40.i686           @updates
    Upgrade  mesa-libgbm-24.0.7-3.fc40.x86_64         @updates
    Upgrade  mesa-libglapi-24.0.7-3.fc40.i686         @updates
    Upgrade  mesa-libglapi-24.0.7-3.fc40.x86_64       @updates
    Upgrade  mesa-libxatracker-24.0.7-3.fc40.x86_64   @updates
    Upgrade  mesa-va-drivers-24.0.7-3.fc40.i686       @updates
    Upgrade  mesa-va-drivers-24.0.7-3.fc40.x86_64     @updates
    Upgrade  mesa-vulkan-drivers-24.0.7-3.fc40.i686   @updates
    Upgrade  mesa-vulkan-drivers-24.0.7-3.fc40.x86_64 @updates
    Upgrade  perl-Git-2.45.1-1.fc40.noarch            @updates
    Upgraded git-2.45.0-1.fc40.x86_64                 @@System
    Upgraded git-core-2.45.0-1.fc40.x86_64            @@System
    Upgraded git-core-doc-2.45.0-1.fc40.noarch        @@System
    Upgraded mesa-dri-drivers-24.0.7-1.fc40.i686      @@System
    Upgraded mesa-dri-drivers-24.0.7-1.fc40.x86_64    @@System
    Upgraded mesa-filesystem-24.0.7-1.fc40.i686       @@System
    Upgraded mesa-filesystem-24.0.7-1.fc40.x86_64     @@System
    Upgraded mesa-libEGL-24.0.7-1.fc40.i686           @@System
    Upgraded mesa-libEGL-24.0.7-1.fc40.x86_64         @@System
    Upgraded mesa-libGL-24.0.7-1.fc40.i686            @@System
    Upgraded mesa-libGL-24.0.7-1.fc40.x86_64          @@System
    Upgraded mesa-libOSMesa-24.0.7-1.fc40.i686        @@System
    Upgraded mesa-libOSMesa-24.0.7-1.fc40.x86_64      @@System
    Upgraded mesa-libgbm-24.0.7-1.fc40.i686           @@System
    Upgraded mesa-libgbm-24.0.7-1.fc40.x86_64         @@System
    Upgraded mesa-libglapi-24.0.7-1.fc40.i686         @@System
    Upgraded mesa-libglapi-24.0.7-1.fc40.x86_64       @@System
    Upgraded mesa-libxatracker-24.0.7-1.fc40.x86_64   @@System
    Upgraded mesa-va-drivers-24.0.7-1.fc40.i686       @@System
    Upgraded mesa-va-drivers-24.0.7-1.fc40.x86_64     @@System
    Upgraded mesa-vulkan-drivers-24.0.7-1.fc40.i686   @@System
    Upgraded mesa-vulkan-drivers-24.0.7-1.fc40.x86_64 @@System
    Upgraded perl-Git-2.45.0-1.fc40.noarch            @@System
    Upgrade  google-chrome-stable-125.0.6422.60-1.x86_64               @google-chrome
    Upgrade  amd-gpu-firmware-20240513-1.fc40.noarch                   @updates
    Upgrade  amd-ucode-firmware-20240513-1.fc40.noarch                 @updates
    Upgrade  atheros-firmware-20240513-1.fc40.noarch                   @updates
    Upgrade  brcmfmac-firmware-20240513-1.fc40.noarch                  @updates
    Upgrade  cirrus-audio-firmware-20240513-1.fc40.noarch              @updates
    Upgrade  crypto-policies-20240510-1.gitd287a42.fc40.noarch         @updates
    Upgrade  crypto-policies-scripts-20240510-1.gitd287a42.fc40.noarch @updates
    Upgrade  djvulibre-libs-3.5.28-9.fc40.x86_64                       @updates
    Upgrade  freeipmi-1.6.14-2.fc40.x86_64                             @updates
    Upgrade  intel-audio-firmware-20240513-1.fc40.noarch               @updates
    Upgrade  intel-gpu-firmware-20240513-1.fc40.noarch                 @updates
    Upgrade  iwlegacy-firmware-20240513-1.fc40.noarch                  @updates
    Upgrade  iwlwifi-dvm-firmware-20240513-1.fc40.noarch               @updates
    Upgrade  iwlwifi-mvm-firmware-20240513-1.fc40.noarch               @updates
    Upgrade  kf6-kirigami-6.2.1-1.fc40.x86_64                          @updates
    Upgrade  kwin-6.0.4.1-3.fc40.x86_64                                @updates
    Upgrade  kwin-common-6.0.4.1-3.fc40.x86_64                         @updates
    Upgrade  kwin-libs-6.0.4.1-3.fc40.x86_64                           @updates
    Upgrade  kwin-wayland-6.0.4.1-3.fc40.x86_64                        @updates
    Upgrade  libertas-firmware-20240513-1.fc40.noarch                  @updates
    Upgrade  linux-firmware-20240513-1.fc40.noarch                     @updates
    Upgrade  linux-firmware-whence-20240513-1.fc40.noarch              @updates
    Upgrade  mt7xxx-firmware-20240513-1.fc40.noarch                    @updates
    Upgrade  nvidia-gpu-firmware-20240513-1.fc40.noarch                @updates
    Upgrade  nxpwireless-firmware-20240513-1.fc40.noarch               @updates
    Upgrade  perl-Module-CoreList-1:5.20240420-1.fc40.noarch           @updates
    Upgrade  perl-version-8:0.99.32-1.fc40.x86_64                      @updates
    Upgrade  plymouth-24.004.60-5.fc40.x86_64                          @updates
    Upgrade  plymouth-core-libs-24.004.60-5.fc40.x86_64                @updates
    Upgrade  plymouth-graphics-libs-24.004.60-5.fc40.x86_64            @updates
    Upgrade  plymouth-plugin-label-24.004.60-5.fc40.x86_64             @updates
    Upgrade  plymouth-plugin-two-step-24.004.60-5.fc40.x86_64          @updates
    Upgrade  plymouth-scripts-24.004.60-5.fc40.x86_64                  @updates
    Upgrade  plymouth-system-theme-24.004.60-5.fc40.x86_64             @updates
    Upgrade  plymouth-theme-spinner-24.004.60-5.fc40.x86_64            @updates
    Upgrade  python-cookiecutter-doc-2.6.0-1.fc40.noarch               @updates
    Upgrade  python3-babel-2.15.0-1.fc40.noarch                        @updates
    Upgrade  python3-cookiecutter-2.6.0-1.fc40.noarch                  @updates
    Upgrade  qt5-qtbase-5.15.13-2.fc40.x86_64                          @updates
    Upgrade  qt5-qtbase-common-5.15.13-2.fc40.noarch                   @updates
    Upgrade  qt5-qtbase-gui-5.15.13-2.fc40.x86_64                      @updates
    Upgrade  qt5-qtbase-mysql-5.15.13-2.fc40.x86_64                    @updates
    Upgrade  realtek-firmware-20240513-1.fc40.noarch                   @updates
    Upgrade  sayonara-1.10.0-0.1.beta2.fc40.x86_64                     @updates
    Upgrade  texlive-base-11:20230311-82.fc40.x86_64                   @updates
    Upgrade  texlive-dvipng-11:svn66203-82.fc40.x86_64                 @updates
    Upgrade  texlive-epstopdf-11:svn66461-82.fc40.noarch               @updates
    Upgrade  texlive-gsftopk-11:svn52851-82.fc40.x86_64                @updates
    Upgrade  texlive-kpathsea-11:svn66209-82.fc40.x86_64               @updates
    Upgrade  texlive-latex-11:svn65161-82.fc40.noarch                  @updates
    Upgrade  texlive-lib-11:20230311-82.fc40.x86_64                    @updates
    Upgrade  texlive-luaotfload-11:svn64616-82.fc40.noarch             @updates
    Upgrade  texlive-luatex-11:svn66967-82.fc40.x86_64                 @updates
    Upgrade  texlive-pdftex-11:svn66243-82.fc40.x86_64                 @updates
    Upgrade  texlive-texlive-scripts-11:svn66584-82.fc40.noarch        @updates
    Upgrade  texlive-texlive.infra-11:svn66512-82.fc40.noarch          @updates
    Upgrade  tiwilink-firmware-20240513-1.fc40.noarch                  @updates
    Upgraded google-chrome-stable-124.0.6367.207-1.x86_64              @@System
    Upgraded amd-gpu-firmware-20240410-1.fc40.noarch                   @@System
    Upgraded amd-ucode-firmware-20240410-1.fc40.noarch                 @@System
    Upgraded atheros-firmware-20240410-1.fc40.noarch                   @@System
    Upgraded brcmfmac-firmware-20240410-1.fc40.noarch                  @@System
    Upgraded cirrus-audio-firmware-20240410-1.fc40.noarch              @@System
    Upgraded crypto-policies-20240201-2.git9f501f3.fc40.noarch         @@System
    Upgraded crypto-policies-scripts-20240201-2.git9f501f3.fc40.noarch @@System
    Upgraded djvulibre-libs-3.5.28-7.fc40.x86_64                       @@System
    Upgraded freeipmi-1.6.14-1.fc40.x86_64                             @@System
    Upgraded intel-audio-firmware-20240410-1.fc40.noarch               @@System
    Upgraded intel-gpu-firmware-20240410-1.fc40.noarch                 @@System
    Upgraded iwlegacy-firmware-20240410-1.fc40.noarch                  @@System
    Upgraded iwlwifi-dvm-firmware-20240410-1.fc40.noarch               @@System
    Upgraded iwlwifi-mvm-firmware-20240410-1.fc40.noarch               @@System
    Upgraded kf6-kirigami-6.2.0-2.fc40.x86_64                          @@System
    Upgraded kwin-6.0.4.1-2.fc40.x86_64                                @@System
    Upgraded kwin-common-6.0.4.1-2.fc40.x86_64                         @@System
    Upgraded kwin-libs-6.0.4.1-2.fc40.x86_64                           @@System
    Upgraded kwin-wayland-6.0.4.1-2.fc40.x86_64                        @@System
    Upgraded libertas-firmware-20240410-1.fc40.noarch                  @@System
    Upgraded linux-firmware-20240410-1.fc40.noarch                     @@System
    Upgraded linux-firmware-whence-20240410-1.fc40.noarch              @@System
    Upgraded mt7xxx-firmware-20240410-1.fc40.noarch                    @@System
    Upgraded nvidia-gpu-firmware-20240410-1.fc40.noarch                @@System
    Upgraded nxpwireless-firmware-20240410-1.fc40.noarch               @@System
    Upgraded perl-Module-CoreList-1:5.20240320-1.fc40.noarch           @@System
    Upgraded perl-version-8:0.99.30-3.fc40.x86_64                      @@System
    Upgraded plymouth-24.004.60-4.fc40.x86_64                          @@System
    Upgraded plymouth-core-libs-24.004.60-4.fc40.x86_64                @@System
    Upgraded plymouth-graphics-libs-24.004.60-4.fc40.x86_64            @@System
    Upgraded plymouth-plugin-label-24.004.60-4.fc40.x86_64             @@System
    Upgraded plymouth-plugin-two-step-24.004.60-4.fc40.x86_64          @@System
    Upgraded plymouth-scripts-24.004.60-4.fc40.x86_64                  @@System
    Upgraded plymouth-system-theme-24.004.60-4.fc40.x86_64             @@System
    Upgraded plymouth-theme-spinner-24.004.60-4.fc40.x86_64            @@System
    Upgraded python-cookiecutter-doc-2.5.0-3.fc40.noarch               @@System
    Upgraded python3-babel-2.13.1-3.fc40.noarch                        @@System
    Upgraded python3-cookiecutter-2.5.0-3.fc40.noarch                  @@System
    Upgraded qt5-qtbase-5.15.13-1.fc40.x86_64                          @@System
    Upgraded qt5-qtbase-common-5.15.13-1.fc40.noarch                   @@System
    Upgraded qt5-qtbase-gui-5.15.13-1.fc40.x86_64                      @@System
    Upgraded qt5-qtbase-mysql-5.15.13-1.fc40.x86_64                    @@System
    Upgraded realtek-firmware-20240410-1.fc40.noarch                   @@System
    Upgraded sayonara-1.10.0-0.1.beta1.fc40.x86_64                     @@System
    Upgraded texlive-base-11:20230311-81.fc40.x86_64                   @@System
    Upgraded texlive-dvipng-11:svn66203-81.fc40.x86_64                 @@System
    Upgraded texlive-epstopdf-11:svn66461-81.fc40.noarch               @@System
    Upgraded texlive-gsftopk-11:svn52851-81.fc40.x86_64                @@System
    Upgraded texlive-kpathsea-11:svn66209-81.fc40.x86_64               @@System
    Upgraded texlive-latex-11:svn65161-81.fc40.noarch                  @@System
    Upgraded texlive-lib-11:20230311-81.fc40.x86_64                    @@System
    Upgraded texlive-luaotfload-11:svn64616-81.fc40.noarch             @@System
    Upgraded texlive-luatex-11:svn66967-81.fc40.x86_64                 @@System
    Upgraded texlive-pdftex-11:svn66243-81.fc40.x86_64                 @@System
    Upgraded texlive-texlive-scripts-11:svn66584-81.fc40.noarch        @@System
    Upgraded texlive-texlive.infra-11:svn66512-81.fc40.noarch          @@System
    Upgraded tiwilink-firmware-20240410-1.fc40.noarch                  @@System
Comment 1 Nate Graham 2024-06-26 23:56:33 UTC
Are you able to reproduce this issue in Plasma 6.1, which was released last week?
Comment 2 ALP 2024-06-27 17:16:32 UTC
(In reply to Nate Graham from comment #1)
> Are you able to reproduce this issue in Plasma 6.1, which was released last
> week?

Yes, the issue is reproducible in Plasma 6.1 and 6.1.1 - none of my game controllers show up in the "Game Controller" system settings.
Comment 3 ALP 2024-10-13 16:22:48 UTC
The issue is reproducible in Plasma 6.2.0 - none of my game controllers show up in the "Game Controller" system settings.
Comment 4 Joshua Goins 2024-12-14 15:54:30 UTC
Git commit 9c0c319d635f2758d1d310a2a413b7af335c4005 by Joshua Goins, on behalf of Arthur Kasimov.
Committed on 14/12/2024 at 15:43.
Pushed by redstrate into branch 'master'.

kcms/gamecontroller: Replace SDL Game Controller API with Joystick API

Currently the KCM uses a mix of higher-level SDL "Game Controller" API
and lower-level "Joystick" API. Unfortunately, this results in numerous
bugs. The state of some buttons/axes, such as D-pad or right trigger,
is not displayed properly. This happens due to the mismatch between Game
Controller API and Joystick API that report different number and order
of buttons/axes. Another issue is that some non-standard devices like
racing wheels or handbrakes and not detected at all. The Game Controller
API seems to be limited to standard gamepads only.

This commit introduces new Device class that encapsulates SDL_Joystick
object. Both ButtonModel and AxesModel now use Device object to report
raw values from buttons and axes. DeviceModel now manages Device objects
and shows them in the combo box. This ensures SDL Joystick API is used
consistently across all code and avoids API mismatch issues. This should
also properly detect joysticks, wheels and handbrakes. Unfortunately I
don't have any of these devices and can't really test them.

The Gamepad class encapsulates SDL_GameController object and provides
higher-level access to gamepads. For now it is only used to display the
coordinate of left stick in PositionWidget. In future it can be used to
revamp the UI and show the symbolic view of standard gamepads.
Related: bug 484046, bug 494705, bug 494913

M  +1    -0    kcms/gamecontroller/CMakeLists.txt
M  +33   -14   kcms/gamecontroller/axesmodel.cpp
M  +10   -7    kcms/gamecontroller/axesmodel.h
M  +27   -28   kcms/gamecontroller/buttonmodel.cpp
M  +10   -12   kcms/gamecontroller/buttonmodel.h
A  +90   -0    kcms/gamecontroller/device.cpp     [License: GPL(v2.0+)]
A  +49   -0    kcms/gamecontroller/device.h     [License: GPL(v2.0+)]
M  +71   -30   kcms/gamecontroller/devicemodel.cpp
M  +16   -5    kcms/gamecontroller/devicemodel.h
M  +23   -32   kcms/gamecontroller/gamepad.cpp
M  +7    -20   kcms/gamecontroller/gamepad.h
M  +8    -3    kcms/gamecontroller/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/9c0c319d635f2758d1d310a2a413b7af335c4005