this post was submitted on 12 Mar 2026
18 points (95.0% liked)

Linux

66264 readers
525 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 7 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 4 points 3 months ago* (last edited 3 months 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.

[–] oeuf@slrpnk.net 4 points 3 months 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.

[–] just_another_person@lemmy.world 2 points 3 months ago

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.

[–] Jjoiq@lemmy.world 3 points 3 months ago (1 children)
[–] oeuf@slrpnk.net 1 points 3 months ago* (last edited 3 months 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 3 months 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 3 months 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 1 points 3 months 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.

[–] FauxLiving@lemmy.world 1 points 3 months ago

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

systemctl --user status pipewire