Bug 434218 - Using the Mute hotkey repeatedly while having the plasma-pa applet open makes Plasma shell slow down
Summary: Using the Mute hotkey repeatedly while having the plasma-pa applet open makes...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasma-pa
Classification: Plasma
Component: applet (show other bugs)
Version: 5.21.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-10 04:56 UTC by Synthetic451
Modified: 2024-03-18 05:18 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Synthetic451 2021-03-10 04:56:24 UTC
SUMMARY
If you open the plasma-pa widget and press the Mute key on your keyboard repeatedly, Plasma Shell starts to slow down. It first manifests as a slight delay before devices are muted/unmuted. If you continue to do it, eventually Plasma shell slows to a crawl every time you press the Mute key and takes longer and longer to recover. Eventually, pressing the Mute key makes the entire Plasma desktop inoperable for minutes at a time.

STEPS TO REPRODUCE
1. Click on the Volume icon in the panel to open up the plasma-pa widget
2. Press the mute key repeatedly and observe the devices being muted and unmuted.
3. Eventually you'll notice that the devices seem slower to react to the mute key and that the Plasma desktop is slow to darn near inoperable when in this state.

OBSERVED RESULT
Repeated mute key presses with plasma-pa open slows down Plasma

EXPECTED RESULT
Mute key should not slow down Plasma


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.21.2
(available in About System)
KDE Plasma Version: 5.21.2
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
I am also using Pipewire instead of Pulseaudio. Not sure if that has anything to do with this bug.
Comment 1 Nate Graham 2021-03-10 17:20:25 UTC
Cannot reproduce with PulseAudio.
Comment 2 Synthetic451 2021-03-10 21:57:06 UTC
I can reproduce this issue with Pulseaudio. Perhaps its a hardware related issue? What's the best way for me to dump audio hardware information for additional debugging?
Comment 3 Synthetic451 2021-03-10 22:04:02 UTC
Note that repeatedly muting/unmuting without the Plasma PA widget open works just fine. It is only when the widget is open that this issue occurs.
Comment 4 Jure Repinc 2021-08-24 12:06:02 UTC
I can also see this running Plasma 5.22.4, Frameworks 5.85.0, Qt 5.15.2, Pipewire 0.3.33 on openSuse here. I also noticed that when this happens the CPU usage of plasmashell is at 100% and it starts using a lot of memory. I have two audio output devices, the MB integrated Realtek ALC1150, and HDMI Audio on AMD Radeon RX 480.
Comment 5 Synthetic451 2024-03-18 05:18:35 UTC
I no longer experience this issue with Plasma 6. Closing