Possible problem with /etc/modprobe.d/nvidia-375_hybrid.conf

I just spent a few hours trying to figure out why my system was throwing errors after I installed the graphics drivers (v. 375.39) for my GTX 970 on a new ubuntu 17.04 install. I want to share my findings for possible fixing.

I first installed the drivers through the Additional Drivers GUI and everything was fine so I rebooted. When booting it got caught in a NOUVEAU SCHRED ERROR 08 (something like that) loop that required a force shutdown. After digging for solutions I added the following line to a file that I am not suppose to edit.

/etc/modprobe.d/nvidia-375_hybrid.conf

ORIGINAL TEXT:

This file was installed by nvidia-375

Do not edit this file manually

blacklist nouveau
blacklist lbm-nouveau
alias nouveau off
alias lbm-nouveau off

EDITED TEXT:

This file was installed by nvidia-375

Do not edit this file manually

blacklist nouveau
blacklist lbm-nouveau
options nouveau modeset=0 #THIS IS THE LINE I ADDED
alias nouveau off
alias lbm-nouveau off

I beleive this was effectively disabling nouveau at boot but I’m no expert at this. I thought I would share this to hopefully help others.

Peace.