Unable to switch to Wayland on GNOME

garuda-inxi

System:
  Kernel: 5.19.11-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=d3109f27-2037-4f59-XXXX-22013e29XXXX rw [email protected]
    quiet
    cryptdevice=UUID=d669cbe1-eb13-4714-a727-XXXX62d059XX:luks-d669XXXX-eb13-4714-a727-XXXX62d059bd
    root=/dev/mapper/luks-d669cbe1-eb13-4714-a727-XXXX62d059bd quiet splash
    rd.udev.log_priority=3 vt.global_cursor_default=0
    resume=/dev/mapper/luks-XXXX0866-9674-42bb-b9c5-4c8fXXXX3e48 loglevel=3
  Desktop: GNOME v: 42.5 tk: GTK v: 3.24.34 wm: gnome-shell dm: GDM v: 42.0
    Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 81SY v: Lenovo Legion Y540-15IRH-PG0
    serial: <superuser required> Chassis: type: 10 v: Lenovo Legion
    Y540-15IRH-PG0 serial: <superuser required>
  Mobo: LENOVO model: LNVNB16XXXX v: SDK0Q5XXXX WIN
    serial: <superuser required> UEFI: LENOVO v: BHCN42WW date: 05/21/2021
Battery:
  ID-1: BAT0 charge: 45.2 Wh (97.8%) condition: 46.2/52.5 Wh (87.9%)
    volts: 12.7 min: 11.2 model: SMP L17M3PG1 type: Li-poly serial: <filter>
    status: not charging cycles: 144
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse MX Master 3
    serial: <filter> charge: 100% (should be ignored) rechargeable: yes
    status: discharging
CPU:
  Info: model: Intel Core i7-9750H bits: 64 type: MT MCP arch: Coffee Lake
    gen: core 9 level: v3 built: 2018 process: Intel 14nm family: 6
    model-id: 0x9E (158) stepping: 0xA (10) microcode: 0xF0
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
    L3: 12 MiB desc: 1x12 MiB
  Speed (MHz): avg: 1700 high: 1701 min/max: 800/4500 scaling:
    driver: intel_pstate governor: powersave cores: 1: 1700 2: 1701 3: 1700
    4: 1700 5: 1701 6: 1701 7: 1700 8: 1699 9: 1700 10: 1701 11: 1699
    12: 1700 bogomips: 62399
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: IBRS
  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: IBRS, IBPB: conditional, RSB filling,
    PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: Lenovo
    driver: nvidia v: 515.76 alternate: nouveau,nvidia_drm non-free: 515.xx+
    status: current (as of 2022-08) arch: Turing code: TUxxx
    process: TSMC 12nm built: 2018-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 16
    link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.0 chip-ID: 10de:1f91
    class-ID: 0300
  Device-2: IMC Networks Integrated Camera type: USB driver: uvcvideo
    bus-ID: 1-6:3 chip-ID: 13d3:5415 class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.3
    compositor: gnome-shell driver: X: loaded: nvidia unloaded: modesetting
    alternate: fbdev,nouveau,nv,vesa gpu: nvidia display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.65x15.00")
    s-diag: 777mm (30.58")
  Monitor-1: DP-0 pos: primary res: 2560x1440 hz: 60 dpi: 124
    size: 526x296mm (20.71x11.65") diag: 604mm (23.76") modes: N/A
  Monitor-2: DP-4 size-res: N/A modes: N/A
  Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
  Device-1: Intel Cannon 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:a348 class-ID: 0403
  Device-2: NVIDIA vendor: Lenovo driver: snd_hda_intel v: kernel pcie:
    gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 3 speed: 8 GT/s
    bus-ID: 01:00.1 chip-ID: 10de:10fa class-ID: 0403
  Sound Server-1: ALSA v: k5.19.11-zen1-1-zen running: yes
  Sound Server-2: PulseAudio v: 16.1 running: no
  Sound Server-3: PipeWire v: 0.3.58 running: yes
Network:
  Device-1: Intel Cannon Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:a370 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: 07:00.0 chip-ID: 10ec:XXXX class-ID: 0200
  IF: enp7s0 state: down mac: <filter>
  IF-ID-1: tailscale0 state: unknown speed: -1 duplex: full mac: N/A
  IF-ID-2: ztrtaz2b3b state: unknown speed: 10 Mbps duplex: full
    mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB
    driver: btusb v: 0.8 bus-ID: 1-14:7 chip-ID: 8087:0aaa class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 2 state: down
    bt-service: enabled,running rfk-block: hardware: no software: yes
    address: <filter>
Drives:
  Local Storage: total: 1.14 TiB used: 499.91 GiB (42.7%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: PC SN730
    SDBPNTY-256G-1101 size: 238.47 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 11110001 temp: 24.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST1000LM049-2GH172
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B
    speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter> rev: LXM4
    scheme: GPT
Partition:
  ID-1: / raw-size: 221.07 GiB size: 221.07 GiB (100.00%) used: 125.81 GiB
    (56.9%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-d669cbe1-eb13-4714-a727-453962dXXXXX
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 752 KiB
    (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 221.07 GiB size: 221.07 GiB (100.00%) used: 125.81
    GiB (56.9%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-d669cbe1-eb13-4714-a727-453962dXXXXX
  ID-4: /var/log raw-size: 221.07 GiB size: 221.07 GiB (100.00%) used: 125.81
    GiB (56.9%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-d669cbe1-eb13-4714-a727-453962dXXXXX
  ID-5: /var/tmp raw-size: 221.07 GiB size: 221.07 GiB (100.00%) used: 125.81
    GiB (56.9%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-d669cbe1-eb13-4714-a727-453962dXXXXX
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 15.54 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
  ID-2: swap-2 type: partition size: 17.1 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/dm-1 maj-min: 254:1
    mapped: luks-189cXXXX-9674-42bb-b9c5-4c8fcbaXXXXX
Sensors:
  System Temperatures: cpu: 49.0 C pch: 53.0 C mobo: N/A gpu: nvidia
    temp: 47 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 396 Uptime: 30m wakeups: 6 Memory: 15.54 GiB used: 5.68 GiB
  (36.5%) Init: systemd v: 251 default: graphical tool: systemctl
  Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: 1790 pm: pacman pkgs: 1683
  libs: 467 tools: pamac,paru pm: flatpak pkgs: 99 pm: snap pkgs: 8
  Shell: fish v: 3.5.1 running-in: gnome-terminal inxi: 3.3.21
Garuda (2.6.8-1):
  System install date:     2022-09-04
  Last full system update: 2022-09-29
  Is partially upgraded:   No
  Relevant software:       NetworkManager
  Windows dual boot:       No/Undetected
  Snapshots:               Snapper
  Failed units:        

I have changed Edit /etc/gdm/custom.conf Then Change WaylandEnable=false To #WaylandEnable=false and DefaultSession=gnome-wayland.desktop. GDM Wayland is enabled in Garuda Assistant.

What else should I be doing?

Thank you :slight_smile:

Some Nvidia cards do not work with wayland using the nvidia drivers some work better with the free driver and wayland

3 Likes

Your setup sounds correct. Switching to Wayland has to be specified in GDM when you are logging in. There is a cog wheel or other button where you can switch the session.

This image is obviously scooped off of the internet and features a different distro, but the idea is illustrated well enough:

4 Likes

For some reason, I don't even have that option to select my display manager. Is there any way I can force it to provide me that option?

Hmm, if the option does not reveal itself automatically that would imply Wayland has not been successfully enabled.

Just to confirm:

  • You ticked the "Enable GDM Wayland" checkbox in Garuda Assistant
  • Hit apply
  • Fully rebooted the computer

After that, choosing the session should be available on the GDM login screen.

1 Like