Bug 391234 - Joystick always detected in plasma wayland, causing high CPU usage by system calls
Summary: Joystick always detected in plasma wayland, causing high CPU usage by system ...
Status: RESOLVED NOT A BUG
Alias: None
Product: kwayland-integration
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Martin Flöser
URL:
Keywords: usability, wayland-only
Depends on:
Blocks:
 
Reported: 2018-02-28 16:15 UTC by Quentin Levent
Modified: 2018-02-28 16:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Perf report on the left, and the pseudo-joystick on the right, as seen by KDE (29.58 KB, image/png)
2018-02-28 16:15 UTC, Quentin Levent
Details
(for real this time) Perf report on the left, and the pseudo-joystick on the right, as seen by KDE (222.19 KB, image/png)
2018-02-28 16:35 UTC, Quentin Levent
Details
attachment-7511-0.html (1.35 KB, text/html)
2018-02-28 16:58 UTC, Quentin Levent
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Quentin Levent 2018-02-28 16:15:26 UTC
Created attachment 111090 [details]
Perf report on the left, and the pseudo-joystick on the right, as seen by KDE

Using Plasma on wayland (doesn't append on X), there are a lot of system calls (seen as kworker activity) (see: screenshot and perf report) that are made and lead to a constant 60% use on one of the cpus (=30% total CPU usage) to a joystick that doesn't exist (similar to https://bugs.kde.org/show_bug.cgi?id=336907 except for the unusual CPU usage part). Reproductible all the time, because constant.
Using arch linux with KDE unstable repos, and up to date.
Not sure if this is the right product, feel free to move it to the right place.
Package versions:
-linux-ck 4.15.6-1
-kwayland 5.43.0.1
-kwayland integration 5.12.2-1
-plasma-wayland-session 5.12.2-1
Comment 1 Quentin Levent 2018-02-28 16:23:18 UTC
Comment on attachment 111090 [details]
Perf report on the left, and the pseudo-joystick on the right, as seen by KDE

Edit: scrot doesn't seem to support wayland, making a new one
Comment 2 Quentin Levent 2018-02-28 16:35:17 UTC
Created attachment 111091 [details]
(for real this time) Perf report on the left, and the pseudo-joystick on the right, as seen by KDE

Had to take the screen from X (didn't find a way to do it in wayland), but the perf report is of course the one from wayland
Comment 3 Martin Flöser 2018-02-28 16:51:13 UTC
The device is created by the Linux kernel or used. We cannot do anything about incorrectly delivered devices.
Comment 4 Quentin Levent 2018-02-28 16:58:25 UTC
Created attachment 111092 [details]
attachment-7511-0.html

I dont get why it would happend on plasma/wayland only... But either way,
thanks for the time and have a nice day

Le 28 févr. 2018 17:51, "Martin Flöser" <bugzilla_noreply@kde.org> a écrit :

> https://bugs.kde.org/show_bug.cgi?id=391234
>
> Martin Flöser <mgraesslin@kde.org> changed:
>
>            What    |Removed                     |Added
> ------------------------------------------------------------
> ----------------
>          Resolution|---                         |INVALID
>              Status|UNCONFIRMED                 |RESOLVED
>
> --- Comment #3 from Martin Flöser <mgraesslin@kde.org> ---
> The device is created by the Linux kernel or used. We cannot do anything
> about
> incorrectly delivered devices.
>
> --
> You are receiving this mail because:
> You reported the bug.