Bug 485531 - Glich and crackling
Summary: Glich and crackling
Status: RESOLVED UPSTREAM
Alias: None
Product: plasma-pa
Classification: Plasma
Component: applet (show other bugs)
Version: 6.0.3
Platform: openSUSE Linux
: NOR major
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-14 10:02 UTC by kailed
Modified: 2024-09-27 09:56 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kailed 2024-04-14 10:02:14 UTC
SUMMARY
Just opening the apllet (left click) cretaes a glich while Ardour is playing using jack asa sound server.
With pipewire-jack, it's worst. Change the volume with the mouse wheel, audio start stuttering/crackling, badly.

https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3512

STEPS TO REPRODUCE
1. for me it's happens while Ardour is playing with a medium size session
2. 
3. 

OBSERVED RESULT
crackling/stuttering sound

EXPECTED RESULT
Good sound

It does not happens with alsamixer
It could be related to the notification sound that the applet try to play
Comment 1 kailed 2024-04-22 18:10:09 UTC
If may help, it doesn't happen with the "old" Kmix
Comment 2 Harald Sitter 2024-09-25 10:48:13 UTC
Does it happen if you set CANBERRA_DRIVER=null in /etc/environment and logout and back in?
Comment 3 kailed 2024-09-25 16:02:56 UTC
(In reply to Harald Sitter from comment #2)
> Does it happen if you set CANBERRA_DRIVER=null in /etc/environment and
> logout and back in?

export -p report declare -x CANBERRA_DRIVER="null", so I think I did it right (there's no /etc/environment on openSUSE by default).

Still the same. Not sure if it means something but I still see "libcamberra" appearing in pw-top when I change the volume.
Comment 4 Harald Sitter 2024-09-26 10:22:07 UTC
If there's still libcanberra in pw-top then you didn't set the environment variable correctly globally.
Comment 5 kailed 2024-09-26 19:17:24 UTC
(In reply to Harald Sitter from comment #4)
> If there's still libcanberra in pw-top then you didn't set the environment
> variable correctly globally.

IDK, added a file to /etc/profile.d with export CANBERRA_DRIVER=null and after a logout/in printenv report  that var correctly but still present in pw-top :/

Anyway, I removed libcanberra-pulse.so and now the mouse wheel   it's working fine ! There is still the small glich whit left click to show the applet menu. A good step ahead.
Comment 6 Harald Sitter 2024-09-27 09:56:16 UTC
Right, so I think this simply needs resolving upstream

https://bugs.kde.org/show_bug.cgi?id=490633 may play into this a bit, but the fact that just opening the applet already produces problems suggests we won't be able to do much about the root issue.