Enable wayland on garuda gnome

so I would like to do as the title says, and I used garuda assistant to do so, but the cog to use wayland did not appear, so i went into 61-rules and accent the rules recommended in a post, but still no wayland option. I am on nvidia. what should I do?

System:
  Kernel: 6.0.5-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=d0f9e632-6ca7-443d-93ab-08fc3dca750b rw [email protected]
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    resume=UUID=65dc39b3-b042-4657-9b4c-ce41537ff958 loglevel=3
  Desktop: GNOME v: 42.5 tk: GTK v: 3.24.34 wm: gnome-shell dm: GDM v: 43.0
    Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: ROG CROSSHAIR VIII FORMULA v: Rev X.0x
    serial: <superuser required> UEFI: American Megatrends v: 4201
    date: 04/26/2022
CPU:
  Info: model: AMD Ryzen 9 3900X bits: 64 type: MT MCP arch: Zen 2 gen: 3
    level: v3 note: check built: 2020-22 process: TSMC n7 (7nm)
    family: 0x17 (23) model-id: 0x71 (113) stepping: 0 microcode: 0x8701021
  Topology: cpus: 1x cores: 12 tpc: 2 threads: 24 smt: enabled cache:
    L1: 768 KiB desc: d-12x32 KiB; i-12x32 KiB L2: 6 MiB desc: 12x512 KiB
    L3: 64 MiB desc: 4x16 MiB
  Speed (MHz): avg: 3860 high: 4435 min/max: 2200/4672 boost: enabled
    scaling: driver: acpi-cpufreq governor: performance cores: 1: 3800 2: 3800
    3: 3800 4: 4435 5: 3800 6: 3800 7: 3800 8: 3800 9: 3800 10: 3800 11: 3800
    12: 3800 13: 3800 14: 3800 15: 3800 16: 3800 17: 3592 18: 4333 19: 3781
    20: 4304 21: 3800 22: 3800 23: 3800 24: 3800 bogomips: 182061
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT enabled with STIBP
    protection
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP:
    always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA TU102 [GeForce RTX 2080 Ti Rev. A] vendor: Gigabyte
    driver: nvidia v: 520.56.06 alternate: nouveau,nvidia_drm non-free: 515.xx+
    status: current (as of 2022-10) arch: Turing code: TUxxx
    process: TSMC 12nm built: 2018-22 pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 0c:00.0 chip-ID: 10de:1e07 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.4
    compositor: gnome-shell driver: X: loaded: nvidia unloaded: modesetting
    alternate: fbdev,nouveau,nv,vesa gpu: nvidia display-ID: :1 screens: 1
  Screen-1: 0 s-res: 3840x2160 s-dpi: 96 s-size: 1016x572mm (40.00x22.52")
    s-diag: 1166mm (45.9")
  Monitor-1: DP-4 res: 3840x2160 dpi: 89 size: 1100x620mm (43.31x24.41")
    diag: 1263mm (49.71") modes: N/A
  OpenGL: renderer: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA
    520.56.06 direct render: Yes
Audio:
  Device-1: C-Media CMI8788 [Oxygen HD Audio] vendor: ASUSTeK Virtuoso 100
    driver: snd_virtuoso bus-ID: 3-2.4:6 v: kernel bus-ID: 05:04.0
    chip-ID: 1532:0528 chip-ID: 13f6:8788 class-ID: 0300 class-ID: 0401
  Device-2: NVIDIA TU102 High Definition Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 0c:00.1 chip-ID: 10de:10f7 class-ID: 0403
  Device-3: AMD Starship/Matisse HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 0e:00.4 chip-ID: 1022:1487 class-ID: 0403
  Device-4: Razer USA BlackShark V2 Pro type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Sound API: ALSA v: k6.0.5-zen1-1-zen running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.59 running: yes
Network:
  Device-1: Aquantia AQC111 NBase-T/IEEE 802.3bz Ethernet [AQtion]
    vendor: ASUSTeK driver: atlantic v: kernel pcie: gen: 3 speed: 8 GT/s
    lanes: 1 link-max: lanes: 4 port: N/A bus-ID: 06:00.0 chip-ID: 1d6a:11b1
    class-ID: 0200
  IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 07:00.0
    chip-ID: 8086:1539 class-ID: 0200
  IF: enp7s0 state: down mac: <filter>
  Device-3: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 08:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlp8s0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-6:4 chip-ID: 8087:0029 class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 1 state: up address: <filter>
Drives:
  Local Storage: total: 7.24 TiB used: 20.21 GiB (0.3%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 970 EVO 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B
    speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 2B2QEXE7
    temp: 43.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Patriot model: Burst size: 894.25 GiB
    block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD
    serial: <filter> rev: J1.3 scheme: GPT
  ID-3: /dev/sdb maj-min: 8:16 vendor: Toshiba model: HDWE160
    size: 5.46 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    type: HDD rpm: 7200 serial: <filter> rev: FS2A scheme: GPT
  ID-4: /dev/sdc maj-min: 8:32 type: USB vendor: PNY model: USB 2.0 FD
    size: 3.73 GiB block-size: physical: 512 B logical: 512 B type: N/A
    serial: <filter> rev: 4096 scheme: MBR
Partition:
  ID-1: / raw-size: 896.84 GiB size: 896.84 GiB (100.00%) used: 20.21 GiB
    (2.3%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 608 KiB
    (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 896.84 GiB size: 896.84 GiB (100.00%) used: 20.21
    GiB (2.3%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 896.84 GiB size: 896.84 GiB (100.00%) used: 20.21
    GiB (2.3%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 896.84 GiB size: 896.84 GiB (100.00%) used: 20.21
    GiB (2.3%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 31.25 GiB used: 1.8 MiB (0.0%)
    priority: 100 dev: /dev/zram0
  ID-2: swap-2 type: partition size: 34.38 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
  System Temperatures: cpu: 37.0 C mobo: 36.0 C gpu: nvidia temp: 49 C
  Fan Speeds (RPM): cpu: 0 gpu: nvidia fan: 40%
Info:
  Processes: 450 Uptime: 14m wakeups: 1 Memory: 31.25 GiB used: 4.39 GiB
  (14.0%) Init: systemd v: 251 default: graphical tool: systemctl
  Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: pm: pacman pkgs: 1480
  libs: 467 tools: gnome-software,octopi,pamac,paru Shell: fish v: 3.5.1
  default: Bash v: 5.1.16 running-in: gnome-terminal inxi: 3.3.22
Garuda (2.6.9-1):
  System install date:     2022-10-29
  Last full system update: 2022-10-29
  Is partially upgraded:   No
  Relevant software:       NetworkManager
  Windows dual boot:       No/Undetected
  Snapshots:               Snapper
  Failed units:            grub-btrfs-snapper.service

It may be necessary to enable the nvidia-drm.modeset=1 kernel parameter to get it working on Nvidia.

sudo micro /etc/default/grub

On the GRUB_CMDLINE_LINUX_DEFAULT= line, add nvidia-drm.modeset=1 to the other kernel parameters on the line. Save and exit, then:

sudo update-grub
2 Likes

command not found when I add that and update grub

Please post

cat /etc/default/grub | grep GRUB_CMDLINE_LINUX_DEFAULT

as text.
Also complete in and output from

sudo update-grub

GRUB_CMDLINE_LINUX_DEFAULT="nvidia-drm.modeset=1 quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0 resume=UUID=65dc39b3-b042-4657-9b4c-ce41537ff958 loglevel=3"

/etc/default/grub: line 1: nvidia-drm.modeset=1#: command not found

in terminal

╭─[email protected] in ~ took 6ms
 🕙 05:31:43
 ╰─λ sudo update-grub
GRUB-Konfigurationsdatei wird erstellt …
Thema gefunden: /usr/share/grub/themes/garuda/theme.txt
Linux-Abbild gefunden: /boot/vmlinuz-linux-zen
initrd-Abbild gefunden: /boot/intel-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot:  intel-ucode.img initramfs-linux-zen-fallback.img

and more

btw you can delete one quiet.

1 Like

I don't get anything like that

like even when I delete the nvidia bit it keeps saying that, that command is not found

I think there is no point in guessing around, post the input and output as text so we can see where the problem is.

1 Like

what do you mean? when I type into the command line sudo update-grub it just says that, that nvidia command does not exist. I even deleted that command from the land, and it still says that

somehow the file got messed up and now it is saying command grub does not exist

 ╭─[email protected] in ~ took 15s
 🕙 05:54:27
 ╰─λ LANG=C sudo update-grub
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/garuda/theme.txt
Found linux image: /boot/vmlinuz-linux-bore
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-bore.img
Found fallback initrd image(s) in /boot:  amd-ucode.img initramfs-linux-bore-fallback.img
fgrep: warning: fgrep is obsolescent; using grep -F
Found linux image: /boot/vmlinuz-linux-amd
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-amd.img
Found fallback initrd image(s) in /boot:  amd-ucode.img initramfs-linux-amd-fallback.img
fgrep: warning: fgrep is obsolescent; using grep -F
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Arch Linux on /dev/nvme0n1p2
Found Garuda Linux on /dev/nvme1n1p2
Adding boot menu entry for UEFI Firmware Settings ...
Detecting snapshots ...
Found snapshot: 2022-10-29 08:29:41 | @/.snapshots/449/snapshot | post | alsa-lib alsa-ucm-conf containerd docker exfatprogs firedragon glib2 i3- |
Found snapshot: 2022-10-29 08:28:24 | @/.snapshots/448/snapshot | pre  | pacman -Su                                                               |
Found snapshot: 2022-10-27 08:26:30 | @/.snapshots/447/snapshot | post | curl kvantum lib32-curl libmbim libqmi mhwd-db-garuda-git osinfo-db perl |
Found snapshot: 2022-10-27 08:26:03 | @/.snapshots/446/snapshot | pre  | pacman -Su                                                               |
Found snapshot: 2022-10-26 12:27:30 | @/.snapshots/445/snapshot | post | chromium-widevine expat gdk-pixbuf2 geoclue gtk-update-icon-cache gtk4 l |
Found snapshot: 2022-10-26 12:27:27 | @/.snapshots/444/snapshot | pre  | pacman -Su                                                               |
Found snapshot: 2022-10-25 15:24:56 | @/.snapshots/443/snapshot | post | kitty-git kitty-shell-integration-git kitty-terminfo-git librsync        |
Found snapshot: 2022-10-25 15:24:55 | @/.snapshots/442/snapshot | pre  | pacman -S kitty-git                                                      |
Found snapshot: 2022-10-25 15:24:13 | @/.snapshots/441/snapshot | post | mkinitcpio python-tinycss2 qogir-gtk-theme-git samba smbclient sudo syst |
Found snapshot: 2022-10-25 15:23:32 | @/.snapshots/440/snapshot | pre  | pacman -Su                                                               |
Found snapshot: 2022-10-24 11:11:25 | @/.snapshots/439/snapshot | post | svt-av1                                                                  |
Found snapshot: 2022-10-24 11:11:24 | @/.snapshots/438/snapshot | pre  | pacman -Su                                                               |
Found 12 snapshot(s)
Unmount /tmp/grub-btrfs.VwikqEM8jk .. Success
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
done
 ╭─[email protected] in ~ took 14s
 🕙 05:56:37
 ╰─λ cat /etc/default/grub | grep GRUB_CMDLINE_LINUX_DEFAULT
GRUB_CMDLINE_LINUX_DEFAULT="rd.udev.log_priority=3 vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1 loglevel=3 ibt=off amd_pstate.epp=1 nvidia-drm.modeset=1"
1 Like

i fixed it and got this

Generating grub configuration file ...
Found theme: /usr/share/grub/themes/garuda/theme.txt
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot:  amd-ucode.img initramfs-linux-zen-fallback.img
fgrep: warning: fgrep is obsolescent; using grep -F
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Garuda Linux on /dev/nvme0n1p2
Adding boot menu entry for UEFI Firmware Settings ...
Detecting snapshots ...
Found snapshot: 2022-10-29 21:33:26 | @/.snapshots/38/snapshot   | post | flatpak ostree                                     |
Found snapshot: 2022-10-29 21:33:20 | @/.snapshots/37/snapshot   | pre  | /usr/bin/pacman -S extra/flatpak                   |
Found snapshot: 2022-10-29 21:16:21 | @/.snapshots/36/snapshot   | post | libmm-glib modemmanager python-pillow              |
Found snapshot: 2022-10-29 21:16:20 | @/.snapshots/35/snapshot   | pre  | /usr/bin/pamac-daemon                              |
Found snapshot: 2022-10-29 21:13:59 | @_backup_20222910211421020 | N/A  | N/A                                                |
Found snapshot: 2022-10-29 20:00:25 | @/.snapshots/34/snapshot   | post | electron element-desktop element-web python-pillow |
Found snapshot: 2022-10-29 20:00:23 | @/.snapshots/33/snapshot   | pre  | /usr/bin/pamac-daemon                              |
Found snapshot: 2022-10-29 19:09:23 | @/.snapshots/32/snapshot   | post | ungoogled-chromium                                 |
Found snapshot: 2022-10-29 19:09:21 | @/.snapshots/31/snapshot   | pre  | /usr/bin/pamac-daemon                              |
Found snapshot: 2022-10-29 19:02:08 | @/.snapshots/30/snapshot   | post | clang compiler-rt gn gperf lld nodejs weston       |
Found snapshot: 2022-10-29 19:02:07 | @/.snapshots/29/snapshot   | pre  | /usr/bin/pamac-daemon                              |
Found snapshot: 2022-10-29 18:55:19 | @/.snapshots/28/snapshot   | post | chatterino2-dankerino-git                          |
Found snapshot: 2022-10-29 18:55:18 | @/.snapshots/27/snapshot   | pre  | /usr/bin/pamac-daemon                              |
Found 13 snapshot(s)
Unmount /tmp/grub-btrfs.QtANxMM319 .. Success
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
done

Reboot and check if GNOME can use wayland now, IDK nothing about this things. :slight_smile:

1 Like

nope. that added a bunch of lines to the grub file that when i do update grub it now says those commands do not exist, and the commands that now do not exist are just3 stuff that the command originally pumped out

You should understand that we are not psychics, we don't see what you see, just post the terminal in and outputs as text.

1 Like

sudo update-grub

Generating grub configuration file ...
Found theme: /usr/share/grub/themes/garuda/theme.txt
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot: amd-ucode.img initramfs-linux-zen-fallback.img
fgrep: warning: fgrep is obsolescent; using grep -F
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Garuda Linux on /dev/nvme0n1p2
Adding boot menu entry for UEFI Firmware Settings ...
Detecting snapshots ...
Found snapshot: 2022-10-29 22:00:16 | @/.snapshots/40/snapshot | post | electron element-desktop element-web |
Found snapshot: 2022-10-29 22:00:15 | @/.snapshots/39/snapshot | pre | /usr/lib/packagekitd |
Found snapshot: 2022-10-29 21:33:26 | @/.snapshots/38/snapshot | post | flatpak ostree |
Found snapshot: 2022-10-29 21:33:20 | @/.snapshots/37/snapshot | pre | /usr/bin/pacman -S extra/flatpak |
Found snapshot: 2022-10-29 21:16:21 | @/.snapshots/36/snapshot | post | libmm-glib modemmanager python-pillow |
Found snapshot: 2022-10-29 21:16:20 | @/.snapshots/35/snapshot | pre | /usr/bin/pamac-daemon |
Found snapshot: 2022-10-29 21:13:59 | @_backup_20222910211421020 | N/A | N/A |
Found snapshot: 2022-10-29 20:00:25 | @/.snapshots/34/snapshot | post | electron element-desktop element-web python-pillow |
Found snapshot: 2022-10-29 20:00:23 | @/.snapshots/33/snapshot | pre | /usr/bin/pamac-daemon |
Found snapshot: 2022-10-29 19:09:23 | @/.snapshots/32/snapshot | post | ungoogled-chromium |
Found snapshot: 2022-10-29 19:09:21 | @/.snapshots/31/snapshot | pre | /usr/bin/pamac-daemon |
Found 11 snapshot(s)
Unmount /tmp/grub-btrfs.JzzlJlJ92b .. Success
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
done

Why don't you post the input?

Where is the problem?
You can ignore the warnings.

1 Like

the problem is still no wayland option

?

Ohh

[

Wayland - ArchWiki
wiki.archlinux.org › title › wayland
](Wayland - ArchWiki)

Wayland is a display server protocol. It is aimed to become the successor of the X Window System. You can find a comparison between Wayland and Xorg on ...

Requirements · Compositors · GUI libraries · Tips and tricks

[

GNOME - ArchWiki
wiki.archlinux.org › title › GNOME
](GNOME - ArchWiki)

GNOME, the default, runs GNOME Shell on Wayland. Traditional X applications are run through Xwayland. GNOME Classic provides a "traditional desktop experience" ...

2 Likes

for some reason I am on x11 though with garuda gnome