omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

Zed fails to load on Intel GPU

Open ElBrodino opened this issue 3 months ago • 20 comments

Zed would not launch on a fresh Omarchy install. I took me too much time but I found out the issue. Zed uses Vulkan under the hood. The Vulkan plugins were simply not installed on my Intel based laptop. to figure out that the Vulkan plugins were missing for my Intel processor.

A simple "vulkan-intel" package install fixed it

Maybe that's something that could be handled automatically when choosing Install / Editor / Zed.

ElBrodino avatar Sep 04 '25 01:09 ElBrodino

Same goes for AMD. vulkan-radeon is required to run zed.

dz0ny avatar Sep 06 '25 07:09 dz0ny

confirmed on 2015 macbook air, intel

fpigeonjr avatar Sep 07 '25 13:09 fpigeonjr

same on MacBook Pro 2015, 15"

kristofer avatar Sep 08 '25 17:09 kristofer

If anyone wants to work on a omarchy-install-vulkan script that installs the right driver for the right graphics card, we can run that before we run the zed installer.

dhh avatar Sep 09 '25 14:09 dhh

Trying to give it a go. Managed to make a sh work on mine: autodetect intel GPU then install the package

Same goes for AMD. vulkan-radeon is required to run zed.

hey @dz0ny, if you have an AMD, what kind of vendor does the lspci command give you? could you kindly run this: lspci and check the line that reads VGA compatible controller

it's a bit strange to test for hardware that I do not possess! At least, Intel and AMD could be covered

ElBrodino avatar Sep 10 '25 21:09 ElBrodino

@ElBrodino I am on a FW13 (latest AI350 mainboard)

> lspci | grep -i display
c1:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Krackan [Radeon 840M / 860M Graphics] (rev c2)

whargrove avatar Sep 10 '25 22:09 whargrove

A simple "vulkan-intel" package install fixed it

Confirm that installing vulkan-radeon also resolves the issue for me.

whargrove avatar Sep 10 '25 22:09 whargrove

Hey guys, I didn't want this to turn out like a rabbit hole, but here we are! Thanks @whargrove for your support, btw! -- I'm on FW13 11th !

I realize there a many configurations of Integrated GPU and discreet GPU out there. No wonder support if a little lacking. There's a lot of resource though!

AMD

Help about your specific configuration is very much appreciated! According to this article the vulkan plugin requires the VGA compatible controller. But there's also the Display controller which apparently from the same article, should not be used to choose the vulkan driver. Which according to @whargrove findings is not the case. Unless @whargrove also has an AMD VGA compatible controller. To double-check, those flags could narrow is down. lspci -k | grep -A 3 "(VGA|3D|Display)"

Mac

Also, I learned that Omarchy could be used on a mac, @fpigeonjr what would this command give you? I'm wondering if your GPU is vulkan comaptible. Check the article to find out with vulkan-tools. You could check compatibility with Zed here as well.

same on MacBook Pro 2015, 15"

Seems to be compatible, HURRAY! @fpigeonjr what vulkan driver are you using? vulkan-asahi perhaps?

Discreet GPU

In the case of multiple GPU, since I don't know which one is used by Zed, I think I could install the vulkan version for each GPU without issue. I know I could check Zed's chosen GPU in ~/.local/share/zed/logs/Zed.log under Using GPU: but once that file gets changed you'd still need that other vulkan driver anyway.

Nvidia

Anybody use Omarchy on their gaming rig? Send me an output of that lspci -k | grep -A3 -E "(VGA|3D|Display)"

ElBrodino avatar Sep 11 '25 14:09 ElBrodino

Confirmed, opening Zed issue solved for my PC with AMD Ryzen 5600g by installing vulkan-radeon:

sudo pacman -Syu vulkan-radeon

LucasAlfare avatar Sep 11 '25 15:09 LucasAlfare

check it out!

ElBrodino avatar Sep 12 '25 16:09 ElBrodino

GPU: AMD 9070 XT CPU: Ryzen 9950X3D (which includes integrated gfx)

For me Zed would install & launch fine out of the box, I could sometimes be working with it for an entire day without a crash, but it would started crashing more regularly when opening very specific files (so it was very reproducable) and it would spit out the following log:

"payload": "GPU error An unknown error has occurred, due to an implementation or application bug"

After installing vulkan-radeon it hasn't crashed since.

In case it provides more clues about discreet vs integrated gpu choice by Zed, the Zed log file showed this for me:

Before vulkan-radeon:

2025-09-15T23:10:48+02:00 INFO  [zed::zed] Using GPU: GpuSpecs { is_software_emulated: false, device_name: "AMD Radeon RX 9070 XT", driver_name: "AMD open-source driver", driver_info: "2025.Q2.1 (LLPC)" }

After installing vulkan-radeon:

2025-09-17T09:08:40+02:00 INFO  [zed::zed] Using GPU: GpuSpecs { is_software_emulated: false, device_name: "AMD Radeon RX 9070 XT (RADV GFX1201)", driver_name: "radv", driver_info: "Mesa 25.2.2-arch1.2" }

RobinVanCauter avatar Sep 17 '25 07:09 RobinVanCauter

Also if amdvlk was installed before it should be removed.

sudo pacman -Rs amdvlk

AndrianoTurner avatar Sep 25 '25 18:09 AndrianoTurner

Also if amdvlk was installed before it should be removed.

sudo pacman -Rs amdvlk

I could add this to the script

ElBrodino avatar Sep 25 '25 18:09 ElBrodino

fyi zed also doesn't work when we go through package install directly.

alexhraber avatar Oct 03 '25 23:10 alexhraber

honestly, vulkan has got to be more important for more than just Zed, Maybe add vulkan install to the base install that automatically chooses correct vulkan driver upon install of omarchy?

lavavex avatar Oct 07 '25 22:10 lavavex

Although this is an opiniated rice, I would understand the appeal of a lean system. Only install what you need. On the other hand, there is quite a list of apps included from the get go.

ElBrodino avatar Oct 07 '25 23:10 ElBrodino

I ran this and I was able to run it on my thinkpad

sudo pacman -Syu vulkan-intel

phoscoder avatar Oct 22 '25 16:10 phoscoder

Thanks @takumade, this worked on Intel MacBook Pro 13 2019 as well

Umenokin avatar Oct 25 '25 07:10 Umenokin

Related #2706

ryanrhughes avatar Oct 26 '25 00:10 ryanrhughes

It is not just zed, installer selects default options during install of any software. It behaves like --noconfirm. All it is saving is one extra prompt from user.

numanzahid avatar Nov 24 '25 08:11 numanzahid