Hi~ 
I noticed that when I use a gaming mouse with a high polling rate (1000Hz) to drag the volume slider of the Plasma PulseAudio Applet, there is a significant delay due to GUI rendering thread blocking.
Does anyone else experience this issue? Is this issue reproducible?
Steps to reproduce:
1. Use a gaming mouse with a 1000Hz report rate.
2. Drag the volume slider of the PulseAudio Applet back and forth.
Results:
There is noticeable delay and lag in volume adjustment, slider movement, and OSD animation. See the attached image for reference.
Expected Behavior:
When using a high-report-rate input device, the computing does not need to be so precise. Reducing the computational burden of animations or preferably handling related logic asynchronously would be ideal.
Possible relevant code repository:
Bugzilla ticket:
Will fill in later.
Attachment:
(bad behavior)

(For comparison below which is normal behavior, showing by a 250Hz polling rate mouse)

i don’t have any issues using my mouse (evoluent).
but i do have issues using the volume rotatingnob on my keyboard (huntsman V2)… big lag, often goes in the wrong direction at first.
this started with the upgrade from 22.04 to 24.04 and the transition from pulse audio to pipewire, if that helps.
haven’t yet decided to dive into it, figuring someone is working on it.
1 Like
I am indeed using Pipewire, and it seems that this issue is heavily related to the model of the input device. I can reproduce the problem with both the Logitech G502 Hero and another no branded gaming mouse, while an office wireless mouse does not cause any issues.
reply from John Kizer:
Hi - looking into other related reports, this appears to be the same underlying issue as another report, and looks to be an upstream issue with the wireplumber component that handles the underlying volume-setting:
https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/724
That makes sense, maybe wireplumber takes too long to get call back for plasma pa applet, causing GUI rendering blocking. Maybe the 1000Hz high polling rate makes Wireplumber annoyed. 
we need a plumber to clean out the wire 
1 Like