this post was submitted on 16 Mar 2024
13 points (88.2% liked)

Linux

48171 readers
783 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

For a few months now, Pipewire has been acting in weird ways. Before I upgraded to Plasma 6, after a screen blank (not suspend) no media can be played. For example, YouTube player is in the loading state for a long time, eventually playing without sound, VLC doesn't start for a few minutes.

I have to restart the Pipewire Systemd service to fix it. This restart process takes much longer than usual (<1 seconds). Sometimes it takes up to 5 minutes.

Now with Plasma 6, it also does the same after the initial login. I'm guessing this is because Plasma ignores some KWIN_X11_* env var?

However, if I restart the Pipewire service prior to playing any media after login or screen blank, it takes <1 seconds and everything plays correctly.

This seems to be the problem with the HDMI audio only, as switching to the USB headphones (before screen blanks) prevents this from happening.

How should I start troubleshooting this? What other details should I provide?

top 2 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 8 months ago (1 children)

Do Pipewire and Wireplumber log something useful to the syslog?

[–] [email protected] 1 points 8 months ago

Checked jounralctl for both. There doesn't seem to be anything near the time of screen blank and wake up.