I encountered some strange behaviors on HP Elitebook 830 G8 (CPU: TigerLake) upon installing Debian Bookworm with Xfce desktop environment. Such as:
- Audio volume is set to 100% after suspend / monitor sleep.
- The output doesn't automatically switch when a new device is connected.
To find the cause of the problems, I checked journalctl
and I found:
Jul 28 21:32:10 xxx xdg-desktop-portal[2381]: pw.conf: can't load config client.conf: No such file or directory
Jul 28 21:32:10 xxx xdg-desktop-portal[2381]: pw.conf: can't load default config client.conf: No such file or directory
Jul 28 21:32:10 xxx xdg-desktop-por[2381]: Failed connect to PipeWire: Couldn't create PipeWire context
It seems to be a problem of pipewire
not being installed.
Thus, I installed pipewire
by following the instructions on the Debian Wiki.
apt install wireplumber pipewire-media-session-
After a reboot, the problem with suspend was solved.
However, the hotplug issue remained.
To solve this, uncomment the line below in the pipewire-pulse.conf
file.
{ cmd = "load-module" args = "module-switch-on-connect" }
As noted in the Debian Wiki, you should be aware that the configuration directory has been moved from /etc/pipewire/
to /usr/share/pipewire/
.
- Bug#1038627: general: Various applications log PipeWire-related errors on a Bookworm system using PulseAudio.
- PipeWire - Debian Wiki
- PipeWire - ArchWiki
pactl load-module module-switch-on-connect
If it goes well, then add the line below to /etc/pulse/default.pa
.
load-module module-switch-on-connect