I am having some trouble getting sound to consistently work on Arch Linux. I currently have pipewire-media-session installed, but overall I am unsure of what to do. I have tried running through the pipewire setup in the Arch Manual but I don’t seem to get the issue fixed.
I have four profiles in pavucontrol, “Pro Audio” “Off” “HiFi … (unavailable)” and “HiFi”. If I have bluetooth connected, the right profile is connected (“HiFi”) and I can get sound out of the speakers, but if I don’t then I have to switch between profiles multiple times in pavucontrol to get sound. I don’t know where the profiles are listed at and I can’t seem to find a way to delete them.
Aug 07 22:07:20 jacob-lg-gram wireplumber[965]: [0:00:05.756008694] [965] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
Aug 07 22:07:20 jacob-lg-gram wireplumber[965]: [0:00:05.756023652] [965] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
Aug 07 22:07:20 jacob-lg-gram wireplumber[965]: [0:00:05.756049386] [965] INFO Camera camera_manager.cpp:313 libcamera v0.3.0
Aug 07 22:07:28 jacob-lg-gram wireplumber[1182]: [0:00:13.218191147] [1182] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
Aug 07 22:07:28 jacob-lg-gram wireplumber[1182]: [0:00:13.218200159] [1182] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
Aug 07 22:07:28 jacob-lg-gram wireplumber[1182]: [0:00:13.218216981] [1182] INFO Camera camera_manager.cpp:313 libcamera v0.3.0
Aug 07 22:07:41 jacob-lg-gram wireplumber[965]: wireplumber: stopped by signal: Terminated
Aug 07 22:07:41 jacob-lg-gram wireplumber[965]: wireplumber: disconnected from pipewire
Aug 07 22:23:32 jacob-lg-gram wireplumber[1182]: spa.bluez5.native: RFCOMM receive command but modem not available: AT+BTRH?
Aug 07 22:23:32 jacob-lg-gram wireplumber[1182]: spa.bluez5.native: RFCOMM receive command but modem not available: AT+CSRSF=0,0,0,1,0,0,0
Hopefully this information helps, I noticed that libcamera 3.0 is mentioned in wireplumber but version 3.1 is installed, which prompted me to downgrade, but it didn’t work. I also uninstalled/installed v4l2loopback-dkms as well.
systemctl --user restart pipewire results in functioning audio without having to switch audio profiles, while systemctl --user restart pipewire-pulse does not. Here is the journal output when I restart pipewire-pulse:
Aug 08 00:03:48 jacob-lg-gram systemd[1110]: Stopping PipeWire PulseAudio...
Aug 08 00:03:48 jacob-lg-gram systemd[1110]: Stopped PipeWire PulseAudio.
Aug 08 00:03:48 jacob-lg-gram systemd[1110]: Started PipeWire PulseAudio.
Aug 08 00:03:48 jacob-lg-gram rtkit-daemon[703]: Successfully made thread 2744 of process 2744 owned by '1000' high priority at nice level -11.
Aug 08 00:03:48 jacob-lg-gram rtkit-daemon[703]: Supervising 6 threads of 4 processes of 1 users.
Aug 08 00:03:48 jacob-lg-gram rtkit-daemon[703]: Successfully made thread 2763 of process 2744 owned by '1000' RT at priority 20.
Aug 08 00:03:48 jacob-lg-gram rtkit-daemon[703]: Supervising 7 threads of 4 processes of 1 users.
Aug 08 00:03:52 jacob-lg-gram gnome-shell[1264]: pa_context_set_sink_volume_by_index() failed: Bad state
Aug 08 00:03:52 jacob-lg-gram gnome-shell[1264]: pa_context_set_sink_volume_by_index() failed: Bad state
Aug 08 00:03:53 jacob-lg-gram gnome-shell[1264]: pa_context_set_sink_volume_by_index() failed: Bad state
Aug 08 00:03:53 jacob-lg-gram gnome-shell[1264]: pa_context_set_sink_volume_by_index() failed: Bad state
Aug 08 00:03:53 jacob-lg-gram gnome-shell[1264]: pa_context_set_sink_volume_by_index() failed: Bad state
Aug 08 00:03:53 jacob-lg-gram gnome-shell[1264]: pa_context_set_sink_volume_by_index() failed: Bad state
Aug 08 00:03:53 jacob-lg-gram gsd-media-keys[1438]: Unable to get default sink
Aug 08 00:03:53 jacob-lg-gram gsd-media-keys[1438]: Unable to get default source
Aug 08 00:04:04 jacob-lg-gram geoclue[994]: Service not used for 60 seconds. Shutting down ..
Here is the journal output when restarting pipewire:
Aug 08 00:08:41 jacob-lg-gram systemd[1110]: Stopping Multimedia Service Session Manager...
Aug 08 00:08:41 jacob-lg-gram wireplumber[1132]: wireplumber: stopped by signal: Terminated
Aug 08 00:08:41 jacob-lg-gram wireplumber[1132]: wireplumber: disconnected from pipewire
Aug 08 00:08:41 jacob-lg-gram wireplumber[1132]: pw.core: 0x60aeddb6fc30: leaked proxy 0x60aeddbe6760 id:3
Aug 08 00:08:41 jacob-lg-gram wireplumber[1132]: pw.core: 0x60aeddb6fc30: leaked proxy 0x60aeddbb8530 id:4
Aug 08 00:08:41 jacob-lg-gram wireplumber[1132]: pw.core: 0x60aeddb6fc30: leaked proxy 0x60aeddbeca30 id:5
Aug 08 00:08:41 jacob-lg-gram wireplumber[1132]: pw.core: 0x60aeddb6fc30: leaked proxy 0x60aeddb9a940 id:8
Aug 08 00:08:41 jacob-lg-gram wireplumber[1132]: pw.core: 0x60aeddb6fc30: leaked proxy 0x60aeddccf760 id:9
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint unregistered: sender=:1.70 path=/MediaEndpoint/A2DPSource/ldac
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint unregistered: sender=:1.70 path=/MediaEndpoint/A2DPSink/aptx_hd
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint unregistered: sender=:1.70 path=/MediaEndpoint/A2DPSource/aptx_hd
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint unregistered: sender=:1.70 path=/MediaEndpoint/A2DPSink/aptx
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint unregistered: sender=:1.70 path=/MediaEndpoint/A2DPSource/aptx
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint unregistered: sender=:1.70 path=/MediaEndpoint/A2DPSink/aac
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint unregistered: sender=:1.70 path=/MediaEndpoint/A2DPSource/aac
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint unregistered: sender=:1.70 path=/MediaEndpoint/A2DPSink/opus_g
Aug 08 00:08:41 jacob-lg-gram gsd-media-keys[1438]: Unable to get default sink
Aug 08 00:08:41 jacob-lg-gram gsd-media-keys[1438]: Unable to get default source
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint unregistered: sender=:1.70 path=/MediaEndpoint/A2DPSource/opus_g
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint unregistered: sender=:1.70 path=/MediaEndpoint/A2DPSink/sbc
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint unregistered: sender=:1.70 path=/MediaEndpoint/A2DPSource/sbc
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint unregistered: sender=:1.70 path=/MediaEndpoint/A2DPSource/aptx_ll_1
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint unregistered: sender=:1.70 path=/MediaEndpoint/A2DPSource/aptx_ll_0
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint unregistered: sender=:1.70 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint unregistered: sender=:1.70 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint unregistered: sender=:1.70 path=/MediaEndpoint/A2DPSource/faststream
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint unregistered: sender=:1.70 path=/MediaEndpoint/A2DPSource/faststream_duplex
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint unregistered: sender=:1.70 path=/MediaEndpoint/A2DPSink/opus_05
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint unregistered: sender=:1.70 path=/MediaEndpoint/A2DPSource/opus_05
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint unregistered: sender=:1.70 path=/MediaEndpoint/A2DPSink/opus_05_duplex
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint unregistered: sender=:1.70 path=/MediaEndpoint/A2DPSource/opus_05_duplex
Aug 08 00:08:41 jacob-lg-gram systemd[1110]: Stopped Multimedia Service Session Manager.
Aug 08 00:08:41 jacob-lg-gram xdg-desktop-por[1677]: Caught PipeWire error: connection error
Aug 08 00:08:41 jacob-lg-gram systemd[1110]: Stopping PipeWire Multimedia Service...
Aug 08 00:08:41 jacob-lg-gram systemd[1110]: Stopped PipeWire Multimedia Service.
Aug 08 00:08:41 jacob-lg-gram systemd[1110]: Started PipeWire Multimedia Service.
Aug 08 00:08:41 jacob-lg-gram systemd[1110]: Started Multimedia Service Session Manager.
Aug 08 00:08:41 jacob-lg-gram rtkit-daemon[703]: Successfully made thread 6275 of process 6275 owned by '1000' high priority at nice level -11.
Aug 08 00:08:41 jacob-lg-gram rtkit-daemon[703]: Supervising 5 threads of 4 processes of 1 users.
Aug 08 00:08:41 jacob-lg-gram rtkit-daemon[703]: Successfully made thread 6297 of process 6275 owned by '1000' RT at priority 20.
Aug 08 00:08:41 jacob-lg-gram rtkit-daemon[703]: Supervising 6 threads of 4 processes of 1 users.
Aug 08 00:08:41 jacob-lg-gram rtkit-daemon[703]: Successfully made thread 6276 of process 6276 owned by '1000' high priority at nice level -11.
Aug 08 00:08:41 jacob-lg-gram rtkit-daemon[703]: Supervising 7 threads of 5 processes of 1 users.
Aug 08 00:08:41 jacob-lg-gram rtkit-daemon[703]: Successfully made thread 6307 of process 6276 owned by '1000' RT at priority 20.
Aug 08 00:08:41 jacob-lg-gram rtkit-daemon[703]: Supervising 8 threads of 5 processes of 1 users.
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint registered: sender=:1.115 path=/MediaEndpoint/A2DPSource/ldac
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint registered: sender=:1.115 path=/MediaEndpoint/A2DPSink/aptx_hd
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint registered: sender=:1.115 path=/MediaEndpoint/A2DPSource/aptx_hd
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint registered: sender=:1.115 path=/MediaEndpoint/A2DPSink/aptx
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint registered: sender=:1.115 path=/MediaEndpoint/A2DPSource/aptx
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint registered: sender=:1.115 path=/MediaEndpoint/A2DPSink/aac
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint registered: sender=:1.115 path=/MediaEndpoint/A2DPSource/aac
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint registered: sender=:1.115 path=/MediaEndpoint/A2DPSink/opus_g
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint registered: sender=:1.115 path=/MediaEndpoint/A2DPSource/opus_g
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint registered: sender=:1.115 path=/MediaEndpoint/A2DPSink/sbc
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint registered: sender=:1.115 path=/MediaEndpoint/A2DPSource/sbc
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint registered: sender=:1.115 path=/MediaEndpoint/A2DPSource/aptx_ll_1
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint registered: sender=:1.115 path=/MediaEndpoint/A2DPSource/aptx_ll_0
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint registered: sender=:1.115 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint registered: sender=:1.115 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint registered: sender=:1.115 path=/MediaEndpoint/A2DPSource/faststream
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint registered: sender=:1.115 path=/MediaEndpoint/A2DPSource/faststream_duplex
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint registered: sender=:1.115 path=/MediaEndpoint/A2DPSink/opus_05
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint registered: sender=:1.115 path=/MediaEndpoint/A2DPSource/opus_05
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint registered: sender=:1.115 path=/MediaEndpoint/A2DPSink/opus_05_duplex
Aug 08 00:08:41 jacob-lg-gram bluetoothd[542]: Endpoint registered: sender=:1.115 path=/MediaEndpoint/A2DPSource/opus_05_duplex
Aug 08 00:08:41 jacob-lg-gram wireplumber[6276]: [0:05:42.097768698] [6276] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
Aug 08 00:08:41 jacob-lg-gram wireplumber[6276]: [0:05:42.097780503] [6276] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
Aug 08 00:08:41 jacob-lg-gram wireplumber[6276]: [0:05:42.097801514] [6276] INFO Camera camera_manager.cpp:313 libcamera v0.3.1
I have sof-firmware 2024.06-1 installed, I will edit this after I reinstall it and see what happens.
EDIT: Reinstalling did not change anything, but doing to “mute/unmute” trick works.
Ok, this perhaps falls into the category of known issue then.
I, and others, are currently experiencing what might be the same issue on certain hardware. I thought mine had resolved itself, but it does continue to persist for me.
It’s possible that you’ve copied bad settings into a new installation, making the reinstall pointless.
So, as an additional troubleshooting task, try deleting/renaming the wireplumber directory indicated below, then reboot and test your audio again.
.local/state/wireplumber
If it doesn’t work, since you are willing to reinstall, reinstall again, but don’t copy your old config files over until you’re fully up-to-date and have tested things out.
Once you are fully up-to-date, reboot and test your audio.
Remember, do all of this without copying your previous home configs.
If you find that things are working properly without your old home configs, then you need to be very selective about what you copy.
Finally, your username should be the exact same as it was before reinstalling.
Even the slightest difference can cause incompatibility.
PS: This practice of using your old home should really only be done selectively. It is not for all apps and configs. KDE apps usually hate when you try to do that or just straight up ignore it. At least, that was my experience a few years back.
I have reinstalled Arch Linux and have not copied over my settings. I still experience the same problem. Here is the info before I apply any “restart” or “mute/unmute” remedies:
journalctl -b -0 | grep wire:
Aug 09 00:32:05 jacob-lg-gram wireplumber[932]: spa.bluez5: BlueZ system service is not available
Aug 09 00:32:05 jacob-lg-gram wireplumber[932]: [0:00:05.324004613] [932] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
Aug 09 00:32:05 jacob-lg-gram wireplumber[932]: [0:00:05.324013979] [932] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
Aug 09 00:32:05 jacob-lg-gram wireplumber[932]: [0:00:05.324035217] [932] INFO Camera camera_manager.cpp:313 libcamera v0.3.1
Aug 09 00:32:10 jacob-lg-gram wireplumber[1050]: [0:00:10.127261387] [1050] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
Aug 09 00:32:10 jacob-lg-gram wireplumber[1050]: [0:00:10.127272024] [1050] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
Aug 09 00:32:10 jacob-lg-gram wireplumber[1050]: [0:00:10.127286622] [1050] INFO Camera camera_manager.cpp:313 libcamera v0.3.1
Aug 09 00:32:10 jacob-lg-gram wireplumber[1050]: [0:00:10.128038036] [1082] ERROR MediaDevice media_device.cpp:483 /dev/media0[]: Failed to open media device at /dev/media0: Permission denied
Aug 09 00:32:10 jacob-lg-gram wireplumber[1050]: [0:00:10.128057723] [1082] INFO DeviceEnumerator device_enumerator.cpp:224 Unable to populate media device /dev/media0 (Permission denied), skipping
Aug 09 00:32:10 jacob-lg-gram wireplumber[1050]: [0:00:10.128061463] [1082] WARN DeviceEnumerator device_enumerator_udev.cpp:174 Failed to add device for '/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/media0', skipping
Aug 09 00:32:10 jacob-lg-gram wireplumber[1050]: spa.bluez5: BlueZ system service is not available
Aug 09 00:32:22 jacob-lg-gram wireplumber[932]: wireplumber: stopped by signal: Terminated
Aug 09 00:32:22 jacob-lg-gram wireplumber[932]: wireplumber: disconnected from pipewire
systemctl --user status pipewire pipewire-pulse wireplumber:
● pipewire.service - PipeWire Multimedia Service
Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: enabled)
Active: active (running) since Fri 2024-08-09 00:32:09 CDT; 6min ago
Invocation: 43947f36c1844a5cbd041189e90d0d2f
TriggeredBy: ● pipewire.socket
Main PID: 1049 (pipewire)
Tasks: 3 (limit: 18791)
Memory: 7M (peak: 9.9M)
CPU: 295ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
└─1049 /usr/bin/pipewire
Aug 09 00:32:09 jacob-lg-gram systemd[1035]: Started PipeWire Multimedia Service.
● pipewire-pulse.service - PipeWire PulseAudio
Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; preset: enabled)
Active: active (running) since Fri 2024-08-09 00:32:09 CDT; 6min ago
Invocation: 91375423c25f4cf0b0877a51ae79964d
TriggeredBy: ● pipewire-pulse.socket
Main PID: 1052 (pipewire-pulse)
Tasks: 3 (limit: 18791)
Memory: 7.6M (peak: 14M)
CPU: 271ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
└─1052 /usr/bin/pipewire-pulse
Aug 09 00:32:09 jacob-lg-gram systemd[1035]: Started PipeWire PulseAudio.
● wireplumber.service - Multimedia Service Session Manager
Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
Active: active (running) since Fri 2024-08-09 00:32:09 CDT; 6min ago
Invocation: 219568c1f3dc4981a15f1a8999773adf
Main PID: 1050 (wireplumber)
Tasks: 7 (limit: 18791)
Memory: 6M (peak: 7.8M)
CPU: 557ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
└─1050 /usr/bin/wireplumber
Aug 09 00:32:09 jacob-lg-gram systemd[1035]: Started Multimedia Service Session Manager.
Aug 09 00:32:10 jacob-lg-gram wireplumber[1050]: [0:00:10.127261387] [1050] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
Aug 09 00:32:10 jacob-lg-gram wireplumber[1050]: [0:00:10.127272024] [1050] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
Aug 09 00:32:10 jacob-lg-gram wireplumber[1050]: [0:00:10.127286622] [1050] INFO Camera camera_manager.cpp:313 libcamera v0.3.1
Aug 09 00:32:10 jacob-lg-gram wireplumber[1050]: [0:00:10.128038036] [1082] ERROR MediaDevice media_device.cpp:483 /dev/media0[]: Failed to open media device at /dev/media0: Permission denied
Aug 09 00:32:10 jacob-lg-gram wireplumber[1050]: [0:00:10.128057723] [1082] INFO DeviceEnumerator device_enumerator.cpp:224 Unable to populate media device /dev/media0 (Permission denied), skipping
Aug 09 00:32:10 jacob-lg-gram wireplumber[1050]: [0:00:10.128061463] [1082] WARN DeviceEnumerator device_enumerator_udev.cpp:174 Failed to add device for '/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/media0', skipping
Aug 09 00:32:10 jacob-lg-gram wireplumber[1050]: spa.bluez5: BlueZ system service is not available
Other things that I have messed with are pactl and the multitude of settings available, but it hasn’t yielded any results.
PS: While I’m at it, thank you for your help so far Bink and ddnn.
Hate to bump but I saw that libcamera got updated recently and I now no longer experience the audio issue. Can anyone else that experienced the issue confirm?
I had to look up libcamera because, by its name, it sure doesn’t seem sound related. And it’s not. From the description: “A complex camera support library for Linux, Android, and ChromeOS”.
I wouldn’t think so either, but a majority of my wireplumber errors were coming from libcamera. When I updated to GNOME 47 I still encountered the audio error. Of course, there have been a lot of updates since then, but I can for sure say that after updating libcamera I no longer experience the issue.