zed icon indicating copy to clipboard operation
zed copied to clipboard

Zed hardcoded path reports ERROR_INITIALIZATION_FAILED

Open bbruun opened this issue 9 months ago • 8 comments

Summary

Just downloaded Zed today (2025-05-07) and started Zed. It won't start nor report a crash.

$ ./.local/bin/zed --version
Zed 0.185.9 9b6f44275fc2b93f711016e8e9f444e8dbbc212e  – /home/user/.local/zed.app/libexec/zed-editor

Starting with "zed --forground" produces an error and

Description

Steps to trigger the problem:

  1. Download current version and install using curl as normal user
  2. Start Zed as normal (no Zed pops-up)
  3. Start Zed with "--foreground" and below error occurs

Actual Behavior:

$ zed --foreground
2025-05-07T08:41:53+02:00 ERROR [zed::reliability] {
  "thread": "main",
  "payload": "called `Result::unwrap()` on an `Err` value: ERROR_INITIALIZATION_FAILED",
  "location_data": {
    "file": "/home/ubuntu/.cargo/git/checkouts/blade-26bd638d88226de3/b16f5c7/blade-graphics/src/vulkan/surface.rs",
    "line": 340
  },
  "backtrace": [
    "zed::reliability::init_panic_hook::{{closure}}::h0162f42bcd588990+151221990",
    "std::panicking::rust_panic_with_hook::h541791bcc774ef34+122886739",
    "std::panicking::begin_panic_handler::{{closure}}::h6479a2f0137c7d19+122885962",
    "std::sys::backtrace::__rust_end_short_backtrace::ha04e7c0fc61ded91+122879481",
    "rust_begin_unwind+122885101",
    "core::panicking::panic_fmt::h5764ee7030b7a73d+8962112",
    "core::result::unwrap_failed::h3ff7104a9ace307a+8963190",
    "blade_graphics::hal::surface::<impl blade_graphics::hal::Context>::reconfigure_surface::h54cafebef4c76d38+33985105",
    "gpui::platform::blade::blade_renderer::BladeRenderer::new::h68c1f1c6fded2ce0+72500667",
    "<gpui::platform::linux::x11::client::X11Client as gpui::platform::linux::platform::LinuxClient>::open_window::h9a8fbadee3559b62+72379842",
    "gpui::platform::linux::platform::<impl gpui::platform::Platform for P>::open_window::h577093ca30b52f0d+71997290",
    "gpui::window::Window::new::hc927845c1d617aff+72658937",
    "gpui::app::async_context::AsyncApp::open_window::h9227fd805cbf4fc8+142531137",
    "workspace::Workspace::new_local::{{closure}}::{{closure}}::h69e4bb74376dffb2+144047500",
    "gpui::app::App::spawn::{{closure}}::hc54ae010d2d71f7b+142717080",
    "async_task::raw::RawTask<F,T,S,M>::run::h2f5bb96c7b4be285+141757892",
    "<gpui::platform::linux::x11::client::X11Client as gpui::platform::linux::platform::LinuxClient>::run::hd70657b506b0ca85+72399467",
    "gpui::platform::linux::platform::<impl gpui::platform::Platform for P>::run::h67824e5880281d0e+71987789",
    "gpui::app::Application::run::he7bf200112b52662+147269673",
    "zed::main::hcce2421d58b83782+150108424",
    "std::sys::backtrace::__rust_begin_short_backtrace::h8fccceb2b9829b24+149542035",
    "std::rt::lang_start::{{closure}}::hbd2df134817d1116+149782201",
    "std::rt::lang_start_internal::h15895544e2012228+122810321",
    "main+150128636",
    "__libc_start_call_main+24845675490704",
    "__libc_start_main_impl+24845675490880",
    "_start+11318270"
  ],
  "app_version": "0.185.9",
  "app_commit_sha": "9b6f44275fc2b93f711016e8e9f444e8dbbc212e",
  "release_channel": "stable",
  "target": "x86_64-unknown-linux-gnu",
  "os_name": "Linux X11",
  "os_version": "pop 22.04",
  "architecture": "x86_64",
  "panicked_on": 1746600113479,
  "system_id": "34a5e71b-968b-4e9c-8a9a-0dc3a2d36177",
  "installation_id": "7dfbfedc-50b1-45e6-9452-4be5c7d8005c",
  "session_id": "e95e9a4d-ad81-4dc4-bb1a-86298803b046"
}

Expected Behavior: That Zed starts up as usual.

Zed Version and System Specs

$ ./.local/bin/zed --version
Zed 0.185.9 9b6f44275fc2b93f711016e8e9f444e8dbbc212e  – /home/user/.local/zed.app/libexec/zed-editor

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

Zed.log
$ zed --foreground
2025-05-07T08:41:53+02:00 INFO  [zed] ========== starting zed ==========
2025-05-07T08:41:53+02:00 INFO  [gpui::platform::linux::x11::client] Compositor detection: _NET_WM_CM_S?=false, _NET_WM_CM_OWNER=false, _NET_SUPPORTING_WM_CHECK=true
2025-05-07T08:41:53+02:00 INFO  [gpui::platform::linux::x11::client] x11: compositor present: true, gtk_frame_extents_supported: true
2025-05-07T08:41:53+02:00 INFO  [blade_graphics::hal::init] Presentation support: "VK_KHR_wayland_surface"
2025-05-07T08:41:53+02:00 INFO  [blade_graphics::hal::init] Presentation support: "VK_KHR_xcb_surface"
2025-05-07T08:41:53+02:00 INFO  [blade_graphics::hal::init] Presentation support: "VK_KHR_xlib_surface"
2025-05-07T08:41:53+02:00 INFO  [blade_graphics::hal::init] Enabling Vulkan Portability
2025-05-07T08:41:53+02:00 INFO  [blade_graphics::hal::init] Enabling color space support
2025-05-07T08:41:53+02:00 INFO  [blade_graphics::hal::init] Adapter: "NVIDIA GeForce RTX 2080 SUPER"
2025-05-07T08:41:53+02:00 WARN  [blade_graphics::hal::init] Rejected for device extension "VK_KHR_dynamic_rendering" not supported. Please update the driver!
2025-05-07T08:41:53+02:00 INFO  [blade_graphics::hal::init] Adapter: "AMD Radeon Graphics (RADV RAPHAEL_MENDOCINO)"
2025-05-07T08:41:53+02:00 INFO  [blade_graphics::hal::init] Ray tracing is supported
2025-05-07T08:41:53+02:00 INFO  [xim::x11rb] Try connect ibus
2025-05-07T08:41:53+02:00 INFO  [*unknown*] perform;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] authenticate;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] write_command; command=Auth(Some(External), Some([49, 48, 48, 48]))
2025-05-07T08:41:53+02:00 INFO  [*unknown*] write_commands; commands=[Auth(Some(External), Some([49, 48, 48, 48]))] extra_bytes=None
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_command;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_commands; n_commands=1
2025-05-07T08:41:53+02:00 INFO  [*unknown*] send_secondary_commands;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] write_commands; commands=[NegotiateUnixFD, Begin] extra_bytes=Some([108, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 109, 0, 0, 0, 1, 1, 111, 0, 21, 0, 0, 0, 47, 111, 114, 103, 47, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 47, 68, 66, 117, 115, 0, 0, 0, 2, 1, 115, 0, 20, 0, 0, 0, 111, 114, 103, 46, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 46, 68, 66, 117, 115, 0, 0, 0, 0, 3, 1, 115, 0, 5, 0, 0, 0, 72, 101, 108, 108, 111, 0, 0, 0, 6, 1, 115, 0, 20, 0, 0, 0, 111, 114, 103, 46, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 46, 68, 66, 117, 115, 0, 0, 0, 0])
2025-05-07T08:41:53+02:00 INFO  [*unknown*] receive_secondary_responses; expected_n_responses=1
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_commands; n_commands=1
2025-05-07T08:41:53+02:00 INFO  [db] Opening main db
2025-05-07T08:41:53+02:00 INFO  [*unknown*] new;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] {}; task_name="org.freedesktop.portal.Settings proxy caching"
2025-05-07T08:41:53+02:00 INFO  [*unknown*] socket reader;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_socket;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_socket;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_socket;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_socket;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_socket;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_socket;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] keep_updated;
2025-05-07T08:41:53+02:00 INFO  [db] Opening main db
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_socket;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_socket;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_socket;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_socket;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_socket;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_socket;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_socket;
2025-05-07T08:41:53+02:00 INFO  [zed] Using git binary path: None
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_socket;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_socket;
2025-05-07T08:41:53+02:00 INFO  [prompt_store::prompts] No prompt template overrides directory found at /home/user/.local/share/zed/prompt_overrides. Using built-in prompts.
2025-05-07T08:41:53+02:00 INFO  [assistant_tools::terminal_tool] agent selected bash for terminal tool
2025-05-07T08:41:53+02:00 INFO  [extension_host] extensions updated. loading 10, reloading 0, unloading 0
2025-05-07T08:41:53+02:00 INFO  [gpui::platform::linux::platform] activate is not implemented on Linux, ignoring the call
2025-05-07T08:41:53+02:00 INFO  [db] Opening main db
2025-05-07T08:41:53+02:00 INFO  [*unknown*] perform;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] authenticate;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] write_command; command=Auth(Some(External), Some([49, 48, 48, 48]))
2025-05-07T08:41:53+02:00 INFO  [*unknown*] write_commands; commands=[Auth(Some(External), Some([49, 48, 48, 48]))] extra_bytes=None
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_command;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_commands; n_commands=1
2025-05-07T08:41:53+02:00 INFO  [*unknown*] send_secondary_commands;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] write_commands; commands=[NegotiateUnixFD, Begin] extra_bytes=Some([108, 1, 0, 1, 0, 0, 0, 0, 15, 0, 0, 0, 109, 0, 0, 0, 1, 1, 111, 0, 21, 0, 0, 0, 47, 111, 114, 103, 47, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 47, 68, 66, 117, 115, 0, 0, 0, 2, 1, 115, 0, 20, 0, 0, 0, 111, 114, 103, 46, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 46, 68, 66, 117, 115, 0, 0, 0, 0, 3, 1, 115, 0, 5, 0, 0, 0, 72, 101, 108, 108, 111, 0, 0, 0, 6, 1, 115, 0, 20, 0, 0, 0, 111, 114, 103, 46, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 46, 68, 66, 117, 115, 0, 0, 0, 0])
2025-05-07T08:41:53+02:00 INFO  [*unknown*] receive_secondary_responses; expected_n_responses=1
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_commands; n_commands=1
2025-05-07T08:41:53+02:00 INFO  [*unknown*] socket reader;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_socket;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_socket;
2025-05-07T08:41:53+02:00 INFO  [gpui::platform::linux::x11::window] Using Visual { id: 35, colormap: 0, depth: 32 }
2025-05-07T08:41:53+02:00 INFO  [gpui::platform::linux::x11::window] Creating colormap 127926275
2025-05-07T08:41:53+02:00 INFO  [blade_graphics::hal::surface] Using surface present mode MAILBOX
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_socket;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_socket;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_socket;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_socket;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] new;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] {}; task_name="org.freedesktop.Secret.Item proxy caching"
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_socket;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_socket;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_socket;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_socket;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] keep_updated;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_socket;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_socket;
2025-05-07T08:41:53+02:00 INFO  [*unknown*] read_socket;
2025-05-07T08:41:53+02:00 ERROR [zed::reliability] {
  "thread": "main",
  "payload": "called `Result::unwrap()` on an `Err` value: ERROR_INITIALIZATION_FAILED",
  "location_data": {
    "file": "/home/ubuntu/.cargo/git/checkouts/blade-26bd638d88226de3/b16f5c7/blade-graphics/src/vulkan/surface.rs",
    "line": 340
  },
  "backtrace": [
    "zed::reliability::init_panic_hook::{{closure}}::h0162f42bcd588990+151221990",
    "std::panicking::rust_panic_with_hook::h541791bcc774ef34+122886739",
    "std::panicking::begin_panic_handler::{{closure}}::h6479a2f0137c7d19+122885962",
    "std::sys::backtrace::__rust_end_short_backtrace::ha04e7c0fc61ded91+122879481",
    "rust_begin_unwind+122885101",
    "core::panicking::panic_fmt::h5764ee7030b7a73d+8962112",
    "core::result::unwrap_failed::h3ff7104a9ace307a+8963190",
    "blade_graphics::hal::surface::<impl blade_graphics::hal::Context>::reconfigure_surface::h54cafebef4c76d38+33985105",
    "gpui::platform::blade::blade_renderer::BladeRenderer::new::h68c1f1c6fded2ce0+72500667",
    "<gpui::platform::linux::x11::client::X11Client as gpui::platform::linux::platform::LinuxClient>::open_window::h9a8fbadee3559b62+72379842",
    "gpui::platform::linux::platform::<impl gpui::platform::Platform for P>::open_window::h577093ca30b52f0d+71997290",
    "gpui::window::Window::new::hc927845c1d617aff+72658937",
    "gpui::app::async_context::AsyncApp::open_window::h9227fd805cbf4fc8+142531137",
    "workspace::Workspace::new_local::{{closure}}::{{closure}}::h69e4bb74376dffb2+144047500",
    "gpui::app::App::spawn::{{closure}}::hc54ae010d2d71f7b+142717080",
    "async_task::raw::RawTask<F,T,S,M>::run::h2f5bb96c7b4be285+141757892",
    "<gpui::platform::linux::x11::client::X11Client as gpui::platform::linux::platform::LinuxClient>::run::hd70657b506b0ca85+72399467",
    "gpui::platform::linux::platform::<impl gpui::platform::Platform for P>::run::h67824e5880281d0e+71987789",
    "gpui::app::Application::run::he7bf200112b52662+147269673",
    "zed::main::hcce2421d58b83782+150108424",
    "std::sys::backtrace::__rust_begin_short_backtrace::h8fccceb2b9829b24+149542035",
    "std::rt::lang_start::{{closure}}::hbd2df134817d1116+149782201",
    "std::rt::lang_start_internal::h15895544e2012228+122810321",
    "main+150128636",
    "__libc_start_call_main+24845675490704",
    "__libc_start_main_impl+24845675490880",
    "_start+11318270"
  ],
  "app_version": "0.185.9",
  "app_commit_sha": "9b6f44275fc2b93f711016e8e9f444e8dbbc212e",
  "release_channel": "stable",
  "target": "x86_64-unknown-linux-gnu",
  "os_name": "Linux X11",
  "os_version": "pop 22.04",
  "architecture": "x86_64",
  "panicked_on": 1746600113479,
  "system_id": "34a5e71b-968b-4e9c-8a9a-0dc3a2d36177",
  "installation_id": "7dfbfedc-50b1-45e6-9452-4be5c7d8005c",
  "session_id": "e95e9a4d-ad81-4dc4-bb1a-86298803b046"
}

