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

Open
1 task done
Reverier-Xu opened this issue Aug 30, 2024 · 20 comments
Open
1 task done

Zed failed to start on KDE Plasma 6 Wayland #17129

Reverier-Xu opened this issue Aug 30, 2024 · 20 comments
Labels
defect [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 Pending admin review defect [core label] panic / crash [core label] triage Maintainer needs to classify the issue 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

@DMoscicki
Copy link

The same problem with AMD Ryzen 7 7840HS w/ Radeon 780M Graphics

@anilgurses
Copy link

anilgurses commented Sep 12, 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?

@DMoscicki
Copy link

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

I have 2 DE on Linux:

  1. KDE 6 on Wayland;
  2. Hyprland;

I cant remember after what it stop working... If it's not working with NVIDIA and Vulkan drivers on Wayland, it must be Wayland issue...

@Un1q32
Copy link

Un1q32 commented Sep 14, 2024

Same error with the Protocol error 0 on object wl_surface@22: on fedora 40, amd/nvidia hybrid laptop.

Running with DRI_PRIME=1 works

@anilgurses
Copy link

DRI_PRIME=1 comes with a catch. If you have multiple windows open and try to close one of them, zed crashes.

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

No branches or pull requests