Open notpeter opened 4 weeks ago
I've read every comment in each of these issue and here is my current takeaways.
sudo apt-get install libvulkan-dev
sudo add-apt-repository ppa:kisak/kisak-mesa
sudo apt update && sudo apt upgrade
WAYLAND_DISPLAY='' zed --foreground
pacman -S vulkan-intel
Still working on identifying solutions for users without a Vulkan-supported GPU (e.g. no modern Intel Graphics, AMD GPU, AMD APU or Nvidia GPU, etc) who are trying to use the llvmpipe
software emulation and encounter this issue.
If Zed could detect the situation where the Vulkan drivers don't support Vulkan 1.3 and print a message along the lines of "please update your drivers/OS" instead of silently not opening a window, that would probably go a long way in terms of user experience.
Honestly, I prefer also to drop X11 support. Ubuntu 20.04/22.04 is the transition period (X11->Wayland), which provides many more questions and issues. 20.04/22.04 is also a transition for Vulkan support. Because Zed is still alpha or beta, I think it should be relatively safe.
I've read every comment in each of these issue and here is my current takeaways.
Ubuntu:
- Ideally upgrade to Ubuntu 24
- Ubuntu 20, Ubuntu 22, MintOS 20/21/22: Consider
sudo apt-get install libvulkan-dev sudo add-apt-repository ppa:kisak/kisak-mesa sudo apt update && sudo apt upgrade
- Ubuntu on WSL2: Consider above + forcing running under X11 instead of wayland:
WAYLAND_DISPLAY='' zed --foreground
- Pop!_OS 22.04: Please try Pop!_OS 24.04 LTS alpha and report back.
Arch:
- Arch with Intel Graphics:
pacman -S vulkan-intel
- Arch on WSL2: Consider trying these instructions
- Redhat: TBD
- NixOS: TBD
Still working on identifying solutions for users without a Vulkan-supported GPU (e.g. no modern Intel Graphics, AMD GPU, AMD APU or Nvidia GPU, etc) who are trying to use the
llvmpipe
software emulation and encounter this issue.
After sudo apt-get install mesa-vulkan-drivers vulkan-tools
I can run vkcube
and Zed using WAYLAND_DISPLAY='' zed --foreground
. I did not have to add the kisak-mesa ppa. Since I'm (forced to be) on WSL2 (Ubuntu 24.04) it uses llvmpipe
and performance is nowhere near what it's like on my MacBook, for obvious reasons.
This may be related but WGPU also behaves oddly for me, giving me the error Surface does not support the adapter's queue family
. Unsetting WAYLAND_DISPLAY fixes the issue. below is my neofetch:
-` draconium@DRC-FW16
.o+` ------------------
`ooo/ OS: Arch Linux x86_64
`+oooo: Host: Laptop 16 (AMD Ryzen 7040 Series) A7
`+oooooo: Kernel: 6.10.6-arch1-1
-+oooooo+: Uptime: 10 hours, 19 mins
`/:-:++oooo+: Packages: 1568 (pacman), 53 (flatpak)
`/++++/+++++++: Shell: zsh 5.9
`/++++++++++++++: Resolution: 2560x1600
`/+++ooooooooooooo/` DE: Plasma 6.1.4
./ooosssso++osssssso+` Terminal: yakuake
.oossssso-````/ossssss+` CPU: AMD Ryzen 7 7840HS w/ Radeon 780M Graphics (16) @ 5.137GHz
-osssssso. :ssssssso. GPU: AMD ATI Phoenix1
:osssssss/ osssso+++. Memory: 13683MiB / 27868MiB
/ossssssss/ +ssssooo/-
`/ossssso+/:- -:/+osssso+-
`+sso+:-` `.-/+oso:
`++:. `-/+/
.` `/
Thanks you. Work with me
Using fedora with wyland it didn't open, so change to ea X11 and it opened normally, I guess it's incompatibility with wyland, just change and that's it.
A very simple solution, be careful not to depend on some wayland feature.
No Zed Window on Launch (Linux)
This is a tracking issue to help consolidate the many distinct issues where this has been reported in an attempt to identify the configurations and determine whether there are one or more common issues behind this.
Apologies for spam on mentioned issues and users @ mentions. Just hoping to raise visibility of potential workarounds for users still impacted by this issue.
Broken:
Fixed:
Leads:
CPUs/GPUs
Potentially Related Issues: