Codex Chronicle triggers high coreaudiod CPU with Rogue Amoeba ARK / SoundSource
Bug Report: Codex Chronicle triggers high coreaudiod CPU with Rogue Amoeba ARK / SoundSource
Summary
When Codex Chronicle is enabled on macOS with Rogue Amoeba SoundSource installed, the codex_chronicle screen recorder appears to trigger repeated Rogue Amoeba ARK audio meta-device register/unregister churn inside coreaudiod. This drove coreaudiod to roughly 100-130% CPU and made system audio controls laggy.
Disabling Chronicle and stopping codex_chronicle immediately reduced coreaudiod to roughly 11-30% CPU.
Environment
- macOS: 26.5, build 25F5042g
- Codex desktop: 26.417.41555
- SoundSource: 6.0.6
- Rogue Amoeba ARK driver installed
- Krisp and Parrot virtual audio drivers also installed
Actual Behavior
While Chronicle is active:
coreaudiodsustains roughly 100-130% CPUWindowServersustains roughly 40-50% CPU- system volume/audio controls become laggy
coreaudiodlogs show repeated ARK meta-device work tied tocodex_chronicle
Representative log pattern:
HALS_MultiTap.cpp:222 register_meta_device
HALS_Client.cpp:1573 AddMuter: Process codex_chronicle (...) muted by com.rogueamoeba.ARK...
HALS_MultiTap.cpp:231 unregister_meta_device
Expected Behavior
Chronicle screen recording should not cause sustained high coreaudiod CPU or repeated ARK audio meta-device creation/destruction. If Chronicle is not intentionally recording audio, it should avoid triggering audio capture/muting paths entirely.
Reproduction Steps
- Use macOS with SoundSource / Rogue Amoeba ARK installed.
- Enable Codex Chronicle:
``toml``
[features]
chronicle = true
- Launch Codex desktop.
- Confirm Chronicle is running:
``bash``
pgrep -alf 'codex_chronicle|capture-screenshot-child'
- Observe process CPU:
``bash``
ps -A -o pid=,%cpu=,%mem=,time=,command= | egrep 'coreaudiod|WindowServer|codex_chronicle|SoundSource|ARK' | sort -k2 -nr
- Observe
coreaudiodlogs:
``bash``
log show --last 2m --style compact --predicate 'process == "coreaudiod"' \
| rg 'codex_chronicle|register_meta_device|unregister_meta_device|AddMuter'
- Stop
codex_chronicle:
``bash``
pkill -f '/Applications/Codex.app/Contents/Resources/codex_chronicle'
- Re-measure. In my repro,
coreaudioddropped from triple-digit CPU to roughly 11-30%, and the repeated ARK log entries stopped.
Workaround
Set:
chronicle = false
in ~/.codex/config.toml, stop the running codex_chronicle helper, and restart Codex.
Suggested Fix Direction
- Ensure Chronicle does not trigger audio capture or audio muting paths when only screen capture is needed.
- Keep Chronicle's capture client stable instead of causing repeated ARK meta-device creation/destruction.
- Consider excluding
codex_chroniclefrom audio capture/muting. - Add telemetry/guardrails for sustained
coreaudiodload caused by Chronicle.
3 Comments
Follow-up from more isolation testing because I do not want to keep Chronicle disabled permanently:
/Applications/Codex.appto SoundSource's Excluded Applications list was not sufficient. A controlled Chronicle run still pushedcoreaudiodto roughly 129% CPU./Applications/Codex.app/Contents/Resources/codex_chronicleto SoundSource's Excluded Applications list partially helped. In the sampled window I no longer sawcodex_chronicle-specific ARKAddMuterlog entries, butcoreaudiodstill sat around 50% CPU while Chronicle ran.com.rogueamoeba.arkaudiod) fully mitigated the CoreAudio spike in the sampled run. With Chronicle running and ARK unavailable,coreaudiodsampled at 0.0% CPU.WindowServerremained high, which appears to be the ordinary screen-capture path rather than the CoreAudio bug.Current local compromise:
chronicle = truecodex_chronicleexecutableAdditional retest after updating Loopback/SoundSource. Installed versions are now:
With Chronicle enabled, SoundSource running, ARK 13.1.2 loaded, and both
Codex.appand exactcodex_chronicleSoundSource exclusions present, a controlled 20 second Chronicle run produced:The sampled
coreaudiodlogs no longer showedcodex_chronicle-specific ARKAddMuter/register_meta_device/unregister_meta_deviceentries.After stopping Chronicle:
Interpretation: ARK 13.1.2 plus exact SoundSource exclusions appear to fix the earlier codex-specific ARK log spam, but Chronicle still causes a significant CoreAudio CPU increase while ARK/SoundSource is active. This is improved, but not fully fixed.
This feature is still under development, so we're not accepting bug reports at this time. We'll mark it as "experimental" when it's ready for external use.