this post was submitted on 12 Mar 2026
23 points (96.0% liked)

Linux

64087 readers
821 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 6 years ago
MODERATORS
 

I'm suddenly unable to get audio for video files, but only for one user and seemingly only with pipewire.... It's the same in all video players I've tried, flatpak and deb.

If I log in as a different user everything is fine. And if I change the audio to alsa in mpv I get audio again there. Music files are unaffected.

I don't know if a permissions issue has arisen somewhere, another application is 'hogging' pipewire, or something else.

Any help much appreciated!

Debian 13, GNOME 48, Wayland

you are viewing a single comment's thread
view the rest of the comments
[–] just_another_person@lemmy.world 6 points 1 week ago* (last edited 1 week ago) (3 children)

Check the groups the working user is included in, and make sure the non-working user is in those same groups. See if anything there.

Edit: Oh, you know what. I think this is probably Pipewire not starting for multiple users when multiple are logged in. On the non-working user, you need to start a unique Pipewire session for that user, because the other working user's session can't be shared by default.

[–] Jjoiq@lemmy.world 5 points 1 week ago (1 children)
[–] oeuf@slrpnk.net 1 points 1 week ago* (last edited 1 week ago) (2 children)

Boom, looks like it's sorted, thanks! I didn't have a ~/.local/state/pipewire/media-session.d/ directory, but I deleted ~/.local/state/wireplumber/ and then rebooted and all was well again 🤸

Any idea what might have caused the problem in the first place?

MPV is no longer responding to my keyboard shortcuts for media controls (play/pause etc). Not a biggie but understanding the issue might help me solve that too.

[–] Jjoiq@lemmy.world 2 points 1 week ago (1 children)

I switched from mint to cachy and took my home folder. But i cant say what truly caises it.

[–] oeuf@slrpnk.net 1 points 1 week ago

Yeah, it could have been something similar for me. I moved a lot of dotfiles over when I switched from Fedora to Debian. I don't remember bringing this one with me but it could have happened.

[–] FauxLiving@lemmy.world 2 points 1 week ago

I had issues with media keys and ended up using a plugin to handle it: https://github.com/hoyon/mpv-mpris

This may not be the proper solution (since yours were working previously, mine never worked) but if you don't have any other suggestions it may work for you.

[–] oeuf@slrpnk.net 4 points 1 week ago (1 children)

No luck so far. When I use 'groups username' in the terminal to compare the groups of both users they are exactly the same. Interestingly neither show 'audio' or 'video' as a group that they're in - both users are only in 'username' and 'users'. Yet both are able to play video, and only one gets audio along with it... The behaviour is the same from a cold boot with only one user logged in as it is when there are two users logged in.

Yeah, see my edit. This is a Pipewire session thing. Each user needs a unique Pipewire session to do audio. Video has nothing to do with Pipewire.

[–] FauxLiving@lemmy.world 1 points 1 week ago

If you're not super up on your systemd commands, use systemctl --user (no sudo):

systemctl --user status pipewire