zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
39.43k stars 2.05k forks source link

auto-update not supported for OS "windows" #11753

Open Theyashsawarkar opened 1 month ago

Theyashsawarkar commented 1 month ago

Check for existing issues

Describe the bug / provide steps to reproduce it

❯ cargo run Finished dev profile [unoptimized + debuginfo] target(s) in 18.63s Running target\debug\Zed.exe [2024-05-13T19:44:02+05:30 ERROR auto_update] auto-update failed: error:auto-update not supported for OS "windows" Thread "main" panicked with "called Result::unwrap() on an Err value: NotSupportedError" at crates\gpui\src\platform\windows\window.rs:946:14 0: 1: 2: 3: 4: 5: 6: 7: 8: 9: git_midx_writer_dump 10: git_midx_writer_dump 11: 12: 13: 14: 15: DispatchMessageW 16: DispatchMessageW 17: CallNextHookEx 18: KiUserCallbackDispatcher 19: NtUserCreateWindowEx 20: CreateWindowExW 21: CreateWindowExW 22: CreateWindowExW 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: CoreUICreateEx 39: CoreUICallReceive 40: CoreUICallReceive 41: CoreUICallReceive 42: CoreUICallReceive 43: CoreUICallReceive 44: CoreUICallReceive 45: CoreUICallReceive 46: CoreUICallReceive 47: DispatchMessageW 48: DispatchMessageW 49: GetClassLongW 50: KiUserCallbackDispatcher 51: NtUserPeekMessage 52: PeekMessageW 53: PeekMessageW 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: git_midx_writer_dump 65: BaseThreadInitThunk 66: RtlUserThreadStart

error: process didn't exit successfully: target\debug\Zed.exe (exit code: 0xffffffff)

Environment

i use windows 11

i have installed rust and done all the prerequesits stuff already .

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

No response

CharlesChen0823 commented 1 month ago

relate blade not support

JunkuiZhang commented 1 month ago

The panic reason is "NotSupportedError", which means your gpu dose not support some vulkan features, since Zed use vulkan as backend currently. You can try update your gpu driver, updating driver solves this issue in most cases.

cuong21951 commented 1 month ago

The panic reason is "NotSupportedError", which means your gpu dose not support some vulkan features, since Zed use vulkan as backend currently. You can try update your gpu driver, updating driver solves this issue in most cases.

So how can we fix this ?

JunkuiZhang commented 1 month ago

So how can we fix this ?

In most cases, you can resolve this issue by upgrading the GPU driver.

cuong21951 commented 1 month ago

So how can we fix this ?

In most cases, you can resolve this issue by upgrading the GPU driver.

I'm using 6800xt. I did re-install the amd driver but still not supported. Any ideas ?

JunkuiZhang commented 1 month ago

I'm using 6800xt. I did re-install the amd driver but still not supported. Any ideas ?

Are you using the latest driver? If not, you can download it from here.

laok00 commented 2 weeks ago

my gpu is UHD630. I also upgrade my driver. But the problem is still exsits. any idea?

nt8r commented 1 week ago

It's worth noting that this crash has nothing to do with the titular error message, which is an error but not a fatal one. This crash is the .unwrap() inside windows_renderer::windows_renderer.

This bug should probably be renamed.