Gnome 46 switched me back to x11

Hello everybody!
I just registered to the forum because I have an issue I couldn’t find anything on the web about:

I am running openSUSE Tumbleweed on my Lenovo Ideapad, and before the upgrade to Gnome 46, the system was working fine on Wayland. Since the update, I am back on x11 for some reason and my three-finger-gestures don’t work anymore. YAST shows me that Wayland is still installed, but I have no option in the login screen to choose a Wayland session. Here are some system specs:

Systemdetailsbericht


Berichtdetails

  • Erstellungsdatum: 2024-03-27 10:47:37

Hardware-Informationen:

  • Hardware-Modell: Lenovo IdeaPad 3 15IML05
  • Speicher: 8,0 GiB
  • Prozessor: Intel® Core™ i5-10210U × 8
  • Grafik: NVIDIA GeForce MX130
  • Festplattenkapazität: 256,1 GB

Software-Informationen:

  • Firmware-Version: DXCN21WW
  • Name des Betriebssystems: openSUSE Tumbleweed
  • Betriebssystem-Build: (null)
  • Betriebssystem-Typ: 64-bit
  • GNOME-Version: 46
  • Fenstermanager: X11
  • Kernel-Version: Linux 6.8.1-1-default

I would appreciate your help very much.

Hi and welcome to the forums :slight_smile:

This happened to me after mixing Mesa packages from both Packman and openSUSE repos.
Please show the output of:

zypper lr -dP
zypper se -si mesa

Hi and thanks for the welcome!

Here’s the output:

peter@localhost:~> zypper lr -dP
#  | Alias                                  | Name                          | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                           | Service
---+----------------------------------------+-------------------------------+---------+-----------+---------+----------+--------+-------------------------------------------------------------------------------+---------
12 | packman                                | Packman                       | Ja      | (r ) Ja   | Ja      |   90     | rpm-md | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/          | 
 1 | NVIDIA:repo-non-free                   | repo-non-free                 | Ja      | (r ) Ja   | Ja      |   99     | rpm-md | https://download.nvidia.com/opensuse/tumbleweed/                              | NVIDIA
 2 | ftp.gwdg.de-Essentials                 | Packman Essentials Repository | Ja      | (r ) Ja   | Ja      |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/Essentials | 
 3 | ftp.gwdg.de-openSUSE_Tumbleweed        | Packman Repository            | Ja      | (r ) Ja   | Ja      |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/           | 
 4 | https-download.nvidia.com-570b9bd2     | nVidia Graphics Drivers       | Nein    | ----      | ----    |   99     | rpm-md | https://download.nvidia.com/opensuse/tumbleweed                               | 
 5 | openSUSE:repo-non-oss                  | repo-non-oss                  | Ja      | (r ) Ja   | Ja      |   99     | rpm-md | http://cdn.opensuse.org/tumbleweed//repo/non-oss                              | openSUSE
 6 | openSUSE:repo-openh264                 | repo-openh264                 | Ja      | (r ) Ja   | Ja      |   99     | rpm-md | http://codecs.opensuse.org/openh264/openSUSE_Tumbleweed                       | openSUSE
 7 | openSUSE:repo-oss                      | repo-oss                      | Ja      | (r ) Ja   | Ja      |   99     | rpm-md | http://cdn.opensuse.org/tumbleweed//repo/oss                                  | openSUSE
 8 | openSUSE:repo-oss-debug                | repo-oss-debug                | Nein    | ----      | ----    |   99     | N/A    | http://cdn.opensuse.org/debug/tumbleweed//repo/oss                            | openSUSE
 9 | openSUSE:repo-oss-source               | repo-oss-source               | Nein    | ----      | ----    |   99     | N/A    | http://cdn.opensuse.org/source/tumbleweed//repo/oss                           | openSUSE
