-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Using MESA_VK_DEVICE_SELECT to select Intel Arc device on linux not working (PopOS) #15629
Comments
Untested, but can you try adding a
https://docs.mesa3d.org/envvars.html#vulkan-mesa-device-select-layer-environment-variables |
hmmm, interesting, now nothing happens at all when I attempt to open zed. I'll try re-installing and see what I get |
after a reboot, I was able to open zed just by clicking on the app icon, and received the "GPU not supported" warning. Then I shut it down, set the env var with the |
Ouch. Can you confirm there are no copies of zed running in the background ( You might also try running |
Aha, looks like it is indeed running in the background. ~> zed --foreground
zed is already running When I use |
I am able to replicate the invisibly running
I'm attaching my Zed.log
|
I had the same problem as you, and this fixed it. If vkcube works fine and uses your dgpu, check if the file /etc/prime-discrete exists and has the contents I think Pop!_OS installs or sets up some nVidia stuff by default and throws Zed (specifically Zed's I hope this helps! |
Thanks @lightningpwr28 - based on what you said, I also dug up this associated thread. I went with switching |
This worked for me! my |
Actually, I want Zed to run on Intel's integrated GPU rather than a discrete GPU (because I need to utilize the saved memory of discrete GPUs for such as model inference and training). I tried this method from issue but Zed still runs on my discrete GPU.
System: pop_os! 22.04 |
This also worked for me as well! |
Check for existing issues
Describe the bug / provide steps to reproduce it
Context: PopOS, Intel Arc A750 GPU.
Upon opening Zed I get the "Unsupported GPU" message, stating that I'm currently using software emulation, with a link to the troubleshooting guide for Linux. I follow the link, used
MESA_VK_DEVICE_SELECT=list zed --foreground
to get a list of GPU devices. I see two devices:So I grab the device code
8086:56a1
for the discrete GPU, and runexport MESA_VK_DEVICE_SELECT="8086:56a1"
(I've tried with single quotes and no quotes, and gotten the same result)I verify that it is in the environment by running
Then run
zed
, which gives me the same error as before.Environment
Zed: v0.146.3 (Zed)
OS: Linux X11 pop 22.04
Memory: 31.2 GiB
Architecture: x86_64
GPU: llvmpipe (LLVM 15.0.7, 256 bits) || llvmpipe || Mesa 24.0.3-1pop1
171163555922.04~7a9f319 (LLVM 15.0.7)If applicable, add mockups / screenshots to help explain present your vision of the feature
If applicable, attach your Zed.log file to this issue.
Zed.log
The text was updated successfully, but these errors were encountered: