Zed not working on wayland garuda linux

Issue -
Zed does not open under wayland

Fixes tried -
Launched with WAYLAND_DISPLAY='' variable as suggested by zed wiki
Garuda using amd-radeon instead of amdvlk by default as suggested by zed wiki
Tried using the zed-git package, using installation script provided on zed website, using the tarball provided on zed website, same issue with all

important details -
Using nvidia geforce gtx 1650, driver - 560.35.03
using envycontrol on hybrid mode
had issues with launching wayland on gdm, had to use ln -s /dev/null /etc/udev/rules.d/61-gdm.rules as per the arch wiki to enable wayland

garuda-inxi -

sudo garuda-inxi
[sudo] password for kshitij:
System:
  Kernel: 6.10.7-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=c8cda667-2060-4100-94b7-11f32e7f84d4 rw rootflags=subvol=@
    quiet resume=UUID=1762bc2e-5435-4cfb-99fd-3ea57e3ece67 loglevel=3 ibt=off
  Desktop: GNOME v: 46.4 tk: GTK v: 3.24.43 wm: gnome-shell
    tools: gsd-screensaver-proxy dm: GDM v: 46.2 Distro: Garuda base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 82K2 v: IdeaPad Gaming 3 15ACH6
    serial: <filter> Chassis: type: 10 v: IdeaPad Gaming 3 15ACH6
    serial: <filter>
  Mobo: LENOVO model: LNVNB161216 v: SDK0T76485 WIN serial: <filter>
    part-nu: LENOVO_MT_82K2_BU_idea_FM_IdeaPad Gaming 3 15ACH6
    uuid: 75b26c8b-38a4-11ec-810d-7c8ae1aeccfc UEFI: LENOVO v: H3CN30WW(V2.00)
    date: 06/28/2021
Battery:
  ID-1: BAT1 charge: 37.0 Wh (100.0%) condition: 37.0/45.0 Wh (82.1%)
    volts: 12.9 min: 11.5 model: 0x53 0x75 0x6E 0x77 0x6F 0x64 0x61 0x00 0x32
    0x30 0x4C 0x32 0x30 0x44 0x33 0x50 0x43 type: Li-ion serial: <filter>
    status: full cycles: 790
