Skip to content
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

Zed failed to start on KDE Plasma 6 Wayland #17129

Closed
1 task done
Reverier-Xu opened this issue Aug 30, 2024 · 48 comments
Closed
1 task done

Zed failed to start on KDE Plasma 6 Wayland #17129

Reverier-Xu opened this issue Aug 30, 2024 · 48 comments
Labels
bug [core label] linux linux-wayland Linux Wayland panic / crash [core label]

Comments

@Reverier-Xu
Copy link

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

  1. install Zed from archlinux repo (both tried on extra/zed 0.150.4-1 and zed-git 0.151.0.r67.g02cd512-1)
  2. Zed could not start.

When I launch zed from a fresh boot, it outputs:

$ zeditor --foreground
Io error: Broken pipe (os error 32)
Error trying to flush the wayland display: Broken pipe (os error 32)

then exit.

When I launch it second time, it outputs a huge log until i kill it:

$ zeditor --foreground
wp_linux_drm_syncobj_manager_v1#45: error 0: surface already exists
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45:
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45:
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45:
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45:
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45:
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45:
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45:
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45:
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45:
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45:
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45:
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45:
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45:
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45:
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45:
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45:
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45:
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45:
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45:
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45:
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45:
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45:
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45:
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45:
.... [loops]

Environment

My system info:

Operating System: Arch Linux 
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.2-arch1-1.1-g14 (64-bit)
Graphics Platform: Wayland
Processors: 20 × 13th Gen Intel® Core™ i9-13900H
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: ROG Zephyrus M16 GU604VI_GU604VI
System Version: 1.0

Wayland info: https://paste.mozilla.org/ZBEqvK87

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

Zed.log
2024-08-30T13:57:44.13937138+08:00 [INFO] ========== starting zed ==========
2024-08-30T13:57:44.492218762+08:00 [INFO] Opening main db
2024-08-30T13:57:44.492371333+08:00 [INFO] perform;
2024-08-30T13:57:44.492415619+08:00 [INFO] authenticate;
2024-08-30T13:57:44.492475022+08:00 [INFO] read_command;
2024-08-30T13:57:44.49279916+08:00 [INFO] new;
2024-08-30T13:57:44.492828024+08:00 [INFO] socket reader;
2024-08-30T13:57:44.493376151+08:00 [INFO] keep_updated;
2024-08-30T13:57:44.510901757+08:00 [INFO] Using git binary path: None
2024-08-30T13:57:44.527288818+08:00 [INFO] set environment variables from shell:/usr/bin/fish, path:/home/reverier/.npm-packages/bin:/home/reverier/.cargo/bin:/home/reverier/.local/bin:/home/reverier/.local/share/rye/shims:/home/reverier/.rye/shims:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin
2024-08-30T13:57:44.528283475+08:00 [INFO] initializing context server client
2024-08-30T13:57:44.528349633+08:00 [INFO] Registering built-in prompt template: content_prompt
2024-08-30T13:57:44.52850041+08:00 [INFO] Registering built-in prompt template: edit_workflow
2024-08-30T13:57:44.528674431+08:00 [INFO] Registering built-in prompt template: step_resolution
2024-08-30T13:57:44.528920152+08:00 [INFO] Registering built-in prompt template: terminal_assistant_prompt
2024-08-30T13:57:44.529036191+08:00 [INFO] No prompt template overrides directory found at /home/reverier/.local/share/zed/prompt_overrides. Using built-in prompts.
2024-08-30T13:57:44.531342458+08:00 [INFO] performance metrics display disabled
2024-08-30T13:57:44.531388075+08:00 [INFO] activate is not implemented on Linux, ignoring the call
2024-08-30T13:57:44.531470379+08:00 [INFO] Opening main db
2024-08-30T13:57:44.559114632+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T13:57:44.559181321+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T13:57:44.559222373+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T13:57:44.559264551+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T13:57:44.559322668+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T13:57:44.562223207+08:00 [INFO] perform;
2024-08-30T13:57:44.562269955+08:00 [INFO] authenticate;
2024-08-30T13:57:44.562317307+08:00 [INFO] read_command;
2024-08-30T13:57:44.562575076+08:00 [INFO] socket reader;
2024-08-30T13:57:44.565499975+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T13:57:44.565534665+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T13:57:44.565556082+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T13:57:44.56557754+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T13:57:44.565597377+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T13:57:44.566121181+08:00 [INFO] new;
2024-08-30T13:57:44.566574202+08:00 [INFO] keep_updated;
2024-08-30T13:57:44.623255248+08:00 [INFO] Enabling Vulkan Portability
2024-08-30T13:57:44.623293398+08:00 [INFO] Enabling color space support
2024-08-30T13:57:44.63504587+08:00 [INFO] Adapter "Intel(R) Graphics (RPL-P)"
2024-08-30T13:57:44.635082678+08:00 [INFO] No ray tracing extensions are supported
2024-08-30T13:57:44.637817144+08:00 [INFO] Using surface present mode MAILBOX
2024-08-30T13:57:44.638142148+08:00 [WARN] Unable to forbid exclusive full screen
2024-08-30T13:57:44.638502149+08:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-08-30T13:57:44.638571415+08:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-08-30T13:57:44.63863383+08:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: PreMultiplied }
2024-08-30T13:57:44.643646848+08:00 [INFO] Using GPU: GPUSpecs { is_software_emulated: false, device_name: "Intel(R) Graphics (RPL-P)", driver_name: "Intel open-source Mesa driver", driver_info: "Mesa 24.1.6-arch1.1" }
2024-08-30T13:57:44.644016985+08:00 [INFO] set status on client 0: Authenticating
2024-08-30T13:57:44.644424648+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T13:57:44.644491981+08:00 [INFO] perform;
2024-08-30T13:57:44.644529238+08:00 [INFO] authenticate;
2024-08-30T13:57:44.644570622+08:00 [INFO] read_command;
2024-08-30T13:57:44.644627153+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T13:57:44.644826774+08:00 [INFO] socket reader;
2024-08-30T13:57:44.645007645+08:00 [ERROR] no worktrees when constructing ProjectLspAdapterDelegate
2024-08-30T13:57:44.645665834+08:00 [INFO] Opening main db
2024-08-30T13:57:44.647412559+08:00 [INFO] new;
2024-08-30T13:57:44.647824436+08:00 [INFO] keep_updated;
2024-08-30T13:57:44.648009406+08:00 [INFO] set status on client 62705: Connecting
2024-08-30T13:57:44.651699373+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T13:57:44.665618239+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T13:57:44.731022193+08:00 [INFO] rebuilt extension index in 659.203µs
2024-08-30T13:57:44.744140923+08:00 [ERROR] Is a directory (os error 21)
2024-08-30T13:57:45.101549439+08:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-08-30T13:57:45.398329812+08:00 [ERROR] status error 403, response: "{\"message\":\"API rate limit exceeded for 103.151.172.34. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)\",\"documentation_url\":\"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting\"}\n"
2024-08-30T13:57:45.958386652+08:00 [INFO] add connection to peer
2024-08-30T13:57:45.958426705+08:00 [INFO] add_connection;
2024-08-30T13:57:45.95846685+08:00 [INFO] waiting for server hello
2024-08-30T13:57:45.965355981+08:00 [INFO] got server hello
2024-08-30T13:57:45.965383854+08:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 0 }, peer id: PeerId { owner_id: 504, id: 574615 })
2024-08-30T13:57:45.965426515+08:00 [INFO] set status on client 62705: Connected { peer_id: PeerId { owner_id: 504, id: 574615 }, connection_id: ConnectionId { owner_id: 0, id: 0 } }
2024-08-30T13:59:57.270406268+08:00 [INFO] ========== starting zed ==========
2024-08-30T13:59:57.956681283+08:00 [INFO] perform;
2024-08-30T13:59:57.95676185+08:00 [INFO] authenticate;
2024-08-30T13:59:57.95682307+08:00 [INFO] Opening main db
2024-08-30T13:59:57.956951042+08:00 [INFO] read_command;
2024-08-30T13:59:57.957506503+08:00 [INFO] new;
2024-08-30T13:59:57.957626455+08:00 [INFO] socket reader;
2024-08-30T13:59:57.958686511+08:00 [INFO] Using git binary path: None
2024-08-30T13:59:57.958850803+08:00 [INFO] keep_updated;
2024-08-30T13:59:57.987709987+08:00 [INFO] initializing context server client
2024-08-30T13:59:57.987806195+08:00 [INFO] Registering built-in prompt template: content_prompt
2024-08-30T13:59:57.988043452+08:00 [INFO] Registering built-in prompt template: edit_workflow
2024-08-30T13:59:57.988311198+08:00 [INFO] Registering built-in prompt template: step_resolution
2024-08-30T13:59:57.988680699+08:00 [INFO] Registering built-in prompt template: terminal_assistant_prompt
2024-08-30T13:59:57.98891608+08:00 [INFO] No prompt template overrides directory found at /home/reverier/.local/share/zed/prompt_overrides. Using built-in prompts.
2024-08-30T13:59:57.989433416+08:00 [INFO] extensions updated. loading 1, reloading 0, unloading 0
2024-08-30T13:59:57.992121208+08:00 [INFO] performance metrics display disabled
2024-08-30T13:59:57.992188124+08:00 [INFO] activate is not implemented on Linux, ignoring the call
2024-08-30T13:59:57.992259812+08:00 [INFO] Opening main db
2024-08-30T13:59:57.99704998+08:00 [INFO] set environment variables from shell:/usr/bin/fish, path:/home/reverier/.npm-packages/bin:/home/reverier/.cargo/bin:/home/reverier/.local/bin:/home/reverier/.local/share/rye/shims:/home/reverier/.rye/shims:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin
2024-08-30T13:59:58.016248899+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T13:59:58.016352449+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T13:59:58.016422614+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T13:59:58.016490767+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T13:59:58.016690611+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T13:59:58.017287566+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T13:59:58.017377795+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T13:59:58.017450277+08:00 [INFO] perform;
2024-08-30T13:59:58.017535739+08:00 [INFO] authenticate;
2024-08-30T13:59:58.01760824+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T13:59:58.017671419+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T13:59:58.017708999+08:00 [INFO] read_command;
2024-08-30T13:59:58.018096563+08:00 [INFO] socket reader;
2024-08-30T13:59:58.02252244+08:00 [INFO] new;
2024-08-30T13:59:58.023379293+08:00 [INFO] keep_updated;
2024-08-30T13:59:58.032496046+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T13:59:58.105656698+08:00 [INFO] Enabling Vulkan Portability
2024-08-30T13:59:58.10570595+08:00 [INFO] Enabling color space support
2024-08-30T13:59:58.160194421+08:00 [INFO] Adapter "Intel(R) Graphics (RPL-P)"
2024-08-30T13:59:58.160270093+08:00 [INFO] No ray tracing extensions are supported
2024-08-30T13:59:58.162911846+08:00 [INFO] Using surface present mode MAILBOX
2024-08-30T13:59:58.163405694+08:00 [WARN] Unable to forbid exclusive full screen
2024-08-30T13:59:58.164138729+08:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-08-30T13:59:58.16424164+08:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-08-30T13:59:58.164330133+08:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: PreMultiplied }
2024-08-30T13:59:58.172948721+08:00 [INFO] Using GPU: GPUSpecs { is_software_emulated: false, device_name: "Intel(R) Graphics (RPL-P)", driver_name: "Intel open-source Mesa driver", driver_info: "Mesa 24.2.1-arch1.1" }
2024-08-30T13:59:58.173552842+08:00 [INFO] set status on client 0: Authenticating
2024-08-30T13:59:58.174000956+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T13:59:58.17442488+08:00 [INFO] perform;
2024-08-30T13:59:58.174484368+08:00 [INFO] authenticate;
2024-08-30T13:59:58.174532265+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T13:59:58.174651981+08:00 [INFO] read_command;
2024-08-30T13:59:58.175040262+08:00 [INFO] socket reader;
2024-08-30T13:59:58.175283916+08:00 [INFO] Opening main db
2024-08-30T13:59:58.17621561+08:00 [INFO] Opening main db
2024-08-30T13:59:58.177334225+08:00 [ERROR] no worktrees when constructing ProjectLspAdapterDelegate
2024-08-30T13:59:58.178868313+08:00 [INFO] new;
2024-08-30T13:59:58.179515764+08:00 [INFO] keep_updated;
2024-08-30T13:59:58.179965336+08:00 [INFO] set status on client 62705: Connecting
2024-08-30T13:59:58.18606782+08:00 [INFO] Initializing default prettier with plugins {}
2024-08-30T13:59:58.189103521+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T13:59:58.221102769+08:00 [INFO] Initializing default prettier with plugins {}
2024-08-30T13:59:58.222099407+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T13:59:58.276992795+08:00 [INFO] Initializing default prettier with plugins {}
2024-08-30T13:59:58.277887416+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T13:59:58.614555237+08:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-08-30T13:59:58.806735696+08:00 [ERROR] status error 403, response: "{\"message\":\"API rate limit exceeded for 103.151.172.13. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)\",\"documentation_url\":\"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting\"}\n"
2024-08-30T14:00:06.941052915+08:00 [INFO] ========== starting zed ==========
2024-08-30T14:00:07.59224527+08:00 [INFO] Opening main db
2024-08-30T14:00:07.592303816+08:00 [INFO] perform;
2024-08-30T14:00:07.592393223+08:00 [INFO] authenticate;
2024-08-30T14:00:07.592491316+08:00 [INFO] read_command;
2024-08-30T14:00:07.592980842+08:00 [INFO] new;
2024-08-30T14:00:07.593068507+08:00 [INFO] socket reader;
2024-08-30T14:00:07.593911434+08:00 [INFO] keep_updated;
2024-08-30T14:00:07.594039181+08:00 [INFO] Using git binary path: None
2024-08-30T14:00:07.620940602+08:00 [INFO] set environment variables from shell:/usr/bin/fish, path:/home/reverier/.npm-packages/bin:/home/reverier/.cargo/bin:/home/reverier/.local/bin:/home/reverier/.local/share/rye/shims:/home/reverier/.rye/shims:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin
2024-08-30T14:00:07.628041445+08:00 [INFO] initializing context server client
2024-08-30T14:00:07.628152308+08:00 [INFO] Registering built-in prompt template: content_prompt
2024-08-30T14:00:07.628390295+08:00 [INFO] Registering built-in prompt template: edit_workflow
2024-08-30T14:00:07.628640658+08:00 [INFO] Registering built-in prompt template: step_resolution
2024-08-30T14:00:07.629018967+08:00 [INFO] Registering built-in prompt template: terminal_assistant_prompt
2024-08-30T14:00:07.629494531+08:00 [INFO] No prompt template overrides directory found at /home/reverier/.local/share/zed/prompt_overrides. Using built-in prompts.
2024-08-30T14:00:07.629951967+08:00 [INFO] extensions updated. loading 1, reloading 0, unloading 0
2024-08-30T14:00:07.631693694+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:00:07.631790791+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:00:07.63186518+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:00:07.631947775+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:00:07.632043151+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:00:07.633119644+08:00 [INFO] performance metrics display disabled
2024-08-30T14:00:07.633228821+08:00 [INFO] activate is not implemented on Linux, ignoring the call
2024-08-30T14:00:07.633372061+08:00 [INFO] Opening main db
2024-08-30T14:00:07.660203913+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:00:07.660312568+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:00:07.660504249+08:00 [INFO] perform;
2024-08-30T14:00:07.660585716+08:00 [INFO] authenticate;
2024-08-30T14:00:07.660668377+08:00 [INFO] read_command;
2024-08-30T14:00:07.661076656+08:00 [INFO] socket reader;
2024-08-30T14:00:07.667004194+08:00 [INFO] new;
2024-08-30T14:00:07.667871315+08:00 [INFO] keep_updated;
2024-08-30T14:00:07.675501481+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:00:07.675612852+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:00:07.675686587+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:00:07.745675419+08:00 [INFO] Enabling Vulkan Portability
2024-08-30T14:00:07.745755904+08:00 [INFO] Enabling color space support
2024-08-30T14:00:07.787110483+08:00 [INFO] Adapter "Intel(R) Graphics (RPL-P)"
2024-08-30T14:00:07.78719335+08:00 [INFO] No ray tracing extensions are supported
2024-08-30T14:00:07.790049245+08:00 [INFO] Using surface present mode MAILBOX
2024-08-30T14:00:07.790593219+08:00 [WARN] Unable to forbid exclusive full screen
2024-08-30T14:00:07.791281324+08:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-08-30T14:00:07.791391355+08:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-08-30T14:00:07.791487229+08:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: PreMultiplied }
2024-08-30T14:00:07.800330258+08:00 [INFO] Using GPU: GPUSpecs { is_software_emulated: false, device_name: "Intel(R) Graphics (RPL-P)", driver_name: "Intel open-source Mesa driver", driver_info: "Mesa 24.2.1-arch1.1" }
2024-08-30T14:00:07.800948538+08:00 [INFO] set status on client 0: Authenticating
2024-08-30T14:00:07.801458091+08:00 [INFO] perform;
2024-08-30T14:00:07.801524292+08:00 [INFO] authenticate;
2024-08-30T14:00:07.801579156+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:00:07.801671683+08:00 [INFO] read_command;
2024-08-30T14:00:07.801811026+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:00:07.802113886+08:00 [INFO] socket reader;
2024-08-30T14:00:07.80333707+08:00 [INFO] Opening main db
2024-08-30T14:00:07.804586082+08:00 [INFO] Opening main db
2024-08-30T14:00:07.805080573+08:00 [ERROR] no worktrees when constructing ProjectLspAdapterDelegate
2024-08-30T14:00:07.807177141+08:00 [INFO] new;
2024-08-30T14:00:07.807580387+08:00 [INFO] keep_updated;
2024-08-30T14:00:07.807970674+08:00 [INFO] set status on client 62705: Connecting
2024-08-30T14:00:07.810832137+08:00 [INFO] Initializing default prettier with plugins {}
2024-08-30T14:00:07.813659061+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:00:07.897186876+08:00 [INFO] Initializing default prettier with plugins {}
2024-08-30T14:00:07.897742006+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:00:07.902825452+08:00 [INFO] Initializing default prettier with plugins {}
2024-08-30T14:00:07.903372543+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:00:08.234761793+08:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-08-30T14:00:08.474328037+08:00 [ERROR] status error 403, response: "{\"message\":\"API rate limit exceeded for 103.151.172.13. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)\",\"documentation_url\":\"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting\"}\n"
2024-08-30T14:17:53.930330322+08:00 [INFO] ========== starting zed ==========
2024-08-30T14:17:55.228154256+08:00 [INFO] perform;
2024-08-30T14:17:55.228187222+08:00 [INFO] authenticate;
2024-08-30T14:17:55.228217959+08:00 [INFO] read_command;
2024-08-30T14:17:55.228506303+08:00 [INFO] new;
2024-08-30T14:17:55.228537602+08:00 [INFO] socket reader;
2024-08-30T14:17:55.229117212+08:00 [INFO] keep_updated;
2024-08-30T14:17:55.232457369+08:00 [INFO] Opening main db
2024-08-30T14:17:55.234064142+08:00 [INFO] Using git binary path: None
2024-08-30T14:17:55.254440304+08:00 [INFO] initializing context server client
2024-08-30T14:17:55.254521584+08:00 [INFO] Registering built-in prompt template: content_prompt
2024-08-30T14:17:55.25469947+08:00 [INFO] Registering built-in prompt template: edit_workflow
2024-08-30T14:17:55.254857688+08:00 [INFO] Registering built-in prompt template: step_resolution
2024-08-30T14:17:55.255103666+08:00 [INFO] Registering built-in prompt template: terminal_assistant_prompt
2024-08-30T14:17:55.255233994+08:00 [INFO] No prompt template overrides directory found at /home/reverier/.local/share/zed/prompt_overrides. Using built-in prompts.
2024-08-30T14:17:55.257557987+08:00 [INFO] extensions updated. loading 1, reloading 0, unloading 0
2024-08-30T14:17:55.260544669+08:00 [INFO] performance metrics display disabled
2024-08-30T14:17:55.26059607+08:00 [INFO] activate is not implemented on Linux, ignoring the call
2024-08-30T14:17:55.260641378+08:00 [INFO] Opening main db
2024-08-30T14:17:55.262653648+08:00 [INFO] perform;
2024-08-30T14:17:55.262684232+08:00 [INFO] authenticate;
2024-08-30T14:17:55.262717164+08:00 [INFO] read_command;
2024-08-30T14:17:55.262957025+08:00 [INFO] socket reader;
2024-08-30T14:17:55.277659132+08:00 [INFO] set environment variables from shell:/usr/bin/fish, path:/home/reverier/.npm-packages/bin:/home/reverier/.cargo/bin:/home/reverier/.local/bin:/home/reverier/.local/share/rye/shims:/home/reverier/.rye/shims:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin
2024-08-30T14:17:55.281054742+08:00 [INFO] new;
2024-08-30T14:17:55.281462433+08:00 [INFO] keep_updated;
2024-08-30T14:17:55.294089844+08:00 [ERROR] {
  "thread": "isahc-agent-1",
  "payload": "called `Result::unwrap()` on an `Err` value: Os { code: 1, kind: PermissionDenied, message: \"Operation not permitted\" }",
  "location_data": {
    "file": "/build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/isahc-1.7.2/src/agent/mod.rs",
    "line": 548
  },
  "backtrace": [],
  "app_version": "0.150.4",
  "release_channel": "Zed",
  "os_name": "Linux Wayland",
  "os_version": "arch unknown",
  "architecture": "x86_64",
  "panicked_on": 1724998675294,
  "installation_id": "6b33dc0c-e563-49ed-a8c4-c8b6a185a255",
  "session_id": "e215a76d-b4b7-4cd9-8d32-1a6e9c559bd0"
}
2024-08-30T14:26:04.232572206+08:00 [INFO] ========== starting zed ==========
2024-08-30T14:26:04.57031363+08:00 [INFO] perform;
2024-08-30T14:26:04.570363119+08:00 [INFO] authenticate;
2024-08-30T14:26:04.570398914+08:00 [INFO] Opening main db
2024-08-30T14:26:04.570439863+08:00 [INFO] read_command;
2024-08-30T14:26:04.570827127+08:00 [INFO] new;
2024-08-30T14:26:04.570936228+08:00 [INFO] socket reader;
2024-08-30T14:26:04.571259747+08:00 [INFO] Using git binary path: None
2024-08-30T14:26:04.571777+08:00 [INFO] keep_updated;
2024-08-30T14:26:04.587035428+08:00 [INFO] initializing context server client
2024-08-30T14:26:04.587090316+08:00 [INFO] Registering built-in prompt template: content_prompt
2024-08-30T14:26:04.587286461+08:00 [INFO] Registering built-in prompt template: edit_workflow
2024-08-30T14:26:04.587535999+08:00 [INFO] Registering built-in prompt template: step_resolution
2024-08-30T14:26:04.587783111+08:00 [INFO] Registering built-in prompt template: terminal_assistant_prompt
2024-08-30T14:26:04.588125977+08:00 [INFO] No prompt template overrides directory found at /home/reverier/.local/share/zed/prompt_overrides. Using built-in prompts.
2024-08-30T14:26:04.588207962+08:00 [INFO] extensions updated. loading 1, reloading 0, unloading 0
2024-08-30T14:26:04.588238571+08:00 [INFO] set environment variables from shell:/usr/bin/fish, path:/home/reverier/.npm-packages/bin:/home/reverier/.cargo/bin:/home/reverier/.local/bin:/home/reverier/.local/share/rye/shims:/home/reverier/.rye/shims:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin
2024-08-30T14:26:04.590158574+08:00 [INFO] performance metrics display disabled
2024-08-30T14:26:04.590202474+08:00 [INFO] activate is not implemented on Linux, ignoring the call
2024-08-30T14:26:04.590357667+08:00 [INFO] Opening main db
2024-08-30T14:26:04.624781702+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:04.624819855+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:04.624841016+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:04.624861145+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:04.624896752+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:04.625385095+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:04.625417225+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:04.625443498+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:04.625464365+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:04.625549404+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:04.625855349+08:00 [INFO] perform;
2024-08-30T14:26:04.625907217+08:00 [INFO] authenticate;
2024-08-30T14:26:04.625957209+08:00 [INFO] read_command;
2024-08-30T14:26:04.626257359+08:00 [INFO] socket reader;
2024-08-30T14:26:04.629012668+08:00 [INFO] new;
2024-08-30T14:26:04.629436048+08:00 [INFO] keep_updated;
2024-08-30T14:26:04.68535183+08:00 [INFO] Enabling Vulkan Portability
2024-08-30T14:26:04.685381871+08:00 [INFO] Enabling color space support
2024-08-30T14:26:04.762980159+08:00 [INFO] Adapter: "Intel(R) Graphics (RPL-P)"
2024-08-30T14:26:04.763061559+08:00 [INFO] No ray tracing extensions are supported
2024-08-30T14:26:04.764916684+08:00 [INFO] Using surface present mode MAILBOX
2024-08-30T14:26:04.765246803+08:00 [WARN] Unable to forbid exclusive full screen
2024-08-30T14:26:04.765614163+08:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-08-30T14:26:04.765681849+08:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-08-30T14:26:04.765745732+08:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: PreMultiplied }
2024-08-30T14:26:04.77141913+08:00 [INFO] Using GPU: GPUSpecs { is_software_emulated: false, device_name: "Intel(R) Graphics (RPL-P)", driver_name: "Intel open-source Mesa driver", driver_info: "Mesa 24.2.1-arch1.1" }
2024-08-30T14:26:04.771822197+08:00 [INFO] set status on client 0: Authenticating
2024-08-30T14:26:04.772051784+08:00 [ERROR] IoError(Os { code: 32, kind: BrokenPipe, message: "Broken pipe" })
2024-08-30T14:26:04.772248041+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:04.772350519+08:00 [INFO] perform;
2024-08-30T14:26:04.7723805+08:00 [INFO] authenticate;
2024-08-30T14:26:04.772408084+08:00 [INFO] read_command;
2024-08-30T14:26:04.772819787+08:00 [INFO] socket reader;
2024-08-30T14:26:04.77516389+08:00 [INFO] new;
2024-08-30T14:26:04.775614291+08:00 [INFO] keep_updated;
2024-08-30T14:26:04.816442715+08:00 [WARN] request completed with error: unknown error
2024-08-30T14:26:04.816549196+08:00 [WARN] request completed with error: unknown error
2024-08-30T14:26:04.816586132+08:00 [ERROR] unknown error

Caused by:
[56] Failure when receiving data from the peer
2024-08-30T14:26:14.080100966+08:00 [INFO] ========== starting zed ==========
2024-08-30T14:26:14.417564529+08:00 [INFO] perform;
2024-08-30T14:26:14.417597263+08:00 [INFO] authenticate;
2024-08-30T14:26:14.417629748+08:00 [INFO] read_command;
2024-08-30T14:26:14.417759101+08:00 [INFO] Opening main db
2024-08-30T14:26:14.417906989+08:00 [INFO] new;
2024-08-30T14:26:14.417936708+08:00 [INFO] socket reader;
2024-08-30T14:26:14.418615143+08:00 [INFO] keep_updated;
2024-08-30T14:26:14.418868052+08:00 [INFO] Using git binary path: None
2024-08-30T14:26:14.434030387+08:00 [INFO] set environment variables from shell:/usr/bin/fish, path:/home/reverier/.npm-packages/bin:/home/reverier/.cargo/bin:/home/reverier/.local/bin:/home/reverier/.local/share/rye/shims:/home/reverier/.rye/shims:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin
2024-08-30T14:26:14.436846251+08:00 [INFO] initializing context server client
2024-08-30T14:26:14.4369158+08:00 [INFO] Registering built-in prompt template: content_prompt
2024-08-30T14:26:14.437111055+08:00 [INFO] Registering built-in prompt template: edit_workflow
2024-08-30T14:26:14.437350484+08:00 [INFO] Registering built-in prompt template: step_resolution
2024-08-30T14:26:14.437592296+08:00 [INFO] Registering built-in prompt template: terminal_assistant_prompt
2024-08-30T14:26:14.437691244+08:00 [INFO] No prompt template overrides directory found at /home/reverier/.local/share/zed/prompt_overrides. Using built-in prompts.
2024-08-30T14:26:14.437947534+08:00 [INFO] extensions updated. loading 1, reloading 0, unloading 0
2024-08-30T14:26:14.439031618+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:14.439128548+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:14.439170629+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:14.439210158+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:14.43924888+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:14.439603072+08:00 [INFO] performance metrics display disabled
2024-08-30T14:26:14.439647622+08:00 [INFO] activate is not implemented on Linux, ignoring the call
2024-08-30T14:26:14.439689372+08:00 [INFO] Opening main db
2024-08-30T14:26:14.482066741+08:00 [INFO] perform;
2024-08-30T14:26:14.48211466+08:00 [INFO] authenticate;
2024-08-30T14:26:14.482159113+08:00 [INFO] read_command;
2024-08-30T14:26:14.482367071+08:00 [INFO] socket reader;
2024-08-30T14:26:14.484785298+08:00 [INFO] new;
2024-08-30T14:26:14.485326852+08:00 [INFO] keep_updated;
2024-08-30T14:26:14.490307711+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:14.490364414+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:14.490399633+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:14.490435115+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:14.490841238+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:14.546758299+08:00 [INFO] Enabling Vulkan Portability
2024-08-30T14:26:14.546790699+08:00 [INFO] Enabling color space support
2024-08-30T14:26:14.612478635+08:00 [INFO] Adapter: "Intel(R) Graphics (RPL-P)"
2024-08-30T14:26:14.61254422+08:00 [INFO] No ray tracing extensions are supported
2024-08-30T14:26:14.614063229+08:00 [INFO] Using surface present mode MAILBOX
2024-08-30T14:26:14.614767461+08:00 [WARN] Unable to forbid exclusive full screen
2024-08-30T14:26:14.61523163+08:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-08-30T14:26:14.615299822+08:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-08-30T14:26:14.615358582+08:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: PreMultiplied }
2024-08-30T14:26:14.619436511+08:00 [INFO] Using GPU: GPUSpecs { is_software_emulated: false, device_name: "Intel(R) Graphics (RPL-P)", driver_name: "Intel open-source Mesa driver", driver_info: "Mesa 24.2.1-arch1.1" }
2024-08-30T14:26:14.619673956+08:00 [INFO] set status on client 0: Authenticating
2024-08-30T14:26:14.619928551+08:00 [ERROR] IoError(Os { code: 32, kind: BrokenPipe, message: "Broken pipe" })
2024-08-30T14:26:14.620072265+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:14.620219927+08:00 [INFO] perform;
2024-08-30T14:26:14.620246135+08:00 [INFO] authenticate;
2024-08-30T14:26:14.620272837+08:00 [INFO] read_command;
2024-08-30T14:26:14.620571245+08:00 [INFO] socket reader;
2024-08-30T14:26:14.623678222+08:00 [INFO] new;
2024-08-30T14:26:14.624088661+08:00 [INFO] keep_updated;
2024-08-30T14:26:36.729103704+08:00 [INFO] ========== starting zed ==========
2024-08-30T14:26:37.082582791+08:00 [INFO] perform;
2024-08-30T14:26:37.082632628+08:00 [INFO] authenticate;
2024-08-30T14:26:37.082684248+08:00 [INFO] read_command;
2024-08-30T14:26:37.082719774+08:00 [INFO] Opening main db
2024-08-30T14:26:37.082984505+08:00 [INFO] new;
2024-08-30T14:26:37.083038154+08:00 [INFO] socket reader;
2024-08-30T14:26:37.083654609+08:00 [INFO] Using git binary path: None
2024-08-30T14:26:37.083682023+08:00 [INFO] keep_updated;
2024-08-30T14:26:37.099211385+08:00 [INFO] set environment variables from shell:/usr/bin/fish, path:/home/reverier/.npm-packages/bin:/home/reverier/.cargo/bin:/home/reverier/.local/bin:/home/reverier/.local/share/rye/shims:/home/reverier/.rye/shims:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin
2024-08-30T14:26:37.101019843+08:00 [INFO] initializing context server client
2024-08-30T14:26:37.101085648+08:00 [INFO] Registering built-in prompt template: content_prompt
2024-08-30T14:26:37.101288497+08:00 [INFO] Registering built-in prompt template: edit_workflow
2024-08-30T14:26:37.101539953+08:00 [INFO] Registering built-in prompt template: step_resolution
2024-08-30T14:26:37.101766595+08:00 [INFO] Registering built-in prompt template: terminal_assistant_prompt
2024-08-30T14:26:37.102035633+08:00 [INFO] No prompt template overrides directory found at /home/reverier/.local/share/zed/prompt_overrides. Using built-in prompts.
2024-08-30T14:26:37.102225084+08:00 [INFO] extensions updated. loading 1, reloading 0, unloading 0
2024-08-30T14:26:37.103973232+08:00 [INFO] performance metrics display disabled
2024-08-30T14:26:37.104016802+08:00 [INFO] activate is not implemented on Linux, ignoring the call
2024-08-30T14:26:37.10405298+08:00 [INFO] Opening main db
2024-08-30T14:26:37.131588981+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:37.131661251+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:37.13170408+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:37.131748226+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:37.131811769+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:37.132457507+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:37.132498997+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:37.132520136+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:37.132543062+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:37.132618256+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:37.132850296+08:00 [INFO] perform;
2024-08-30T14:26:37.132898398+08:00 [INFO] authenticate;
2024-08-30T14:26:37.132946662+08:00 [INFO] read_command;
2024-08-30T14:26:37.133183909+08:00 [INFO] socket reader;
2024-08-30T14:26:37.135763326+08:00 [INFO] new;
2024-08-30T14:26:37.136219111+08:00 [INFO] keep_updated;
2024-08-30T14:26:37.193176771+08:00 [INFO] Enabling Vulkan Portability
2024-08-30T14:26:37.193213945+08:00 [INFO] Enabling color space support
2024-08-30T14:26:37.249566346+08:00 [INFO] Adapter: "Intel(R) Graphics (RPL-P)"
2024-08-30T14:26:37.249637084+08:00 [INFO] No ray tracing extensions are supported
2024-08-30T14:26:37.25151276+08:00 [INFO] Using surface present mode MAILBOX
2024-08-30T14:26:37.251845841+08:00 [WARN] Unable to forbid exclusive full screen
2024-08-30T14:26:37.252207893+08:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-08-30T14:26:37.252271136+08:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-08-30T14:26:37.252334814+08:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: PreMultiplied }
2024-08-30T14:26:37.257944325+08:00 [INFO] Using GPU: GPUSpecs { is_software_emulated: false, device_name: "Intel(R) Graphics (RPL-P)", driver_name: "Intel open-source Mesa driver", driver_info: "Mesa 24.2.1-arch1.1" }
2024-08-30T14:26:37.258204425+08:00 [INFO] set status on client 0: Authenticating
2024-08-30T14:26:37.258376158+08:00 [ERROR] IoError(Os { code: 32, kind: BrokenPipe, message: "Broken pipe" })
2024-08-30T14:26:37.258484297+08:00 [INFO] perform;
2024-08-30T14:26:37.258529983+08:00 [INFO] authenticate;
2024-08-30T14:26:37.258573667+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:37.258603435+08:00 [INFO] read_command;
2024-08-30T14:26:37.258852467+08:00 [INFO] socket reader;
2024-08-30T14:26:37.261953723+08:00 [INFO] new;
2024-08-30T14:26:37.262410518+08:00 [INFO] keep_updated;
2024-08-30T14:26:38.559730888+08:00 [INFO] ========== starting zed ==========
2024-08-30T14:26:38.895360291+08:00 [INFO] perform;
2024-08-30T14:26:38.895405485+08:00 [INFO] authenticate;
2024-08-30T14:26:38.895440037+08:00 [INFO] read_command;
2024-08-30T14:26:38.895468053+08:00 [INFO] Opening main db
2024-08-30T14:26:38.896001682+08:00 [INFO] new;
2024-08-30T14:26:38.896065404+08:00 [INFO] socket reader;
2024-08-30T14:26:38.896404941+08:00 [INFO] Using git binary path: None
2024-08-30T14:26:38.896726101+08:00 [INFO] keep_updated;
2024-08-30T14:26:38.912464241+08:00 [INFO] initializing context server client
2024-08-30T14:26:38.912525073+08:00 [INFO] Registering built-in prompt template: content_prompt
2024-08-30T14:26:38.912713458+08:00 [INFO] Registering built-in prompt template: edit_workflow
2024-08-30T14:26:38.912931527+08:00 [INFO] Registering built-in prompt template: step_resolution
2024-08-30T14:26:38.913160154+08:00 [INFO] Registering built-in prompt template: terminal_assistant_prompt
2024-08-30T14:26:38.913367765+08:00 [INFO] set environment variables from shell:/usr/bin/fish, path:/home/reverier/.npm-packages/bin:/home/reverier/.cargo/bin:/home/reverier/.local/bin:/home/reverier/.local/share/rye/shims:/home/reverier/.rye/shims:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin
2024-08-30T14:26:38.913436452+08:00 [INFO] No prompt template overrides directory found at /home/reverier/.local/share/zed/prompt_overrides. Using built-in prompts.
2024-08-30T14:26:38.913619172+08:00 [INFO] extensions updated. loading 1, reloading 0, unloading 0
2024-08-30T14:26:38.914780051+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:38.914836306+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:38.914878925+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:38.914919688+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:38.914974762+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:38.91537412+08:00 [INFO] performance metrics display disabled
2024-08-30T14:26:38.915417017+08:00 [INFO] activate is not implemented on Linux, ignoring the call
2024-08-30T14:26:38.915457762+08:00 [INFO] Opening main db
2024-08-30T14:26:38.944873475+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:38.944919604+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:38.944946875+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:38.944970146+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:38.94503056+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:38.945133965+08:00 [INFO] perform;
2024-08-30T14:26:38.94518082+08:00 [INFO] authenticate;
2024-08-30T14:26:38.945228697+08:00 [INFO] read_command;
2024-08-30T14:26:38.945608643+08:00 [INFO] socket reader;
2024-08-30T14:26:38.948451557+08:00 [INFO] new;
2024-08-30T14:26:38.94890834+08:00 [INFO] keep_updated;
2024-08-30T14:26:39.007561621+08:00 [INFO] Enabling Vulkan Portability
2024-08-30T14:26:39.007601+08:00 [INFO] Enabling color space support
2024-08-30T14:26:39.062165034+08:00 [INFO] Adapter: "Intel(R) Graphics (RPL-P)"
2024-08-30T14:26:39.062236051+08:00 [INFO] No ray tracing extensions are supported
2024-08-30T14:26:39.063883161+08:00 [INFO] Using surface present mode MAILBOX
2024-08-30T14:26:39.064231952+08:00 [WARN] Unable to forbid exclusive full screen
2024-08-30T14:26:39.06458442+08:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-08-30T14:26:39.064651074+08:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-08-30T14:26:39.064711613+08:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: PreMultiplied }
2024-08-30T14:26:39.07011625+08:00 [INFO] Using GPU: GPUSpecs { is_software_emulated: false, device_name: "Intel(R) Graphics (RPL-P)", driver_name: "Intel open-source Mesa driver", driver_info: "Mesa 24.2.1-arch1.1" }
2024-08-30T14:26:39.070527443+08:00 [INFO] set status on client 0: Authenticating
2024-08-30T14:26:39.070919699+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:39.071057818+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:39.071103359+08:00 [INFO] perform;
2024-08-30T14:26:39.071135241+08:00 [INFO] authenticate;
2024-08-30T14:26:39.071165785+08:00 [INFO] read_command;
2024-08-30T14:26:39.071389102+08:00 [INFO] Opening main db
2024-08-30T14:26:39.071761739+08:00 [INFO] socket reader;
2024-08-30T14:26:39.073046723+08:00 [INFO] Initializing default prettier with plugins {}
2024-08-30T14:26:39.07349648+08:00 [INFO] Opening main db
2024-08-30T14:26:39.073530044+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:39.073972184+08:00 [ERROR] no worktrees when constructing ProjectLspAdapterDelegate
2024-08-30T14:26:39.074060654+08:00 [INFO] new;
2024-08-30T14:26:39.074403239+08:00 [INFO] keep_updated;
2024-08-30T14:26:39.074708007+08:00 [INFO] set status on client 62705: Connecting
2024-08-30T14:26:39.076664112+08:00 [INFO] Initializing default prettier with plugins {}
2024-08-30T14:26:39.079288708+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:39.17192226+08:00 [INFO] Initializing default prettier with plugins {}
2024-08-30T14:26:39.172506412+08:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T14:26:39.492461214+08:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-08-30T14:26:39.765250853+08:00 [ERROR] status error 403, response: "{"message":"API rate limit exceeded for 103.151.172.35. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting\"}\n"
2024-08-30T14:26:40.495511867+08:00 [INFO] add connection to peer
2024-08-30T14:26:40.495536256+08:00 [INFO] add_connection;
2024-08-30T14:26:40.49557265+08:00 [INFO] waiting for server hello
2024-08-30T14:26:40.495702774+08:00 [INFO] got server hello
2024-08-30T14:26:40.495721548+08:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 0 }, peer id: PeerId { owner_id: 504, id: 595787 })
2024-08-30T14:26:40.49575476+08:00 [INFO] set status on client 62705: Connected { peer_id: PeerId { owner_id: 504, id: 595787 }, connection_id: ConnectionId { owner_id: 0, id: 0 } }

@Reverier-Xu Reverier-Xu added admin read bug [core label] panic / crash [core label] labels Aug 30, 2024
@yaymalaga
Copy link

yaymalaga commented Aug 30, 2024

Same broken pipe os error 32 on Fedora 40 (Gnome and wayland) after updating stable zed to 0.150.4 from the app.

When I launch it for the second time the protocol error message is different for me though: Protocol error 0 on object wl_surface@22:

Zed.log ``` 2024-08-30T13:18:54.257291303+02:00 [INFO] ========== starting zed ========== 2024-08-30T13:18:54.276897701+02:00 [INFO] Opening main db 2024-08-30T13:18:54.276958064+02:00 [INFO] perform; 2024-08-30T13:18:54.277034241+02:00 [INFO] authenticate; 2024-08-30T13:18:54.277122649+02:00 [INFO] read_command; 2024-08-30T13:18:54.278880332+02:00 [INFO] new; 2024-08-30T13:18:54.278958841+02:00 [INFO] socket reader; 2024-08-30T13:18:54.279055862+02:00 [INFO] Using git binary path: None 2024-08-30T13:18:54.279657218+02:00 [INFO] keep_updated; 2024-08-30T13:18:54.305723711+02:00 [INFO] initializing context server client 2024-08-30T13:18:54.305849702+02:00 [INFO] Registering built-in prompt template: content_prompt 2024-08-30T13:18:54.306074813+02:00 [INFO] Registering built-in prompt template: edit_workflow 2024-08-30T13:18:54.306147897+02:00 [ERROR] No such file or directory (os error 2) about ["/home/yaymalaga/.config/github-copilot"] 2024-08-30T13:18:54.306296456+02:00 [INFO] Registering built-in prompt template: step_resolution 2024-08-30T13:18:54.306642257+02:00 [INFO] Registering built-in prompt template: terminal_assistant_prompt 2024-08-30T13:18:54.30702561+02:00 [INFO] No prompt template overrides directory found at /home/yaymalaga/.local/share/zed/prompt_overrides. Using built-in prompts. 2024-08-30T13:18:54.307433792+02:00 [INFO] extensions updated. loading 4, reloading 0, unloading 0 2024-08-30T13:18:54.309230744+02:00 [INFO] performance metrics display disabled 2024-08-30T13:18:54.309286649+02:00 [INFO] activate is not implemented on Linux, ignoring the call 2024-08-30T13:18:54.310632994+02:00 [INFO] Opening main db 2024-08-30T13:18:54.311214169+02:00 [WARN] request completed with error: failed to connect to the server 2024-08-30T13:18:54.311289233+02:00 [WARN] request completed with error: failed to connect to the server 2024-08-30T13:18:54.311341934+02:00 [WARN] request completed with error: failed to connect to the server 2024-08-30T13:18:54.311395443+02:00 [WARN] request completed with error: failed to connect to the server 2024-08-30T13:18:54.311503495+02:00 [WARN] request completed with error: failed to connect to the server 2024-08-30T13:18:54.31158205+02:00 [WARN] request completed with error: failed to connect to the server 2024-08-30T13:18:54.311640935+02:00 [WARN] request completed with error: failed to connect to the server 2024-08-30T13:18:54.312068738+02:00 [WARN] request completed with error: failed to connect to the server 2024-08-30T13:18:54.312128036+02:00 [WARN] request completed with error: failed to connect to the server 2024-08-30T13:18:54.312172801+02:00 [INFO] perform; 2024-08-30T13:18:54.312232012+02:00 [INFO] authenticate; 2024-08-30T13:18:54.312296654+02:00 [INFO] read_command; 2024-08-30T13:18:54.312572539+02:00 [WARN] request completed with error: failed to connect to the server 2024-08-30T13:18:54.313432263+02:00 [INFO] socket reader; 2024-08-30T13:18:54.320313251+02:00 [INFO] new; 2024-08-30T13:18:54.321429338+02:00 [INFO] keep_updated; 2024-08-30T13:18:54.36023533+02:00 [INFO] set environment variables from shell:/bin/bash, path:/home/yaymalaga/.local/bin:/home/yaymalaga/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/yaymalaga/Android/flutter/bin:/home/yaymalaga/Android/Sdk/platform-tools:/home/yaymalaga/Android/Sdk/emulator:/home/yaymalaga/.pub-cache/bin:/home/yaymalaga/Android/flutter/bin:/home/yaymalaga/Android/Sdk/platform-tools:/home/yaymalaga/Android/Sdk/emulator:/home/yaymalaga/.pub-cache/bin 2024-08-30T13:18:56.058251094+02:00 [INFO] Enabling Vulkan Portability 2024-08-30T13:18:56.058316469+02:00 [INFO] Enabling color space support 2024-08-30T13:18:56.085856474+02:00 [INFO] Adapter "Intel(R) Graphics (RPL-S)" 2024-08-30T13:18:56.085903086+02:00 [INFO] No ray tracing extensions are supported 2024-08-30T13:18:56.08928964+02:00 [INFO] Using surface present mode MAILBOX 2024-08-30T13:18:56.089490067+02:00 [WARN] Unable to forbid exclusive full screen 2024-08-30T13:18:56.089754505+02:00 [INFO] Creating a descriptor pool for at most 16 sets 2024-08-30T13:18:56.089803866+02:00 [INFO] Creating a descriptor pool for at most 16 sets 2024-08-30T13:18:56.089850757+02:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: PreMultiplied } 2024-08-30T13:18:56.094813737+02:00 [INFO] Using GPU: GPUSpecs { is_software_emulated: false, device_name: "Intel(R) Graphics (RPL-S)", driver_name: "Intel open-source Mesa driver", driver_info: "Mesa 24.1.6" } 2024-08-30T13:18:56.095228784+02:00 [INFO] set status on client 0: Authenticating 2024-08-30T13:18:56.09585538+02:00 [WARN] request completed with error: failed to connect to the server 2024-08-30T13:18:56.095940378+02:00 [WARN] request completed with error: failed to connect to the server 2024-08-30T13:18:56.096957114+02:00 [INFO] perform; 2024-08-30T13:18:56.097020807+02:00 [INFO] authenticate; 2024-08-30T13:18:56.09708218+02:00 [INFO] read_command; 2024-08-30T13:18:56.097838088+02:00 [INFO] socket reader; 2024-08-30T13:18:56.098883804+02:00 [INFO] Opening main db 2024-08-30T13:18:56.104778355+02:00 [INFO] new; 2024-08-30T13:18:56.10625509+02:00 [INFO] keep_updated; 2024-08-30T13:18:56.147571657+02:00 [WARN] unhandled message: Metadata(SupermavenMetadataMessage { dust_strings: None }) 2024-08-30T13:18:56.147622809+02:00 [WARN] unhandled message: Set(SupermavenSetMessage { key: "disabled", value: Bool(false) }) 2024-08-30T13:18:56.147809235+02:00 [INFO] Opening main db 2024-08-30T13:18:56.149072344+02:00 [INFO] Initializing default prettier with plugins {} 2024-08-30T13:18:56.149311091+02:00 [INFO] set status on client 198664: Connecting 2024-08-30T13:18:56.150073967+02:00 [WARN] request completed with error: failed to connect to the server 2024-08-30T13:18:56.150203012+02:00 [ERROR] no worktrees when constructing ProjectLspAdapterDelegate 2024-08-30T13:18:56.175120071+02:00 [INFO] Initializing default prettier with plugins {} 2024-08-30T13:18:56.175672938+02:00 [WARN] request completed with error: failed to connect to the server 2024-08-30T13:18:56.197734168+02:00 [INFO] Initializing default prettier with plugins {} 2024-08-30T13:18:56.198252884+02:00 [WARN] request completed with error: failed to connect to the server 2024-08-30T13:18:56.616682199+02:00 [INFO] Initializing default prettier with plugins {} 2024-08-30T13:18:56.617316401+02:00 [WARN] request completed with error: failed to connect to the server 2024-08-30T13:19:01.520975869+02:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc 2024-08-30T13:19:02.078730471+02:00 [INFO] add connection to peer 2024-08-30T13:19:02.07878102+02:00 [INFO] add_connection; 2024-08-30T13:19:02.078824162+02:00 [INFO] waiting for server hello 2024-08-30T13:19:02.07901525+02:00 [INFO] got server hello 2024-08-30T13:19:02.079046405+02:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 0 }, peer id: PeerId { owner_id: 504, id: 797550 }) 2024-08-30T13:19:02.079099364+02:00 [INFO] set status on client 198664: Connected { peer_id: PeerId { owner_id: 504, id: 797550 }, connection_id: ConnectionId { owner_id: 0, id: 0 } } ```

@Salah1221
Copy link

Salah1221 commented Aug 30, 2024

The same issue for me, I am on Fedora 40 KDE Spin (Wayland), but for me the editor launches normally if opened it as sudo: sudo ~/.local/bin/zed

The output of journalctl -xe | grep zed when opening zed as a normal user (not sudo) is:

Aug 30 17:28:01 fedora systemd[2015]: Started app-dev.zed.Zed@63b34b74a9b846bf9e8280de69eddb30.service - Zed - Text Editor.
Aug 30 17:28:01 fedora zed-editor[500390]: xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1661:1: unrecognized keysym "dead_hamza" on left-hand side
Aug 30 17:28:01 fedora zed-editor[500390]: xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1662:1: unrecognized keysym "dead_hamza" on left-hand side
Aug 30 17:28:01 fedora zed-editor[500390]: xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1663:1: unrecognized keysym "dead_hamza" on left-hand side
Aug 30 17:28:01 fedora zed-editor[500390]: xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1664:1: unrecognized keysym "dead_hamza" on left-hand side
Aug 30 17:28:01 fedora zed-editor[500390]: xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1665:1: unrecognized keysym "dead_hamza" on left-hand side
Aug 30 17:28:01 fedora zed-editor[500390]: Io error: Broken pipe (os error 32)
Aug 30 17:28:01 fedora zed-editor[500390]: Error trying to flush the wayland display: Broken pipe (os error 32)

And the output of zed --foreground is:

[2024-08-30T17:37:25+03:00 ERROR fs] No such file or directory (os error 2) about ["/home/salah/.config/github-copilot"]
xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1661:1: unrecognized keysym "dead_hamza" on left-hand side
xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1662:1: unrecognized keysym "dead_hamza" on left-hand side
xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1663:1: unrecognized keysym "dead_hamza" on left-hand side
xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1664:1: unrecognized keysym "dead_hamza" on left-hand side
xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1665:1: unrecognized keysym "dead_hamza" on left-hand side
wp_linux_drm_syncobj_manager_v1#45: error 0: surface already exists
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45: 
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45: 
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45: 
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45: 
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45: 
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45: 
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45: 
Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@45: 

I attached the Zed.log (zed was run normally not as sudo):

Zed.log
2024-08-30T22:33:46.403899728+03:00 [INFO] ========== starting zed ==========
2024-08-30T22:33:48.597771356+03:00 [INFO] perform;
2024-08-30T22:33:48.597891504+03:00 [INFO] authenticate;
2024-08-30T22:33:48.598036406+03:00 [INFO] read_command;
2024-08-30T22:33:48.598589445+03:00 [INFO] new;
2024-08-30T22:33:48.598674495+03:00 [INFO] socket reader;
2024-08-30T22:33:48.599707081+03:00 [INFO] keep_updated;
2024-08-30T22:33:48.63235213+03:00 [INFO] Opening main db
2024-08-30T22:33:48.642277632+03:00 [INFO] Using git binary path: None
2024-08-30T22:33:48.717894131+03:00 [ERROR] No such file or directory (os error 2) about ["/home/salah/.config/github-copilot"]
2024-08-30T22:33:48.718706944+03:00 [INFO] initializing context server client
2024-08-30T22:33:48.718836447+03:00 [INFO] Registering built-in prompt template: content_prompt
2024-08-30T22:33:48.7191963+03:00 [INFO] Registering built-in prompt template: edit_workflow
2024-08-30T22:33:48.719810103+03:00 [INFO] Registering built-in prompt template: step_resolution
2024-08-30T22:33:48.720415506+03:00 [INFO] Registering built-in prompt template: terminal_assistant_prompt
2024-08-30T22:33:48.720727175+03:00 [INFO] No prompt template overrides directory found at /home/salah/.local/share/zed/prompt_overrides. Using built-in prompts.
2024-08-30T22:33:48.73039337+03:00 [INFO] extensions updated. loading 8, reloading 0, unloading 0
2024-08-30T22:33:48.738136052+03:00 [INFO] performance metrics display disabled
2024-08-30T22:33:48.738355074+03:00 [INFO] activate is not implemented on Linux, ignoring the call
2024-08-30T22:33:48.738869347+03:00 [INFO] Opening main db
2024-08-30T22:33:48.743578911+03:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T22:33:48.744906211+03:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T22:33:48.745061227+03:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T22:33:48.745177193+03:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T22:33:48.74531521+03:00 [INFO] perform;
2024-08-30T22:33:48.745441973+03:00 [INFO] authenticate;
2024-08-30T22:33:48.745553726+03:00 [WARN] Theme "One Dark Pro" is using a deprecated style property: scrollbar_thumb.background. Use `scrollbar.thumb.background` instead.
2024-08-30T22:33:48.745648788+03:00 [INFO] read_command;
2024-08-30T22:33:48.745779883+03:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T22:33:48.746111981+03:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T22:33:48.746253957+03:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T22:33:48.746376414+03:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T22:33:48.746545433+03:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T22:33:48.74665931+03:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T22:33:48.747146345+03:00 [INFO] socket reader;
2024-08-30T22:33:48.765777835+03:00 [INFO] new;
2024-08-30T22:33:48.7665537+03:00 [INFO] keep_updated;
2024-08-30T22:33:48.781152843+03:00 [INFO] set environment variables from shell:/usr/bin/zsh, path:/home/salah/.local/bin:/home/salah/bin/:/home/salah/anaconda3/bin/:/home/salah/.local/bin:/home/salah/bin/:/home/salah/anaconda3/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/salah/.dotnet/tools
2024-08-30T22:33:49.037457893+03:00 [INFO] Enabling Vulkan Portability
2024-08-30T22:33:49.037574372+03:00 [INFO] Enabling color space support
2024-08-30T22:33:49.099853719+03:00 [INFO] Adapter "Intel(R) UHD Graphics 620 (KBL GT2)"
2024-08-30T22:33:49.099954437+03:00 [INFO] No ray tracing extensions are supported
2024-08-30T22:33:49.104402357+03:00 [INFO] Using surface present mode MAILBOX
2024-08-30T22:33:49.105378868+03:00 [WARN] Unable to forbid exclusive full screen
2024-08-30T22:33:49.106416144+03:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-08-30T22:33:49.106524643+03:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-08-30T22:33:49.106636861+03:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: PreMultiplied }
2024-08-30T22:33:49.122528343+03:00 [INFO] Using GPU: GPUSpecs { is_software_emulated: false, device_name: "Intel(R) UHD Graphics 620 (KBL GT2)", driver_name: "Intel open-source Mesa driver", driver_info: "Mesa 24.1.6" }
2024-08-30T22:33:49.124626455+03:00 [INFO] set status on client 0: Authenticating
2024-08-30T22:33:49.12549847+03:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T22:33:49.125713989+03:00 [INFO] perform;
2024-08-30T22:33:49.125845345+03:00 [INFO] authenticate;
2024-08-30T22:33:49.125982963+03:00 [INFO] read_command;
2024-08-30T22:33:49.126534408+03:00 [INFO] socket reader;
2024-08-30T22:33:49.126962198+03:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T22:33:49.128521831+03:00 [INFO] Opening main db
2024-08-30T22:33:49.136702677+03:00 [INFO] new;
2024-08-30T22:33:49.137658674+03:00 [INFO] keep_updated;
2024-08-30T22:33:49.192842138+03:00 [INFO] set status on client 227069: Connecting
2024-08-30T22:33:49.195210714+03:00 [INFO] Initializing default prettier with plugins {}
2024-08-30T22:33:49.196947247+03:00 [INFO] Opening main db
2024-08-30T22:33:49.197354875+03:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T22:33:49.199896497+03:00 [ERROR] no worktrees when constructing ProjectLspAdapterDelegate
2024-08-30T22:33:49.227023835+03:00 [INFO] Initializing default prettier with plugins {}
2024-08-30T22:33:49.227769028+03:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T22:33:49.250661836+03:00 [INFO] Initializing default prettier with plugins {}
2024-08-30T22:33:49.251468094+03:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T22:33:50.218715816+03:00 [INFO] Initializing default prettier with plugins {}
2024-08-30T22:33:50.219550159+03:00 [WARN] request completed with error: failed to connect to the server
2024-08-30T22:33:50.492159139+03:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-08-30T22:33:51.412074687+03:00 [INFO] add connection to peer
2024-08-30T22:33:51.412179274+03:00 [INFO] add_connection;
2024-08-30T22:33:51.412259924+03:00 [INFO] waiting for server hello
2024-08-30T22:33:51.412637326+03:00 [INFO] got server hello
2024-08-30T22:33:51.412719712+03:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 0 }, peer id: PeerId { owner_id: 504, id: 1150455 })
2024-08-30T22:33:51.412819909+03:00 [INFO] set status on client 227069: Connected { peer_id: PeerId { owner_id: 504, id: 1150455 }, connection_id: ConnectionId { owner_id: 0, id: 0 } }
2024-08-30T22:38:54.12913577+03:00 [WARN] request completed with error: request or operation took longer than the configured timeout time
2024-08-30T22:38:54.129311488+03:00 [ERROR] request or operation took longer than the configured timeout time

Caused by:
    [28] Timeout was reached

For the Zed.log of the root user after running sudo ~/.local/bin/zed:

Zed.log (root)

@jerome-benoit
Copy link

jerome-benoit commented Sep 1, 2024

I encounter also a failure at startup on Fedora 40, but the error message is slightly different with zed latest stable and preview:

╭─fraggle at morphee in ~/Téléchargements/zed-linux-x86_64/zed.app/bin
╰─○ ./zed --foreground 
xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1661:1: unrecognized keysym "dead_hamza" on left-hand side
xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1662:1: unrecognized keysym "dead_hamza" on left-hand side
xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1663:1: unrecognized keysym "dead_hamza" on left-hand side
xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1664:1: unrecognized keysym "dead_hamza" on left-hand side
xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1665:1: unrecognized keysym "dead_hamza" on left-hand side
wl_surface#22: error 0: DRM Syncobj surface object already created for surface 22
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22:

Are you all using a nvidia card with the latest driver?

@Salah1221
Copy link

Salah1221 commented Sep 1, 2024

Yes I am on a laptop that has intel integrated graphics (Intel UHD Graphics 620) and NVIDIA GeForce 940MX with nvidia drivers v560.35.03

Here are my machine's specs:

➜  inxi -b
System:
  Host: fedora Kernel: 6.10.6-200.fc40.x86_64 arch: x86_64 bits: 64
  Desktop: KDE Plasma v: 6.1.4 Distro: Fedora Linux 40 (KDE Plasma)
Machine:
  Type: Laptop System: HP product: HP Pavilion Laptop 15-cc1xx
    v: Type1ProductConfigId serial: <superuser required>
  Mobo: HP model: 83F9 v: 46.53 serial: <superuser required> UEFI: Insyde
    v: F.36 date: 08/16/2021
Battery:
  ID-1: BAT0 charge: 43.4 Wh (100.0%) condition: 43.4/43.4 Wh (100.0%)
CPU:
  Info: quad core Intel Core i7-8550U [MT MCP] speed (MHz): avg: 1175
    min/max: 400/4000
Graphics:
  Device-1: Intel UHD Graphics 620 driver: i915 v: kernel
  Device-2: NVIDIA GM108M [GeForce 940MX] driver: nvidia v: 560.35.03
  Device-3: Quanta HP Wide Vision HD Camera driver: uvcvideo type: USB
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 24.1.2
    compositor: kwin_wayland driver: X: loaded: modesetting,nvidia dri: iris
    gpu: i915,nvidia resolution: 1920x1080
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 24.1.6
    renderer: Mesa Intel UHD Graphics 620 (KBL GT2)
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    driver: r8169
  Device-2: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi
Drives:
  Local Storage: total: 1.35 TiB used: 259.24 GiB (18.8%)
Info:
  Memory: total: 16 GiB available: 15.5 GiB used: 5.98 GiB (38.6%)
  Processes: 360 Uptime: 2h 58m Shell: Zsh inxi: 3.3.34

@edwloef
Copy link

edwloef commented Sep 1, 2024

This is a bug with the Nvidia 560 drivers. Going back to the 555 drivers or running Zed with Xwayland, or using a compositor that doesn't support explicit sync, resolves the issue for me.

@jerome-benoit
Copy link

This is a bug with the Nvidia 560 drivers, going back to the 555 drivers or running Zed with Xwayland, or using a compositor that doesn't support explicit sync, resolves the issue for me.

The issue is also tracked at nividia?
Nvidia wayland implementation has either an issue or a missing feature with explicit sync, either Zed abuse the API.

@anilgurses
Copy link

anilgurses commented Sep 2, 2024

if you don't want to downgrade your Nvidia driver, you can run zed as below

$ DRI_PRIME=1 zed .

Ref. #16863

@edwloef
Copy link

edwloef commented Sep 2, 2024

This is a bug with the Nvidia 560 drivers, going back to the 555 drivers or running Zed with Xwayland, or using a compositor that doesn't support explicit sync, resolves the issue for me.

The issue is also tracked at nividia? Nvidia wayland implementation has either an issue or a missing feature with explicit sync, either Zed abuse the API.

I've reported it in the 560 release feedback thread but it doesn't seem to have been given any notice... am just using Zed in Xwayland for the time being.

@jerome-benoit
Copy link

I've reported it in the 560 release feedback thread but it doesn't seem to have been given any notice... am just using Zed in Xwayland for the time being.

If you give the link to the report, people hitting the issue will be able to add weight to it.

@edwloef
Copy link

edwloef commented Sep 2, 2024

I've reported it in the 560 release feedback thread but it doesn't seem to have been given any notice... am just using Zed in Xwayland for the time being.

If you give the link to the report, people hitting the issue will be able to add weight to it.

https://forums.developer.nvidia.com/t/560-release-feedback-discussion/300830/360 here's the link. It doesn't mention Zed directly but rather wgpu, but it's the same issue in their driver.

@abishekmuthian
Copy link

After updating to the the latest Nvidia open-source kernel module 560, zed doesn't open but consumes lot of CPU cycles in the background. One of my cores were at 96 deg C!

Fedora 40, Gnome 46

This is the error -

dev.zed.Zed.desktop[56379]: Protocol error 0 on object wl_surface@19:

@WillDera
Copy link

WillDera commented Sep 5, 2024

After updating to the the latest Nvidia open-source kernel module 560, zed doesn't open but consumes lot of CPU cycles in the background. One of my cores were at 96 deg C!

Fedora 40, Gnome 46

This is the error -

dev.zed.Zed.desktop[56379]: Protocol error 0 on object wl_surface@19:

This is the exact same issue I have, no errors. zed —foreground also has no errors but when I check my system process, zed is there and racking up a crazy amount of CPU cycles, if left to run long enough, my laptop crashes.

I’m on Nobara 40 (a tweaked flavor of Fedora 40), Gnome 46, Nvidia 560 drivers and Wayland

@abishekmuthian
Copy link

I think it's best to report it to Nvidia by acknowledging the bug posted by @edwloef on the NVIDIA forums - https://forums.developer.nvidia.com/t/560-release-feedback-discussion/300830/360

@jerome-benoit
Copy link

DRI_PRIME=1

flatpak user can try: flatpak override --user dev.zed.Zed --env=DRI_PRIME=1

@rashadgasimli
Copy link

rashadgasimli commented Sep 11, 2024

sadly, can't fix the issue for me. Here is my log:
Zed.log

> flatpak run dev.zed.Zed --foreground
xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1661:1: unrecognized keysym "dead_hamza" on left-hand side
xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1662:1: unrecognized keysym "dead_hamza" on left-hand side
xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1663:1: unrecognized keysym "dead_hamza" on left-hand side
xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1664:1: unrecognized keysym "dead_hamza" on left-hand side
xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1665:1: unrecognized keysym "dead_hamza" on left-hand side
wl_surface#22: error 0: DRM Syncobj surface object already created for surface 22
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
Protocol error 0 on object wl_surface@22: 
...

Using a hybrid (Intel iGPU + NVIDIA dGPU) laptop

@VitorRamos
Copy link
Contributor

I had a similar issue with the igpu not being able to display, the problem was that the prime-mode was set to nvidia changing it to on-demand solved it for me.

sudo prime-select on-demand
reboot

vkcube now works with --gpu_number 0,1,2

@edwloef
Copy link

edwloef commented Sep 16, 2024

If this problem also exists for AMD GPUs, then it's not an NVIDIA driver issue? Maybe it's a Wayland or KDE issue?

It's probably not a KDE issue, as I can reproduce it in Hyprland.

@Un1q32
Copy link

Un1q32 commented Sep 16, 2024

It's probably not a KDE issue, as I can reproduce it in Hyprland.

Happens on GNOME for me

@rashadgasimli
Copy link

ditching NVIDIA drivers and using Nouveau+NVK is a only possible solution until NVIDIA fixes their drivers

@mogery
Copy link

mogery commented Sep 17, 2024

