Problem Description:
When playing youtube videos (Mullvad browser and Firefox) the volume from the computer speakers is very high, adjusting the volume up or down using the keyboard shows the volume slider on the screen behaving normally, but doesn’t change the volume until the slider hits zero at which point audio gets muted. The mute button works as it should.
Relevant System Information:
Hardware Information:
I have determined that pipewire and maybe pipewire-pulse are used for audio. When I run the “pipewire” and “pipewire-pulse” commands in a terminal, I get this:
markr@markr-Yoga:~$ pipewire
[E][86015.398923] mod.protocol-native | [module-protocol-: 760 lock_socket()] server 0x5eb323095d00: unable to lock lockfile ‘/run/user/1000/pipewire-0.lock’: Resource temporarily unavailable (maybe another daemon is running)
[E][86015.399271] pw.conf | [ conf.c: 584 load_module()] 0x5eb32306fbc0: could not load mandatory module “libpipewire-module-protocol-native”: Resource temporarily unavailable
[E][86015.399731] default | [ pipewire.c: 105 main()] failed to create context: Resource temporarily unavailable
markr@markr-Yoga:~$ pipewire-pulse
[W][86659.198470] mod.protocol-pulse | [ server.c: 628 start_unix_server()] server 0x5bb473eaf710: socket ‘/run/user/1000/pulse/native’ is in use
[W][86659.198545] mod.protocol-pulse | [ server.c: 1060 servers_create_and_start()] pulse-server 0x5bb473eaf460: failed to start server on ‘unix:/run/user/1000/pulse/native’: Address already in use
[E][86659.198561] mod.protocol-pulse | [ pulse-server.c: 5519 pw_protocol_pulse_new()] 0x5bb473eaf460: no servers could be started: Address already in use
[E][86659.198962] pw.conf | [ conf.c: 584 load_module()] 0x5bb473e73bc0: could not load mandatory module “libpipewire-module-protocol-pulse”: Address already in use
[E][86659.199236] default | [ pipewire.c: 105 main()] failed to create context: Address already in use
Do I need to configure pipewire to fix the keyboard volume control problem?
I have found that BlueTooth works fine for audio playback, and it even switches to the LDAC codec automatically. Volume control via the headphones works fine, too. I have not tested the mic in my headphones yet. When I want to use the headphones I have to manually select the audio out to the headphones instead of the speakers. Is there a way to make it switch automatically when it connects to BT headphones? Thanks!