Skip to content

Zed (with WGPU) consistently hangs for long periods #52403

@alonsoC1s

Description

@alonsoC1s

Reproduction steps

  1. Start Zed
  2. Open any text file or open log
  3. Insert text

I had previously reported a similar issue #47750, which was going to be resolved by PR #46758. After uninstalling and cleaning the residue from Zed, I installed the newest version, hoping that the issue was resolved. Sadly, it persists. I'm not sure if the cause is the same, but the migration to WGPU has apparently not affected the end result. This is even more strange, given that my current setup is very different from the original. It includes a discrete GPU and X11 instead of Wayland.

Simply scrolling text freezes the editor, which makes it functionally unusable.

Zed version and system specs

Zed: v0.228.0+stable.203.8421009ef8a022df1196d54bb42fd94366ec0988 (Zed)
OS: Linux X11 debian 12
Memory: 62.6 GiB
Architecture: x86_64
GPU: NVIDIA GeForce RTX 2060 || NVIDIA || 535.261.03

Attach Zed log file

Zed.log
2026-03-25T11:27:42+01:00 INFO  [zed] ========== starting zed version 0.228.0+stable.203.8421009ef8a022df1196d54bb42fd94366ec0988, sha 8421009 ==========
2026-03-25T11:27:42+01:00 INFO  [gpui_linux::linux::x11::client] x11: compositor present: true, gtk_frame_extents_supported: true
2026-03-25T11:27:42+01:00 INFO  [gpui_linux::linux::x11::client] Using scale factor from Xft.dpi: 1
2026-03-25T11:27:42+01:00 INFO  [zed_xim::x11rb] Try connect ibus
2026-03-25T11:27:42+01:00 INFO  [crashes] crash signal handlers installed
2026-03-25T11:27:42+01:00 INFO  [crashes] spawning crash handler process
2026-03-25T11:27:42+01:00 INFO  [extension_host] extensions updated. loading 2, reloading 0, unloading 0
2026-03-25T11:27:42+01:00 INFO  [crashes] connected to crash handler process after 100ms
2026-03-25T11:27:42+01:00 INFO  [crashes] crash handler registered
2026-03-25T11:27:42+01:00 INFO  [gpui_linux::linux::platform] activate is not implemented on Linux, ignoring the call
2026-03-25T11:27:42+01:00 INFO  [auto_update] Auto Update: checking for updates
2026-03-25T11:27:42+01:00 INFO  [project::trusted_worktrees] Worktree "/home/numerik/amartine/Dokumente/zed_bug_again" is not trusted
2026-03-25T11:27:42+01:00 INFO  [gpui_linux::linux::x11::window] Using Visual { id: 35, colormap: 0, depth: 32 }
2026-03-25T11:27:42+01:00 INFO  [gpui_linux::linux::x11::window] Creating colormap 75497474
2026-03-25T11:27:42+01:00 INFO  [wgpu_hal::gles::egl] EGL says it can present to the window but not natively
2026-03-25T11:27:42+01:00 INFO  [util] set environment variables from shell:/bin/zsh, path:/home/numerik/amartine/.juliaup/bin:/opt/conda/bin:/opt/conda/condabin:/software/CUDA/cuda-12.2/bin:/home/numerik/amartine/home/htc/amartine/mybin:/home/numerik/amartine/.local/bin:/home/numerik/amartine/.juliaup/bin:/home/numerik/amartine/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
2026-03-25T11:27:43+01:00 INFO  [gpui_wgpu::wgpu_context] Found 4 GPU adapter(s):
2026-03-25T11:27:43+01:00 INFO  [gpui_wgpu::wgpu_context]   - NVIDIA GeForce RTX 2060 (vendor=0x10de, device=0x1e89, backend=Vulkan, type=DiscreteGpu)
2026-03-25T11:27:43+01:00 INFO  [gpui_wgpu::wgpu_context]   - Intel(R) UHD Graphics 630 (CFL GT2) (vendor=0x8086, device=0x3e98, backend=Vulkan, type=IntegratedGpu)
2026-03-25T11:27:43+01:00 INFO  [gpui_wgpu::wgpu_context]   - NVIDIA GeForce RTX 2060/PCIe/SSE2 (vendor=0x10de, device=0x0000, backend=Gl, type=Other)
2026-03-25T11:27:43+01:00 INFO  [gpui_wgpu::wgpu_context]   - llvmpipe (LLVM 15.0.6, 256 bits) (vendor=0x10005, device=0x0000, backend=Vulkan, type=Cpu)
2026-03-25T11:27:43+01:00 INFO  [gpui_wgpu::wgpu_context] Testing adapter: NVIDIA GeForce RTX 2060 (Vulkan)...
2026-03-25T11:27:43+01:00 ERROR [crates/zed/src/reliability.rs:249] failed to upload minidump: {"detail":"envelope exceeded size limits for type 'attachment:minidump' (https://develop.sentry.dev/sdk/envelopes/#size-limits)"}
2026-03-25T11:27:43+01:00 INFO  [gpui_wgpu::wgpu_context] Selected GPU (passed configuration test): NVIDIA GeForce RTX 2060 (Vulkan)
2026-03-25T11:27:43+01:00 INFO  [gpui_wgpu::wgpu_context] Selected GPU adapter: "NVIDIA GeForce RTX 2060" (Vulkan)
2026-03-25T11:27:43+01:00 INFO  [workspace] Rendered first frame
2026-03-25T11:27:43+01:00 INFO  [zed::zed] Using GPU: GpuSpecs { is_software_emulated: false, device_name: "NVIDIA GeForce RTX 2060", driver_name: "NVIDIA", driver_info: "535.261.03" }
2026-03-25T11:27:43+01:00 INFO  [gpui_linux::linux::x11::client] Refreshing every 16ms
2026-03-25T11:27:43+01:00 INFO  [zed_xim::x11rb] XConnected server on 18874379, transport version: 0.0, TRANSPORT_MAX: 20
2026-03-25T11:29:13+01:00 WARN  [gpui_linux::linux::x11::clipboard] Could not hand the clipboard contents over to the clipboard manager. The request timed out.
2026-03-25T11:30:08+01:00 INFO  [zed] ========== starting zed version 0.228.0+stable.203.8421009ef8a022df1196d54bb42fd94366ec0988, sha 8421009 ==========
2026-03-25T11:30:08+01:00 INFO  [gpui_linux::linux::x11::client] x11: compositor present: true, gtk_frame_extents_supported: true
2026-03-25T11:30:08+01:00 INFO  [gpui_linux::linux::x11::client] Using scale factor from Xft.dpi: 1
2026-03-25T11:30:08+01:00 INFO  [zed_xim::x11rb] Try connect ibus
2026-03-25T11:30:08+01:00 INFO  [crashes] crash signal handlers installed
2026-03-25T11:30:08+01:00 INFO  [crashes] spawning crash handler process
2026-03-25T11:30:08+01:00 INFO  [extension_host] extensions updated. loading 2, reloading 0, unloading 0
2026-03-25T11:30:08+01:00 INFO  [crashes] connected to crash handler process after 100ms
2026-03-25T11:30:08+01:00 INFO  [crashes] crash handler registered
2026-03-25T11:30:08+01:00 INFO  [gpui_linux::linux::platform] activate is not implemented on Linux, ignoring the call
2026-03-25T11:30:08+01:00 INFO  [auto_update] Auto Update: checking for updates
2026-03-25T11:30:08+01:00 INFO  [project::trusted_worktrees] Worktree "/home/numerik/amartine/Dokumente/zed_bug_again" is not trusted
2026-03-25T11:30:08+01:00 INFO  [gpui_linux::linux::x11::window] Using Visual { id: 35, colormap: 0, depth: 32 }
2026-03-25T11:30:08+01:00 INFO  [gpui_linux::linux::x11::window] Creating colormap 65011714
2026-03-25T11:30:08+01:00 INFO  [util] set environment variables from shell:/bin/zsh, path:/home/numerik/amartine/.juliaup/bin:/opt/conda/bin:/opt/conda/condabin:/software/CUDA/cuda-12.2/bin:/home/numerik/amartine/home/htc/amartine/mybin:/home/numerik/amartine/.local/bin:/home/numerik/amartine/.juliaup/bin:/home/numerik/amartine/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
2026-03-25T11:30:08+01:00 INFO  [wgpu_hal::gles::egl] EGL says it can present to the window but not natively
2026-03-25T11:30:08+01:00 INFO  [gpui_wgpu::wgpu_context] Found 4 GPU adapter(s):
2026-03-25T11:30:08+01:00 INFO  [gpui_wgpu::wgpu_context]   - NVIDIA GeForce RTX 2060 (vendor=0x10de, device=0x1e89, backend=Vulkan, type=DiscreteGpu)
2026-03-25T11:30:08+01:00 INFO  [gpui_wgpu::wgpu_context]   - Intel(R) UHD Graphics 630 (CFL GT2) (vendor=0x8086, device=0x3e98, backend=Vulkan, type=IntegratedGpu)
2026-03-25T11:30:08+01:00 INFO  [gpui_wgpu::wgpu_context]   - NVIDIA GeForce RTX 2060/PCIe/SSE2 (vendor=0x10de, device=0x0000, backend=Gl, type=Other)
2026-03-25T11:30:08+01:00 INFO  [gpui_wgpu::wgpu_context]   - llvmpipe (LLVM 15.0.6, 256 bits) (vendor=0x10005, device=0x0000, backend=Vulkan, type=Cpu)
2026-03-25T11:30:08+01:00 INFO  [gpui_wgpu::wgpu_context] Testing adapter: NVIDIA GeForce RTX 2060 (Vulkan)...
2026-03-25T11:30:08+01:00 ERROR [crates/zed/src/reliability.rs:249] failed to upload minidump: {"detail":"envelope exceeded size limits for type 'attachment:minidump' (https://develop.sentry.dev/sdk/envelopes/#size-limits)"}
2026-03-25T11:30:08+01:00 INFO  [gpui_wgpu::wgpu_context] Selected GPU (passed configuration test): NVIDIA GeForce RTX 2060 (Vulkan)
2026-03-25T11:30:08+01:00 INFO  [gpui_wgpu::wgpu_context] Selected GPU adapter: "NVIDIA GeForce RTX 2060" (Vulkan)
2026-03-25T11:30:08+01:00 INFO  [workspace] Rendered first frame
2026-03-25T11:30:08+01:00 INFO  [zed::zed] Using GPU: GpuSpecs { is_software_emulated: false, device_name: "NVIDIA GeForce RTX 2060", driver_name: "NVIDIA", driver_info: "535.261.03" }
2026-03-25T11:30:08+01:00 INFO  [gpui_linux::linux::x11::client] Refreshing every 16ms
2026-03-25T11:30:08+01:00 INFO  [zed_xim::x11rb] XConnected server on 18874380, transport version: 0.0, TRANSPORT_MAX: 20
2026-03-25T11:30:27+01:00 INFO  [zed::reliability] hang detected, trace file saved at: /home/numerik/amartine/.local/share/zed/hang_traces/hang-2026-03-25_11-30-27.miniprof.json
2026-03-25T11:30:28+01:00 INFO  [zed::reliability] hang detected, trace file saved at: /home/numerik/amartine/.local/share/zed/hang_traces/hang-2026-03-25_11-30-27.miniprof.json
2026-03-25T11:30:29+01:00 INFO  [zed::reliability] hang detected, trace file saved at: /home/numerik/amartine/.local/share/zed/hang_traces/hang-2026-03-25_11-30-27.miniprof.json
2026-03-25T11:30:30+01:00 INFO  [zed::reliability] hang detected, trace file saved at: /home/numerik/amartine/.local/share/zed/hang_traces/hang-2026-03-25_11-30-27.miniprof.json
2026-03-25T11:30:31+01:00 INFO  [zed::reliability] hang detected, trace file saved at: /home/numerik/amartine/.local/share/zed/hang_traces/hang-2026-03-25_11-30-27.miniprof.json
2026-03-25T11:30:32+01:00 INFO  [zed::reliability] hang detected, trace file saved at: /home/numerik/amartine/.local/share/zed/hang_traces/hang-2026-03-25_11-30-27.miniprof.json
2026-03-25T11:30:33+01:00 INFO  [zed::reliability] hang detected, trace file saved at: /home/numerik/amartine/.local/share/zed/hang_traces/hang-2026-03-25_11-30-27.miniprof.json
2026-03-25T11:30:34+01:00 INFO  [zed::reliability] hang detected, trace file saved at: /home/numerik/amartine/.local/share/zed/hang_traces/hang-2026-03-25_11-30-27.miniprof.json
2026-03-25T11:30:35+01:00 INFO  [zed::reliability] hang detected, trace file saved at: /home/numerik/amartine/.local/share/zed/hang_traces/hang-2026-03-25_11-30-27.miniprof.json
2026-03-25T11:30:36+01:00 INFO  [zed::reliability] hang detected, trace file saved at: /home/numerik/amartine/.local/share/zed/hang_traces/hang-2026-03-25_11-30-27.miniprof.json
2026-03-25T11:30:37+01:00 INFO  [zed::reliability] hang detected, trace file saved at: /home/numerik/amartine/.local/share/zed/hang_traces/hang-2026-03-25_11-30-27.miniprof.json
2026-03-25T11:30:38+01:00 INFO  [zed::reliability] hang detected, trace file saved at: /home/numerik/amartine/.local/share/zed/hang_traces/hang-2026-03-25_11-30-27.miniprof.json
2026-03-25T11:30:39+01:00 INFO  [zed::reliability] hang detected, trace file saved at: /home/numerik/amartine/.local/share/zed/hang_traces/hang-2026-03-25_11-30-27.miniprof.json
2026-03-25T11:30:40+01:00 INFO  [zed::reliability] hang detected, trace file saved at: /home/numerik/amartine/.local/share/zed/hang_traces/hang-2026-03-25_11-30-27.miniprof.json
2026-03-25T11:30:41+01:00 INFO  [zed::reliability] hang detected, trace file saved at: /home/numerik/amartine/.local/share/zed/hang_traces/hang-2026-03-25_11-30-27.miniprof.json
2026-03-25T11:30:42+01:00 INFO  [zed::reliability] hang detected, trace file saved at: /home/numerik/amartine/.local/share/zed/hang_traces/hang-2026-03-25_11-30-27.miniprof.json
2026-03-25T11:30:43+01:00 INFO  [zed::reliability] hang detected, trace file saved at: /home/numerik/amartine/.local/share/zed/hang_traces/hang-2026-03-25_11-30-27.miniprof.json
2026-03-25T11:30:44+01:00 INFO  [zed::reliability] hang detected, trace file saved at: /home/numerik/amartine/.local/share/zed/hang_traces/hang-2026-03-25_11-30-27.miniprof.json
2026-03-25T11:30:45+01:00 INFO  [zed::reliability] hang detected, trace file saved at: /home/numerik/amartine/.local/share/zed/hang_traces/hang-2026-03-25_11-30-27.miniprof.json
2026-03-25T11:30:46+01:00 INFO  [zed::reliability] hang detected, trace file saved at: /home/numerik/amartine/.local/share/zed/hang_traces/hang-2026-03-25_11-30-27.miniprof.json
2026-03-25T11:30:47+01:00 INFO  [zed::reliability] hang detected, trace file saved at: /home/numerik/amartine/.local/share/zed/hang_traces/hang-2026-03-25_11-30-27.miniprof.json
2026-03-25T11:30:48+01:00 INFO  [zed::reliability] hang detected, trace file saved at: /home/numerik/amartine/.local/share/zed/hang_traces/hang-2026-03-25_11-30-27.miniprof.json
2026-03-25T11:30:49+01:00 INFO  [zed::reliability] hang detected, trace file saved at: /home/numerik/amartine/.local/share/zed/hang_traces/hang-2026-03-25_11-30-27.miniprof.json
2026-03-25T11:30:50+01:00 INFO  [zed::reliability] hang detected, trace file saved at: /home/numerik/amartine/.local/share/zed/hang_traces/hang-2026-03-25_11-30-27.miniprof.json
2026-03-25T11:30:51+01:00 INFO  [zed::reliability] hang detected, trace file saved at: /home/numerik/amartine/.local/share/zed/hang_traces/hang-2026-03-25_11-30-27.miniprof.json
2026-03-25T11:30:52+01:00 INFO  [zed::reliability] hang detected, trace file saved at: /home/numerik/amartine/.local/share/zed/hang_traces/hang-2026-03-25_11-30-27.miniprof.json
2026-03-25T11:30:53+01:00 INFO  [zed::reliability] hang detected, trace file saved at: /home/numerik/amartine/.local/share/zed/hang_traces/hang-2026-03-25_11-30-27.miniprof.json
2026-03-25T11:30:54+01:00 INFO  [zed::reliability] hang detected, trace file saved at: /home/numerik/amartine/.local/share/zed/hang_traces/hang-2026-03-25_11-30-27.miniprof.json
2026-03-25T11:30:55+01:00 INFO  [zed::reliability] hang detected, trace file saved at: /home/numerik/amartine/.local/share/zed/hang_traces/hang-2026-03-25_11-30-27.miniprof.json
2026-03-25T11:30:56+01:00 INFO  [zed::reliability] hang detected, trace file saved at: /home/numerik/amartine/.local/share/zed/hang_traces/hang-2026-03-25_11-30-27.miniprof.json

Here I attach some of the mentioned trace files, since they won't fit on a GitHub textbox. Each is several Mb

hang-2026-03-25_11-35-34.miniprof.json
hang-2026-03-25_11-36-29.miniprof.json

Metadata

Metadata

Assignees

Labels

frequency:uncommonBugs that happen for a small subset of users, special configurations, rare circumstances, etcgraphics:intelIssues related to Intel GPUsplatform:linux/x11Linux X11priority:P3Papercuts, minor issues with a clear workaround, cosmetic bugsstate:needs infoIssue that needs more information from the userstate:needs reproNeeds reproduction steps / someone to reproduce

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions