Bug 485067 - High cpu usage of kscreenlocker_greet and plasmashell processes after switching users
Summary: High cpu usage of kscreenlocker_greet and plasmashell processes after switc...
Status: REPORTED
Alias: None
Product: kscreenlocker
Classification: Plasma
Component: general (show other bugs)
Version: 5.27.11
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-05 07:12 UTC by Vadym Krevs
Modified: 2024-04-05 07:14 UTC (History)
0 users

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


Attachments
qdbus-qt5 org.kde.KWin /KWin supportInformation (6.76 KB, text/plain)
2024-04-05 07:12 UTC, Vadym Krevs
Details
perf report for the plasmashell process with high CPU usage (1.77 MB, text/plain)
2024-04-05 07:13 UTC, Vadym Krevs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vadym Krevs 2024-04-05 07:12:20 UTC
Created attachment 168172 [details]
qdbus-qt5 org.kde.KWin /KWin supportInformation

SUMMARY
High cpu usage of  kscreenlocker_greet and plasmashell  processes after switching users.

Originally reported via https://bugs.kde.org/show_bug.cgi?id=347772#c75, created a new issue as requested by Nate in https://bugs.kde.org/show_bug.cgi?id=347772#c77.

Reproducible: Always. 
Started to happen after replacing the old AMD video card with the NVIDIA video card.

Steps to reproduce:
1. Login as user1
2.  Switch user to user2
3. Observe kscreenlocker_greet and plasmashell processes running as user1 begin to consume 100% CPU.
4. Log off user2 and log back in as user1.
5. High CPU usage disappears.

The workaround from https://bugs.kde.org/show_bug.cgi?id=347772#c22 does not help.
Output of "qdbus-qt5 org.kde.KWin /KWin supportInformation" is attached.


SOFTWARE/OS VERSIONS
Operating System: openSUSE Leap 15.5
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12
Kernel Version: 5.14.21-150500.55.52-default (64-bit)
Graphics Platform: X11
Graphics Processor: NVIDIA GeForce RTX 4060 Ti/PCIe/SSE2
Nvidia drivers: nvidia-video-G06-550.67-lp155.20.1.x86_64)
Comment 1 Vadym Krevs 2024-04-05 07:13:01 UTC
Output of the following is attached.
perf record -p $(pidof plasmashell) -e cpu-cycles --call-graph fp
perf report > perf.report
Comment 2 Vadym Krevs 2024-04-05 07:13:33 UTC
Created attachment 168173 [details]
perf report for the plasmashell process with high CPU usage