You are not logged in.
Hello, I have recently tried moving from PulseAudio to PipeWire (Running KDE Plasma Wayland session so pipewire and pipewire-media-session were already installed btw). Here's what I did:
sudo pacman -S pipewire pipewire-pulse
sudo pacman -R pulseaudio-jack
sudo pacman -R pulseaudio-alsa
sudo pacman -S pipewire pipewire-pulse pipewire-media-session pipewire-alsa pipewire-jack
systemctl reboot
After the reboot no audio device was found except for Dummy Output. I did some Googling and found this post:
https://www.reddit.com/r/archlinux/comm … ces_found/
Following the solution to that post
sudo mv /etc/pipewire /tmp
sudo pacman -S pipewire pipewire-pulse pipewire-media-session
systemctl --user enable pipewire pipewire-pulse pipewire-media-session
systemctl --user restart pipewire pipewire-pulse pipewire-media-session
Did absolutely nothing, so I searched for other solutions with no success - the reason I'm here now
During my research I discovered that
pactl list cards
Outputs nothing
$ pactl list short sinks
42 auto_null PipeWire float32le 2ch 48000Hz SUSPENDED
$ ps -ef | grep pipwire
user 21489 12580 0 15:49 pts/1 00:00:00 grep pipwire
$ pw-cli ls Node
id 28, type PipeWire:Interface:Node/3
object.serial = "28"
factory.id = "10"
priority.driver = "20000"
node.name = "Dummy-Driver"
id 29, type PipeWire:Interface:Node/3
object.serial = "29"
factory.id = "10"
priority.driver = "19000"
node.name = "Freewheel-Driver"
id 35, type PipeWire:Interface:Node/3
object.serial = "35"
factory.id = "10"
client.id = "32"
node.name = "Midi-Bridge"
media.class = "Midi/Bridge"
id 42, type PipeWire:Interface:Node/3
object.serial = "42"
factory.id = "18"
client.id = "38"
node.description = "Dummy Output"
node.name = "auto_null"
media.class = "Audio/Sink"de
$ systemctl --user status pipewire
● pipewire.service - PipeWire Multimedia Service
Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)
Active: active (running) since Sat 2022-12-17 12:15:42 UTC; 54min ago
TriggeredBy: ● pipewire.socket
Main PID: 18575 (pipewire)
Tasks: 2 (limit: 18784)
Memory: 4.3M
CPU: 241ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
└─18575 /usr/bin/pipewire
Dec 17 12:15:42 localhost systemd[1928]: Started PipeWire Multimedia Service.
$ systemctl status --user pipewire-media-session
● pipewire-media-session.service - PipeWire Media Session Manager
Loaded: loaded (/usr/lib/systemd/user/pipewire-media-session.service; enabled; preset: enabled)
Active: active (running) since Sat 2022-12-17 12:15:42 UTC; 56min ago
Main PID: 18578 (pipewire-media-)
Tasks: 2 (limit: 18784)
Memory: 2.0M
CPU: 105ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-media-session.service
└─18578 /usr/bin/pipewire-media-session
Dec 17 12:15:42 localhost systemd[1928]: Started PipeWire Media Session Manager.
Dec 17 12:15:42 localhost systemd[1928]: Started PipeWire Media Session Manager.
Dec 17 12:15:42 localhost pipewire-media-session[18578]: spa.bluez5.quirks: failed to load '/usr/share/spa-0.2/bluez5/bluez-hardware.conf': Permission denied
Dec 17 12:15:42 localhost pipewire-media-session[18578]: spa.bluez5.quirks: failed to load bluez-hardware.conf
Dec 17 12:15:43 localhost pipewire-media-session[18578]: ms.mod.restore-stream: can't save restore-stream state: No such file or directory
Dec 17 12:15:49 localhost pipewire-media-session[18578]: ms.mod.restore-stream: can't save restore-stream state: No such file or directory
Dec 17 12:22:16 localhost pipewire-media-session[18578]: ms.mod.restore-stream: can't save restore-stream state: No such file or directory
Dec 17 12:39:47 localhost pipewire-media-session[18578]: ms.mod.restore-stream: can't save restore-stream state: No such file or directory
Dec 17 12:39:52 localhost pipewire-media-session[18578]: ms.mod.restore-stream: can't save restore-stream state: No such file or directory
Dec 17 12:39:55 localhost pipewire-media-session[18578]: ms.mod.restore-stream: can't save restore-stream state: No such file or directory
I have also discovered that reinstalling pipewire packages only creates the directory of /etc/pipewire/ and all of its subdirectories except /etc/pipewire/media-session.d but absolutely no config files are created. Copying the config files from /usr/share/pipewire/ to /etc/pipewire and restarting doesn't help.
Reinstalling pulseaudio
sudo pacman -S pulseaudio-alsa pulseaudio pulseaudio-jack pulseaudio-bluetooth
Makes everything work great again
sof-firmware package is installed
Any ideas on how do I fix that?
Last edited by PasAmoreux (2022-12-19 15:15:24)
Offline
Try wireplumber instead of pipewire-media-session.
Para todos todo, para nosotros nada
Offline
Unfortunately I can't, because pipewire-media-session is a dependency of kwin. Is there a way to force install it or I'm better off not doing so since it could break kwin?
Offline
Ok, so after my last message I went to the Multimedia and Games section of the forum and stumbled upon this issue:
https://bbs.archlinux.org/viewtopic.php?id=282148
The alsa-tools part immediately caught my attention so I quickly went through with pacman -Q and it turns out I didn't have alsa-firmware and alsa-utils installed
$ sudo pacman -S alsa-firmware alsa-utils
Then, before restarting the system I decided to reinstall all the pipewire packages (again, just in case)
$ sudo pacman -S pipewire pipewire-pulse pipewire-alsa pipewire-jack pipewire-media-session
After doing that, God knows why, my brain decides to type
$ sudo pacman -S wireplumber
And... it warns me about it being in conflict with pipewire-media-session. I proceed, but, to my surprise, this time it didn't warn me about pipewire-media-session being a dependency of kwin!
I restarted the system and everything works now. Seems like installing alsa packets did wonders to my system
Offline
Just for the record: kwin actually depends on the pipewire-session-manager virtual package, which can be satisfied with either pipewire-media-session or wireplumber.
Para todos todo, para nosotros nada
Offline