Repository navigation
Conversation
…ay locked A screen recording that opens the Asahi speaker path at 96 kHz panics speakersafetyd on bad ivsense. Stock StartLimitBurst=10/60s then leaves the daemon dead and the kernel clamps the amps, while PipeWire still shows 100%. Disable the start limit, copy the drop-in on Asahi, and toast once when Speaker Volume Unlock stays at 0.
|
Two conditional paths can prevent the promised speaker-lock warning at Offline migration leaves the watcher outside the unit search pathThe failed-enable fallback creates only a Source-derived path, not a live systemd reproduction: Impact: On an existing install taking this fallback, the watcher does not start unless the unit is separately installed in a search directory. The migration can still finish, leaving no speaker-lock warning. The system-service restart override is independent of this issue. Suggested change: Also create the top-level linked unit in the user unit directory, checking both link operations, or package the service under Failed notification readiness consumes the only warning
Impact: A delayed notification server at startup or during a shell restart can suppress the warning for the entire continuous lock episode. A synthetic locked-state sequence confirmed one readiness attempt and no send or later retry; the server-recovery consequence follows from the unchanged Suggested change: Return failure when readiness or sending fails, and set Verified: The watcher only reads mixer controls. With synthetic lock and notification responses, it warns once for a sustained lock, suppresses alternating locked/unlocked observations, and warns again after unlock/relock. The focused PR shell test passed. Source inspection confirms the drop-in disables the start limit and sets five-second restart spacing. Review informationTest scope: Pinned-source review and isolated shell tests with stubbed audio, timing and notification calls. No native Asahi hardware, 96 kHz crash/recovery, live systemd activation or real notification delivery was tested. Offline unit resolution is source/documentation-derived. Community review: Independent automated community review, unaffiliated with the Omarchy team, intended to help prepare PRs for their review. Automated AI review: Astra Medium initial inspection and synthesis, independent Opus 5.5 High and GPT 6 Sol Xhigh technical reviews, and a fresh Astra Medium editorial check. Public claims were checked against source and retained targeted evidence. |
|
Thanks for separating this from #10970 and #10858. Two things still look like they need fixing at 1. The watcher unit is enabled from # install/user/first-run/enable-user-units.sh
omarchy-crash-watch.service \
omarchy-speakersafetyd-watch.service
# migrations/1790123774.sh
if ! systemctl --user enable omarchy-speakersafetyd-watch.service >/dev/null 2>&1; then
wants_dir="$HOME/.config/systemd/user/graphical-session.target.wants"
mkdir -p "$wants_dir"
ln -sfn /usr/lib/systemd/user/omarchy-speakersafetyd-watch.service \
"$wants_dir/omarchy-speakersafetyd-watch.service"
fi2. A notification-wait timeout uses up the only warning. announce_lock() {
omarchy-notification-wait || return 1
omarchy-notification-send ... || return 1
}
...
if ((locked_streak >= 2 && notified == 0)) && announce_lock; then
notified=1
fiI checked the migration name |
|
Closing as out of scope: Omarchy now supports only installs made from the official Omarchy ISO, and this change exists for Apple Silicon, which the ISO doesn't produce. We aren't taking on code paths for setups outside that, because nobody here can test or maintain them. The community-maintained omarchy-mac project is the place for Apple Silicon work. Thanks for the work that went into this. (Checked by Claude Opus 5.5; no second review.) |
Fixes #12976.
A screen recording that opens the Asahi speaker path at 96 kHz panics
speakersafetydon bad ivsense. StockStartLimitBurst=10/ 60s then leaves the unit instart-limit-hit. macaudio clamps the amps (Speaker Volume Unlock=0) while PipeWire still reports 100% unmuted, so YouTube/X go silent with no UI cue.This does not fix the 96 kHz trigger (see #10970 / #11092 for the file sample rate). It stops the desktop from staying muted after the capture client is gone, and it toasts if the lock lasts ~20s.
speakersafetyd.serviceis installed (install + migration), so x86 images do not grow a unit directory they will never load./usr/bin/speakersafetydand a Wayland display) toasts once whileSpeaker Volume Unlockstays at 0. It never writes mixer controls.reset-failed+ starts the daemon when it is already dead on an existing install.Related: #10970, #10858.