You are not logged in.
I use pipewire, pipewire-pulse, and wireplumber. I just used them how they came out of the box, I didn't change any configs.
The issue is that my sound only works every 5-6 reboots if I'm lucky, otherwise I just get a "Dummy Output" listed under pavucontrol. It also seems that the sound has a better chance of working if I wait 30 seconds before logging in, and then wait another 30 seconds before startng the X server.
sytemctl --user status pipewirehas identical output when the sound works to when it doesn't
the wireplumber status actually has more errors when the sound works than when it doesn't.
In every case the services are running and haven't failed, it's just that my output devices aren't listed, only a dummy output.
For reference this is the output after a successful reboot:
$ sytemctl --user status wireplumber
● wireplumber.service - Multimedia Service Session Manager
Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
Active: active (running) since Fri 2023-08-04 16:15:14 MDT; 1min 0s ago
Main PID: 599 (wireplumber)
Tasks: 7 (limit: 19096)
Memory: 49.1M
CPU: 561ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
└─599 /usr/bin/wireplumber
Aug 04 16:15:14 Arch-Desktop systemd[581]: Started Multimedia Service Session Manager.
Aug 04 16:15:14 Arch-Desktop wireplumber[599]: Failed to get percentage from UPower: org.freedesktop.DBus.Error.NameHasNoOwner
Aug 04 16:15:14 Arch-Desktop wireplumber[599]: [0:00:18.669622301] [599] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
Aug 04 16:15:14 Arch-Desktop wireplumber[599]: [0:00:18.669900616] [599] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
Aug 04 16:15:14 Arch-Desktop wireplumber[599]: [0:00:18.669924370] [599] INFO Camera camera_manager.cpp:284 libcamera v0.1.0
Aug 04 16:15:15 Arch-Desktop wireplumber[599]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner
Aug 04 16:15:17 Arch-Desktop wireplumber[599]: <WpSiAudioAdapter:0x55e4b53fffc0> Object activation aborted: proxy destroyed
Aug 04 16:15:17 Arch-Desktop wireplumber[599]: <WpSiAudioAdapter:0x55e4b53fffc0> failed to activate item: Object activation aborted: proxy destroyed
Aug 04 16:15:17 Arch-Desktop wireplumber[599]: <WpPortalPermissionStorePlugin:0x55e4b4ce4950> Failed to call Lookup: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.PermissionStore was not provided by any .service files
Aug 04 16:15:17 Arch-Desktop wireplumber[599]: <WpPortalPermissionStorePlugin:0x55e4b4ce4950> Failed to call Lookup: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.PermissionStore was not provided by any .service filesAnd when there's no sound:
● wireplumber.service - Multimedia Service Session Manager
Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
Active: active (running) since Fri 2023-08-04 16:10:29 MDT; 1min 1s ago
Main PID: 573 (wireplumber)
Tasks: 7 (limit: 19096)
Memory: 48.0M
CPU: 282ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
└─573 /usr/bin/wireplumber
Aug 04 16:10:29 Arch-Desktop systemd[555]: Started Multimedia Service Session Manager.
Aug 04 16:10:29 Arch-Desktop wireplumber[573]: Failed to get percentage from UPower: org.freedesktop.DBus.Error.NameHasNoOwner
Aug 04 16:10:29 Arch-Desktop wireplumber[573]: [0:00:09.383507026] [573] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
Aug 04 16:10:29 Arch-Desktop wireplumber[573]: [0:00:09.383790431] [573] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
Aug 04 16:10:29 Arch-Desktop wireplumber[573]: [0:00:09.383821115] [573] INFO Camera camera_manager.cpp:284 libcamera v0.1.0
Aug 04 16:10:31 Arch-Desktop wireplumber[573]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner
Aug 04 16:10:31 Arch-Desktop wireplumber[573]: <WpPortalPermissionStorePlugin:0x55a62330dff0> Failed to call Lookup: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.PermissionStore was not provided by any .service files
Aug 04 16:10:31 Arch-Desktop wireplumber[573]: <WpPortalPermissionStorePlugin:0x55a62330dff0> Failed to call Lookup: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.PermissionStore was not provided by any .service filesLast edited by Vityou (2023-08-14 19:21:36)
Offline
Kernel logs?
sudo fuser -v /dev/snd/*
sudo journalctl -bon a working and not working boot? Do you have a parallel Windows installation, if so make sure fast boot is disabled. Do you have a modprobe config configuring sound card indices? If you do this incorrectly you can easily introduce a race condition that mit omit one or the other device and is also generally not necessary so if you do I'd suggest you remove that.
Offline
Yes I had a modprobe config because my sound card numbers change on boot
alias snd-card-0 snd_hda_intel
options snd_hda_intel index=0I removed that and now the intel card always shows up, so that seemed to be the issue. But now alsa doesn't select the correct default sound card because the numbering changes every boot, so what would you recommend? And why was this causing a race condition?
Offline
try adding only
options snd_hda_intel index=1to /etc/modprobe.d/alsa-base.conf
Ancestoral Clan https://cirrus.freevar.com/mclean.html
Offline
That won't fix it either. If you're going to do modprobe index shenanigans you need to either account for all devices explicitly or make use of negative indices so that one occupied index does not lead to loading failure. I.e. Vityous config said it must get index 0 or fail if already occupied, so when "some other" device happens to get loaded earlier, it will occupy index 0 and loading snd-hda-intel there will fail
On a general basis you can't fix this if only snd-hda-intel is involved, if you have an usb device and that shouldn't get default you can do
options snd-usb-audio index=-2
option snd-hda-intel index=-1That way the first intel card always gets 0 or whatever's free but the first usb device gets 1 or above.
But if you're using pipewire the ALSA default device nor index order matters and you should generally just be using pipewire-alsa. If you still think you need a different ALSA default device for some reason, use names rather than indices: https://wiki.archlinux.org/title/Advanc … ts%22_node note the last example of overriding with a string name. The name here is the one you see square brackets when looking at aplay -l output
Post the output of aplay -l if you want help figuring a correct index order setup if you need it for the asthetics
Last edited by V1del (2023-08-12 12:31:01)
Offline
Ah I see, thanks. The reason I wanted to set the default alsa card was because I was using amixer to get and set the volume. My volume still worked without alsa having the correct sound card I just couldn't set it without going into alsamixer and manually selecting the correct card.
But I just discovered pamixer which seems to do similar things, but it also knows which card to use somehow. Do you know why pamixer would know which card I want to use?
Offline
Yes because pamixer directly integrates with the proper pipewire/pulseaudio hooks and should be the way to do it, since the alsamixer compatibility integrations don't know the details of the running sound server you should generally only use those when you don't have another choice (there are some specific volume/adjustment knobs that aren't exposed on pipewire/pulseaudio and might need direct changing via alsamixer, but they are usually not something you change frequently). If it's just about volume control you should definitely be using pulseaudio volume mixers rather than alsamixer when running pipewire/pulseaudio since they query and get relevant information from the sound server rather than looking at hard ALSA audio devices.
Last edited by V1del (2023-08-15 14:53:00)
Offline