🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Charlie Wesley Wed, 25 Nov 2026 21:30
Bug#1155373: wireplumber: ALSA Master drops from 87 to 56 during SDDM greeter startup
#6202
Author: Charlie Wesley
Date: Wed, 25 Nov 2026 21:30
85 lines
5438 bytes
Package: wireplumber
Version: 0.5.8-2
Severity: normal
X-Debbugs-Cc: f1yankees@gmail.com

On Debian 13.8 (Trixie), the Intel HDA PCH Master playback volume drops
from 87/87 (0 dB) to 56/87 (-23.25 dB) during SDDM greeter startup,
before the desktop user logs in. The saved value in
/var/lib/alsa/asound.state stays at 87 throughout the instrumented boot.

Environment: Surface Laptop 5, Linux Surface 7.3.4-2-surface, Intel HDA
PCH / Realtek ALC274 (snd_hda_intel), Plasma 6.3.6, SDDM
0.21.0+git20250502.4fe234b-2, and PipeWire 1.4.2-1. The desktop user's
ALSA card profile is Pro Audio.

Reproduction: With PCH Master saved at 87, boot to SDDM and observe
Master with amixer -D hw:PCH cget 'name=Master Playback Volume'.
Read it immediately after alsa-restore.service and again after greeter
startup. Watch for control events using alsactl monitor hw:PCH.

The following excerpt uses seconds since boot:

  +20.263575  First readable Master: 87/87, saved: 87
  +20.449008  Immediately before system ALSA restore: 87/87
  +20.495207  Immediately after system ALSA restore: 87/87
  +22.551473  Greeter PipeWire started
  +22.553119  Greeter WirePlumber started
  +22.892559  ALSA monitor: Master Playback Volume VALUE (numid 10)
  +22.894450  Immediate Master read: 56/87, saved: 87
  +31.372230  Desktop user login began
 +319.263972  End of capture: live 56/87, saved 87

The system journal attributes the first audio services to sddm
(UID 106). Restarting the desktop user's PipeWire and WirePlumber
services does not reproduce the change. A manual alsactl restore PCH
restores 87 immediately.

The sddm account has no WirePlumber configuration or saved route
volume. The default sink-route gain of 0.064 linear is about -23.88 dB.
If applied to this ALSA control by ACP, upward rounding at 0.75 dB per
step yields -23.25 dB. The timing and numerical match suggest this
mechanism. The monitor event supplies no writer PID. The desktop user's
card-level api.alsa.soft-mixer rule applies only to that user's instance.

Expected behavior: the greeter should preserve hardware gain restored
at boot. Could Debian apply a greeter-specific policy that uses
software volume while preserving login and accessibility audio? A
general solution should account for hardware switches changed by ACP
mixer-path selection as well.

Related:
https://wiki.debian.org/PipeWire#Device_volume_for_SDDM_users_is_not_restored_on_login
https://bugs.kde.org/show_bug.cgi?id=525184
https://bugs.kde.org/show_bug.cgi?id=529387
https://github.com/PipeWire/pipewire/blob/1.4.2/spa/plugins/alsa/acp/alsa-mixer.c#L1145


-- System Information:
Debian Release: 13.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 7.3.4-2-surface (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to C.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages wireplumber depends on:
ii  dbus-user-session [default-dbus-session-bus]  1.16.2-2
ii  init-system-helpers                           1.69~deb13u1
ii  libc6                                         2.41-12+deb13u5
ii  libglib2.0-0t64                               2.84.4-3~deb13u5
ii  libpipewire-0.3-0t64                          1.4.2-1
ii  libwireplumber-0.5-0                          0.5.8-2
ii  pipewire                                      1.4.2-1

Versions of packages wireplumber recommends:
ii  pipewire-pulse  1.4.2-1

Versions of packages wireplumber suggests:
ii  libspa-0.2-bluetooth  1.4.2-1
pn  libspa-0.2-libcamera  <none>
pn  wireplumber-doc       <none>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads