https://bugs.kde.org/show_bug.cgi?id=486624

            Bug ID: 486624
           Summary: Mounting drives increases CPU usage until hitting 100%
    Classification: Plasma
           Product: plasmashell
           Version: 6.0.2
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Disks & Devices
          Assignee: plasma-b...@kde.org
          Reporter: maaste...@gmail.com
  Target Milestone: 1.0

Created attachment 169212
  --> https://bugs.kde.org/attachment.cgi?id=169212&action=edit
Screenshot showing plasmashell at 103% cpu usage. Usually it's somewhere around
1%.

SUMMARY
I have been playing around with microcontrollers such as the Raspberry Pi Pico
recently and noticed that every time I plug in the board and mount it to flash
a new uf2 file my cpu usage increases. After mounting it several times to flash
new builds the cpu usage increases to 100% percent making plasma practically
unusable. At that point I restart plasmashell and then the cycle begins again
until it reaches 100%. So it appears that plasma is maybe not really keeping
track of the device disappearing upon it being flashed causing it to keep track
of many devices that are no longer there?

STEPS TO REPRODUCE
Not sure how reproducable this will be but it happens every time on my system.
1. Mount a USB mass storage device (in my case the Raspberry Pi Pico)
2. Place a uf2 file on the board resulting in it disappearing  (Maybe just
unplugging will also work, but I feel like the disappearing part might actually
be what causes the issue with plasma keeping track of a device that's no longer
there.)
3. Unplug and mount again
4. Go back to step 1, repeat this for a while

OBSERVED RESULT
The cpu usage of plasmashell will be 100%.

EXPECTED RESULT
No increase in cpu usage, cpu usage should not increase when mounting devices
and later unmounting  them.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.5.0-25-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-8565U CPU @ 1.80GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: HP
Product Name: HP ProBook 450 G6

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to