You are not logged in.

#1 2025-05-18 04:04:47

mybday123
Member
From: Indonesia
Registered: 2024-07-05
Posts: 2

How do I Get Wayland to Work on GNOME/GDM?

I recently switched to GNOME from hyprland. It works but I cannot get a wayland session to work.
On GDM's session select menu, there's only "GNOME" and "GNOME Classic"

I use a hybrid graphics laptop with nvidia-open driver installed. I tried following https://wiki.archlinux.org/title/GDM#Wa … DIA_driver and this post https://bbs.archlinux.org/viewtopic.php?id=290166, but it doesn't seem work for me.

Here are some info about my system:

~ % ff
                  -`                     yuza@nitro
                 .o+`                    ----------
                `ooo/                    OS: Arch Linux x86_64
               `+oooo:                   Host: Nitro AN515-58 (V2.13)
              `+oooooo:                  Kernel: Linux 6.14.6-arch1-1
              -+oooooo+:                 Uptime: 14 mins
            `/:-:++oooo+:                Packages: 844 (pacman), 34 (flatpak)
           `/++++/+++++++:               Shell: zsh 5.9
          `/++++++++++++++:              Display (BOE08B3): 1920x1080 @ 144 Hz in 16" [Built-in]
         `/+++ooooooooooooo/`            DE: GNOME 48.1
        ./ooosssso++osssssso+`           WM: Mutter (X11)
       .oossssso-````/ossssss+`          CPU: 12th Gen Intel(R) Core(TM) i5-12500H (16) @ 4.50 GHz
      -osssssso.      :ssssssso.         GPU 1: NVIDIA GeForce RTX 3050 Mobile [Discrete]
     :osssssss/        osssso+++.        GPU 2: Intel Iris Xe Graphics @ 1.30 GHz [Integrated]
    /ossssssss/        +ssssooo/-        Memory: 2.50 GiB / 15.32 GiB (16%)
  `/ossssso+/:-        -:/+osssso+-      Swap: 0 B / 20.00 GiB (0%)
 `+sso+:-`                 `.-/+oso:     Disk (/): 108.27 GiB / 241.53 GiB (45%) - ext4
`++:.                           `-/+/    Local IP (wlp0s20f3): 192.168.43.30/24
.`                                 `/    Battery (AP18E7M): 88% [Charging, AC Connected]

                                                                 
                                                                 
~ % pacman -Qi nvidia-open
Name            : nvidia-open
Version         : 570.144-5
Description     : NVIDIA open kernel modules
Architecture    : x86_64
URL             : https://github.com/NVIDIA/open-gpu-kernel-modules
Licenses        : MIT AND GPL-2.0-only
Groups          : None
Provides        : NVIDIA-MODULE
Depends On      : linux  nvidia-utils=570.144  libglvnd
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : nvidia
Replaces        : None
Installed Size  : 7.10 MiB
Packager        : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date      : Sat 10 May 2025 01:03:36 AM WIB
Install Date    : Sun 18 May 2025 10:04:18 AM WIB
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

~ % nvidia-smi
Sun May 18 10:53:59 2025       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 570.144                Driver Version: 570.144        CUDA Version: 12.8     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 3050 ...    Off |   00000000:01:00.0 Off |                  N/A |
| N/A   42C    P8              6W /   60W |      15MiB /   4096MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A            1793      G   /usr/lib/Xorg                             4MiB |
+-----------------------------------------------------------------------------------------+
~ % echo $XDG_SESSION_TYPE 
x11
~ % cat /proc/cmdline 
initrd=\initramfs-linux.img root=LABEL=ARCH rw panic=30 acpi_backlight=native nvidia_drm.modeset=1
~ % sudo cat /sys/module/nvidia_drm/parameters/fbdev    
Y
~ % sudo cat /sys/module/nvidia_drm/parameters/modeset 
Y

Here are the logs from journalctl -b:
http://0x0.st/8vDU.txt

From what I know, Wayland should work out of the box since all of the stuff GDM need are already enabled by default.

Last edited by mybday123 (2025-05-18 04:33:13)

Offline

#2 2025-05-18 14:59:11

Xylerfox
Member
Registered: 2024-07-24
Posts: 18

Re: How do I Get Wayland to Work on GNOME/GDM?

Just some Sanity checks.

in GDM, are you selecting the proper Wayland session, and not the X11 Session?

I don't use GDM/GNOME myself, this is just the first thing I'd check, is if your Display Manager (GDM) is selecting the Wayland Session instead of the X11 Session.

Edit: I didn't read that you checked the two sessions. Sorry about that.

Try installing SDDM, disabling GDM and enabling SDDM and seeing if another Display Manager helps.

Last edited by Xylerfox (2025-05-18 15:00:55)


If you're not having fun, what's the point of being an Enthusiast? :3

Offline

#3 2025-05-19 01:14:29

mybday123
Member
From: Indonesia
Registered: 2024-07-05
Posts: 2

Re: How do I Get Wayland to Work on GNOME/GDM?

I have tried using another Display Manager, and wayland does work. But GNOME relied on GDM for some of its features, like the lockscreen. Without GDM, I wouldn't be able to use any lockscreen...

Offline

Board footer

Powered by FluxBB