Here is the workaround.
$ prime-select intel # It will generate /lib/moprobe.d/blacklist-nvidia.conf

$ prime-select nvidia # It will removed /lib/moprobe.d/blacklist-
nvidia.conf and add nvidia-kms.conf

$ update-initramfs -u

After that when you switch to intel, it won't load the nvidia driver in
intel mode.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1798708

Title:
  It will load nvidia driver when swith to Intel mode

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  We found the nvidia-prime will not run update-initramfs as before.
  After switch to intel, then reboot I found the nvidia modules was loaded. 

  If I did S3 or close the lid, and resume back, the nvidia modules was
  removed, so the gnome session will be reloaded, you need to login
  again, all the opend applications in this session was gone.

  nvidia-prime 0.8.8.1
  linux 4.15.0-1021-oem
  nvidia-driver-390 380.87-0ubuntu0~gpu18.04.1.

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to