Disable-nouveau.conf
From Freephile Wiki
This file was created as part of the Nvidia on Ubuntu effort. Any file ending in .conf within the directory is automatically read in during boot. It is recommended not to modify the blacklist.conf file distributed with the OS because that file will be subsequently modified by the OS updates causing future conflicts.
cat /etc/modprobe.d/disable-nouveau.conf
(The 'blacklist' and 'options' command lines can be commented (prefixed with #) thus preventing the file from having any effect.)
## disable the nouveau driver
## and prevent it from doing modeset
blacklist nouveau
options nouveau modeset=0