Repository navigation
Conversation
wf-recorder follows the Asahi DSP clock into a 96 kHz AAC track that this PipeWire graph (and many players) play as silence. Pin the sample rate at 48 kHz. Stop/bar/menu matched ^wf-recorder, which misses argv[0] when it is a full path. Match the basename at a path or line boundary so Capture Stop and the bar indicator work on Apple Silicon. The webcam overlay already skipped initial focus; clicks still stole the session. Ignore focus and mouse-follow so the mini-me stays put.
asahi-audio publishes the beamformed laptop mics as AUX0. Recorders ask for FL/FR, so they fail to link or write left-only audio that loudnorm ruins. Duplicate AUX0 onto a low-priority stereo sink and use its monitor as the default source, without moving existing source-outputs (that steals the DSP capture). speakersafetyd can hit start-limit after a bad IV-sense sample and leave the speakers muted at -100 dB; clear that and try once more.
A new null sink can steal the session output. Putting the speaker convolver back unconditionally bounced headphones and Bluetooth to the internal speakers on every login. Snapshot the default first and restore it; only fall back to the convolver when the dummy sink is what is left.
Member
|
No code blocker found here. Please record the pending reboot, headphone, and audible audio checks on #377, then use one merge path so these commits are not carried by two open PRs. |
Member
|
Superseded by #377 (integrated). Closing without merge. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On Apple Silicon (Asahi), the built-in mic is silent to apps, screen recordings either have no audio or play as silence, Capture Stop disappears while
wf-recorderis running, the webcam overlay steals focus, and aspeakersafetydstart-limit can leave the speakers muted at -100 dB.Verified on a MacBook Air M1 (J313).
What this does
Screen recording
wf-recorder -R 48000— Asahi speaker DSP advertises 96 kHz, and wf-recorder follows that into a 96 kHz AAC track that this PipeWire graph (and many players) play as silence. 48 kHz is the rate the rest of the session already uses.pgrep -f '^wf-recorder'misses argv[0] when it is a full path (/usr/bin/wf-recorder). Match(^|/)(gpu-screen-recorder|wf-recorder)( |$)so Capture Stop and the bar indicator work on the Asahi software path. The existing Stop row and English labels are unchanged.no_initial_focuswas not enough; a click still focused mpv and froze the mini-me. Setno_focusandno_follow_mouse.Mic array
asahi-audio publishes the beamformed laptop mics as AUX0. Recorders and the desktop+mic null-sink ask for FL/FR, so they either fail to link or write left-only audio that
loudnormthen ruins.omarchy-hw-apple—aarch64plusapple,in the device tree.omarchy-audio-asahi-mic-map— wait foreffect_output.j*-mic, create a low-priority stereo null sinkomarchy_asahi_mic,pw-linkAUX0 onto FL and FR, use the monitor as the default source, restore the default sink to the asahi-audio convolver. Never moves existing source-outputs — that steals the DSP chain's capture from the raw mics and kills the filter.priority.sessionto 1.install/user/hardware/apple/mic.sh(fresh users) and Hyprland start (every login). Existing installs get it from the migration.Speakers
speakersafetydcan panic on a bad IV-sense sample (Negative power, bad ivsense data?), hit start-limit, and leave the kernel holding the drivers at -100 dB. Afterenable --now, if the unit is still inactive,reset-failedand trystartonce more.Design notes
omarchy-settingslists user units explicitly in its PKGBUILD; a new unit would need a second PR against omarchy-pkgs. Hyprland autostart plus the user-setup leaf is enough, andbin/is glob-installed by the omarchy package.omarchy-hw-appleis the gate; x86 and non-Apple aarch64 leave the graph alone.Testing
test/cli— metadata check passes (omarchy-hw-apple, hiddenomarchy-audio-asahi-mic-map).bash test/shell.d/asahi-mic-map-test.sh— hardware gate, AUX0→FL/FR mapping, nomove-source-output, headset drop-in, install/autostart/migration wiring.bash test/shell.d/asahi-audio-install-test.sh— existing Asahi audio package coverage plus speakersafetyd start-limit recovery.bash test/shell.d/screenrecording-test.sh— 48 kHz, process matching, overlayno_focus/no_follow_mouse.bash test/shell.d/install-stage-wiring-test.sh—user/hardware/apple/mic.shis sourced frominstall/user/all.sh.Existing installs pick this up through
omarchy update→omarchy-migrate. Factory-reset buyers get it from the packaged/usr/share/omarchydefaults once this is in a release; it does not belong in@factoryas a home-directory overlay.