Looking at /usr/lib/udev/rules.d/61-gdm.rules

The conditions that cause Wayland to be rejected as an option seem to
be:

    # disable Wayland if modesetting is disabled
    IMPORT{cmdline}="nomodeset", GOTO="gdm_disable_wayland

    # disable wayland if nvidia-drm modeset is not enabled
    ATTR{parameters/modeset}!="Y", GOTO="gdm_disable_wayland"

    # disable wayland for nvidia drivers versions lower than 470
    ATTR{version}=="4[0-6][0-9].*|[0-3][0-9][0-9].*|[0-9][0-9].*|[0-9].*", 
GOTO="gdm_disable_wayland"

So, looking at those conditions:

    Modesetting:
    
        $ inxi -Gxx
        Graphics:
          Device-1: NVIDIA GK107 [GeForce GT 640] vendor: eVga.com. driver: 
nvidia
            v: 470.182.03 pcie: speed: 2.5 GT/s lanes: 16 bus-ID: 01:00.0
            chip-ID: 10de:0fc1
          Display: x11 server: X.Org v: 1.21.1.4 compositor: gnome-shell v: 42.5
            driver: X: loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa
            gpu: nvidia display-ID: :1 screens: 1
          Screen-1: 0 s-res: 1920x1080 s-dpi: 101
          Monitor-1: HDMI-0 res: 1920x1080 dpi: 102 diag: 546mm (21.5")
          OpenGL: renderer: NVIDIA GeForce GT 640/PCIe/SSE2
            v: 4.6.0 NVIDIA 470.182.03 direct render: Yes

        $ grep modesetting /var/log/Xorg.0.log
        [155004.672] (==) Matched modesetting as autoconfigured driver 2
        [155004.802] (II) LoadModule: "modesetting"
        [155004.802] (II) Loading 
/usr/lib/xorg/modules/drivers/modesetting_drv.so
        [155004.834] (II) Module modesetting: vendor="X.Org Foundation"
        [155004.884] (II) modesetting: Driver for Modesetting Kernel Drivers: 
kms
        [155004.901] (WW) Falling back to old probe method for modesetting
        [155005.857] (II) UnloadModule: "modesetting"
        [155005.857] (II) Unloading modesetting

      Does that mean modesetting failed to start? And if so, why?

    NVidia DRM:

        $ grep nvidia-drm /var/log/syslog
        May 14 00:45:51 Nagle-LTS kernel: [   24.035970] [drm] [nvidia-drm] 
[GPU ID 0x00000100] Loading driver
        May 14 00:45:51 Nagle-LTS kernel: [   24.035973] [drm] Initialized 
nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 0

      So nvidia-drm seems to be loaded.


    NVidia driver: 

        NVidia driver version 470.182.03 is not lower than 470. 
        That regular expression should not match.

-- 
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/2020249

Title:
  Missing Wayland login option on NVIDIA systems - still broken

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


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

Reply via email to