bbruun avatar May 07 '25 07:05 bbruun

Hey, thanks for your report! I believe this is the same issue as reported in #8168, would you care to check? If so, please mark this issue as a duplicate so we can keep the tracking of that issue and the discussion in one place.

There are some troubleshooting steps in that issue as well, perhaps some of these might help you.

MrSubidubi avatar May 07 '25 10:05 MrSubidubi

Hi @MrSubidubi It does not look like the same issue - the #8168 is a missing library in the OS aka "{ desc: "libvulkan.so.1: cannot open shared object file: No such file or directory" })"

This seems to be a build error with missing information, that made it into the build

  "location_data": {
    "file": "/home/ubuntu/.cargo/git/checkouts/blade-26bd638d88226de3/b16f5c7/blade-graphics/src/vulkan/surface.rs",
    "line": 340
  },

The file is here https://github.com/kvark/blade/blob/main/blade-graphics/src/vulkan/surface.rs but I don't know which version/tag your build environment uses to build the release with.

bbruun avatar May 07 '25 11:05 bbruun

@bbruun I noticed this discrepancy aswell. However, given the report of https://github.com/zed-industries/zed/issues/8168#issuecomment-2682882979 as well as https://github.com/zed-industries/zed/issues/27640 being marked duplicate I wanted to throw this in.

