Skip to content

Windows on ARM64: verify capture/OCR/WGC and add a windows-11-arm CI leg #246

Closed

Description

@TMHSDigital

Value / who it's for

Snapdragon "Copilot+ PC" laptops are a growing share of new Windows machines, and they are disproportionately bought by the AI-forward developers this project targets. Nothing in the repo mentions ARM64 (grep -ri "arm64\|aarch64" over README, docs, src and workflows finds nothing), so those users can't tell whether it works.

Evidence / rationale

Suggested approach

Add a windows-11-arm job to the CI matrix running unit tests plus the capture smoke test. Document a known-good ARM64 ffmpeg build. Include arch in the doctor/capabilities output (#195) and in bug-report env info (#198).

Done when

CI is green on windows-11-arm, and the README states ARM64 support (or lists the known gaps).

Activity

  1. added
    enhancement
    priority: low
    effort: small
    on Oct 25, 2026
  2. TMHSDigital commented on Oct 28, 2026

    @TMHSDigital
    OwnerAuthor

    Reopening: the windows-11-arm leg landed in 5a871aa (non-blocking via job-level continue-on-error), but its first run on e3c09d7 failed. The pinned BtbN winarm64-gpl-shared-8.1 build downloads and passes its SHA-256 check, yet ffmpeg.exe -hide_banner -version prints nothing on the runner, so every ffmpeg-dependent test reports ffmpeg missing (non-ffmpeg tests pass on arm64 Node 22). Likely a load failure (missing DLL / runtime for the shared build). Next: try the static winarm64-gpl asset, or print $LASTEXITCODE after the version probe to confirm. Remove continue-on-error once green.

  3. TMHSDigital commented on Nov 9, 2026

    @TMHSDigital
    OwnerAuthor

    Follow-up on the windows-11-arm leg (6b86bf6, efdad64, f2fda28):

    • The PATH step now fails right away with ffmpeg's exit code when ffmpeg -version prints nothing, instead of ~30 tests reporting "ffmpeg not found".
    • The exit code is 0xC0000005 (access violation), not 0xC0000135 (missing DLL). The shared build wasn't missing a DLL. ffmpeg.exe itself crashes on startup.
    • Tried on the hosted runner: BtbN winarm64-gpl-shared-8.1, winarm64-gpl-8.1 (static) and winarm64-gpl-9.0 (static), all from autobuild-2026-09-30-13-08. All three crash the same way. The leg is pinned back to 8.1 static so it matches the other legs' FFmpeg 8, and the crash is noted in ci.yml.

    Pin changes alone won't fix this. Options:

    1. Another arm64 ffmpeg source, e.g. a winget/MSYS2 clangarm64 ffmpeg package installed on the runner.
    2. Report it upstream to BtbN/FFmpeg-Builds with the runner image version.
    3. Keep the leg report-only for the non-ffmpeg suites.

    continue-on-error stays. Leaving this open.

  4. TMHSDigital commented on Nov 16, 2026

    @TMHSDigital
    OwnerAuthor

    Done. The windows-11-arm leg was crashing at its first step: the pinned BtbN 2026-09-30 arm64 ffmpeg exits with 0xC0000005 on that runner. 71ba9cd pins the 2026-11-14 build (n8.1.3-35, by checksum), and the leg then ran the full suite green on win32-arm64 (1232 tests on 71ba9cd, again on 06c7340). 276e133 drops continue-on-error, so ARM64 is now a required leg, and its first required run passed. That ffmpeg build still has no whisper or libvpx, as the README says.

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

    cieffort: smallenhancementpriority: low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions