-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Linux] Zed doesn't open Ubuntu 20.04 #14204
Comments
Update: I installed DE:Plasma KDE and ran Zed and the error it throws in a popup is NoSupportedDeviceFound |
I have the same issue in my WSL environment. There I regularly use gitk or other IDEs such as Eclipse, IDEA, etc. via XLaunch X-Server. If I run zed after a seemingly successful installation it doesn't print anything but nothing happens either. I've let it run in the background for a few minutes before looking for similar issues. |
Is there anything in the Zed.log on your systems? We should at least see some noise if we're booting at all; and if we're not getting that far, something is very broken :D. |
Here's my log file |
WSL2, Windows 11. It asked me for a keyring, I closed the prompt.
|
I was wrong, it does respond to input. |
@petabyt I see Although it should look better than that, you'll probably need to debug your GPU setup to make Zed work well at all. |
I am using Green Ubuntu (virginia 21.3), same as @abdulrahmanDev1 |
I'm running into the same problem on Ubuntu 20.04: vkcube runs but Zed does not open a window. I also get these warnings in my Zed.log:
When I boot Ubuntu 24.04 on the same device, Zed works. It seems to me that the Vulkan drivers in Ubuntu 20.04 are too old to run Zed. Zed should probably detect this and show a useful message. |
where can I find the log or generate it |
Seems to be at |
|
similar issue on ubuntu 20.04. vkcube runs fine. I run running
|
On WSL with Nvidia
|
The process is called zed-editor, it's in the background for me and I've caught it using 6% of my CPU, so it's doing something. It also seems to be sleeping most of the time |
Similar problem here. zed is running but the window is apparently transparent. ctrl-o will open the file dialogue but that is also partially transparent System: Ubuntu 22.04.4; kernel 6.5.0-44-generic (via HWE stack). vkcube: Selected GPU 0: NVIDIA GeForce GT 640, type: DiscreteGpu From vulkaninfo: Vulkan Instance Version: 1.3.216 Device Properties and Extensions: GPU0:
VK_KHR_dynamic_rendering (revision 1) is present in the list of supported Device Extensions However, the Zed.log is reporting that extension as not supported and is falling back to llvmpipe: 2024-08-02T10:10:40.658104234+01:00 [WARN] Rejected for device extension "VK_KHR_dynamic_rendering" not supported Full Zed.log and vulkaninfo log attached. |
I am facing the same issue I would like to know how to resolve this issue and start using the application. I didn't expect this behaviour. I waited a long time for it to be available on Linux, and now that I finally tried using it, it isn't working. Environment Log: [INFO] ========== starting zed ========== |
Zed editor not opening in linux environmentZed is not responding anything via GUI or CLI. I tried almost all the suggestions from the discussion but none of them seem to work for me :/ . This was the time I was waiting for, to get zed on my ubuntu, but the results have disappointed me a lot. Environment:
Here's how my Zed.log file looks like:
|
Hello, have you already tried this installation of these drivers: |
I'm on Debian Bookworm PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
2024-08-06T12:17:42.625482373+05:30 [INFO] ========== starting zed ==========
2024-08-06T12:17:43.847535612+05:30 [INFO] Compositor detection: _NET_WM_CM_S?=false, _NET_WM_CM_OWNER=false, _NET_SUPPORTING_WM_CHECK=true
2024-08-06T12:17:43.847627364+05:30 [INFO] x11: compositor present: true, gtk_frame_extents_supported: true
2024-08-06T12:17:43.851986169+05:30 [INFO] perform;
2024-08-06T12:17:43.852066771+05:30 [INFO] read_command;
2024-08-06T12:17:43.852138125+05:30 [INFO] read_command;
2024-08-06T12:17:43.852301001+05:30 [INFO] Opening main db
2024-08-06T12:17:43.852353559+05:30 [INFO] socket reader;
2024-08-06T12:17:43.852895627+05:30 [INFO] new;
2024-08-06T12:17:43.853566657+05:30 [INFO] keep_updated;
2024-08-06T12:17:43.854029336+05:30 [INFO] Using git binary path: None
2024-08-06T12:17:43.87942172+05:30 [ERROR] No such file or directory (os error 2) about ["/home/avik/.config/github-copilot"]
2024-08-06T12:17:43.880263301+05:30 [INFO] extensions updated. loading 1, reloading 0, unloading 0
2024-08-06T12:17:43.884494997+05:30 [INFO] activate is not implemented on Linux, ignoring the call
2024-08-06T12:17:43.884582301+05:30 [INFO] Opening main db
2024-08-06T12:17:43.919138374+05:30 [INFO] Using Visual { id: 35, colormap: 0, depth: 32 }
2024-08-06T12:17:43.919246136+05:30 [INFO] Creating colormap 104857603
2024-08-06T12:17:43.919306589+05:30 [WARN] request completed with error: failed to connect to the server
2024-08-06T12:17:43.919365019+05:30 [INFO] perform;
2024-08-06T12:17:43.919428478+05:30 [WARN] request completed with error: failed to connect to the server
2024-08-06T12:17:43.919488732+05:30 [WARN] request completed with error: failed to connect to the server
2024-08-06T12:17:43.919573481+05:30 [INFO] read_command;
2024-08-06T12:17:43.919654222+05:30 [INFO] read_command;
2024-08-06T12:17:43.919901366+05:30 [WARN] request completed with error: failed to connect to the server
2024-08-06T12:17:43.920081725+05:30 [WARN] request completed with error: failed to connect to the server
2024-08-06T12:17:43.920155103+05:30 [WARN] request completed with error: failed to connect to the server
2024-08-06T12:17:43.920218782+05:30 [WARN] request completed with error: failed to connect to the server
2024-08-06T12:17:43.920286339+05:30 [WARN] request completed with error: failed to connect to the server
2024-08-06T12:17:43.920360168+05:30 [WARN] request completed with error: failed to connect to the server
2024-08-06T12:17:43.920412687+05:30 [INFO] socket reader;
2024-08-06T12:17:43.997695555+05:30 [INFO] Enabling Vulkan Portability
2024-08-06T12:17:43.997765036+05:30 [INFO] Enabling color space support
2024-08-06T12:17:44.027274962+05:30 [INFO] Adapter "AMD Radeon Graphics (RADV RENOIR)"
2024-08-06T12:17:44.027347558+05:30 [INFO] No ray tracing extensions are supported
2024-08-06T12:17:44.091129403+05:30 [INFO] Using surface present mode MAILBOX
2024-08-06T12:17:44.091246503+05:30 [WARN] Unable to forbid exclusive full screen
2024-08-06T12:17:44.097499335+05:30 [INFO] Creating a descriptor pool for at most 16 sets
2024-08-06T12:17:44.097625642+05:30 [INFO] Creating a descriptor pool for at most 16 sets
2024-08-06T12:17:44.097729086+05:30 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: Ignored }
2024-08-06T12:17:44.194805384+05:30 [INFO] Refreshing at 13906 micros
2024-08-06T12:17:44.19585196+05:30 [INFO] Using GPU: GPUSpecs { is_software_emulated: false, device_name: "AMD Radeon Graphics (RADV RENOIR)", driver_name: "radv", driver_info: "Mesa 22.3.6" }
2024-08-06T12:17:44.203549124+05:30 [WARN] request completed with error: failed to connect to the server
2024-08-06T12:17:44.20366929+05:30 [WARN] request completed with error: failed to connect to the server
2024-08-06T12:17:44.203726497+05:30 [WARN] request completed with error: failed to connect to the server
2024-08-06T12:17:44.203780188+05:30 [WARN] request completed with error: failed to connect to the server
2024-08-06T12:17:44.204023074+05:30 [INFO] Opening main db
2024-08-06T12:17:44.204327726+05:30 [ERROR] no worktrees when constructing ProjectLspAdapterDelegate
2024-08-06T12:17:44.205562625+05:30 [INFO] Opening main db
2024-08-06T12:17:44.217950378+05:30 [INFO] Initializing default prettier with plugins {}
2024-08-06T12:17:44.220827992+05:30 [WARN] request completed with error: failed to connect to the server
2024-08-06T12:17:44.220901971+05:30 [INFO] Node runtime install_if_needed |
Experiencing this issue as well. Installed vulkan-tools from repo and still doesn't work. Linux Mint 2.03, Intel 11th gen + integrated graphics. zed.log 2024-08-09T10:48:12.659740986-04:00 [INFO] ========== starting zed ==========
2024-08-09T10:48:12.665211239-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-light.ttf' cause malformed font.
2024-08-09T10:48:12.665406098-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-regular.ttf' cause malformed font.
2024-08-09T10:48:12.665586131-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-bolditalic.ttf' cause malformed font.
2024-08-09T10:48:12.665756641-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-bold.ttf' cause malformed font.
2024-08-09T10:48:12.665925393-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-medium.ttf' cause malformed font.
2024-08-09T10:48:12.666100125-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-italic.ttf' cause malformed font.
2024-08-09T10:48:12.666265195-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-mediumitalic.ttf' cause malformed font.
2024-08-09T10:48:12.666434366-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-lightitalic.ttf' cause malformed font.
2024-08-09T10:48:12.676643174-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-light.ttf' cause malformed font.
2024-08-09T10:48:12.676779983-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-regular.ttf' cause malformed font.
2024-08-09T10:48:12.676894979-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-bolditalic.ttf' cause malformed font.
2024-08-09T10:48:12.677008831-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-bold.ttf' cause malformed font.
2024-08-09T10:48:12.677122372-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-medium.ttf' cause malformed font.
2024-08-09T10:48:12.677236148-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-italic.ttf' cause malformed font.
2024-08-09T10:48:12.677350591-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-mediumitalic.ttf' cause malformed font.
2024-08-09T10:48:12.677464303-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-lightitalic.ttf' cause malformed font.
2024-08-09T10:48:12.697166173-04:00 [INFO] Compositor detection: _NET_WM_CM_S?=false, _NET_WM_CM_OWNER=false, _NET_SUPPORTING_WM_CHECK=true
2024-08-09T10:48:12.69758267-04:00 [INFO] x11: compositor present: true, gtk_frame_extents_supported: true
2024-08-09T10:48:12.705439361-04:00 [INFO] perform;
2024-08-09T10:48:12.705596786-04:00 [INFO] read_command;
2024-08-09T10:48:12.705720394-04:00 [INFO] read_command;
2024-08-09T10:48:12.705827512-04:00 [INFO] Opening main db
2024-08-09T10:48:12.706041641-04:00 [INFO] socket reader;
2024-08-09T10:48:12.706414332-04:00 [INFO] new; Looks like I might need to address the fonts that appear to be malformed. |
A breakthrough I've just had: X11 works fine, if you set edit: i should probably read, it's something that's been suggested before, but the file open prompt works perfectly for me |
I got an error |
Works for me too. Arch Linux, Wayland (Hyprland). Thanks! |
Yup, same here |
Arch on AMD gpu with mesa, vkcube renders perfectly.
|
Users on Ubuntu 20 who are encountering this with a Vulkan supported GPU, please upgrade to Ubuntu 24 if possible. If you are unable to do this, other users have reported success using a newer mesa backported to Ubuntu 20/22 like the one provided by ppa:kisak/kisak-mesa:
|
Thanks @notpeter This worked for me :) |
I think there is a solution for most users on Ubuntu 20.04 described in this comment. If you have a configuration which is not fixed by using the backported mesa/llvm available in that PPA, please open a clean issue with your system details and what you've tried so far. Thanks all and apologies for the rough start with Zed on Ubuntu 20.04. |
Worked for me on Ubuntu 18.04. |
it is not working for me on ubuntu 22.04 |
Try run wm in xorg |
Having same/similar issue on Ubuntu 22.04. Installs ok, but running |
Switch the window manager to Xorg if you are using Wayland. |
I had the same problem on Ubuntu.
Also please try
In case everything is configured properly, both the commands should open up a window with rotating cube on the display. |
Check for existing issues
Describe the bug / provide steps to reproduce it
I installed Zed on Ubuntu 20.04.6 LTS, everything is fine, but when I try to run it, the window does not display directly.
I ran the vkcube command and it works fine, I changed to xorg and nothing happens anyway.
Environment
OS: Ubuntu 20.04.6 LTS x86_64
Laptop: Dell Inspiron 15 3520
Kernel: 5.15.0-113-generic
CPU: 12th Gen Intel i7-1255U (12) @ 4.700GHz
GPU: Intel Device 4628
DE: GNOME in Wayland
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.No response
The text was updated successfully, but these errors were encountered: