Bug 485067

Summary: [Nvidia] High cpu usage of kscreenlocker_greet and plasmashell processes after switching users
Product: [Plasma] plasmashell Reporter: Vadym Krevs <vkrevs>
Component: Screen lockingAssignee: Plasma Bugs List <plasma-bugs>
Status: REPORTED ---    
Severity: normal CC: Geir.Horn, kdedev, nate
Priority: NOR    
Version: 6.2.4   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=347772
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: qdbus-qt5 org.kde.KWin /KWin supportInformation
perf report for the plasmashell process with high CPU usage

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
Comment 3 TraceyC 2025-01-14 01:22:00 UTC
*** Bug 486788 has been marked as a duplicate of this bug. ***