Summary: | plasmashell has high GPU usage when panel is autohidden after upgrading to 6.4 | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | elight2 |
Component: | Panel | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | kdedev, nate, niccolo.venerandi |
Priority: | NOR | Keywords: | regression |
Version First Reported In: | 6.4.1 | ||
Target Milestone: | 1.0 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | plasmashell eats GPU when panel invisible (up); get back to normal when panel visible (down) |
Note: In the screenshot I see these in the panel, which is on the bottom, full width Kicker, Icons only task manager, a few system monitor applets, system tray, clock, peek at desktop I tested this on git-master and noticed similar but not identical behavior. I measured GPU usage using nvtop The system has an integrated AMD GPU There is a Network Speed bargraph widget on the panel, as well as Total CPU Usage, and Memory Usage With the panel set to always show, GPU mem% was steady around .85Gi/2Gi and GPU% was 0 With the panel set to auto hide, GPU mem% was the same, but gpu% was between 25 and 30% consistently, with no application windows open other than Konsole Showing the panel dropped GPU% to 0, and allowing it to auto-hide sent it back up to 25 - 30% I'm not able to replicate with a default panel set to auto hide on another git-master system with an integrated Intel and dedicated NVIDIA GPU. I noticed that in the screenshot, there are a few system monitor widgets on the panel. I added the Network Speed widget, but saw no change I tried adding the same System Monitor widgets as on the other system I tested on above, but still couldn't reproduce This really reminds me of bug 487895 (In reply to TraceyC from comment #1) > Note: In the screenshot I see these in the panel, which is on the bottom, > full width > Kicker, Icons only task manager, a few system monitor applets, system tray, > clock, peek at desktop > > I tested this on git-master and noticed similar but not identical behavior. > I measured GPU usage using nvtop > The system has an integrated AMD GPU > There is a Network Speed bargraph widget on the panel, as well as Total CPU > Usage, and Memory Usage > > With the panel set to always show, GPU mem% was steady around .85Gi/2Gi and > GPU% was 0 > With the panel set to auto hide, GPU mem% was the same, but gpu% was between > 25 and 30% consistently, with no application windows open other than Konsole > > Showing the panel dropped GPU% to 0, and allowing it to auto-hide sent it > back up to 25 - 30% > > I'm not able to replicate with a default panel set to auto hide on another > git-master system with an integrated Intel and dedicated NVIDIA GPU. I > noticed that in the screenshot, there are a few system monitor widgets on > the panel. > I added the Network Speed widget, but saw no change > I tried adding the same System Monitor widgets as on the other system I > tested on above, but still couldn't reproduce I suspect part of the issue may be due to widgets that keep updating. Here are what I did: 1. Set the panel to auto-hide. 2. Remove all the widgets from my panel by deleting the config file, then I logged in. 3. After login, btop still reported near 100% gpu usage, but, when I moved the cursor to let the panel load the first time, the usage went back to normal. 4. However, after adding some widgets that dynamically updates(like timer,system monitor,etc), the fix in step 3 cannot fix it anymore. 5. I also tested a panel with a timer widget not counting down, in which case the fix in step 3 worked. It only became meaningless when the timer widget is counting. It is Bug 487895 yeah. *** This bug has been marked as a duplicate of bug 487895 *** |
Created attachment 182712 [details] plasmashell eats GPU when panel invisible (up); get back to normal when panel visible (down) I just did a pacman -Syu and kde told me that I'm on 6.4 now. Then I checked my integrated intel GPU usage and found that plasmashell used almost 100% of it. However, I did some tests and found that this only happens when the panel is invisible: If I configure the panel to always visible, this will never happens. And when I set it to auto-hide then move my cursor to it to let it pop up, it doesn's eat my GPU either. But, when I use the panel's auto-hide mode, the plasmashell executable eats lots of GPU when the panel is hidden. STEPS TO REPRODUCE 1. Upgrade to plasma 6.4.1 2. Login to desktop 3. hide the panel SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.4.1 KDE Frameworks Version: 6.15.0 Qt Version: 6.9.1 Kernel Version: 6.15.3-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 12 × 11th Gen Intel® Core™ i5-11400 @ 2.60GHz Memory: 16 GiB of RAM (15.4 GiB usable) Graphics Processor 1: NVIDIA GeForce RTX 3060 Laptop GPU Graphics Processor 2: Intel® Graphics Manufacturer: HASEE Computer Product Name: N960Kx