10 | openSUSE:update-tumbleweed             | update-tumbleweed             | Ja      | (r ) Ja   | Ja      |   99     | rpm-md | http://cdn.opensuse.org/update/tumbleweed/                                    | openSUSE
11 | opensuse-guide.org-openSUSE_Tumbleweed | libdvdcss repository          | Ja      | (r ) Ja   | Ja      |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/                           | 
peter@localhost:~> 

Is it an Optimus system?

I don’t know - the GPU supports Optimus, I don’t know if the proprietary Linux drivers do so. Can I check this somehow?

ls -l /sys/class/drm/

After choosing your user, when prompted for your password, you should see a “gear” button on the lower right corner: what options do you see there?
BTW, optimus system here, proprietary Nvidia driver and no problem…

Just a side step (because not related to your problem), you have Packman and Packman Essentials. As the second is a subset of the first, you either need only the subset (likely), or you need more. Having both of them can give surprising results (like reporting some packages double).

1 Like

Actually, GDM disables Wayland support for multiple reasons. To shortcut round trip time, you can review /usr/lib/udev/rules.d/61-gdm.rules if any check applies to your system.

peter@localhost:~> ls -l /sys/class/drm/
insgesamt 0
lrwxrwxrwx 1 root root    0 27. Mär 10:53 card0 -> ../../devices/pci0000:00/0000:00:1c.0/0000:01:00.0/drm/card0
lrwxrwxrwx 1 root root    0 27. Mär 10:05 card1 -> ../../devices/pci0000:00/0000:00:02.0/drm/card1
lrwxrwxrwx 1 root root    0 27. Mär 10:05 card1-eDP-1 -> ../../devices/pci0000:00/0000:00:02.0/drm/card1/card1-eDP-1
lrwxrwxrwx 1 root root    0 27. Mär 10:05 card1-HDMI-A-1 -> ../../devices/pci0000:00/0000:00:02.0/drm/card1/card1-HDMI-A-1
lrwxrwxrwx 1 root root    0 27. Mär 10:05 renderD128 -> ../../devices/pci0000:00/0000:00:02.0/drm/renderD128
lrwxrwxrwx 1 root root    0 27. Mär 10:53 renderD129 -> ../../devices/pci0000:00/0000:00:1c.0/0000:01:00.0/drm/renderD129
-r--r--r-- 1 root root 4096 27. Mär 11:40 version
peter@localhost:~> 

It gives me the options to choose between Gnome, Gnome Classic and IceWM.

Well, you have two cards so it looks like Optimus system. In this case GDM disables Wayland on laptop with propritary driver. But as mentioned, this is not the only reason.

But why did it work fine before the upgrade? And how can I make it work again?

Did you find why it does not work now?

Just to rule out the obvious, check also that gnome-session-wayland is installed

zypper se -i gnome-session

(after doing what @arvidjaar suggests…)

Well, I don’t understand most of the entries there, but I found this:

# If this is a hybrid graphics laptop with vendor nvidia driver, disable wayland

Could that be it?

Show

ls -l /run/udev/gdm*
-rw-r--r-- 1 root root 0 27. Mär 10:05 /run/udev/gdm-machine-has-hardware-gpu
-rw-r--r-- 1 root root 0 27. Mär 10:05 /run/udev/gdm-machine-has-vendor-nvidia-driver
-rw-r--r-- 1 root root 0 27. Mär 10:05 /run/udev/gdm-machine-is-laptop

S | Name                          | Summary                                   | Type
--+-------------------------------+-------------------------------------------+------
i | gnome-session                 | Session Tools for the GNOME Desktop       | Paket
i | gnome-session-core            | Minimal version of the GNOME Session Ma-> | Paket
i | gnome-session-default-session | Default session support for the GNOME S-> | Paket
i | gnome-session-lang            | Translations for package gnome-session    | Paket
i | gnome-session-wayland         | Wayland support for the GNOME Session M-> | Paket

Show

cat /sys/module/nvidia_drm/parameters/modeset