Open michael555444 opened 2 months ago
Can reproduce it on Arch and AMD Radeon 7600, found a workaround.
If you have Vulkan prefixes installed, I got it working using the vk_radv prefix. Tried with vk_pro and vk_amdvlk and Zed crashes again with the out of memory error.
Try vk_radv zed --foreground
to start the editor without crash on my system.
On Fedora40 Plasma6 Wayland with Intel iGPU and Nvidia dGPU
zed --foreground
returns
[2024-09-15T16:32:21+08:00 ERROR zed::reliability] {
"thread": "main",
"payload": "called `Result::unwrap()` on an `Err` value: ERROR_SURFACE_LOST_KHR",
"location_data": {
"file": "/builddir/build/BUILD/zed-0.152.3/.cargo/git/checkouts/blade-b2bcd1de1cf7ab6a/e142a3a/blade-graphics/src/vulkan/init.rs",
"line": 930
},
"backtrace": [
"__libc_start_call_main",
"__libc_start_main_alias_1"
],
"app_version": "0.152.3",
"release_channel": "Zed",
"os_name": "Linux Wayland",
"os_version": "fedora 40",
"architecture": "x86_64",
"panicked_on": 1726389141588,
"installation_id": "648b27d0-0595-4331-a841-e7c6bebc7f15",
"session_id": "68a53c4b-ada9-4d7d-8260-9c2310f426d9"
}
Can reproduce it on Arch and AMD Radeon 7600, found a workaround.
If you have Vulkan prefixes installed, I got it working using the vk_radv prefix. Tried with vk_pro and vk_amdvlk and Zed crashes again with the out of memory error.
Try
vk_radv zed --foreground
to start the editor without crash on my system.
According to this comment, i tryed to manual use amd vulcan driver and nothing is changed.
vk_radv zeditor --foreground [2024-09-18T19:20:33+03:00 ERROR blade_graphics::hal::init] Instance extension "VK_KHR_get_physical_device_properties2" is not supported ^C⏎
vk_amdvlk zeditor --foreground wl_display#1: error 2: no memory warning: queue 0x5e9524b3cc20 destroyed while proxies still attached: wl_registry#47 still attached [2024-09-18T19:20:50+03:00 ERROR zed::reliability] { "thread": "main", "payload": "called `Result::unwrap()` on an `Err` value: ERROR_INITIALIZATION_FAILED", "location_data": { "file": "/build/.cargo/git/checkouts/blade-b2bcd1de1cf7ab6a/e142a3a/blade-graphics/src/vulkan/init.rs", "line": 864 }, "backtrace": [ "__libc_start_main" ], "app_version": "0.152.4", "release_channel": "Zed", "os_name": "Linux Wayland", "os_version": "arch unknown", "architecture": "x86_64", "panicked_on": 1726676450899, "installation_id": "17364315-8768-4312-a71a-97a8fc39ef2e", "session_id": "dab4fdb8-fa36-471b-bb73-2b8792019bea" }
vk_pro zeditor --foreground [2024-09-18T19:20:57+03:00 ERROR blade_graphics::hal::init] Instance extension "VK_KHR_get_physical_device_properties2" is not supported ^C⏎
Check for existing issues
Describe the bug / provide steps to reproduce it
Zed git version
zed-git
package (my 8a1e8e37bb659e261526d7d5d6340840294cf290)Log
Zed release version
zed
package (0.151.1) or download latest git release for x86_64 architecture (0.151.1)Run with foreground Repository package:
Repository package Log
Release binary:
Binary Log
Environment
Zed (git): 8a1e8e37bb659e261526d7d5d6340840294cf290 Zed (release): 0.151.1 OS: Arch Linux Kernel: 6.10.8-arch1-1 Memory (RAM|Swap): 16Gi|24Gi Architecture: x86_64 CPU: AMD Ryzen 7 6800H with Radeon Graphics GPU: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] (rev 02)
If applicable, attach your
~/.local/share/zed/logs/Zed.log
file to this issue.~/.local/share/zed/logs/Zed.log
~/.local/share/zed/logs/zed-2024_09_05 18_53_11.panic