How could I change to wayland?

Hey there i wanted to switch to wayland so i asked how to get the wayland session

  Kernel: 6.6.1-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=139b286e-1f9b-4e26-9778-b50a5fff50a7 rw rootflags=subvol=@
    quiet quiet rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3
  Desktop: GNOME v: 45.1 tk: GTK v: 3.24.38 wm: gnome-shell dm: GDM
    v: 45.0.1 Distro: Garuda Linux base: Arch Linux
  Type: Laptop System: LENOVO product: 81Y4 v: IdeaPad Gaming 3 15IMH05
    serial: <superuser required> Chassis: type: 10 v: IdeaPad Gaming 3 15IMH05
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0Q55724 WIN
    serial: <superuser required> UEFI: LENOVO v: EGCN36WW date: 02/14/2022
  ID-1: BAT0 charge: 39.5 Wh (100.0%) condition: 39.5/45.0 Wh (87.8%)
    volts: 12.8 min: 11.4 model: SMP L19M3PF7 type: Li-poly serial: <filter>
    status: full cycles: 93
  Info: model: Intel Core i5-10300H bits: 64 type: MT MCP arch: Comet Lake
    gen: core 10 level: v3 note: check built: 2020 process: Intel 14nm family: 6
    model-id: 0xA5 (165) stepping: 2 microcode: 0xF8
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 800 min/max: 800/4500 scaling: driver: intel_pstate
    governor: performance cores: 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800
    7: 800 8: 800 bogomips: 39999
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
  Device-1: Intel CometLake-H GT2 [UHD Graphics] vendor: Lenovo driver: i915
    v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
    active: eDP-1 empty: none bus-ID: 00:02.0 chip-ID: 8086:9bc4
    class-ID: 0300
  Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: Lenovo
    driver: nvidia v: 545.29.02 alternate: nouveau,nvidia_drm non-free: 545.xx+
    status: current (as of 2023-10; EOL~2026-12-xx) arch: Turing code: TUxxx
    process: TSMC 12nm FF built: 2018-2022 pcie: gen: 1 speed: 2.5 GT/s
    lanes: 16 link-max: gen: 3 speed: 8 GT/s ports: active: none
    empty: HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:1f99 class-ID: 0300
  Device-3: Bison Integrated Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-6:3 chip-ID: 5986:212b
    class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.9 with: Xwayland v: 23.2.2
    compositor: gnome-shell driver: X: loaded: modesetting,nvidia
    unloaded: nouveau alternate: fbdev,intel,nv,vesa dri: iris gpu: i915
    display-ID: :1 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: AU Optronics 0xd1ed built: 2019 res: 1920x1080
    hz: 120 dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5")
    ratio: 16:9 modes: 1920x1080
  API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0
    drv: nvidia device: 1 drv: iris device: 3 drv: swrast surfaceless:
    drv: nvidia x11: drv: iris inactive: gbm,wayland,device-2
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 23.2.1-arch1.2
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel UHD Graphics (CML GT2)
    device-ID: 8086:9bc4 memory: 7.45 GiB unified: yes
  API: Vulkan v: 1.3.269 layers: 8 device: 0 type: integrated-gpu name: Intel
    UHD Graphics (CML GT2) driver: mesa intel v: 23.2.1-arch1.2
    device-ID: 8086:9bc4 surfaces: xcb,xlib device: 1 type: discrete-gpu
    name: NVIDIA GeForce GTX 1650 driver: nvidia v: 545.29.02
    device-ID: 10de:1f99 surfaces: xcb,xlib device: 2 type: cpu name: llvmpipe
    (LLVM 16.0.6 256 bits) driver: mesa llvmpipe v: 23.2.1-arch1.2 (LLVM
    16.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
  Device-1: Intel Comet Lake PCH cAVS vendor: Lenovo driver: snd_hda_intel
    v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
    chip-ID: 8086:06c8 class-ID: 0403
  Device-2: NVIDIA driver: snd_hda_intel v: kernel pcie: gen: 3
    speed: 8 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:10fa class-ID: 0403
  API: ALSA v: k6.6.1-zen1-1-zen status: kernel-api tools: N/A
  Server-1: PipeWire v: 0.3.84 status: active 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
  Device-1: Intel Comet Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:06f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/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: 0c:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp12s0 state: down mac: <filter>
  Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-14:4 chip-ID: 8087:0026
    class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 3 state: up address: <filter> bt-v: 5.2
    lmp-v: 11 status: discoverable: no pairing: no class-ID: 6c010c
  Local Storage: total: 476.94 GiB used: 56.2 GiB (11.8%)
  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: 44.9 C
    scheme: GPT
  ID-1: / raw-size: 80 GiB size: 80 GiB (100.00%) used: 56.17 GiB (70.2%)
    fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
    used: 33.8 MiB (13.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 80 GiB size: 80 GiB (100.00%)
    used: 56.17 GiB (70.2%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-4: /var/log raw-size: 80 GiB size: 80 GiB (100.00%)
    used: 56.17 GiB (70.2%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-5: /var/tmp raw-size: 80 GiB size: 80 GiB (100.00%)
    used: 56.17 GiB (70.2%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 7.63 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 8 dev: /dev/zram0
  System Temperatures: cpu: 56.0 C pch: 58.0 C mobo: N/A
  Fan Speeds (rpm): N/A
  Processes: 316 Uptime: 4m wakeups: 0 Memory: total: 8 GiB
  available: 7.63 GiB used: 4.12 GiB (54.1%) Init: systemd v: 254
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6
  Packages: 1704 pm: pacman pkgs: 1669 libs: 507
  tools: gnome-software,pamac,paru,yay pm: flatpak pkgs: 28 pm: snap pkgs: 7
  Shell: Bash v: 5.2.15 running-in: alacritty inxi: 3.3.31
Garuda (2.6.19-2):
  System install date:     2023-10-14
  Last full system update: 2023-11-16
  Is partially upgraded:   No
  Relevant software:       snapper tlp NetworkManager dracut nvidia-dkms
  Windows dual boot:       Probably (Run as root to verify)
  Failed units:

I use neither Gnome, nor Wayland. Therefore I’m not really very experienced with either, but a forum search will certainly turn up information on this topic.

Good luck.

1 Like

You mean you want to switch to wayland based windows manager or DE which is using wayland? If you want wayland windows manager then sway is best option as of now (imo). How to install sway - that’s easy search :wink:

after installing sway from aur i have to change some configs?

Only if you wish to do so. Have you ever used i3? Sway works with your existing i3 config (if you have one). If you’ve never used i3 or other window manager however, this might some learning session (which is good).

i3? i am using gnome

I believe** gnome defaults to x11 still with NVIDIA because there’s still a number of issues (or at least there was) that still occur with their GPU. I exclusively run gnome in Wayland and have for over a year and it’s fantastic. . . On AMD.

You can find out more info here:

1 Like

You may need to add this environment variable:

GNOME Wayland session not available

GNOME Wayland does not support more than one GPU for output yet, falling back on GNOME X11.

If your displays are only connected to one of your video devices, add this to your system environment variables:


See also GDM#Wayland and the proprietary NVIDIA driver.

You can add it right to the script in /etc/profile.d/ if you’d like.

micro /etc/profile.d/

Add it to the “Wayland” part of the script, so it looks like this:

if [ "$XDG_SESSION_TYPE" = "wayland" ]; then
	export QT_QPA_PLATFORM=wayland

You may also need to symlink the GDM udev rules to /dev/null as described here:

Wayland and the proprietary NVIDIA driver

To use Wayland in GDM with the NVIDIA driver, you must first enable NVIDIA#DRM kernel mode setting.

Note: If the Wayland option is not displayed in GDM, even after enabling KMS and configuring Wayland, then you most likely have NVreg_PreserveVideoMemoryAllocations and NVIDIA systemd services disabled. Before trying the method below to force Wayland, follow NVIDIA/Tips and tricks#Preserve video memory after suspend first.

As of GDM 42 and NVIDIA driver 510, GDM defaults to Wayland. For older NVIDIA drivers (in between version 470 and 510), GDM has chipset-dependent udev rules to use Xorg rather than Wayland. To force-enable Wayland, override these rules by creating the following symlink:

# ln -s /dev/null /etc/udev/rules.d/61-gdm.rules

Note: This command works because rules in /etc/udev/rules.d/ override those in /usr/lib/udev/rules.d/ (see udev#About udev rules). It is also advised to modify files in /etc/ rather than in /usr/ as those are managed by pacman.

If, instead of GDM, a black screen appears, try disabling integrated graphics in your computer’s BIOS settings.

I’m not sure if that one applies to your GPU or not, but if the environment variable doesn’t work it may be worth a shot.

sudo ln -s /dev/null /etc/udev/rules.d/61-gdm.rules

thanks bro <3

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