Ubuntu14.04 Installing the Titan x graphics driver B

Source: Internet
Author: User

Now deep learning so fire, long ago want to learn, recently the lab bought a block of Titan X graphics card, but now the wood has to buy the corresponding server, a disk of the desktop with this video card, and the laboratory configuration of the desktop is quite old, the configuration has not been up to date, installed also run.

But the laboratory has too industrial computer, configuration can be, i7-3770t processor, so thinking about the video card installed on this machine, of course, the power adapter is also not moving, so deliberately bought a 1000w power, plug in the graphics card can finally be driven.

OK, put on the Ubuntu14.04, and then refer to a tutorial on the Web to install the Nvidia official website download driver, run a demo online, with the GPU can run ....

But... The tragedy is that this industrial computer does not know what is going on, as long as the power outage and restart the time, will appear unable to enter the system (the start selection interface, click into the crash restart, repeatedly), began to think that the BIOS setup problem, changed some settings, found that really useful (although later proved to be the illusion), really went in, Directly from the Ubuntu Click Restart, start up without any problems, but turn off the power on the next day and constantly restart, change to the BIOS occasionally can go into the system, but to modify the BIOS successful login to render random phenomenon, not set to a certain state can be, but to change the occasional can login ...

And even if you want to reload when there is a crash reboot, restart after the installation interface appears

Today a one by luck login success, think of is not a video card driver installation a bit of a problem, so ready to reload again, follow this tutorial again loaded again:

From:http://askubuntu.com/questions/451221/ubuntu-14-04-install-nvidia-driver

You can download the driver for your video card for Ubuntu 64bit from here. Assuming that is using Ubuntu 64bit now. If you installed Ubuntu A, there is 331 version of the same driver for Ubuntu 32bit. Save your driver somewhere where can easily access it, like your user home directory or inside a newly created NVi Dia directory in your user home directory.

To is able to the install your Nvidia driver you had to remove your previous video driver with the This code in a terminal window :

    sudo apt-get remove nvidia* && sudo apt-get autoremove

Here I add one more step: sudo apt-get--purge remove xserver-xorg-video-nouveau-lts-utopic

(Refer to Https://help.ubuntu.com/community/BinaryDriverHowto/Nvidia, but the article is unloading Xserver-xorg-video-nouveau, I only have the above bag on the machine)

After your finish with this one, you should also blacklist the Nouveau driver by editing this file with either:

    gksudo gedit /etc/modprobe.d/blacklist-nouveau.conf

Or

    sudo nano /etc/modprobe.d/blacklist-nouveau.conf

... and add these lines at the end:

    blacklist nouveau    blacklist lbm-nouveau    options nouveau modeset=0    alias nouveau off    alias lbm-nouveau off

If, by any chance, there are no blacklist-nouveau.conf present in/etc/modprobe.d/, you can save your file as Blacklist-nouveau.conf when prompted.

And you can also disable the Kernel Nouveau by typing these lines in a terminal window:

    echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nouveau-kms.conf

And after that

    update-initramfs -u

Now you can reboot your computer, and if you get to the login prompt, press CTRL+ALT+F1 to exit to the terminal console. Login with your username and password.

Go to the directory where your saved your NVIDIA driver using the command CD in the terminal console. Eg. CD nvidia Considering that is already in your user home directory after login. You can use the command dir to is able to see your exact driver ' s name.

To stop your display manager or the X server, you can type in the console this code:

   sudo stop lightdm   or   sudo lightdm stop

If you is not using LIGHTDM as your The default display manager (DM), replace LIGHTDM with your default display mana GER, which can be either KDM or GDM or whatever your display manager is.

You should get a message in the terminal console saying-LIGHTDM stopped/waiting

And now your can finally install the Nvidia driver using a code similar to this one:

  sudo sh NVIDIA-Linux-x86_64.....run    (for Ubuntu 64bit)  

Or

  sudo sh NVIDIA-Linux-x86.....run    (for Ubuntu 32bit)

If you don't type the exact name of the driver, you'll get this message: nvidia-linux ... could not be found and Y OU should type again the code for installing the driver.

Nvidia Installer automatically installs the driver, and at the end it'll ask you whether your want to save your new X con Figuration. Press Yes. After reboot and getting to your desktop and changing your NVIDIA settings as you should open a terminal window and type in this code:

  sudo nvidia-xconfig

To save your new nvidia configuration in/etc/x11/xorg.conf.

Note

Might need to install some extra software packages if Nvidia installer gives a error and prompts for missing Dependen Cies

    sudo apt-get install dkms fakeroot build-essential linux-headers-generic

Need to install all these missing packages only if Nvidia-installer can ' t does the job by itself.

It can happen that after reboot your system shows a black screen or enters the low graphics mode. To fix the should exit again to the console terminal, login with your username and password, and use the code provide D above sudo nvidia-xconfig and also make use of the following tutorial. It is meant to fix the greeter assuming that they haven ' t fixed this bug in Ubuntu 14.04.

The results seem to be really useful, so far, the power-off restarts are successfully logged in.

So record this video card installation tutorial.

One of the problems is the root/corrupt hints that appear when a reboot step is in the middle, but after the prompt fix everything is OK

Ubuntu14.04 Installing the Titan x graphics driver B

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.