This is correct behaviour because Wayland is not yet stable in the
presence of an Nvidia proprietary driver. We hope to fix that by Ubuntu
24.10.

The original intention was to enable Wayland for hybrid systems:

gdm3 (42.0-1ubuntu7) jammy; urgency=medium

  [ Alberto Milone ]
  * Default to Wayland for hybrid systems with Nvidia graphics drivers.
    Default to Xorg but offer Wayland with the gear button on the login
    screen for non-hybrid systems with Nvidia graphics drivers. (LP: #1968929)

 -- Jeremy Bicha <[email protected]>  Thu, 21 Apr 2022 06:32:09 -0400

but even that turned out to be unreliable. And added to that there was
an uninitialized variable in gdm3(?) we fixed a year or two ago which
was also causing the session selection to not follow the udev rules.

So it's all very complicated. Overall we would prefer Nvidia systems DID
NOT show a Wayland login option yet, but since you've figured out how to
enable it, please be aware of the bug list:

https://bugs.launchpad.net/ubuntu/+bugs?field.tag=nvidia-wayland

** Changed in: gdm3 (Ubuntu)
       Status: New => Won't Fix

** Tags added: noble nvidia

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gdm3 in Ubuntu.
https://bugs.launchpad.net/bugs/2062128

Title:
  Booting with nvidia proprietary drivers 550.67 results in gdm3 being
  displayed on X11 rather than Wayland

Status in gdm3 package in Ubuntu:
  Won't Fix

Bug description:
  I am testing Ubuntu 24.04 beta and using the proprietary NVIDIA
  drivers (550.67).

  Prior to installing the drivers packages (using nouveau), the system
  would load gdm3 in Wayland.

  After installer the drivers package, the system would load gdm3 in
  X11.

  This appears to be caused by the configuration file at
  /usr/lib/udev/rules.d/61-gdm.rules

  However, according to the comments in the rules file, it should prefer
  Wayland:

  # Disable wayland when nvidia modeset is disabled or when drivers are a lower
  # version than 470,
  # For versions above 470 but lower than 510 prefer Xorg,
  # Above 510, prefer Wayland.

  I am able to work around this by making a system override on the file,
  in /etc/udev/rules.d:

  lrwxrwxrwx 1 root root     9 Apr 18 00:34 61-gdm.rules -> /dev/null

  With this in place, when booting, gdm3 will be loaded with Wayland.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/2062128/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to