CPU:
  Info: model: AMD Ryzen 7 5800H with Radeon Graphics socket: FP6 bits: 64
    type: MT MCP arch: Zen 3 gen: 4 level: v3 note: check built: 2021-22
    process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
    microcode: 0xA50000C
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
    L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 1400 high: 4336 min/max: 400/4463 base/boost: 3200/4450
    scaling: driver: amd-pstate-epp governor: powersave volts: 1.2 V
    ext-clock: 100 MHz cores: 1: 400 2: 400 3: 400 4: 400 5: 3400 6: 400
    7: 400 8: 400 9: 3389 10: 400 11: 3449 12: 400 13: 3441 14: 400 15: 400
    16: 4336 bogomips: 102202
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: Lenovo
    driver: nvidia v: 560.35.03 alternate: nouveau,nvidia_drm non-free: 550.xx+
    status: current (as of 2024-06; EOL~2026-12-xx) arch: Turing code: TUxxx
    process: TSMC 12nm FF built: 2018-2022 pcie: gen: 1 speed: 2.5 GT/s
    lanes: 8 link-max: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 01:00.0
    chip-ID: 10de:1f9d class-ID: 0302
  Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
    vendor: Lenovo driver: amdgpu v: kernel arch: GCN-5 code: Vega
    process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s ports: active: eDP-1 empty: HDMI-A-1
    bus-ID: 05:00.0 chip-ID: 1002:1638 class-ID: 0300 temp: 59.0 C
  Device-3: IMC Networks Integrated Camera driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-3:2 chip-ID: 13d3:56ff
    class-ID: 0e02
  Display: unspecified server: X.Org v: 24.1.2 with: Xwayland v: 24.1.2
    compositor: gnome-shell driver: X: loaded: amdgpu,nvidia
    unloaded: modesetting,nouveau,radeon alternate: fbdev,nv,vesa
    dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.00x11.26")
    s-diag: 583mm (22.95")
  Monitor-1: eDP-1 model: AU Optronics 0xd1ed built: 2019 res: 1920x1080
    hz: 120 dpi: 143 gamma: 1.2 size: 340x190mm (13.39x7.48")
    diag: 394mm (15.5") ratio: 16:9 modes: max: 1920x1080 min: 640x480
  API: Vulkan v: 1.3.279 layers: 5 device: 0 type: integrated-gpu name: AMD
    Radeon Graphics (RADV RENOIR) driver: mesa radv v: 24.2.1-arch1.1
    device-ID: 1002:1638 surfaces: xcb,xlib device: 1 type: discrete-gpu
    name: NVIDIA GeForce GTX 1650 driver: nvidia v: 560.35.03
    device-ID: 10de:1f9d surfaces: xcb,xlib device: 2 type: cpu name: llvmpipe
    (LLVM 18.1.8 256 bits) driver: mesa llvmpipe v: 24.2.1-arch1.1 (LLVM
    18.1.8) device-ID: 10005:0000 surfaces: xcb,xlib
  API: OpenGL Message: Unable to show GL data. glxinfo is missing.
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 05:00.1 chip-ID: 1002:1637
    class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo driver: N/A
    alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x,
    snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir,
    snd_sof_amd_rembrandt, snd_sof_amd_vangogh, snd_sof_amd_acp63 pcie: gen: 3
    speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 05:00.5
    chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
    speed: 16 GT/s bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.10.7-zen1-1-zen status: kernel-api tools: N/A
  Server-1: PipeWire v: 1.2.3 status: n/a (root, process) with:
    1: pipewire-pulse status: active 2: wireplumber status: active
    3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    port: 3000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter
    vendor: Lenovo driver: rtw_8822ce v: N/A modules: rtw88_8822ce pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: 2000 bus-ID: 03:00.0 chip-ID: 10ec:c822
    class-ID: 0280
  IF: wlo1 state: down mac: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Realtek Bluetooth Radio driver: btusb v: 0.8 type: USB rev: 1.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-4:3 chip-ID: 0bda:c123
    class-ID: e001 serial: <filter>
  Report: btmgmt ID: hci2 rfk-id: 8 state: up address: <filter> bt-v: 5.1
    lmp-v: 10 status: discoverable: no pairing: no class-ID: 6c010c
Drives:
  Local Storage: total: 476.94 GiB used: 22.48 GiB (4.7%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Micron model: MTFDHBA512QFD
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 0013P6LN temp: 41.9 C
    scheme: GPT
Partition:
  ID-1: / raw-size: 100 GiB size: 100 GiB (100.00%) used: 15.14 GiB (15.1%)
    fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p9 maj-min: 259:8
  ID-2: /boot/efi raw-size: 2 GiB size: 2 GiB (99.80%) used: 588 KiB (0.0%)
    fs: vfat block-size: 512 B dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-3: /home raw-size: 146.38 GiB size: 146.38 GiB (100.00%)
    used: 7.34 GiB (5.0%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p10
    maj-min: 259:9
  ID-4: /var/log raw-size: 100 GiB size: 100 GiB (100.00%)
    used: 15.14 GiB (15.1%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p9
    maj-min: 259:8
  ID-5: /var/tmp raw-size: 100 GiB size: 100 GiB (100.00%)
    used: 15.14 GiB (15.1%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p9
    maj-min: 259:8
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 14.98 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 16 dev: /dev/zram0
  ID-2: swap-2 type: partition size: 12 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p8 maj-min: 259:7
Sensors:
  System Temperatures: cpu: 73.9 C mobo: N/A gpu: amdgpu temp: 60.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB note: est. available: 14.98 GiB used: 6.57 GiB (43.9%)
  Processes: 399 Power: uptime: 1d 4h 4m states: freeze,mem,disk
    suspend: deep avail: s2idle wakeups: 5 hibernate: platform avail: shutdown,
    reboot, suspend, test_resume image: 5.94 GiB services: gsd-power,
    power-profiles-daemon, upowerd Init: systemd v: 256 default: graphical
    tool: systemctl
  Packages: pm: pacman pkgs: 1283 libs: 395 tools: pacseek,paru Compilers:
    clang: 18.1.8 gcc: 14.2.1 Shell: garuda-inxi (sudo) default: Bash v: 5.2.32
    running-in: warp inxi: 3.3.35
Garuda (2.6.26-1):
  System install date:     2024-08-27
  Last full system update: 2024-09-07 ↻
  Is partially upgraded:   Yes
  Relevant software:       snapper NetworkManager dracut nvidia-dkms
  Windows dual boot:       Yes
  Failed units:

Run, zed through terminal and give us the logs

1 Like
Summary

zed is in zfs-utils

(12/25) Updating initramfs...
:: Building initramfs for linux-zen (6.10.8-zen1-1-zen)
dracut-install: Failed to find module 'zfs'
dracut[E]: FAILED:  /usr/lib/dracut/dracut-install -D /var/tmp/dracut.WNpFHW/initramfs -H --kerneldir /lib/modules/6.10.8-zen1-1-zen/ -m zfs
dracut[F]: installkernel failed in module zfs
Fehler: Befehl konnte nicht korrekt ausgefĂĽhrt werden

Misssing zfs

 sudo pacman -Syu zfs
:: Paketdatenbanken werden synchronisiert …
 garuda ist aktuell
 core ist aktuell
 extra ist aktuell
 multilib ist aktuell
 chaotic-aur ist aktuell
:: Es stehen 2 Anbieter fĂĽr zfs zur VerfĂĽgung:
:: Repositorium chaotic-aur
   1) zfs-dkms  2) zfs-dkms-git

Geben Sie eine Zahl ein (Voreinstellung=1): 1
:: Vollständige Systemaktualisierung wird gestartet …
Abhängigkeiten werden aufgelöst …
Nach in Konflikt stehenden Paketen wird gesucht …

Paket (1)             Neue Version  Netto-Veränderung  Größe des Downloads

chaotic-aur/zfs-dkms  2.2.6-1               18,78 MiB             2,40 MiB

Gesamtgröße des Downloads:              2,40 MiB
Gesamtgröße der installierten Pakete:  18,78 MiB

:: Installation fortsetzen? [J/n] 
:: Pakete werden empfangen …
 zfs-dkms-2.2.6-1-any                                            

Check workarounds for your hardware.

1 Like

there are no crash logs, it simply does not open, using the zed package from extra repo of arch

what if sudo zeditor? do logs appear

Zed is in the early stages of Linux from what I know. Possibly a not-implemented feature yet?

doing sudo zeditor actually opened zed :exploding_head: but its not really working, I can’t scroll up or down or paste my Gen AI API keys, I can type though. No logs appear on terminal though.

it was working absolutely fine and out of the box on my previous base arch installation on wayland, same nvidia setup. I tried on Fedora wayland too, no issues, I posted on r/zeditor as well and someone else is facing the same issue too on garuda, so it makes me believe it has to do something with garuda.

That’s indeed an indicator, true.

Makes me wonder whether there is some configuration error somewhere,
…what i would do?

  • How about you purge anything to do with zeditor (including configs/all or anything)
  • Install zeditor through flatpak
  • Now using flatpak command how about switching the theme for this particuar app fonts and all.

okay so, flatpak didn’t work either but someone on reddit suggested a solution that worked, using -

env -u WAYLAND_DISPLAY zeditor

worked

while WAYLAND_DISPLAY='' zeditor doesn’t work, I am not sure why but for now this is the best workaround I found.

Thanks a lot for everyone’s help here!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.