You are not logged in.

#1 2023-07-06 23:28:04

imlearningarch
Member
Registered: 2022-03-10
Posts: 3

Pipewire - Wireplumber audio volume reset on boot

Pipewire, Pipewire-Pulse, Wireplumber are in use.

Every time I reboot the alsamixer TUI reports a different PCM volume. It appears to reset to 100% every time the system is rebooted, but will show a volume between 20-40% (also apparently without a patter).

I tried changing the PCM volume of both the default Pipewire device and the sound card itself. Let's assume after a reboot the Pipewire device will show a volume of 27 PCM and the audio card a volume of 20. But the actual volume is 100%. Once I change the volume on the audio card from 20 to 19 and back to 20 the volume is actually at 20%. So it appears to be some kind of soft reset where a wrong volume is reported. Changing the volume manually back and forth fixes it but it's super annoying if you forget it and listen to music at 100%...

$ pipewire
[W][00072.710032] mod.rt       | [     module-rt.c:  272 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][00072.710138] mod.rt       | [     module-rt.c:  272 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][00072.710169] mod.rt       | [     module-rt.c:  654 set_nice()] could not set nice-level to -11: No such file or directory
[W][00072.710241] mod.rt       | [     module-rt.c:  272 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[E][00072.710326] mod.protocol-native | [module-protocol-:  712 lock_socket()] server 0x56086304f9d0: unable to lock lockfile '/run/user/1000/pipewire-0.lock': Resource temporarily unavailable (maybe another daemon is running)
[E][00072.710347] pw.conf      | [          conf.c:  574 load_module()] 0x56086300f960: could not load mandatory module "libpipewire-module-protocol-native": Resource temporarily unavailable
[E][00072.710387] default      | [      pipewire.c:  105 main()] failed to create context: Resource temporarily unavailable
$  systemctl --user status pipewire
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: enabled)
     Active: active (running) since Fri 2023-07-07 01:14:10 CEST; 2min 19s ago
TriggeredBy: ● pipewire.socket
   Main PID: 562 (pipewire)
      Tasks: 3 (limit: 38385)
     Memory: 10.4M
        CPU: 191ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─562 /usr/bin/pipewire

Jul 07 01:14:10 ws-001-archlinux systemd[555]: Started PipeWire Multimedia Service.
Jul 07 01:14:10 ws-001-archlinux pipewire[562]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
Jul 07 01:14:10 ws-001-archlinux pipewire[562]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
Jul 07 01:14:10 ws-001-archlinux pipewire[562]: mod.rt: could not set nice-level to -11: No such file or directory
Jul 07 01:14:10 ws-001-archlinux pipewire[562]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
Jul 07 01:14:10 ws-001-archlinux pipewire[562]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
Jul 07 01:14:11 ws-001-archlinux pipewire[562]: [0:00:22.666159614] [562]  INFO Camera camera_manager.cpp:298 libcamera v0.0.5

I've also tried using:

pactl set-sink-volume @DEFAULT_SINK@ 20%

(also does not persist between boots)

FYI I have not changed anything expect deleting the configs in the user folder. This is an archinstall install using the i3 profile and pipewire for audio.

Last edited by imlearningarch (2023-07-06 23:30:50)

Offline

Board footer

Powered by FluxBB