Summary: | warning dialogues that play sound are very slow to appear | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-knotifications | Reporter: | davidblunkett <dav1dblunk3tt> |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | cfeck, kdelibs-bugs, ltlnx, nate |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
davidblunkett
2020-12-10 13:59:04 UTC
Odd. How's your CPU usage? Is anything taking up an unusually large amount? Does the affected system use a hard drive or an SSD? Just tested this: unloaded system 32Gb ram, 16Gb RAM free, SSD system disk, 8 cores all idling, cpu load<5%. Same problem as described above, no change. Repeated trials, no noticeable spike in CPU, no noticeable spike in wait states, no process doing anything that can be seen above the noise. Conclusion: not CPU bound or IO bound. How odd. I have no idea how to triage this. :( Christoph, what do you think? Try disabling message box notification sounds to verify the delay is caused by the Linux sound mess^Wsystem. An interesting idea. Can you try that? Ok I tried this and I think this is the answer but it took me an age to find the controls that allows me to disable the sounds. system settings:notifications:application settings:plasma workspace:warning message and uncheck the sound. No sound = instant dialogue. Sound = random few second delay after the title bar is drawn. So sound seems to be the problem. FWIW "Elisa" also hesitates and stutters when resuming play (but amarok is seamless). That's an interesting and relevant-seeming observation. No idea whether this could be our fault, or caused by something underneath us, though. Bumping this as I noticed the problem too, with no sound card available, but only in a specific state where I resumed and for some reason, the sound card wasn't available. In that state, when I open Konsole within Konsole (or Kate, prorably happens with other apps that confirms closing) and try closing while executing a command, Konsole hangs for about 30 seconds and shows the close dialog, and the console that spawned it shows the following error: ``` kf.notifications: Failed to play sound with canberra: IO error ``` By the way, manually killing pipewire (results in `kf.notifications: Failed to play sound with canberra: Invalid state`) or killing pipewire, wireplumber and pipewire-pulse (results in `kf.notifications: Failed to play sound with canberra: Not available`) doesn't hang the confirm dialog, only the IO error variant does. Hope that helps! -- ltlnx |