| Summary: | On X11, QML SoundEffect from plasmoid in panel or desktop playing sound becomes choppy when screen is in dpms off | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | C Schell <kdebugs> |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED INTENTIONAL | ||
| Severity: | minor | CC: | kde, nate |
| Priority: | NOR | Keywords: | X11-only |
| Version First Reported In: | 6.0.4 | ||
| Target Milestone: | 1.0 | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Example plasmoid that demonstrates the problem | ||
|
Description
C Schell
2024-05-03 23:27:14 UTC
Are any other sources of audio exhibiting the same issue when the screen is in DPMS off mode? How about apps, or other audio-playing widgets like Advanced Radio Player? If none of them do, then the issue is very likely going to be in the code for your custom widget. Created attachment 169202 [details]
Example plasmoid that demonstrates the problem
(In reply to Nate Graham from comment #1) > If none of them do, then the issue is very likely going to be in the code > for your custom widget. I just attached a very simple example plasmoid that demonstrates the problem. You might have to replace the sound path with something else if you don't have the alsa sound test files installed / in the same location. When I install this and then add the plasmoid to my desktop or panel the sound plays normally when the timer triggers until the display enters dpms off state. The the sound starts playing choppy. Please let me know if there's something wrong with this very simple custom plasmoid. I should also point out it does have to be installed to show the bug. If run with plasmoidviewer it works fine even in dpms off state. Thanks. Cannot reproduce on my laptop when I let the screen turn off. (In reply to Nate Graham from comment #5) > Thanks. Cannot reproduce on my laptop when I let the screen turn off. This is installed and not from plasmoidviewer? And if you don't mind, I'm on x86_64, opensuse tumbleweed, using pipewire, and x11. Any differences for you? Yep installed in ~/.local/share/plasma/plasmoids. My system is x86_64, Fedora KDE 40, PipeWire, and Wayland. All KDE code is built from git master. (In reply to Nate Graham from comment #7) > Yep installed in ~/.local/share/plasma/plasmoids. My system is x86_64, > Fedora KDE 40, PipeWire, and Wayland. All KDE code is built from git master. Thanks for that. If I switch to Wayland the problem doesn't occur. Seems to be an X11 interaction. Not sure if you have X11 installed and can easily switch to it for a test or not. Adding the x11-only keyword Closing as not worth fixing due to esoteric nature and a shift of focus away from X11. |