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?

1 point

Do Pipewire and Wireplumber log something useful to the syslog?

permalink
report
reply
1 point

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

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

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

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

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

Community stats

  • 8.9K

    Monthly active users

  • 5.6K

    Posts

  • 154K

    Comments