disable nouveau in order to install cuda
# lsmod |grep nouveau
nouveau 1662531 0
video 24538 1 nouveau
mxm_wmi 13021 1 nouveau
drm_kms_helper 176920 2 ast,nouveau
ttm 99555 2 ast,nouveau
drm 397988 5 ast,ttm,drm_kms_helper,nouveau
i2c_algo_bit 13413 3 ast,igb,nouveau
i2c_core 63151 8 ast,drm,igb,i2c_i801,ipmi_ssif,drm_kms_helper,i2c_algo_bit,nouveau
wmi 19086 2 mxm_wmi,nouveau
# vi /etc/modprobe.d/blacklist.conf
blacklist nouveau
# mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.bak
# dracut -v /boot/initramfs-$(uname -r).img $(uname -r)
# reboot