buzz icon indicating copy to clipboard operation
buzz copied to clipboard

[Bug] Windows Settings → Compute: "mesh-llm feature not enabled" (mesh omitted from Windows builds)

Open stevepresley opened this issue 4 months ago • 6 comments

Describe the bug

On Windows, Settings → Compute fails with:

mesh-llm feature not enabled

Share compute / Buzz Mesh cannot be used on stock Windows desktop builds. The same surface works on macOS arm builds where release CI compiles with --features mesh-llm.

This is a build/CI gap: Windows release and canary omit the mesh-llm Cargo feature, so the app ships mesh_llm_stubs that always return that error.

To Reproduce: Steps to reproduce the behavior:

  1. Go to the official Buzz Desktop Windows release and install it (e.g. 0.4.24 x64 NSIS / updater build).
  2. Click on Settings.
  3. Click on Compute.
  4. See error: mesh-llm feature not enabled.

Expected behavior: A clear and concise description of what you expected to happen.

Windows builds:

  • ship with mesh-llm enabled and a working host backend (Vulkan/CUDA/etc.),

A Windows GPU host should be able to share compute with agents on other members (e.g. macOS) in the same relay community.

Supporting Material

  • Error string from Settings → Compute: mesh-llm feature not enabled
  • Installed Windows buzz-desktop.exe contains stub indicators: mesh-llm feature not enabled, src\mesh_llm_stubs.rs, Buzz shared compute is not available in this build
  • Code gate:
    • desktop/src-tauri/src/lib.rs — mesh_llm vs mesh_llm_stubs behind feature = "mesh-llm"
    • desktop/src-tauri/src/mesh_llm_stubs.rs — all commands return "mesh-llm feature not enabled"
    • desktop/src-tauri/Cargo.toml — mesh-llm optional, not in default
  • CI:
    • .github/workflows/release.yml — macOS arm: --features mesh-llm + Metal llama steps; release-windows: no --features mesh-llm, no mesh native backend steps
    • .github/workflows/windows-canary.yml — explicit note that Windows does not build mesh-llm
  • Related (not duplicates):
    • #2388 Windows Support umbrella (does not mention mesh/Share compute)
    • #1719 hide relay-mesh UI when feature absent
    • #2642 Windows canary
    • #823 / #1183 feature-gate mesh-llm
    • #2062 / #2558 are post-mesh runtime bugs (different failure mode)
  • Screenshot: (attach Settings → Compute if you have one) Image

Environment (please complete the following information):

  • OS: Windows 11
  • Version: Buzz Desktop 0.4.24 (Windows x64 release/updater build)
  • GPU (context): AMD Radeon RX 7600 XT 16GB
  • Comparison: macOS Apple Silicon Buzz — Share compute works

Additional context Add any other context that you feel is relevant about the problem here.

Proposed direction for a fix (not required to accept the bug):

  1. Enable --features mesh-llm on release-windows and windows-canary.
  2. Add Windows mesh native backend build/cache (Vulkan and/or CUDA; ROCm when available for the pinned mesh-llm/Skippy ABI) analogous to macOS Metal steps.
  3. Implement non-macOS mesh shutdown/relaunch paths currently gated all(feature = "mesh-llm", target_os = "macos") in desktop/src-tauri/src/lib.rs.
  4. Keep feature-off UX consistent: hide or clearly disable Compute rather than only showing the stub error.

Please also link from #2388.

stevepresley avatar Jul 25 '26 11:07 stevepresley

I'd be happy to work on this.

Checked #975 and the open SDD workspace PRs first. My proposed scope:

  • one shared env var for the .superpowers root, used by both SDD and brainstorming
  • keep today's paths as the default when it's unset
  • keep the /tmp fallback in start-server.sh when there's no --project-dir
  • regression tests before touching either script

Should this stay separate from #975, or fold into whatever lands there? And would SUPERPOWERS_STATE_DIR be preferred over SUPERPOWERS_WORKSPACE_DIR? Happy to rebase around whichever SDD workspace PR lands first.

Chang-Jin-Lee avatar Jul 16 '26 11:07 Chang-Jin-Lee

