Skip to content

v1.0.8

Choose a tag to compare

@anti-zero-gravity anti-zero-gravity released this 03 Nov 23:30
· 13 commits to main since this release

What's Changed in v1.0.8

1. Single-Instance Enforcement & System Tray Recovery

  • Safe Single-Instance: Launching ATI while an instance is already running brings the existing window to the foreground and terminates the new process, preventing duplicate instances.
  • Tray Icon Restoration: If the system tray icon disappears due to a Windows Explorer crash, launching ATI restores the tray icon and interface without interrupting ongoing isolation.
  • Seamless Elevation: Fixed race conditions during "Restart as Administrator" to ensure reliable UAC elevation.

2. Normal Thread Ideal CPU Auto-Distribution by Cycles Delta

  • When multiple cores are assigned to NormalCores, normal threads maintain their multi-core affinity mask while their Ideal CPU (preferred core) is distributed in round-robin order sorted by Cycles Delta descending.
  • Applicable Scope: Standard Audio (AppType: 1), High-load DAWs (AppType: 3), Roon (AppType: 4), and Voicemeeter (AppType: 5).
  • Excluded Scope:
    • audiodg.exe (AppType: 0): Excluded because all threads in the process are isolated onto the dedicated audio core.
    • Chromium Browsers (AppType: 2): Excluded from bulk sorting due to its dedicated path; newly spawned threads are simply assigned to available normal cores.
    • Unlisted Processes: Only process-level affinity masks are applied without thread-level scheduling.
  • Rebalance Triggers: Ideal CPUs are kept stable during steady states to avoid cache thrashing. Redistribution only occurs when newly spawned threads appear, when the audio thread changes or is confirmed, or when rules/configurations are modified.

3. Eviction & Configuration Bug Fixes

  • Normal Thread Eviction Fix: Fixed an issue where normal threads in certain registered processes failed to properly move to the assigned normal cores.
  • Affinity Cache Clearance: Improved process mask cache management upon rule/config updates, ensuring changes to NormalCores take effect on running processes immediately.
  • Multi-Slot Rule Dialog: Fixed an issue in the Thread Isolation Settings dialog where clicking the "Other than Audio" row on a multi-slot process corrupted the configuration.

4. Glitch-Free Soft Eviction for Unmonitored Processes

  • Pre-Flight Mask Verification: Verifies process affinity before applying the mask, preventing redundant API calls on child processes that have already inherited the eviction mask.
  • Temporal Rate-Limiting: Rate-limited unmonitored process masking across turns with micro-yield intervals, eliminating audio crackles and buffer underruns during background process bursts.

5. Documentation & Recommended Setup

  • Added recommended network and hardware configuration guidelines for Voicemeeter + VBAN Receptor network audio setups to README.md and README.ja.md (direct Ethernet connection, offloads enabled, flow control disabled, 10M FULL duplex, and 4+ cores assigned to VAIO/AUX & DSP).

Verification & Checksum

  • Binary: ATI.exe
  • SHA-256: FA3F1416F264E8ABA224B6DB7B8DEF0421E3FAEE4A2F8E1F78AB65D9C88BA937
🇯🇵 日本語のリリースノート

主な変更点 (v1.0.8)

1. 多重起動防止の強化とタスクトレイアイコンの復旧機能

  • 安全な多重起動防止: 既に ATI が起動している状態で再度起動された場合、プロセスの重複立ち上げを防ぎ、起動中の画面を最前面に表示して後発側は自動終了します。
  • トレイアイコンの消失復旧: Windows の Explorer がクラッシュしてトレイからアイコンが消えてしまった場合でも、ATI を再度実行するだけで既存の動作を邪魔することなくトレイアイコンと操作画面を復旧できます。
  • 管理者として再起動の安定化: トレイメニューの「Restart as Administrator」を実行した際、プロセスの交代がうまくいかず起動に失敗することがあった問題を修正しました。

2. 通常スレッド群の Cycles Delta 降順 Ideal CPU ラウンドロビン自動分散

  • NormalCores に複数コアが割り当てられている場合、通常スレッド群のアフィニティマスク(複数コア)を維持したまま、直近の CPU 負荷(Cycles Delta 降順)に応じて対象コアへ Ideal CPU(優先コア)をラウンドロビンで自動分散配置します。
  • 適用範囲: 一般オーディオ(AppType: 1)、DAW型(AppType: 3)、Roon(AppType: 4)、Voicemeeter(AppType: 5)などの通常スレッド退避処理を持つ登録プロセス。
  • 適用対象外:
    • audiodg.exe(AppType: 0): プロセス全体(全スレッド)がオーディオコアに一括隔離されるため対象外です。
    • Chromium系ブラウザ(AppType: 2): 専用パスを持つため一括ソートは行われず、初登場の新スレッドのみが空きコアへ順次配置されます。
    • 未登録(Unlisted)プロセス: プロセス単位のアフィニティマスク適用のみを行い、スレッド単位の Ideal CPU 制御は行いません。
  • 動作契機(リバランスタイミング): 定常状態ではキャッシュミスを防ぐため決定された Ideal CPU が維持されます。「新規スレッドが生成された時」「オーディオスレッドが確定・交代した時」「ユーザーが設定を変更した時」にのみ、最新の負荷順で再ソート・再配置されます(スレッドの消滅だけでは既存配置を維持)。

3. 通常スレッド退避および設定ダイアログの不具合修正

  • 通常スレッド退避処理の修正: 一部の登録プロセスにおいて、通常スレッドが退避先コア(NormalCores)へ正常に移動しないことがあった不具合を修正しました。
  • 退避キャッシュの適正化: 設定変更時のキャッシュ管理を改善し、稼働中プロセスへ即座に新設定が反映されるよう修正しました。
  • マルチスロット設定ダイアログの修正: 個別設定ダイアログにおいて、複数スロットルールの「Other than Audio」行をクリックした際に設定値が破損する不具合を修正しました。

4. 未監視(Unmonitored)プロセス退避時の音飛び・異音防止(ソフト退避)

  • 事前マスク照合: 退避マスク適用前に現在のアフィニティを確認し、既に継承済みのプロセスへの重複した API 発行を抑止しました。
  • 時間分散制御: 未監視プロセスの新規退避を時間分散して適用することで、新プロセス起動時の負荷集中による音飛び・異音を解消しました。

5. ドキュメントおよび推奨環境の追記

  • README.md / README.ja.md の Tips 項目に、Voicemeeter + VBAN Receptor 構成(Ethernet LAN 直結、各種オフロード有効、フロー制御無効、10M FULL、VAIO/AUX & DSP への Audio Core 4 個以上推奨)の推奨環境ガイドラインを追記しました。

検証用チェックサム

  • バイナリ: ATI.exe
  • SHA-256: FA3F1416F264E8ABA224B6DB7B8DEF0421E3FAEE4A2F8E1F78AB65D9C88BA937