下载要分数,具体内容参考:https://blog.csdn.net/quantum7/article/details/86665916
下载链接:UBUNTU安装NVIDIA显卡驱动的脚本
有朋友问,怎么下载分数这么高?这个我也没办法,忘记选择了,又没法改。
使用方法:
1、sudo passwd 2、ctrl + Alt + F2 3、su # cd /lib; # find -name nouveau*; # modify sh file:NOUVEAU_PATH 4、install-driver-1.sh 5、reboot # modify driver file:DRIVER_FILE 6、install-driver-2.sh 7、reboot
ubuntu-nvidia-install-driver-1.sh
# first, you should su to. then run this shell sudo service lightdm stop echo disable nouveau driver DEST_FILE=/etc/modprobe.d/blacklist-nouveau.conf sudo echo "blacklist nouveau" > ${DEST_FILE} sudo echo "options nouveau modeset=0" >> ${DEST_FILE} DEST_FILE=/etc/modprobe.d/blacklist.conf sudo echo "" >> ${DEST_FILE} sudo echo "blacklist vga16fb" >> ${DEST_FILE} sudo echo "blacklist nouveau" >> ${DEST_FILE} sudo echo "blacklist rivafb" >> ${DEST_FILE} sudo echo "blacklist nvidiafb" >> ${DEST_FILE} sudo echo "blacklist rivatv" >> ${DEST_FILE} sudo echo "" >> ${DEST_FILE} # force rename NOUVEAU_PATH=/lib/modules/4.15.0-29-generic/kernel/drivers/gpu/drm/nouveau sudo mv ${NOUVEAU_PATH}/nouveau.ko ${NOUVEAU_PATH}/nouveau.ko.org NOUVEAU_PATH=/lib/modules/4.15.0-43-generic/kernel/drivers/gpu/drm/nouveau sudo mv ${NOUVEAU_PATH}/nouveau.ko ${NOUVEAU_PATH}/nouveau.ko.org sudo update-initramfs -u lsmod | grep nouveau echo echo remove nvidia driver sudo apt-get remove --purge nvidia-* sudo apt-get remove --purge xserver-xorg-video-nouveau # sudo apt-get update # reboot echo please reboot.
ubuntu-nvidia-install-driver-2.sh
DRIVER_FILE=NVIDIA-Linux-x86_64-410.93.run echo echo install new driver sudo service lightdm stop sudo sh ./${DRIVER_FILE} # -no-x-check -no-nouveau-check -no-opengl-files sudo service lightdm start # reboot echo please reboot.