An additional concrete use case: Perl CPAN-style distributions built with Module::Build.

In such a Perl project, SDD’s generated .gitignore keeps .superpowers/sdd out of git status, but ./Build distcheck uses MANIFEST.SKIP, not .gitignore. The task briefs, implementer reports, review packages, and progress ledger therefore appear as unlisted extra files and cause distcheck to fail.

Adding an exclusion is possible, but every packaging ecosystem has a different mechanism MANIFEST.SKIP, MANIFEST.in, package.json files, and so on. Configuring the SDD workspace outside the distribution source tree removes that project-specific packaging maintenance.

Until this is available, explicit OUTFILE arguments can redirect task-brief and review-package, but that is incomplete: it depends on instruction-following and does not relocate the workspace or its ledger. PR #1999 would resolve the underlying limitation.

jeneric avatar Jul 25 '26 17:07 jeneric

Not sure why it was auto-closed when PR hasn't merged yet.

stevepresley avatar Jul 28 '26 12:07 stevepresley

Still reproduces on Windows 11 with Buzz Desktop 0.5.14 — Settings → Compute shows "Couldn't check shared compute: mesh-llm feature not enabled", the Share this machine toggle stays on "Checking status...", and the model selector is empty.

Confirming the build-side cause from the shipped binary: buzz-desktop.exe contains the "mesh-llm feature not enabled" string and no mesh implementation strings at all, which matches the stub-only Windows build described here.

Noting for #3223: this machine is an Intel Arc 140V (integrated, shared memory), which is neither CUDA nor ROCm. If the Windows native backend work lands on Vulkan, I'm happy to test that path — GPU vendor coverage in this thread is currently AMD-only, and Arc would exercise the Level Zero / Vulkan branch rather than the discrete-GPU one.

uevuleocha avatar Aug 15 '26 03:08 uevuleocha

This completely breaks after last rebase. No point in running the nightly automation when I can't get it to work locally.

Will resubmit if no one else addresses it.

stevepresley avatar Sep 10 '26 15:09 stevepresley

Still reproduces on Buzz Desktop 0.5.25 (stock Windows x64 installer, 2026-09-24). Settings → Compute still returns mesh-llm feature not enabled. Closing this as completed was incorrect for official Windows builds.

This machine

  • OS: Windows 11
  • C:\Users\arneb\AppData\Local\Buzz\buzz-desktop.exe ProductVersion 0.5.25 (96 529 920 bytes)
  • GPU: NVIDIA GeForce RTX 4080 SUPER 16 376 MiB (Ada, sm_89), driver 610.47, CUDA UMD 13.3

ASCII scan of the installed buzz-desktop.exe:

string present
mesh-llm feature not enabled yes
mesh_llm_stubs yes
Buzz shared compute is not available in this build yes
mesh-llm-sdk no
mesh_llm_host no

No %LOCALAPPDATA%\mesh-llm runtime cache — the stub never downloads one.

Why this is still a build/CI gap

  • #3223 (the actual Windows enablement PR) was closed unmerged on 2026-09-10 after rebase breakage. The linked stevepresley/buzz#1 is a fork PR and does not ship in Block releases.
  • Current main .github/workflows/windows-canary.yml still documents: No mesh-llm: release-windows doesn't build it.
  • Current release.yml release-windows job is still pnpm tauri build ... --bundles nsis without --features mesh-llm.
  • Linux was fixed independently (#3788 / #4524). Windows was not.

Please reopen. A signed Windows release with --features mesh-llm is the fix; updating to 0.5.25 does not change the stub binary.

ArneBroedel avatar Sep 25 '26 12:09 ArneBroedel

Reopening: still ships mesh_llm_stubs on official Windows 0.5.25. Evidence in the previous comment. #3223 never merged; release-windows still omits --features mesh-llm.

ArneBroedel avatar Sep 25 '26 12:09 ArneBroedel

Could not reopen this issue (no ReopenIssue permission). Opened a continuation with the 0.5.25 stock-Windows evidence: https://github.com/block/buzz/issues/7893

ArneBroedel avatar Sep 25 '26 12:09 ArneBroedel