-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Description
Summary
I used to be able to run Zed on my Dell XPS 15 9510, but recently it refuses to start. Bisecting shows it broke in v0.169 due to #20853, which I suppose is an intended side-effect of that change.
Steps to trigger the problem:
zeditor --foreground
Actual Behavior:
[2025-03-02T19:12:56+01:00 ERROR zed::reliability] {
"thread": "main",
"payload": "called `Result::unwrap()` on an `Err` value: PlatformNotSupported",
"location_data": {
"file": "crates/gpui/src/platform/blade/blade_renderer.rs",
"line": 344
},
"backtrace": [
"__libc_start_main+28761842255180"
],
"app_version": "0.175.6",
"release_channel": "stable",
"target": "x86_64-unknown-linux-gnu",
"os_name": "Linux Wayland",
"os_version": "arch unknown",
"architecture": "x86_64",
"panicked_on": 1740939176226,
"system_id": "«removed»",
"installation_id": "«removed»",
"session_id": "«removed»"
}
Expected Behavior:
The editor starts.
After bisecting, the first bad commit is 298b9df, introduced in #20853. There is some discussion there that it breaks Intel + Nvidia systems … well, the Dell XPS 15 9510 is apparently one of the affected systems. I don’t use the Nvidia GPU though, and I blacklist the nvidia and nvidia_uvm kernel modules in /etc/modprobe.d; everything runs fine on just the integrated Intel graphics. (It is possible that something recently changed on my system — I tried loading the module to see if it helped Zed to start, so during the bisection process it was loaded, but I think I just haven’t used Zed since mid-December on this laptop.)
I have a different, slightly older Dell XPS with Intel + Nvidia GPU, and Zed runs fine on that laptop. (I think I don’t have the Nvidia drivers installed at all on that one, but I’m not sure from the top of my head.)
I suppose this breakage was expected, though it would be nice if I could run Zed again. No other software I use (Gnome desktop, editors, IDEs, browsers, video players, games) has issues with the Nvidia GPU being present in the laptop. I’m happy to help diagnose this further.
Zed Version and System Specs
Zed: v0.168.0 (Zed Dev 56d20fc)
OS: Linux Wayland arch unknown (It’s kernel 6.13.5-arch1-1)
Memory: 31.1 GiB
Architecture: x86_64
GPU: Intel(R) UHD Graphics (TGL GT1) || Intel open-source Mesa driver || Mesa 24.3.4-arch1.1
If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.
No response