Dictation loses the first ~0.7 s of speech when the mic has been idle
System details
Dell XPS 14 (2026, Intel Lunar Lake, SOF SoundWire mic: cs42l45), Omarchy 4.0.4, voxtype-bin 1.1.0, default default/voxtype/config.toml
What's wrong?
With Omarchy's default dictation setup, the first ~0.7 s of every dictation is silently lost whenever the mic has been idle for more than 5 s, so the first word or two goes missing.
PipeWire suspends the idle mic source after 5 s, and the audio DSP powers down 2 s after that. When voxtype record start runs (F9 or Super+Ctrl+X), voxtype counts the recording as started at once, but audio only arrives once the source has woken up:
Recording stopped (2.4s) Transcribing 1.7s of audio...
Recording stopped (13.2s) Transcribing 12.5s of audio...
Recording stopped (2.2s) Transcribing 1.5s of audio...
Same 2 s test with the source already running: Transcribing 2.0s. About 0.2 s of the gap is the DSP resuming and about 0.5 s is the codec's capture path starting. There's no ALSA control to shorten it on this hardware.
It's also why the dictation overlay takes ~0.7 s to appear: voxtype's default GTK4 OSD only shows when the first audio frame arrives. Switching the default to the Quickshell OSD would make the overlay appear instantly (I measured ~20 ms), but people would then start talking before the mic is listening, which makes this worse. So I've left that alone.
Reported upstream with details: https://github.com/peteonrails/voxtype/issues/817
Steps:
- Leave the mic idle for 10 s (
pactl list sources shortshows itSUSPENDED). - Hold F9, say a sentence straight away, release.
- The first word or two is missing. The voxtype log shows the captured audio ~0.7 s shorter than the recording.
Possible fixes on the Omarchy side, if wanted before voxtype handles it: a WirePlumber rule that keeps the internal mic awake while voxtype is installed (fixes it, costs some battery), or a line in the manual's dictation section: "pause a moment after pressing F9 before speaking".
Thanks for the measurements and for filing it upstream. I read Omarchy's side of this on quattro (da2db1a2f) and checked voxtype's capture code. I did not reproduce it: our test VMs have no SoundWire DSP or real microphone, so the wake-up timing can't be measured there.
What I found:
- Nothing in Omarchy causes the loss or makes it worse.
bin/omarchy-dictation-voxtypejust runsvoxtype record start.default/voxtype/config.tomlhas no warm-up or pre-roll setting, and voxtype 1.1.0 doesn't offer one. The only no-suspend WirePlumber rule Omarchy ships (config/wireplumber/wireplumber.conf.d/kef-lsx-no-suspend.conf) covers one USB speaker, not microphones. The 5 s suspend timeout is WirePlumber's own default. - The mechanism you describe is in voxtype 1.1.0's source: in
src/audio/cpal_capture.rs,start()spawns the capture thread and returns before any audio frame arrives. So the recording counts as started while a suspended source is still waking up. Your upstream report, peteonrails/voxtype#817, is still open, and the 1.1.1 release (2026-10-15) doesn't mention a fix. - The same thing can happen on other hardware, since HDA codecs also power-save. How much audio is lost there hasn't been measured. The ~0.7 s figure comes only from your XPS 14, so this is labelled
bugandcompatibility.
Both workarounds you suggested trade something away. Keeping the internal mic awake while voxtype is installed costs battery, by an amount nobody has measured. Telling people to pause before speaking changes how dictation is meant to work. So I haven't opened a fix pull request. Whether to ship either one, or to wait for voxtype to handle it, is the maintainer's call.
Second opinion: Codex Medium reviewed it separately. It also traced the loss to voxtype's capture start rather than to Omarchy, and found no Omarchy defect. It noted that pause_media = true in the default config might add a little latency before capture opens, but couldn't show that it matters here. Independence isn't guaranteed.
Next step: waiting on the maintainer.