2026年03月29日T18:30:40+00:00 INFO [gram] ========== starting gram version 1.2.0, sha 2c0838b ========== MESA-INTEL: warning: Haswell Vulkan support is incomplete MESA-INTEL: warning: Haswell Vulkan support is incomplete 2026年03月29日T18:30:41+00:00 INFO [gpui::platform::wgpu::wgpu_context] Selected GPU adapter: "Mesa Intel(R) HD Graphics 4600 (HSW GT2)" (Gl) 2026年03月29日T18:30:41+00:00 INFO [crashes] spawning crash handler process 2026年03月29日T18:30:41+00:00 INFO [gpui::platform::linux::platform] activate is not implemented on Linux, ignoring the call 2026年03月29日T18:30:41+00:00 INFO [crashes] connected to crash handler process after 100ms 2026年03月29日T18:30:41+00:00 INFO [crashes] crash handler registered 2026年03月29日T18:30:41+00:00 ERROR [crashes] thread 'main' panicked at crates/gpui/src/platform/wgpu/wgpu_renderer.rs:169:44: index out of bounds: the len is 0 but the index is 0... 2026年03月29日T18:30:41+00:00 ERROR [crashes] triggering a crash to generate a minidump...
cant launch - crash in webgpu_renderer.rs #181
(its #149)
wait, its a different error
Hi!
I have basically the same GPU in a laptop here and it crashes in the same way for me too. I think Zed has gotten this to work. I suspect that the problem is that we create the WGPU context before we have a display handle, and in the most recent WGPU version they made it possible to pass a display into the context creation. Need to restructure the code a bit to get that to work.
Hello,
I am encountering the same error when the Vulkan GPU drivers are missing. ( Fixed by installing vulkan drivers )
2026年04月29日T01:23:08+02:00 INFO [gram] ========== starting gram version 1.2.1, sha 0b406ac ==========
2026年04月29日T01:23:08+02:00 INFO [gpui::platform::linux::x11::client] x11: compositor present: true, gtk_frame_extents_supported: true
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
2026年04月29日T01:23:08+02:00 ERROR [wgpu_hal::vulkan::instance] enumerate_adapters: Initialization of an object has failed
2026年04月29日T01:23:08+02:00 INFO [gpui::platform::wgpu::wgpu_context] Selected GPU adapter: "AMD Radeon RX 9070 XT (radeonsi, gfx1201, LLVM 21.1.7, DRM 3.61, 6.12.84_1)" (Gl)
2026年04月29日T01:23:08+02:00 INFO [gpui::platform::linux::x11::client] Using scale factor from Xft.dpi: 1
2026年04月29日T01:23:08+02:00 INFO [crashes] spawning crash handler process
2026年04月29日T01:23:08+02:00 INFO [extension_host] Rebuild the index!
2026年04月29日T01:23:09+02:00 INFO [gpui::platform::linux::platform] activate is not implemented on Linux, ignoring the call
2026年04月29日T01:23:09+02:00 INFO [gpui::platform::linux::x11::window] Using Visual { id: 137, colormap: 0, depth: 32 }
2026年04月29日T01:23:09+02:00 INFO [gpui::platform::linux::x11::window] Creating colormap 58720258
2026年04月29日T01:23:09+02:00 INFO [crashes] connected to crash handler process after 100ms
2026年04月29日T01:23:09+02:00 INFO [crashes] crash handler registered
2026年04月29日T01:23:09+02:00 ERROR [crashes] thread 'main' panicked at crates/gpui/src/platform/wgpu/wgpu_renderer.rs:169:44:
index out of bounds: the len is 0 but the index is 0...
2026年04月29日T01:23:09+02:00 ERROR [crashes] triggering a crash to generate a minidump...
Same issue, different hardware:
2026年05月01日T01:06:39-04:00 INFO [gram] ========== starting gram version 1.2.1, sha 0b406ac ==========
2026年05月01日T01:06:39-04:00 INFO [gpui::platform::wgpu::wgpu_context] Selected GPU adapter: "AMD Radeon Graphics (radeonsi, gfx1152, LLVM 19.1.7, DRM 3.64, 6.19.14-300.fc44.x86_64)" (Gl)
2026年05月01日T01:06:39-04:00 INFO [crashes] spawning crash handler process
2026年05月01日T01:06:39-04:00 INFO [extension_host] extensions updated. loading 2, reloading 0, unloading 0
2026年05月01日T01:06:39-04:00 INFO [gpui::platform::linux::platform] activate is not implemented on Linux, ignoring the call
2026年05月01日T01:06:39-04:00 INFO [theme::registry] Loading user theme from "/home/eaon/.local/share/gram/extensions/installed/lusch-theme/themes/lusch.json"
2026年05月01日T01:06:39-04:00 INFO [crashes] connected to crash handler process after 100ms
2026年05月01日T01:06:39-04:00 INFO [crashes] crash handler registered
2026年05月01日T01:06:39-04:00 ERROR [crashes] thread 'main' panicked at crates/gpui/src/platform/wgpu/wgpu_renderer.rs:169:44:
index out of bounds: the len is 0 but the index is 0...
2026年05月01日T01:06:39-04:00 ERROR [crashes] triggering a crash to generate a minidump...
I'm on Fedora 44. Weird: mesa-vulkan-drivers-freeworld from rpmfusion was installed, installed mesa-vulkan-drivers and it worked once, now the same crash is back for both driver packages.
Hello,
I've decided to go through and close issues that I don't intend to fix. If it's a feature request for something that I haven't planned to do, then I would encourage you as the reader to fix it yourself! It's open source, I'm guessing most people who are using a code editor are coders, and it's good for you to learn new things. I've come to realize that I can't fix WGPU issues on a particular piece of hardware for example. Whoever has that problem will have to solve it so they can verify that the fix actually works.
If it's a packaging thing, like providing packages for a particular OS, Linux distro or architecture, then all I can say is that I have tried and there just isn't enough time in my life to support everything people want. What I have done is hook up this repo to a Github mirror with actions enabled: https://github.com/GramEditor/gram. My suggestion to anyone who needs or wants a particular build is to make a PR that adds build support that way.
I'm having this issue too (on 2.0.0) </3 same exact log as OP and my hardware doesn't support vulkan very well so this happens even with drivers installed
never had this issue with zed
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?