Install NVIDIA Drivers in RHEL/CentOS/Fedora and Debian/Ubuntu/Linux Mint

Avishek Kumar

I am a major in computer science, love to research nix. I love to write codes and scripts, review distros, experiment Foss Technologies, write technical articles, Hack, of course Ethically. I am working as System Administrator (nix) for a NGO.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Ubuntu Linux Toolbox: 1000+ Commands

You may also like...

51 Responses

  1. Cicero says:

    Thank you, man! Your tutorial is very good and helped me a lot.

  2. Arash Tarafar says:

    I followed the guide to the point which I generate the X configuration file:

    Me: X -configure
    Linux: Number of created screens does not match number of detected devices.

    Looks like its a famous error – maybe because I have Nvidia Optimus selection locked in boot?!
    What do you think is the problem? Do you know any solutions?

    Thanks for the reply in advance!

  3. Arash Tarafar says:

    Hi!

    Most people say don’t disable Nouveau driver after installing Nvidia or the X-interface won’t come up.

    I haven’t tried this method yet (I have Bumblebee installed, but want to completely disable the Intel GPU)…

    Do you recommend it to me?

  4. Paul says:

    Hi
    Fedora 20 X64 with Fedora tools, i tried to install the development tools but there are no sources to install them. wtf?

    • Arash Tarafar says:

      You have to add the repositories.

      You can:

      Search the internet for say Java Development Tools and from the tutorials execute only the lines that add the repos.

      OR

      Install Yumex (Yum Extender – Has a GUI) and in Yumex check “Development Tools” and apply the changes.

  5. Slava says:

    Need some assist from you please. I’ve done all the steps, but when i start nvidia x server settings this pops up: “You do not appear to be using the NVIDIA X driver”. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server” . If i start nvidia-xconfig it creates config file but system never boots up saying “fatal error no screens found”. My laptop is lenovo y580 hd4000 + gtx660m + debian wheezy 7.6.0 , maybe this is due to the optimus? But in ubuntu 14.04 in additional drivers it installs and works out of the box. What could be the problem? Please, advise.

    • Slava says:

      “Debian 7.5 lenovo y580 nvidia optimus. I didn’t everthing as it is said and the system desn’t see nvidia it log in with gnome classic. I got an error while runing this command X -cinfigure. At the end it said “number of created screens does not match numer of detected devices. Configuration faild.” Any ideas? The second day I’m trying to install nvidia graphic card and nothing works (tried with bumblebee without success).”

      Same story! I can not understand, if this problem due to optimus, why everything works in ubuntu with proprietary driver as a result it’s possible to choose between intel and nvidia graphics without any optimus, but in debian it it said “Configuration

      As the nvidia driver is not autodetected by Xorg, a configuration file is required to be supplied. For example:

      /etc/X11/xorg.conf.d/20-nvidia.conf

      Section “Device”
      Identifier “My GPU”
      Driver “nvidia”
      EndSection

      Please note that this configuration will break Xorg on Optimus systems. For such hardware, see Bumblebee instead.”

  6. Ichad says:

    Hellooo .. how to install nvidia geforce gt 635m on oracle linux ? my laptop asus k55v, im a noob in linux .. could you guys help me ? pls

  7. LT says:

    Debian 7.5 lenovo y580 nvidia optimus. I didn’t everthing as it is said and the system desn’t see nvidia it log in with gnome classic. I got an error while runing this command X -cinfigure. At the end it said “number of created screens does not match numer of detected devices. Configuration faild.” Any ideas? The second day I’m trying to install nvidia graphic card and nothing works (tried with bumblebee without success).

  8. Wille says:

    It works, thanks! Few tips on RHEL 6.5 & Lenovo W520 (NVIDIA GF108GLM Quadro 1000M):
    – On BIOS set video mode to Discrete
    – Add kernel parameter noapic to prevent hang on boot when video mode is set to Discrete

  9. Lee says:

    Hi,

    Thankyou for writing this guide. I am new to Linux and I also folowed an other guide of you to install Mint the Dual Boot way.

    I followed every step, but I used service stop mdm. There was no gdm3. Now I can only run Mint in this safe mode.

    Is there any change I can change it back?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Join Over 75000+ Linux Users
  1. 51334
  2. 2657
  3. 16705

Enter your email to get latest Linux Howto's