zed-industries / zed

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

Zed appears as a frozen window without contents on Ubuntu 24.04 X11 #21001

Open aflip opened 15 hours ago

aflip commented 15 hours ago

Check for existing issues

Describe the bug / provide steps to reproduce it

I installed zed using both the flatpak and the curl method on the website, but the editor does not launch when running with --foreground it reads [2024-11-21T22:49:21+05:30 ERROR zed] missing fieldnameat line 17 column 1
Screenshot from 2024-11-21 22-23-37

Environment

Hardware Information:

Software Information:

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

Zed.log ``` 2024-11-21T20:55:24.085575577+05:30 [INFO] ========== starting zed ========== 2024-11-21T20:55:24.103234591+05:30 [INFO] Compositor detection: _NET_WM_CM_S?=false, _NET_WM_CM_OWNER=false, _NET_SUPPORTING_WM_CHECK=true 2024-11-21T20:55:24.103275055+05:30 [INFO] x11: compositor present: true, gtk_frame_extents_supported: true 2024-11-21T20:55:24.107673686+05:30 [INFO] Try connect ibus 2024-11-21T20:55:24.108154265+05:30 [INFO] perform; 2024-11-21T20:55:24.108171393+05:30 [INFO] authenticate; 2024-11-21T20:55:24.108200639+05:30 [INFO] read_command; 2024-11-21T20:55:24.108348441+05:30 [INFO] Opening main db 2024-11-21T20:55:24.108790891+05:30 [INFO] new; 2024-11-21T20:55:24.108807252+05:30 [INFO] socket reader; 2024-11-21T20:55:24.109267008+05:30 [INFO] keep_updated; 2024-11-21T20:55:24.142976965+05:30 [INFO] Opening main db 2024-11-21T20:55:24.172688043+05:30 [INFO] Using git binary path: None 2024-11-21T20:55:24.210895837+05:30 [ERROR] No such file or directory (os error 2) about ["/home/XXXX/.config/github-copilot"] 2024-11-21T20:55:24.211689308+05:30 [INFO] No prompt template overrides directory found at /home/XXXX/.local/share/zed/prompt_overrides. Using built-in prompts. 2024-11-21T20:55:24.213540067+05:30 [INFO] activate is not implemented on Linux, ignoring the call 2024-11-21T20:55:24.214834227+05:30 [INFO] Opening main db 2024-11-21T20:55:24.214974238+05:30 [INFO] perform; 2024-11-21T20:55:24.214988901+05:30 [INFO] authenticate; 2024-11-21T20:55:24.215006469+05:30 [INFO] read_command; 2024-11-21T20:55:24.215659373+05:30 [INFO] socket reader; 2024-11-21T20:55:24.221417549+05:30 [INFO] Using Visual { id: 35, colormap: 0, depth: 32 } 2024-11-21T20:55:24.22144112+05:30 [INFO] Creating colormap 111149059 2024-11-21T20:55:24.245148556+05:30 [INFO] Enabling Vulkan Portability 2024-11-21T20:55:24.245173026+05:30 [INFO] Enabling color space support 2024-11-21T20:55:24.255982949+05:30 [INFO] Adapter: "Intel(R) UHD Graphics (TGL GT1)" 2024-11-21T20:55:24.256174792+05:30 [INFO] Testing presentation capability on Linux/Intel 2024-11-21T20:55:24.262033961+05:30 [INFO] No ray tracing extensions are supported 2024-11-21T20:55:24.264050891+05:30 [INFO] Using surface present mode MAILBOX 2024-11-21T20:55:24.264090091+05:30 [WARN] Unable to forbid exclusive full screen 2024-11-21T20:55:24.267569392+05:30 [INFO] Creating a descriptor pool for at most 16 sets 2024-11-21T20:55:24.267593974+05:30 [INFO] Creating a descriptor pool for at most 16 sets 2024-11-21T20:55:24.267614949+05:30 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: Ignored } 2024-11-21T20:55:24.278339025+05:30 [INFO] set environment variables from shell:/bin/bash, path:/home/XXXX/.local/bin:/home/XXXX/miniforge3/condabin:/home/XXXX/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 2024-11-21T20:55:24.64433492+05:30 [INFO] Refreshing at 16666 micros 2024-11-21T20:55:24.645549441+05:30 [INFO] Using GPU: GPUSpecs { is_software_emulated: false, device_name: "Intel(R) UHD Graphics (TGL GT1)", driver_name: "Intel open-source Mesa driver", driver_info: "Mesa 24.0.9-0ubuntu0.2" } 2024-11-21T20:55:24.665753418+05:30 [INFO] XConnected server on 27262983, transport version: 0.0, TRANSPORT_MAX: 20 2024-11-21T20:55:24.666986104+05:30 [INFO] Using surface present mode MAILBOX 2024-11-21T20:55:24.667022079+05:30 [WARN] Unable to forbid exclusive full screen 2024-11-21T20:55:24.687425487+05:30 [INFO] rebuilt extension index in 507.98µs 2024-11-21T20:55:24.687693644+05:30 [ERROR] missing field `name` at line 17 column 1 2024-11-21T20:55:24.687965239+05:30 [ERROR] Is a directory (os error 21) 2024-11-21T20:55:24.688426043+05:30 [INFO] Opening main db 2024-11-21T21:05:32.536298698+05:30 [ERROR] { "thread": "main", "payload": "Aquire image error ERROR_SURFACE_LOST_KHR", "location_data": { "file": "/home/ubuntu/.cargo/git/checkouts/blade-b2bcd1de1cf7ab6a/e142a3a/blade-graphics/src/vulkan/init.rs", "line": 1102 }, "backtrace": [ "core::panicking::panic_fmt", "blade_graphics::hal::init::::acquire_frame", "gpui::platform::blade::blade_renderer::BladeRenderer::draw", "::draw", "gpui::window::Window::new::{{closure}}::{{closure}}", "gpui::window::Window::new::{{closure}}", "> as calloop::sources::EventDispatcher>::process_events", "::run", "gpui::platform::linux::platform::::run", "gpui::app::App::run", "zed::main", "std::sys::backtrace::__rust_begin_short_backtrace", "std::rt::lang_start::{{closure}}", "std::rt::lang_start_internal", "main", "__libc_start_call_main", "__libc_start_main_impl", "_start" ], "app_version": "0.162.3", "release_channel": "Zed", "os_name": "Linux X11", "os_version": "ubuntu 24.04", "architecture": "x86_64", "panicked_on": 1732203332536, "system_id": "44063262-c04b-4d0d-891a-128bda0b6874", "installation_id": "7eaf9d63-dd8e-4839-84f2-cb8af873a6f4", "session_id": "27b708d0-dbe9-47e8-87e3-8f262a048ff9" } 2024-11-21T21:53:25.792568569+05:30 [INFO] ========== starting zed ========== 2024-11-21T21:53:25.804542999+05:30 [INFO] Compositor detection: _NET_WM_CM_S?=false, _NET_WM_CM_OWNER=false, _NET_SUPPORTING_WM_CHECK=true 2024-11-21T21:53:25.804585261+05:30 [INFO] x11: compositor present: true, gtk_frame_extents_supported: true 2024-11-21T21:53:25.821833722+05:30 [INFO] Try connect ibus 2024-11-21T21:53:25.822446122+05:30 [INFO] perform; 2024-11-21T21:53:25.822471864+05:30 [INFO] authenticate; 2024-11-21T21:53:25.822509894+05:30 [INFO] read_command; 2024-11-21T21:53:25.822588761+05:30 [INFO] Opening main db 2024-11-21T21:53:25.823263277+05:30 [INFO] new; 2024-11-21T21:53:25.823330834+05:30 [INFO] socket reader; 2024-11-21T21:53:25.82337164+05:30 [INFO] Opening main db 2024-11-21T21:53:25.823982427+05:30 [INFO] keep_updated; 2024-11-21T21:53:25.824158651+05:30 [INFO] Using git binary path: None 2024-11-21T21:53:25.850887963+05:30 [ERROR] No such file or directory (os error 2) about ["/home/XXXX/.config/github-copilot"] 2024-11-21T21:53:25.851805761+05:30 [INFO] No prompt template overrides directory found at /home/XXXX/.local/share/zed/prompt_overrides. Using built-in prompts. 2024-11-21T21:53:25.853591413+05:30 [INFO] activate is not implemented on Linux, ignoring the call 2024-11-21T21:53:25.854593665+05:30 [INFO] Opening main db 2024-11-21T21:53:25.854796825+05:30 [INFO] perform; 2024-11-21T21:53:25.854821104+05:30 [INFO] authenticate; 2024-11-21T21:53:25.854849192+05:30 [INFO] read_command; 2024-11-21T21:53:25.855263374+05:30 [INFO] socket reader; 2024-11-21T21:53:25.857891933+05:30 [INFO] Using Visual { id: 35, colormap: 0, depth: 32 } 2024-11-21T21:53:25.857925962+05:30 [INFO] Creating colormap 60817411 2024-11-21T21:53:25.883362692+05:30 [INFO] Enabling Vulkan Portability 2024-11-21T21:53:25.883391588+05:30 [INFO] Enabling color space support 2024-11-21T21:53:25.895884402+05:30 [INFO] Adapter: "Intel(R) UHD Graphics (TGL GT1)" 2024-11-21T21:53:25.896157471+05:30 [INFO] Testing presentation capability on Linux/Intel 2024-11-21T21:53:25.900958+05:30 [INFO] No ray tracing extensions are supported 2024-11-21T21:53:25.902987888+05:30 [INFO] Using surface present mode MAILBOX 2024-11-21T21:53:25.903050507+05:30 [WARN] Unable to forbid exclusive full screen 2024-11-21T21:53:25.906652816+05:30 [INFO] Creating a descriptor pool for at most 16 sets 2024-11-21T21:53:25.906699584+05:30 [INFO] Creating a descriptor pool for at most 16 sets 2024-11-21T21:53:25.906730232+05:30 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: Ignored } 2024-11-21T21:53:25.92216266+05:30 [INFO] set environment variables from shell:/bin/bash, path:/home/XXXX/.local/bin:/home/XXXX/miniforge3/condabin:/home/XXXX/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 2024-11-21T21:53:26.212859169+05:30 [INFO] Refreshing at 16666 micros 2024-11-21T21:53:26.213932313+05:30 [INFO] Using GPU: GPUSpecs { is_software_emulated: false, device_name: "Intel(R) UHD Graphics (TGL GT1)", driver_name: "Intel open-source Mesa driver", driver_info: "Mesa 24.0.9-0ubuntu0.2" } 2024-11-21T21:53:26.225425006+05:30 [INFO] XConnected server on 29360135, transport version: 0.0, TRANSPORT_MAX: 20 2024-11-21T21:53:26.227517991+05:30 [INFO] Using surface present mode MAILBOX 2024-11-21T21:53:26.227551693+05:30 [WARN] Unable to forbid exclusive full screen 2024-11-21T21:53:26.237607042+05:30 [INFO] rebuilt extension index in 440.418µs 2024-11-21T21:53:26.237732401+05:30 [ERROR] missing field `name` at line 17 column 1 2024-11-21T21:53:26.238829956+05:30 [INFO] Opening main db 2024-11-21T21:53:26.242034646+05:30 [INFO] Opening main db 2024-11-21T22:22:54.422293523+05:30 [INFO] ========== starting zed ========== 2024-11-21T22:22:54.447181438+05:30 [INFO] Compositor detection: _NET_WM_CM_S?=false, _NET_WM_CM_OWNER=false, _NET_SUPPORTING_WM_CHECK=true 2024-11-21T22:22:54.447222427+05:30 [INFO] x11: compositor present: true, gtk_frame_extents_supported: true 2024-11-21T22:22:54.451096857+05:30 [INFO] Try connect ibus 2024-11-21T22:22:54.451775993+05:30 [INFO] perform; 2024-11-21T22:22:54.451803285+05:30 [INFO] authenticate; 2024-11-21T22:22:54.451823572+05:30 [INFO] Opening main db 2024-11-21T22:22:54.451860711+05:30 [INFO] read_command; 2024-11-21T22:22:54.452305456+05:30 [INFO] new; 2024-11-21T22:22:54.452335803+05:30 [INFO] socket reader; 2024-11-21T22:22:54.452679273+05:30 [INFO] Opening main db 2024-11-21T22:22:54.452789804+05:30 [INFO] keep_updated; 2024-11-21T22:22:54.453689512+05:30 [INFO] Using git binary path: None 2024-11-21T22:22:54.481550822+05:30 [INFO] No prompt template overrides directory found at /home/XXXX/.local/share/zed/prompt_overrides. Using built-in prompts. 2024-11-21T22:22:54.483277688+05:30 [INFO] activate is not implemented on Linux, ignoring the call 2024-11-21T22:22:54.484314815+05:30 [INFO] Opening main db 2024-11-21T22:22:54.484477964+05:30 [INFO] perform; 2024-11-21T22:22:54.484501038+05:30 [INFO] authenticate; 2024-11-21T22:22:54.484528603+05:30 [INFO] read_command; 2024-11-21T22:22:54.484938062+05:30 [INFO] socket reader; 2024-11-21T22:22:54.486940872+05:30 [INFO] installing extension html latest version 2024-11-21T22:22:54.487251025+05:30 [INFO] Using Visual { id: 35, colormap: 0, depth: 32 } 2024-11-21T22:22:54.487286772+05:30 [INFO] Creating colormap 58720259 2024-11-21T22:22:54.51062296+05:30 [INFO] Enabling Vulkan Portability 2024-11-21T22:22:54.510652815+05:30 [INFO] Enabling color space support 2024-11-21T22:22:54.536994164+05:30 [INFO] Adapter: "Intel(R) UHD Graphics (TGL GT1)" 2024-11-21T22:22:54.53719155+05:30 [INFO] Testing presentation capability on Linux/Intel 2024-11-21T22:22:54.541755895+05:30 [INFO] No ray tracing extensions are supported 2024-11-21T22:22:54.543543878+05:30 [INFO] Using surface present mode MAILBOX 2024-11-21T22:22:54.543591314+05:30 [WARN] Unable to forbid exclusive full screen 2024-11-21T22:22:54.547134344+05:30 [INFO] set environment variables from shell:/bin/bash, path:/home/XXXX/.local/bin:/home/XXXX/miniforge3/condabin:/home/XXXX/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 2024-11-21T22:22:54.55919018+05:30 [INFO] Creating a descriptor pool for at most 16 sets 2024-11-21T22:22:54.55922895+05:30 [INFO] Creating a descriptor pool for at most 16 sets 2024-11-21T22:22:54.559269077+05:30 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: Ignored } 2024-11-21T22:22:54.746069858+05:30 [INFO] Refreshing at 16666 micros 2024-11-21T22:22:54.746972965+05:30 [INFO] Using GPU: GPUSpecs { is_software_emulated: false, device_name: "Intel(R) UHD Graphics (TGL GT1)", driver_name: "Intel open-source Mesa driver", driver_info: "Mesa 24.0.9-0ubuntu0.2" } 2024-11-21T22:22:54.756909349+05:30 [INFO] Using surface present mode MAILBOX 2024-11-21T22:22:54.756949154+05:30 [WARN] Unable to forbid exclusive full screen 2024-11-21T22:22:54.764569083+05:30 [INFO] XConnected server on 27262985, transport version: 0.0, TRANSPORT_MAX: 20 2024-11-21T22:22:54.766761835+05:30 [ERROR] missing field `name` at line 17 column 1 2024-11-21T22:22:54.767876919+05:30 [INFO] Opening main db 2024-11-21T22:22:54.771066809+05:30 [INFO] Opening main db ```