I add udev.log-priority=debug to kernel parameter to enable udev debug. I notice that in /usr/lib/udev/rules.d/61-gdm.rules, condition test in gdm_hybrid_nvidia_laptop_check had been fulfilled early then nvidia_drm driver loaded. Then the prefer Xorg rule will be skip.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2080498 Title: Default session type changed from Xorg to Wayland in some 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs