When switching prime profiles to Intel & using kms for nvidia the ubuntu session is not available

Bug #1722078 reported by Doug McMahon
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gdm3 (Ubuntu)
Won't Fix
Undecided
Unassigned
gnome-session (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Extended test case:
Prerequisites: A laptop with nvidia hybrid gpu
               Latest repo nvidia drivers installed (384
               Prime sync not yet enabled

While on the nvidia driver profile boot up, login screen should only offer the xorg session.
In nvidia-settings switch to Intel, restart (one must *always restart with gdm3*
What happens:
At log in both the wayland & xorg session options are present (correct behavior

Switch back to nvidia in nvidia-settings
Enable prime sync (how below
Restart
What happens:
At login only the xorg session is presented (correct behavior

Now again open nvidia-settings, switch to Intel
Restart
What happens:
At log in only the xorg session is present (incorrect behavior
What should happen:
Both the wayland & xorg sessions should be present

To enable prime sync:

sudo nano /etc/modprobe.d/zz-nvidia-modeset.conf

Insert this line, save:
options nvidia_384_drm modeset=1

Run
sudo update-initramfs -u

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: gnome-session (not installed)
ProcVersionSignature: Ubuntu 4.13.0-12.13-generic 4.13.3
Uname: Linux 4.13.0-12-generic x86_64
ApportVersion: 2.20.7-0ubuntu2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sun Oct 8 09:29:25 2017
InstallationDate: Installed on 2017-10-06 (2 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Beta amd64 (20171004)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-session
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Doug McMahon (mc3man) wrote :
tags: added: regression-update wayland
tags: added: nvidia
tags: removed: regression-update
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gdm3 (Ubuntu):
status: New → Confirmed
Changed in gnome-session (Ubuntu):
status: New → Confirmed
Revision history for this message
QkiZ (qkiz) wrote :

I dont have Wayland session choice, even on Intel gfx card.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for reporting this bug to Ubuntu.
Ubuntu 17.10 (artful) reached end-of-life on July 19, 2018.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We appreciate that this bug may be old and you might not be interested in discussing it any more. But if you are then please upgrade to the latest Ubuntu version and re-test. If you then find the bug is still present in the newer Ubuntu version, please add a comment here telling us which new version it is in and change the bug status to Confirmed.

Changed in gdm3 (Ubuntu):
status: Confirmed → Won't Fix
Changed in gnome-session (Ubuntu):
status: Confirmed → Won't Fix
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.