Happening on KDE Plasma 6 with AMDGPU drivers.

@iamjdcollins
Copy link

I have found another solution that worked for me. Reading Arch documentation on the NVIDIA drivers there are two kernel settings mentioned. With current 560 drivers provided with Arch and these two kernel parameters zed is launching perfectly fine. I won't claim to fully understand the ramifications of these settings, but they do mention being required for Wayland compositors to work properly.

Reference: https://wiki.archlinux.org/title/NVIDIA#DRM_kernel_mode_setting

nvidia_drm.modeset=1
nvidia_drm.fbdev=1

@codeswhite
Copy link

Confirming the bug happens for me as well on:

KDE Plasma 6 (Wayland)
With AMDGPU drivers

Hardware: Intel IGPU & AMD GPU

Workaround works:

DRI_PRIME=1 zeditor ...

@billmeyertpft
Copy link

Seems like same issue
Zed does not start
(Neofetch)
OS: Kubuntu 24.04.1 LTS x86_64
Host: 82RB Legion 5 15IAH7H
Kernel: 6.8.0-45-generic
Packages: 2630 (dpkg), 18 (flatpak), 25 (snap)
Shell: bash 5.2.21
Resolution: 3840x2160, 1920x1080
KDE: Plasma 5.27.11
WM: KWin
Theme: [Plasma], Breeze [GTK2/3]
Icons: [Plasma], breeze-dark [GTK2/3]
Terminal: konsole
CPU: 12th Gen Intel i7-12700H (20) @ 4.600GHz
GPU: NVIDIA Geforce RTX 3070 Ti Laptop GPU
Memory: 13658MiB / 31884MiB

@CrackTC
Copy link

CrackTC commented Oct 3, 2024

same issue, after disabling dGPU using nvidia-smi drain, zed runs smoothly on iGPU, but it won't launch when both gpu exists.

@frusanov
Copy link

frusanov commented Oct 5, 2024

I encounter same problem after I updated Nvidia drivers on my Fedora Linux. Downgrade to 555.58.02 solve problem for me. Also good idea to lock drivers version. On Fedora with drivers from RPM Fusion repo its possible to do with versionlock dnf plugin.

Zed 0.155.2

OS: Fedora Linux 40 (Workstation Edition) x86_64
Kernel: Linux 6.10.12-200.fc40.x86_64
Display (NCP0056): 1920x1080 @ 60 Hz in 14″ [Built-in]
DE: GNOME 46.5
WM: Mutter (Wayland)
WM Theme: Adwaita
CPU: 11th Gen Intel(R) Core(TM) i5-11320H (8) @ 4.50 GHz
GPU 1: NVIDIA GeForce MX450 [Discrete]
GPU 2: Intel Iris Xe Graphics @ 1.35 GHz [Integrated]

UPD:

I also experienced problems with other software in Wayland session. Driver downgrade help me with that also. So probably it's not Zed issue, but something between Nvidia drivers and Wayland.

@AndreasGocht
Copy link

AndreasGocht commented Oct 21, 2024

Hey,

Not sure this is related: I get a slightly different error (using the flatpack version on KDE Neon, Zed 0.157.5 ):

wp_linux_drm_syncobj_surface_v1@41: error 4: explicit sync is used, but no acquire point is set
Protocol error 4 on object wp_linux_drm_syncobj_surface_v1@41: 
Protocol error 4 on object wp_linux_drm_syncobj_surface_v1@41: 
Protocol error 4 on object wp_linux_drm_syncobj_surface_v1@41: 
[...]

and the DRI_PRIME=1 does not seem to work for met.

Does anyone have an Idea if this is the same or a different Issue?

Best,

Andreas

@FearlessArmada
Copy link

I detected that removing the package vulkan-intel on Arch Linux magically resolved my issue.

@KarmaMonk
Copy link

Same Error here, since I installed Ubuntu 24.10

Ubuntu 24.10 with Linux 6.11.0-9-generic
NVidia Driver Version: 560.35.03 CUDA Version: 12.6
Zed Version: 0.159.2

Running with DRI_PRIME=1 works

@Un1q32
Copy link

Un1q32 commented Oct 29, 2024

This has been unsolved for several months. Is there any work being done to fix it? I'm gonna have to switch back to vscode if this is just gonna be a permanent issue.

@Kurtoid
Copy link

Kurtoid commented Oct 29, 2024

I detected that removing the package vulkan-intel on Arch Linux magically resolved my issue.

On my machine, this has the same effect as running with DRI_PRIME=1 - it forces zed to run on the Nvidia GPU. I'm guessing it'll force all other programs using vulkan to run on the dedicated gpu too.

@DMoscicki
Copy link

Its working without flags on hyprland
Now i think its KDE Issue

@anilgurses
Copy link

anilgurses commented Oct 30, 2024

I went deeper into the code and this problem is not related to OS, DE, or ZED. It's a Wayland issue. The updates on explicit sync broke some of the functions I assume. If you look at the logs below,

      blade_graphics::hal::init::<impl blade_graphics::hal::Context>::resize
             at .cargo/git/checkouts/blade-b2bcd1de1cf7ab6a/e142a3a/blade-graphics/src/vulkan/init.rs:928:13
   8: gpui::platform::blade::blade_renderer::BladeRenderer::new
             at dummy-build-area/zed/crates/gpui/src/platform/blade/blade_renderer.rs:384:28
   9: gpui::platform::linux::wayland::window::WaylandWindowState::new
             at dummy-build-area/zed/crates/gpui/src/platform/linux/wayland/window.rs:171:23
  10: gpui::platform::linux::wayland::window::WaylandWindow::new
             at dummy-build-area/zed/crates/gpui/src/platform/linux/wayland/window.rs:284:41
  11: <gpui::platform::linux::wayland::client::WaylandClient as gpui::platform::linux::platform::LinuxClient>::open_window
             at dummy-build-area/zed/crates/gpui/src/platform/linux/wayland/client.rs:627:36

and with WAYLAND_DEBUG=1 RUST_LOG=info cargo run

[2024-10-29T19:45:08-04:00 INFO  blade_graphics::hal::init] No ray tracing extensions are supported
[2024-10-29T19:45:08-04:00 INFO  gpui::platform::blade::blade_renderer] Resizing (I added this)
[ 753568.870] {mesa present modes query}  -> wl_display#1.get_registry(new id wl_registry#66)
[ 753568.877] {mesa present modes query}  -> wl_display#1.sync(new id wl_callback#67)
[ 753568.887] {Display Queue} wl_display#1.error(wp_linux_drm_syncobj_manager_v1#46, 0, "surface already exists")
wp_linux_drm_syncobj_manager_v1#46: error 0: surface already exists

It indicates that it can't create a surface. This might be solved within the blade library with some error handling but I doubt it's the right way to do it. We should expect driver (egl-wayland?) maintainers to fix this issue. In the meantime, the best solution is using

WAYLAND_DISPLAY='' zed

or if you want to run it on Nvidia GPU (there are some glitches)

DRI_PRIME=1 zed

Let's not ping Zed maintainers on this issue anymore, they can't help.

@Kurtoid
Copy link

Kurtoid commented Oct 30, 2024

WAYLAND_DISPLAY='' zed

works.

That makes sense - this started happening once KDE got explicit sync support

@Un1q32
Copy link

Un1q32 commented Nov 6, 2024

Seems to be fixed on Fedora 41 with latest NVIDIA driver.

@anilgurses
Copy link

Can confirm it is working now. This issue can be closed.

@Salah1221
Copy link

Salah1221 commented Nov 6, 2024

It works now without the DRI_PRIME=1 (after upgrading to Fedora 41)

@Kurtoid
Copy link

Kurtoid commented Nov 6, 2024

Seems to be OK on Arch here - nvidia 565.57.01

@Un1q32
Copy link

Un1q32 commented Nov 6, 2024

nvidia 565.57.01

That's the update I just got in rpm fusion on Fedora, previous version was 560.

@jansol
Copy link
Contributor

jansol commented Jan 9, 2025

To summarize for people arriving later:

You are likely looking at this issue if Zed is failing to launch and you have a setup with ALL 3 of these:

  • NVIDIA 560.x.y driver
  • Some other Vulkan driver
  • Wayland

And you are seeing messages like this in Zed's error logs in the terminal:

wp_linux_drm_syncobj_manager_v1#46: error 0: surface already exists
wl_surface#24: error 0: DRM Syncobj surface object already created for surface 24
Protocol error 0 on object wl_surface@24:
Protocol error 0 on object wl_surface@24:
<repeats a lot, there is likely one of the two previous errors before this if you can scroll far enough back>
Io error: Broken pipe (os error 32)
Error trying to flush the wayland display: Broken pipe (os error 32)

There are a few ways to deal with the issue:

  • (Preferred) Upgrade the NVIDIA driver to version 565.57.01 or newer
  • Downgrade the NVIDIA driver to an older version (555.58.02 has been mentioned to be working)
  • Configure PRIME to force Zed to always use the NVIDIA GPU
  • Uninstall all other Vulkan drivers except one (only do this if you are really sure you don't need them)
  • Force Zed to run in Xwayland by running Zed with the WAYLAND_DISPLAY environment variable unset (e.g.WAYLAND_DISPLAY= zed)

Given that it goes away when upgrading the NVIDIA driver to 565.x.y which specifically advertises Wayland support improvements and there are mentions of other software having similar issues in such setups I'm inclined to believe this was a bug in NVIDIA's Wayland support and as such I'll close this issue for now. (There definitely are still issues with Zed's Wayland code e.g. resizing being slow/stuttery but I think those are better handled as their own issues.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug [core label] linux linux-wayland Linux Wayland panic / crash [core label]
Projects
None yet
Development

No branches or pull requests