Maybe we could call this a bug. Even though Jammy's 61-gdm.rules says it
prefers Wayland on Nvidia hybrids, there are  problems with that. At
least three come to mind:

1. External monitors plugged into Nvidia secondary GPUs weren't
accelerated for Wayland sessions until recently
(https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3304). Xorg was
a better user experience in hindsight.

2. gdm3 had a bug some time ago (link required, I think it was
uninitialized memory) that meant it was choosing Xorg over Wayland by
accident on some machines. So some people got used to Xorg being the
default even though we didn't plan it that way.

3. 61-gdm.rules is difficult to read and probably still buggy. For
example, this is not a reliable check for the existence of multiple
graphics cards (or even ANY GPUs):

  # If this is a hybrid graphics setup, take note
  KERNEL!="card[1-9]*", GOTO="gdm_hybrid_graphics_check_end"
  KERNEL=="card[1-9]-*", GOTO="gdm_hybrid_graphics_check_end"

I expect that test will also change with the fix for bug 2060268 since
card0 might not exist.

So even though 22.04 has been out for years we perhaps should be
reconsidering what we *intend* to be the default session type on Nvidia
hybrids and aim more bug fixes that way.


** Changed in: gdm3 (Ubuntu)
       Status: Invalid => Opinion

** Summary changed:

- Windowing system default become Wayland after kernel upgrade
+ Default session type changed from Xorg to Wayland in new installs of 22.04 on 
Nvidia hybrids since kernel 6.8

** Tags removed: regression-release
** Tags added: regression-update

** Summary changed:

- Default session type changed from Xorg to Wayland in new installs of 22.04 on 
Nvidia hybrids since kernel 6.8
+ Default session type changed from Xorg to Wayland in some new installs of 
22.04 on Nvidia hybrids since kernel 6.8

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

Title:
  Default session type changed from Xorg to Wayland in some new installs
  of 22.04 on Nvidia hybrids since kernel 6.8

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


-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to