Yet I do have to agree with you that these issues, whilst having the same error code, seem to be somewhat unrelated and might be worth tracking seperately. Did you try the workaround described in https://github.com/zed-industries/zed/issues/8168#issuecomment-2682882979?

MrSubidubi avatar May 07 '25 11:05 MrSubidubi

@MrSubidubi I tried to check issues about this before posting so no I have not tested.

I'm still using X11 though.

But it does not work.

$ WAYLAND_DISPLAY='' zed
$ echo $?
0
$ 

With an strace (most remove here) then I can see it tries to

$ WAYLAND_DISPLAY='' strace zed 
<snip a lot before it exits with missing socket>
socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 5
connect(5, {sa_family=AF_UNIX, sun_path="/home/myuser/.local/share/zed/zed-stable.sock"}, 48) = -1 ECONNREFUSED (Connection refused)
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7d580ac4c450) = 26440
close(5)                                = 0
futex(0x7d580a9ff910, FUTEX_WAIT_BITSET|FUTEX_CLOCK_REALTIME, 26439, NULL, FUTEX_BITSET_MATCH_ANY) = 0
sigaltstack({ss_sp=NULL, ss_flags=SS_DISABLE, ss_size=8192}, NULL) = 0
munmap(0x7d580ac95000, 12288)           = 0
exit_group(0)                           = ?
+++ exited with 0 +++
strace: Exit of unknown pid 26435 ignored

