🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #6202

Bug#1155373: wireplumber: ALSA Master drops from 87 to 56 during SDDM greeter startup

#6202
From: 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>
Technical Details
Message-ID: <O3sIV-e8PG-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Charlie Wesley <f1yankees@gmail.com>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1155373: wireplumber: ALSA Master drops from 87 to 56 during SDDM greeter startup
Date: Wed, 25 Nov 2026 22:30:01 +0100
Message-ID: <O3sIV-e8PG-1@gated-at.bofh.it>
X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Nov 25 21:23:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: 3.916
Reply-To: Charlie Wesley <f1yankees@gmail.com>, 1155373@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: f1yankees@gmail.com, pkg-utopia-maintainers@alioth-lists.debian.net
X-Debian-Pr-Message: report 1155373
X-Debian-Pr-Package: wireplumber
X-Debian-Pr-Source: wireplumber
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2005064
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 85
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 25 Nov 2026 16:21:24 -0500
X-Original-Message-ID: <179564168447.3.17283290439845289209.reportbug@reportbug.local>