我安装总是出现下列错误
看到好多教程都是修改已有的blacklist.conf,来解决此问题,但我修改以后出现了Ctrl + Alt +F1进入不了控制台,然后找nvidia的官方说明,写的是建立一个新的disable-nouveau.conf然后配置, 贴出来E文好的可以翻译一下ERROR: The Nouveau kernel driver is currently in use by your system. This
driver is incompatible with the NVIDIA driver, and must be disabled
before proceeding. Please consult the NVIDIA driver README and your
Linux distribution's documentation for details on how to correctly
disable the Nouveau kernel driver.
具体步聚:What is Nouveau, and why do I need to disable it?
Nouveau is a display driver for NVIDIA GPUs, developed as an open-source project through reverse-engineering of the NVIDIA driver. It ships with many current Linux distributions as the default display driver for NVIDIA hardware. It is not developed or supported by NVIDIA, and is not related to the NVIDIA driver, other than the fact that both Nouveau and the NVIDIA driver are capable of driving NVIDIA GPUs. Only one driver can control a GPU at a time, so if a GPU is being driven by the Nouveau driver, Nouveau must be disabled before installing the NVIDIA driver.
Nouveau performs modesets in the kernel. This can make disabling Nouveau difficult, as the kernel modeset is used to display a framebuffer console, which means that Nouveau will be in use even if X is not running. As long as Nouveau is in use, its kernel module cannot be unloaded, which will prevent the NVIDIA kernel module from loading. It is therefore important to make sure that Nouveau's kernel modesetting is disabled before installing the NVIDIA driver.
How do I prevent Nouveau from loading and performing a kernel modeset?
A simple way to prevent Nouveau from loading and performing a kernel modeset is to add configuration directives for the module loader to a file in /etc/modprobe.d/. These configuration directives can technically be added to any file in /etc/modprobe.d/, but many of the existing files in that directory are provided and maintained by your distributor, which may from time to time provide updated configuration files which could conflict with your changes. Therefore, it is recommended to create a new file, for example, /etc/modprobe.d/disable-nouveau.conf, rather than editing one of the existing files, such as the popular /etc/modprobe.d/blacklist.conf. Note that some module loaders will only look for configuration directives in files whose names end with .conf, so if you are creating a new file, make sure its name ends with .conf.
Whether you choose to create a new file or edit an existing one, the following two lines will need to be added:
blacklist nouveau
options nouveau modeset=0
The first line will prevent Nouveau's kernel module from loading automatically at boot. It will not prevent manual loading of the module, and it will not prevent the X server from loading the kernel module; see "How do I prevent the X server from loading Nouveau?" below. The second line will prevent Nouveau from doing a kernel modeset. Without the kernel modeset, it is possible to unload Nouveau's kernel module, in the event that it is accidentally or intentionally loaded.
You will need to reboot your system after adding these configuration directives in order for them to take effect
1.去官方下载最新版的nVidia驱动,现最新版本是Nvidia-Linux-x86-270.41.06.run
2.删除之前所安装的nVidia驱动(没安的略去这一步)
代码: 全选
sudo apt-get --purge remove nvidia-*
代码: 全选
gedit /etc/modprobe.d/disable-nouveau.conf
代码: 全选
blacklist nouveau
options nouveau modeset=0
4.按Ctrl + Alt +F1到第一控制台,输入用户名,密码登陆后执行:
代码: 全选
sudo /etc/init.d/gdm stop
5进入驱动所在文件夹,安装驱动
代码: 全选
sudo ./NVIDIA-Linux-x86-270.41.06
安装过程中出现更新,选择NO
安装完毕,然后配置Xconfig
代码: 全选
sudo nvidia-xconfig
代码: 全选
sudo /etc/init.d/gdm restart
我是按自已安装成功的过程写的,还希望大家帮忙解释