Public bug reported:

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)

** Affects: gdm3 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: gnome-session (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug artful regression-update wayland

** Tags added: regression-update wayland

** Also affects: gdm3 (Ubuntu)
   Importance: Undecided
       Status: New

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

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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to