From cd0ef4b982414cd41c11298029d1e0a93248d7fe Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Fri, 6 Jun 2025 18:57:40 +0800 Subject: [PATCH] docs: Add more troubleshooting steps for Windows (#31500) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Release Notes: - N/A --------- Co-authored-by: 张小白 <364772080@qq.com> --- docs/src/development/windows.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/src/development/windows.md b/docs/src/development/windows.md index 9b7a3f5d96..6d67500aab 100644 --- a/docs/src/development/windows.md +++ b/docs/src/development/windows.md @@ -259,3 +259,23 @@ New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name For more information on this, please see [win32 docs](https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=powershell) (note that you will need to restart your system after enabling longpath support) + +### Graphics issues + +#### Zed fails to launch + +Currently, Zed uses Vulkan as its graphics API on Windows. However, Vulkan isn't always the most reliable on Windows, so if Zed fails to launch, it's likely a Vulkan-related issue. + +You can check the Zed log at: +`C:\Users\YOU\AppData\Local\Zed\logs\Zed.log` + +If you see messages like: + +- `Zed failed to open a window: NoSupportedDeviceFound` +- `ERROR_INITIALIZATION_FAILED` +- `GPU Crashed` +- `ERROR_SURFACE_LOST_KHR` + +Then Vulkan might not be working properly on your system. In most cases, updating your GPU drivers may help resolve this. + +If there's nothing Vulkan-related in the logs and you happen to have Bandicam installed, try uninstalling it. Zed is currently not compatible with Bandicam.