Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jsf-2/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
安装nvidia驱动程序Ubuntu 14.04时出错_Ubuntu_Nvidia - Fatal编程技术网

安装nvidia驱动程序Ubuntu 14.04时出错

安装nvidia驱动程序Ubuntu 14.04时出错,ubuntu,nvidia,Ubuntu,Nvidia,在Ubuntu 14.04上安装GTX980驱动程序时遇到问题。我需要升级到CUDA7.5和最新的驱动程序。我使用了.run安装程序和deb。安装前,安装并进行吹扫 以下是日志: Using built-in stream user interface -> Detected 8 CPUs online; setting concurrency level to 8. -> License accepted by command line option. -> Installi

在Ubuntu 14.04上安装GTX980驱动程序时遇到问题。我需要升级到CUDA7.5和最新的驱动程序。我使用了.run安装程序和deb。安装前,安装并进行吹扫

以下是日志:

Using built-in stream user interface
-> Detected 8 CPUs online; setting concurrency level to 8.
-> License accepted by command line option.
-> Installing NVIDIA driver version 352.39.
-> There appears to already be a driver installed on your system (version: 352.39).  As part of installing this driver (version: 352.39), the existing driver will be uninstalled.
  Are you sure you want to continue? (Answer: Continue installation)
-> Running distribution scripts
   executing: '/usr/lib/nvidia/pre-install'...
-> done.
-> The distribution-provided pre-install script failed!  Are you sure you want to continue? (Answer: Continue installation)
WARNING: One or more modprobe configuration files to disable Nouveau are already present at: /etc/modprobe.d/nvidia-installer-disable-nouveau.conf.  Please be sure you have reboo
ted your system since these files were written.  If you have rebooted, then Nouveau may be enabled for other reasons, such as being included in the system initial ramdisk or in y
our X configuration file.  Please consult the NVIDIA driver README and your Linux distribution's documentation for details on how to correctly disable the Nouveau kernel driver.
-> For some distributions, Nouveau can be disabled by adding a file in the modprobe configuration directory.  Would you like nvidia-installer to attempt to create this modprobe f
ile for you? (Answer: Yes)
-> One or more modprobe configuration files to disable Nouveau have been written.  For some distributions, this may be sufficient to disable Nouveau; other distributions may requ
ire modification of the initial ramdisk.  Please reboot your system and attempt NVIDIA driver installation again.  Note if you later wish to reenable Nouveau, you will need to de
lete these files: /etc/modprobe.d/nvidia-installer-disable-nouveau.conf
-> Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later. (Answer: Yes
)
-> Installing both new and classic TLS OpenGL libraries.
-> Installing both new and classic TLS 32bit OpenGL libraries.
-> Install NVIDIA's 32-bit compatibility libraries? (Answer: Yes)
-> Uninstalling the previous installation with /usr/bin/nvidia-uninstall.
-> nvidia-installer will install the libvdpau and libvdpau_trace libraries that were included with this installer package. These libraries are available separately through the li
bvdpau project and will be removed from the NVIDIA Linux driver installer package in the future, so it is recommended that VDPAU users install libvdpau separately, e.g. by using
packages available from their distributions, or by building from the sources available at:

http://people.freedesktop.org/~aplattner/vdpau
-> Searching for conflicting files:
-> done.
-> Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86_64' (352.39):
   executing: '/sbin/ldconfig'...
-> done.
-> Driver file installation is complete.
-> Installing DKMS kernel module:
ERROR: Failed to run `/usr/sbin/dkms build -m nvidia -v 352.39 -k 3.13.0-55-generic`:
Kernel preparation unnecessary for this kernel.  Skipping...                                                                                                    

Building module:                                                                                                                                                
cleaning build area....                                                                                                                                         
make KERNELRELEASE=3.13.0-55-generic module KERNEL_UNAME=3.13.0-55-generic; make -C uvm module KERNEL_UNAME=3.13.0-55-generic KBUILD_EXTMOD=/var/lib/dkms/nvidia/352.39/build/uvm.
...(bad exit status: 2)
ERROR (dkms apport): binary package for nvidia: 352.39 not found                                                                                                
Error! Bad return status for module build on kernel: 3.13.0-55-generic (x86_64)                                                                                 
Consult /var/lib/dkms/nvidia/352.39/build/make.log for more information.                                                                                        
-> error.                                                                                                                                                       
ERROR: Failed to install the kernel module through DKMS. No kernel module was installed; please try installing again without DKMS, or check the DKMS logs for more information.
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README availabl
e on the Linux driver download page at www.nvidia.com.

嗨,我有GTX980TI使用Ubuntu 14.04(我也用GTX970进行了测试)。我不知道为什么,但是从不同的来源安装两次驱动程序是有效的

  • 从下载驱动程序文件,例如“NVIDIA-Linux-x86_64-352.55.run”

  • 首先从存储库安装

  • 运行终端:

    $ sudo apt-get remove nvidia*
    $ sudo add-apt-repository ppa:xorg-edgers/ppa
    $ sudo apt-get update
    $ sudo apt-get install nvidia-current
    
    $ sudo stop lightdm
    $ sudo cd ~/Downloads
    $ sudo chmod +x NVIDIA-Linux-x86_64-352.55.run
    $ sudo ./NVIDIA-Linux-x86_64-352.55.run
    
  • 重新启动。您将发现无法再次登录。登录前,按Ctrl+
    Alt
    +
    F1
    。在命令中输入用户名和密码

  • 停止lightdm并运行NVidia的安装文件:

  • 运行终端:

    $ sudo apt-get remove nvidia*
    $ sudo add-apt-repository ppa:xorg-edgers/ppa
    $ sudo apt-get update
    $ sudo apt-get install nvidia-current
    
    $ sudo stop lightdm
    $ sudo cd ~/Downloads
    $ sudo chmod +x NVIDIA-Linux-x86_64-352.55.run
    $ sudo ./NVIDIA-Linux-x86_64-352.55.run
    

    这里将安装一些文件,最后程序会显示内核错误,但没有问题。重新启动,图形卡将工作。

    嗨,我有GTX 980 Ti,使用Ubuntu 14.04(我也用GTX 970进行了测试)。我不知道为什么,但是从不同的来源安装两次驱动程序是有效的

  • 从下载驱动程序文件,例如“NVIDIA-Linux-x86_64-352.55.run”

  • 首先从存储库安装

  • 运行终端:

    $ sudo apt-get remove nvidia*
    $ sudo add-apt-repository ppa:xorg-edgers/ppa
    $ sudo apt-get update
    $ sudo apt-get install nvidia-current
    
    $ sudo stop lightdm
    $ sudo cd ~/Downloads
    $ sudo chmod +x NVIDIA-Linux-x86_64-352.55.run
    $ sudo ./NVIDIA-Linux-x86_64-352.55.run
    
  • 重新启动。您将发现无法再次登录。登录前,按Ctrl+
    Alt
    +
    F1
    。在命令中输入用户名和密码

  • 停止lightdm并运行NVidia的安装文件:

  • 运行终端:

    $ sudo apt-get remove nvidia*
    $ sudo add-apt-repository ppa:xorg-edgers/ppa
    $ sudo apt-get update
    $ sudo apt-get install nvidia-current
    
    $ sudo stop lightdm
    $ sudo cd ~/Downloads
    $ sudo chmod +x NVIDIA-Linux-x86_64-352.55.run
    $ sudo ./NVIDIA-Linux-x86_64-352.55.run
    

    这里将安装一些文件,最后程序会显示内核错误,但没有问题。重新启动,图形卡将工作。

    对于使用Ubuntu 17.04的用户:如果sudo stop lightdm不工作。试试sudo服务lightdm stopThis,驱动程序下载和运行对我有用。感谢使用Ubuntu17.04的用户:如果sudo stop lightdm无法工作。试试sudo服务lightdm stopThis,驱动程序下载和运行对我有用。谢谢