There are two setups where the solution is with my setup (NVIDIA Corporation 
GK107M [GeForce GT 750M], laptop with nvidia and intel):
- Use Wayland with nouveau drivers: performance OK.
- Use Xorg with nvidia drivers with kernel parameter "nvidia-drm.modeset=1" 
(see @tim-tim-richardson++'s remark). prime is set to nvidia (as default when 
you install the binary drivers).

What doesn't work (black or too slow):
- nvidia drivers.
- nvidia drivers with intel selected by prime.
- nouveau drivers on Xorg.

Here are the more expanded instructions. Be sure to know what you do,
you won't loose files, but you may make your system unbootable if you
type an error.

1. Make sure nvidia is not blacklisted. E.g. remove bumblebee. Have a look in 
/etc/modules and /etc/modprobe.d/*:
$ sudo apt-get remove --purge bumblebee
$ grep nvidia /etc/modules /etc/modprobe.d/*

"blacklist nvidia" is what's mostly used.

2. Add "modeset=1" to grub:
$ sudo vi /etc/default/grub
(or sudo nano /etc/default/grub)

Add nvidia-drm.modeset=1 to the GRUB_CMDLINE line (with the quotes):
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nvidia-drm.modeset=1"

Activate the changes:
$ sudo update-grub

4. Install Nvidia drivers:
$ sudo ubuntu-drivers autoinstall
$ sudo prime-select nvidia

5. Reboot

Be warned that modeset=1 disabled the virtual consoles (ctl+alt+f<nr>).

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/1752053

Title:
  nvidia-390 fails to boot graphical display

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

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to