Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows on ARM: Failed to compile Zed on Windows ARM running on a Parallels VM #13500

Closed
1 task done
stribog-hub opened this issue Jun 25, 2024 · 3 comments
Closed
1 task done
Labels
bug [core label] crash [core label] platform support An umbrella label for all platforms windows

Comments

@stribog-hub
Copy link

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

Install Windows 11 guest VM on a macOS 14.5 host using Parallels 19
Installed Rust 1.79.0, LLVM 18.1 and VulkanSDK.
Compiled successfully but when running got this errors:

    Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.01s
     Running `target\debug\zed.exe`
[2024-06-25T12:27:03+03:00 ERROR util] crates\fs\src/fs.rs:537: Error { kind: Generic("Input watch path is neither a file nor a directory."), paths: [] }
[2024-06-25T12:27:03+03:00 ERROR util] crates\fs\src/fs.rs:537: Error { kind: Generic("Input watch path is neither a file nor a directory."), paths: [] }
[2024-06-25T12:27:05+03:00 ERROR util] crates\fs\src/fs.rs:537: Error { kind: Generic("Input watch path is neither a file nor a directory."), paths: [] }
[2024-06-25T12:27:05+03:00 ERROR blade_graphics::hal::init] Missing Vulkan entry points: LibraryLoadFailure(LoadLibraryExW { source: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." } })
Thread "main" panicked with "called `Result::unwrap()` on an `Err` value: VulkanLoadingError(LibraryLoadFailure(LoadLibraryExW { source: Os { code: 193, kind: Uncategorized, message: \"%1 is not a valid Win32 application.\" } }))" at crates\gpui\src\platform\windows\window.rs:977:14
   0: <unknown>
   1: <unknown>
   2: <unknown>
   3: <unknown>
   4: <unknown>
   5: <unknown>
   6: <unknown>
   7: <unknown>
   8: <unknown>
   9: git_smart_subtransport_git
  10: git_smart_subtransport_git
  11: <unknown>
  12: <unknown>
  13: <unknown>
  14: <unknown>
  15: LoadMenuW
  16: CopyIcon
  17: SystemParametersInfoW
  18: KiUserCallbackDispatcher
  19: NtUserCreateWindowEx
  20: Ordinal2536
  21: DrawStateW
  22: CreateWindowExW
  23: <unknown>
  24: <unknown>
  25: <unknown>
  26: <unknown>
  27: <unknown>
  28: <unknown>
  29: <unknown>
  30: <unknown>
  31: <unknown>
  32: <unknown>
  33: <unknown>
  34: <unknown>
  35: <unknown>
  36: <unknown>
  37: <unknown>
  38: CreateDispatcherQueueController
  39: CoreUIOpenExisting
  40: CoreUIOpenExisting
  41: CoreUIOpenExisting
  42: CoreUIOpenExisting
  43: CoreUIOpenExisting
  44: CoreUIOpenExisting
  45: CoreUIOpenExisting
  46: CoreUIOpenExisting
  47: CoreUIOpenExisting
  48: CoreUIOpenExisting
  49: LoadMenuW
  50: CopyIcon
  51: SystemParametersInfoW
  52: KiUserCallbackDispatcher
  53: NtUserPeekMessage
  54: DrawStateW
  55: PeekMessageW
  56: <unknown>
  57: <unknown>
  58: <unknown>
  59: <unknown>
  60: <unknown>
  61: <unknown>
  62: <unknown>
  63: <unknown>
  64: <unknown>
  65: <unknown>
  66: git_smart_subtransport_git
  67: git_smart_subtransport_git
  68: BaseThreadInitThunk
  69: RtlUserThreadStart

Environment

Device name	************************
Processor	Apple Silicon   3.20 GHz  (4 processors)
Installed RAM	8.00 GB
Device ID	******************************************
Product ID	***************************
System type	64-bit operating system, ARM-based processor
Pen and touch	Pen support

Edition	Windows 11 Pro
Version	24H2
Installed on	‎4/‎10/‎2024
OS build	26120.670
Experience	Windows Feature Experience Pack 1000.26100.6.0

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

Zed.log
@stribog-hub stribog-hub added admin read bug [core label] labels Jun 25, 2024
@notpeter notpeter added crash [core label] windows platform support An umbrella label for all platforms and removed triage labels Jun 25, 2024
@bjorn3
Copy link

bjorn3 commented Jun 25, 2024

Did you build Zed for aarch64-pc-windows-msvc? I think the Vulkan SDK found at https://vulkan.lunarg.com/sdk/home#windows is x86_64 only. Maybe it works if you build for x86_64-pc-window-msvc and use the x86_64->arm64 translation component of Windows?

@Niko-La
Copy link

Niko-La commented Aug 30, 2024

is there no windows arm 64 snapdragon x elite for Zed?

please provide roadmap for arm 64 windows, hopefully ar64 windows is easier than x86 windows to build for us.
and in the meantime way to run through wsl with gui?

@frankniujc
Copy link

is there no windows arm 64 snapdragon x elite for Zed?

please provide roadmap for arm 64 windows, hopefully ar64 windows is easier than x86 windows to build for us. and in the meantime way to run through wsl with gui?

It's possible to run it in X11 mode with WAYLAND_DISPLAY='' zed. But no GPU support in that mode, and the speed isn't ideal...

@zed-industries zed-industries locked and limited conversation to collaborators Jan 31, 2025
@notpeter notpeter converted this issue into discussion #24040 Jan 31, 2025

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
bug [core label] crash [core label] platform support An umbrella label for all platforms windows
Projects
None yet
Development

No branches or pull requests

5 participants