Repository navigation
Open
Description
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
bd13180cFAILED 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
- 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-latestalone is NOT proof of Win10 startup. Never install device drivers by default or auto-arm output. Do clean install / upgrade / uninstall with persistence.smix. - 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.
- 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.
- 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,UNKNOWNseparately; 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
- Do not branch a second PR changing
src/Main.cpp/CMakeLists.txt/web/mixer-io.jswhile fix(P0 Windows): startup portability, opt-in VB-CABLE and DAW-style native Audio Setup latency #841 owns them: finish fix(P0 Windows): startup portability, opt-in VB-CABLE and DAW-style native Audio Setup latency #841 or reconcile source on one integration PR after it merges. - Reconcile feat(INT-1B): reliable 1Hz native audio profiling and matched dry/FX evidence #840 / fix(P0 Windows): startup portability, opt-in VB-CABLE and DAW-style native Audio Setup latency #841, close reviews, run one exact merged-tree Windows installer+Chromium+CTest and Win10 clean-VM check. Keep feat(io2c): primary-clock ASRC-to-ChannelId reader and stable device-map leases #825/feat(io3): typed secondary ASIO capture intent and native B lease/readback #830 and feat(native FX): Graphic EQ 31 with dbx frequencies and supplied SVG faders #835 experimental/draft.
- Publish one named verified installer & portable link with source SHA, build provenance, PASS/FAIL/NOT RUN table and user instructions. Do not deliver old feat(INT-1B): reliable 1Hz native audio profiling and matched dry/FX evidence #840 artifact as if it contains Win10 fix.
Metadata
Metadata
Assignees
Labels
No labels
Activity
masarray commentedon Nov 20, 2026
P0 Windows 10 launch status — 21 Nov 2026 (Asia/Jakarta)
Latest merged main:
6c373b9303cc390798af5f84adaba76e6000ce0c(safe VB-CABLE interruption handling #844). PR #8454ac7e809c3ef931725fabb5a2ff5c9751db6deedimplements 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 officialgo.microsoft.comEvergreen 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.