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

            Bug ID: 501749
           Summary: plasmashell hangs on system start with high disk usage
    Classification: Plasma
           Product: plasmashell
           Version: master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: joway21...@asaud.com
                CC: k...@davidedmundson.co.uk
  Target Milestone: 1.0

SUMMARY

Most likely plasmashell gets stuck in some kind of loop related to audio on
startup. As a result it becomes extremely unresponsive and constantly tries to
interact with the drive causing high disk and cpu usage until it finally
unstucks itself after some random amount of time.

This doesn't happen every time and the time it takes to unstuck itself is
random too. I'm not sure what exactly triggers it but it seems that it's more
prone to this behaviour after kernel updates.

Some entries from KSystemLog make me believe it's somehow related to audio.
Note that I don't see those lines in log every time, I believe those are the
related lines from plasamashell that I observed last time it happened:

org.kde.pulseaudio: Giving up after 5 tries to connect
org.kde.pulseaudio: context kaput

And here's the only thing about audio from this boot since it happened again
(not sure if this one at all related):

org.kde.pulseaudio: server_cb() called without info!

The rest of the log from plasmashell looks unrelated. One more thing pointing
to it being audio related is audio widget in plasmashell itself. After it gets
unstuck it's usually crossed out as if there are no audio devices connected and
displays a message stating that it failed to connect to audio service with
retry button that brings all devices back when pressed.

STEPS TO REPRODUCE
1. Boot the system.

OBSERVED RESULT

Plasmashell becomes unresponsive with high disk and cpu usage. 

EXPECTED RESULT

Plasmashell doesn't become unresponsive.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.13.7-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700X3D 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3080 Ti

ADDITIONAL INFORMATION

Since it probably related to audio somehow, I'm using pipewire with wireplumber
but this behaviour also happens with pipewire-media-session or whatever the
default thing is called. 

I can provide more info if needed but I'm not sure where to look to understand
what causes it. The only workaround I managed to find is to endlessly kill
plasmashell process until it doesn't get stuck or just waiting it out before it
times out or whatever happens there.

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

Reply via email to