If I try with WAYLAND_DISPLAY='wayland-1' zed (also with "strace") then it hangs as it can't open the display, but it does not crash.

Has X11 support been cut from Zed? If so then I need to live without Zed until PopOS 24.04 arrives.

bbruun avatar May 07 '25 11:05 bbruun

Has X11 support been cut from Zed?

Really sure it hasn't.

Personally, I think that you have a valid point that these issues are not that related despite having the same error code. They have different origins and, interestingly, it seems that the issue you are facing has only started to occur recently, given that your and the other reports with the same origin are only a few months apart. But Zed staff might disagree with me here.

In any case, it might also be worth to report this issue upstream in the blade-repo given that the error originates within the blade renderer. You could also check whether any of the workarounds in the other issue work for you, but given what you all stated, it seems somewhat unlikely.

MrSubidubi avatar May 07 '25 13:05 MrSubidubi

We definitely haven't dropped X11 support. Could you please run zed --system-specs and share the output? You may also want to try what another user did to use their system x11 version instead of the bundled one, described in #29467, and see if that helps

probably-neb avatar May 07 '25 17:05 probably-neb

@probably-neb system specs

$ /home/myuser/.local/zed.app/libexec/zed-editor --system-specs
Zed System Specs (from CLI):
Zed: v0.185.9 (Zed) 
OS: Linux X11 pop 22.04
Memory: 30.5 GiB
Architecture: x86_64
GPU: <details><summary>`vulkaninfo --summary` output</summary>
==========
VULKANINFO
==========

Vulkan Instance Version: 1.3.280


Instance Extensions: count = 24
-------------------------------
VK_EXT_acquire_drm_display             : extension revision 1
VK_EXT_acquire_xlib_display            : extension revision 1
VK_EXT_debug_report                    : extension revision 10
VK_EXT_debug_utils                     : extension revision 2
VK_EXT_direct_mode_display             : extension revision 1
VK_EXT_display_surface_counter         : extension revision 1
VK_EXT_headless_surface                : extension revision 1
VK_EXT_surface_maintenance1            : extension revision 1
VK_EXT_swapchain_colorspace            : extension revision 4
VK_KHR_device_group_creation           : extension revision 1
VK_KHR_display                         : extension revision 23
VK_KHR_external_fence_capabilities     : extension revision 1
VK_KHR_external_memory_capabilities    : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_display_properties2         : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2       : extension revision 1
VK_KHR_portability_enumeration         : extension revision 1
VK_KHR_surface                         : extension revision 25
VK_KHR_surface_protected_capabilities  : extension revision 1
VK_KHR_wayland_surface                 : extension revision 6
VK_KHR_xcb_surface                     : extension revision 6
VK_KHR_xlib_surface                    : extension revision 6
VK_LUNARG_direct_driver_loading        : extension revision 1

Instance Layers: count = 8
--------------------------
VK_LAYER_INTEL_nullhw             INTEL NULL HW                1.1.73   version 1
VK_LAYER_MESA_device_select       Linux device selection layer 1.3.211  version 1
VK_LAYER_MESA_overlay             Mesa Overlay layer           1.3.211  version 1
VK_LAYER_NV_optimus               NVIDIA Optimus layer         1.2.175  version 1
VK_LAYER_VALVE_steam_fossilize_32 Steam Pipeline Caching Layer 1.3.207  version 1
VK_LAYER_VALVE_steam_fossilize_64 Steam Pipeline Caching Layer 1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_32   Steam Overlay Layer          1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_64   Steam Overlay Layer          1.3.207  version 1

Devices:
========
GPU0:
        apiVersion         = 4202671 (1.2.175)
        driverVersion      = 1975517312 (0x75c00080)
        vendorID           = 0x10de
        deviceID           = 0x1e81
        deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
        deviceName         = NVIDIA GeForce RTX 2080 SUPER
        driverID           = DRIVER_ID_NVIDIA_PROPRIETARY
        driverName         = NVIDIA
        driverInfo         = 470.256.02
        conformanceVersion = 1.2.6.0
        deviceUUID         = a8d026df-fb21-d05e-e7d8-35f3a1a344a4
        driverUUID         = b67e126b-ca9f-5837-843e-603a6ad11b15
GPU1:
        apiVersion         = 4206881 (1.3.289)
        driverVersion      = 100671496 (0x6002008)
        vendorID           = 0x1002
        deviceID           = 0x164e
        deviceType         = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU
        deviceName         = AMD Radeon Graphics (RADV RAPHAEL_MENDOCINO)
        driverID           = DRIVER_ID_MESA_RADV
        driverName         = radv
        driverInfo         = Mesa 24.2.8-1~bpo12+1pop1~1744225826~22.04~b077665
        conformanceVersion = 1.3.0.0
        deviceUUID         = 00000000-1600-0000-0000-000000000000
        driverUUID         = 414d442d-4d45-5341-2d44-525600000000
GPU2:
        apiVersion         = 4206881 (1.3.289)
        driverVersion      = 1 (0x0001)
        vendorID           = 0x10005
        deviceID           = 0x0000
        deviceType         = PHYSICAL_DEVICE_TYPE_CPU
        deviceName         = llvmpipe (LLVM 15.0.7, 256 bits)
        driverID           = DRIVER_ID_MESA_LLVMPIPE
        driverName         = llvmpipe
        driverInfo         = Mesa 24.2.8-1~bpo12+1pop1~1744225826~22.04~b077665 (LLVM 15.0.7)
        conformanceVersion = 1.3.1.1
        deviceUUID         = 6d657361-3234-2e32-2e38-2d317e627000
        driverUUID         = 6c6c766d-7069-7065-5555-494400000000

</details>

bbruun avatar May 08 '25 06:05 bbruun

Has X11 support been cut from Zed?

Really sure it hasn't.

Good, for now at least - CS2 does not work on Wayland just yet :-) - though it used to work on this system so it is a little annoying to be honest.

Personally, I think that you have a valid point that these issues are not that related despite having the same error code. They have different origins and, interestingly, it seems that the issue you are facing has only started to occur recently, given that your and the other reports with the same origin are only a few months apart. But Zed staff might disagree with me here.

Could just be a fallback to a "generic error" for something new that does not have a dedicated error handling, yet.

In any case, it might also be worth to report this issue upstream in the blade-repo given that the error originates within the blade renderer.

I don't know what to report to the blade project as the only thing I have is the above error where the .../blade-graphics/src/vulkan/surface.rs is mentioned.

I can however say that on my personal and work laptop, both running KDE Neon 22.04, the same Zed version works just fine - though they both go "black screen" after a wakeup and needs to be killed and started again, but that is another issue and I can live with that as Zed restores my workspace just fine.

You could also check whether any of the workarounds in the other issue work for you, but given what you all stated, it seems somewhat unlikely.

I'll check around but don't think anything I do will help with an error caused in the upstart code that initialises Zed to start rendering things on the screen.

bbruun avatar May 08 '25 06:05 bbruun

Stupid Nvidia driver issue. An old nvidia-driver-470 was still installed causing the issue. It has been removed and Zed is working great again.

Thanks for your help.

bbruun avatar May 20 '25 09:05 bbruun