Skip to content

P0 acceptance: Windows 10 clean-launch qualification and genuine Audio Setup latency calibration #842

Open

Description

@masarray

P0 Acceptance — Windows 10 launch reliability + DAW latency calibration

Owner request: Users report ArSonMix installs but fails to start (many on Windows 10). Audio Setup must show useful DAW-style latency, eventually offering a genuine optional measured loopback calibration. The delivered version must contain PERF-1 profiling and have one independently validated Windows installer/portable artifact.

Existing source, no duplicate rewrite

  • Stable main@8eadca7eaed397f8e81ce2944fbcb703dcc156d1, approved /preview/, primary direct ASIO one render graph.
  • #841 already implements candidate static MSVC /MT + PE dependency verification, unchecked optional VB-CABLE installation, early WebView2 diagnostic/repair, and active accepted driver-reported IN/OUT FX/buffer latency display. OPEN at last check 269a870d81c5cf618664055c9a4f1ad818a2b4dd.
  • Prior FAT 44727660283 for older SHA bd13180c FAILED at JS contract 462/463 due to Audio Setup latency source contract. Rerun exact current head after source/test reconciliation, not that obsolete job.
  • #840 PERF-1 1 Hz native AUDIO_HEALTH / true active FX DRY/FX evidence, own Windows FAT 44718283667 SUCCESS + artifact installer. Still OPEN in last check; its artifact does not include fix(P0 Windows): startup portability, opt-in VB-CABLE and DAW-style native Audio Setup latency #841 Win10 fixes.

Mandatory first product gate — clean Win10 launch

  1. Confirm actual supported Windows 10 x64 build, UCRT/API compatibility and platform minimum; test with a clean Windows 10 VM absent VC++ redistributable and optionally WebView2, ASIO, VB-CABLE. GitHub windows-latest alone is NOT proof of Win10 startup. Never install device drivers by default or auto-arm output. Do clean install / upgrade / uninstall with persistence .smix.
  2. Ensure actual packaged executable and helpers have no unshipped dynamic CRT/other missing non-OS DLL imports or outdated APIs; inspect import + delay-import and Windows Event Log/WER for loader failures. Write actionable local diagnostic if browser initialization fails; if early process loader fails before JUCE, enable externally accessible PowerShell diagnostics/repair script.
  3. Startup diagnostics must distinguish missing WebView2, DLL missing/loader, incompatible Win10 OS build, device/plugin discovery failure, and WebView2 profile failure; do not assign a single root cause without user logs. Expose safe repair flow, preserve Studio/vendor presets/audio-devices.
  4. Gates: exact-SHA fast native+UI, Windows CTest, clean Windows 10 VM first launch with real UI, installer/portable provenance and rollback, protected review/merge. If clean VM unavailable, explicitly report Win10 hardware FAT NOT RUN and do not claim fixed for real affected users.

Mandatory Audio Setup

  • Display accepted active device driver-reported IN, OUT, host FX/PDC and buffer ms with source labels; never show staged/unapplied device as active, never label estimated as measured, never double-add buffer.
  • Actual latency measurement is a different operator-initiated feature: a safe wired output→input physical loopback calibration (test signal + captured return, normalized correlation/deconvolution, sample count, confidence and sample-rate conversion), tracked per exact driver, device input/output pin masks, rate, buffer, graph version, explicit user consent and rollback. Prevent clipping/speaker surprises. Use existing one PCM callback and off-RT worker for analysis. Return MEASURED_LOOPBACK, DRIVER_REPORTED, UNKNOWN separately; no fake 0 ms.
  • Test 44.1/48/96k, 64/128/256/512 frames with synthetic deterministic impulse loopback before physical calibration; negative noisy/missing/feedback tests; do not claim physical measurements from CI without loopback hardware.

Integration gates and final delivery

Cross-thread INT-1 board #837 · PR #841 audited handoff

Activity

  1. masarray commented on Nov 20, 2026

    @masarray
    OwnerAuthor

    P0 Windows 10 launch status — 21 Nov 2026 (Asia/Jakarta)

    Latest merged main: 6c373b9303cc390798af5f84adaba76e6000ce0c (safe VB-CABLE interruption handling #844). PR #845 4ac7e809c3ef931725fabb5a2ff5c9751db6deed implements a Microsoft-signed WebView2 Evergreen smart prerequisite in the interactive installer, without duplicate CRT or audio engine code.

    Audit: Host EXE already has /MT static VC CRT and exact PE importer rejects VCRUNTIME/MSVCP/WebView2Loader dynamic dependencies. Thus global VC++ Redistributable is not a required host dependency and must not be indiscriminately installed. Current native code has early missing-WebView2 error, GUI_READY handshake, separate safe WebView2 profile and WER startup diagnostics; third-party VST3 crash guard exists. These do NOT prove all field crash reports fixed.

    Implementation: Check WebView2 Evergreen registry version + actual versioned msedgewebview2.exe; when healthy SKIP; when absent download only from Microsoft official go.microsoft.com Evergreen bootstrapper with final HTTPS Microsoft domain plus valid Microsoft Authenticode; run official silent install, recheck, retain diagnostic status. If offline/policy blocked: NEEDS_ATTENTION, no fake success, preserve native error. Enterprise silent updates skip prerequisite network fetch; all audio/output/device/session handling preserved.

    Evidence: PR #845 Fast Native PASS; Inno Smoke PASS; Required Merge Gate SUCCESS. Exact-head FAT Windows run https://github.com/masarray/arsonmix/actions/runs/44823809150 in progress. Clean Win10 x64 VM with WebView2 absent, offline test, user hardware: NOT RUN. Current public prerelease alpha.27 is older and does not contain these corrections.

    Next gate: finish exact-SHA FAT, merge through protection only if PASS, then genuine clean Win10 launch + runtime/install failover matrix before calling P0 solved. Windows7 unsupported by JUCE 8/WebView2; Win10 x86 requires separate plugin/ASIO toolchain qualification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions