[FFe] Support wayland user sessions for Nvidia machines

Bug #1942911 reported by Marco Trevisan (Treviño)
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gdm3 (Ubuntu)
Fix Released
High
Unassigned

Bug Description

GDM 41.alpha can start GNOME wayland sessions when used with the new NVIDIA drivers 470 which natively support wayland.

It would be good to do proper testing of the new drivers in Impish to ensure that most of the users can take advantage of the default ubuntu desktop session (using wayland) even when running proprietary drivers.

## Upstream diff:
 - https://gitlab.gnome.org/GNOME/gdm/-/compare/3.38.2.1...40.0

## NEWS changes:

==============
Version 41.rc1
==============
- Fix fallback to Xorg at login screen
- Fix SessionType in AccountService user config
- Reuse VT on log out
- Translation updates

================
Version 41.alpha
================
- Allow user session to be Wayland even when login screen is Xorg
- Allow wayland user sessions for single GPU vendor nvidia machines
- Translation updates

==========
Version 40
==========
- 100% CPU fix
- Translation updates

================
Version 40.rc
================
- Fingerprint auth fixes
- Fix timeout handling for graphics bringup
- Translation updates

================
Version 40.beta
================
- xinit script improvements
- Build goo fixes
- Support systems that boot before the graphics subsystem fully loads
- Don't overwrite PATH set by user
- Generalize gdm-disable-wayland into new gdm-runtime-config tool
- Fail hard if accountsservice fails
- PAM integration improvements
- Leak fixes
- Stop using deprecated systemd functions
- Translation updates

### Test packages

https://launchpad.net/~ci-train-ppa-service/+archive/4667/+packages

Tags: impish nvidia
description: updated
tags: added: impish
Revision history for this message
Iain Lane (laney) wrote :

Yeah, please go ahead. We should get this in with as much time as possible.

Changed in gdm3 (Ubuntu):
status: New → Confirmed
status: Confirmed → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gdm3 - 41~rc-0ubuntu1

---------------
gdm3 (41~rc-0ubuntu1) impish; urgency=medium

  * New upstream release:
    - Support systems that boot before the graphics subsystem fully loads
    - Fingerprint auth fixes
    - Allow user session to be Wayland even when login screen is Xorg
    - Allow wayland user sessions for single GPU vendor nvidia machines
      (LP: #1942911)
  * debian/patches: Drop wait for drm device tool
    This was due to bug lp:1794280, but it's now handled by upstream
  * debian/control: Drop build dependency on libgudev-1-0-dev
    It was needed by the tool to wait drm devices
  * debian/gbp.conf: Update upstream-vcs-tag format to work with pre-releases
  * debian/patches: Refresh
  * Merge with debian, remaining changes:
    + readme.debian: update for correct paths in ubuntu
    + control.in:
      - don't recommend desktop-base
      - depend on bash for config_error_dialog.patch
      - update vcs field
    + rules:
      - don't override default user/group
      - -dgdm-xsession=true to install upstream xsession script
      - override dh_installinit with --no-start to avoid session being killed
    + rules, readme.debian, gdm3.8.pod:
      use upstream custom.conf instead of daemon.conf
    + gdm3.{postinst,postrm}: rename user and group back to gdm
    + gdm3.*.pam: make pam_env read ~/.pam_environment, as we use in g-c-c
      settings
    + gdm3.install:
      - stop installing default.desktop. it adds unnecessary clutter
        ("system default") to the session chooser.
      - don't install debian/xsession
    + add run_xsession.d.patch
    + add xresources_is_a_dir.patch
      - fix loading from /etc/x11/xresources/*
    + add nvidia_prime.patch:
      - add hook to run prime-offload (as root) and prime-switch if
        nvidia-prime is installed
    + add revert_override_lang_with_accountservices.patch:
      - on ubuntu accountservices only stores the language and not the
        full locale as needed by lang.
    + add dont_set_language_env.patch:
      - don't run the set_up_session_language() function, since it
        overrides variable values set by ~/.pam_environment
    + add config_error_dialog.patch:
      - show warning dialog in case of error in ~/.profile etc. and
        don't let a syntax error make the login fail
    + add debian/patches/revert_nvidia_wayland_blacklist.patch:
      - don't blacklist nvidia for wayland
    + add gdm3.service-wait-for-drm-device-before-trying-to-start-i.patch:
      - wait for the first valid gdm device on pre-start
    + add debian/default.pa
      - disable bluetooth audio devices in pulseaudio from gdm3.
    + debian/gdm3.install
      - added details of the default.pa file
    + debian/gdm3.postinst
      - added installation of default.pa and creation of dir if it doesn't
        exist.
    + debian/greeter.dconf-defaults: don't set debian settings in the
      greeter's dconf db
  * debian/patches: Keep wayland enabled in all valid nvidia configurations.
    Ensure nvidia drivers are at the expected version for wayland being
    enabled.

 -- Marco Trevisan (Treviño) <email address hidden> Thu, 09 Sep 2021 16:57:41 +0200

Changed in gdm3 (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.