1.firstly, exec: sudo vim /etc/modprobe.d/blacklist-nouveau.conf[create],
and input [blacklist nouveau](remove []) in this file.
2.install nvidia driver: sudo apt install bumblebee-nvidia bumblebee primus,
when this comand finished, then exec: sudo apt install nvidia-driver nvidia-settings;
in this installation steps, may be you will receive a tips that about conflict for current driver and nvidia driver, it's can be resolve by
install finished reboot, so enter Enter key to ignore the tips.
3.sudo reboot the machine.
4.when rebooted the system, you can look graphics driver manager, it should be switch bumblebee driver.
and wil a nvidia server setting app will in you desktop.
and then exec command: lsmod|grep nouveau, if nothing print, gong xi ni , cheng gong le .