Maybe something like this if not able to fix which it's not thru today
** Attachment added: "Screenshot from 2017-09-14 17-57-48.png" https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1704781/+attachment/4950397/+files/Screenshot%20from%202017-09-14%2017-57-48.png -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to nvidia-prime in Ubuntu. https://bugs.launchpad.net/bugs/1704781 Title: With gdm3 a restart is needed when switching prime profiles Status in gdm3 package in Ubuntu: New Status in nvidia-prime package in Ubuntu: Confirmed Bug description: Test case: Install nvidia drivers ,restart. Open nvidia-settings, switch prime profile. Will be prompted to log out/in, do so What happens: user goes into a log in loop To actually get back to the ubuntu-session one must restart. ProblemType: Bug DistroRelease: Ubuntu 17.10 Package: nvidia-prime 0.8.4 ProcVersionSignature: Ubuntu 4.11.0-10.15-generic 4.11.8 Uname: Linux 4.11.0-10-generic x86_64 ApportVersion: 2.20.5-0ubuntu5 Architecture: amd64 CurrentDesktop: GNOME Date: Mon Jul 17 07:57:24 2017 InstallationDate: Installed on 2017-07-15 (1 days ago) InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170708) ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: nvidia-prime UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1704781/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp