Results 1 to 7 of 7

Thread: Installing NVIDIA dev drivers.

  1. #1
    Join Date
    Oct 2007
    Beans
    40
    Distro
    Ubuntu

    Installing NVIDIA dev drivers.

    Hi all,

    I'm currently trying to install the latest NVIDIA dev drivers (270) but i'm running into problems.

    Basically it installs ok, and then if i restart X everything works until i restart the computer, then i have to install it all over again. There seems to still be references to the old driver after i install the new one.

    Here are the details:
    1. Go to a terminal and make sure gdm is not running.
    2. Run the nvidia installer (devdriver_4.0_linux_64_270.41.19.run) as root. I accept all the options, update xorg.conf etc.
    3. Start X with
      Code:
      sudo service gdm start
    4. Everything seems to be working fine! (CUDA programs run ok)
    5. Restart the system - X fails to start, it goes tty1 (with a bit of a flicker of the screen)
    6. It appears a process called "gdm-binary" is running.
    7. ctrl+alt F7 or F8 result in just a cursor.
    8. Code:
      sudo gdm restart
      gives:
      Code:
      ** (gdm-binary:1578): WARNING **: Failed to acquire org.gnome.DisplayManager
      
      ** (gdm-binary:1578): WARNING **: Could not acquire name; bailing out
      and i'm back to my prompt.
      Code:
      sudo gdm restart
      has the same result.
      So basically, i can't get an X session going.
    9. If i kill gdm-binary, and then run
      Code:
      sudo service gdm start
      the screen flickers and nothing else happens.
    10. BUT if i kill gdm-binary, and then run
      Code:
      sudo startx
      i get a lot of output including:
      Code:
      Error: API mismatch: the NVIDIA kernel module has version 260.19.06,
      but this NVIDIA driver component has version 270.41.19.  Please make 
      sure that the kernel module and all NVIDIA driver components 
      have the same version.
      So it seems like something about the installer isn't really working. I don't really know anything about kernel modules, i'm just going by the fact that it still has a reference to version 260 in there.
    11. At this point, i can repeat it all again (i.e., i can reinstall the driver, and then get into a gdm session, but when i restart it's once again broken.


    Any help would be greatly appreciated!

  2. #2
    Join Date
    Mar 2007
    Location
    Mcminnville, OR
    Beans
    588
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Installing NVIDIA dev drivers.

    Have you updated your kernel after installing the drivers.
    Sometimes after doing the binary install a kernel upgrade will break them.
    I installed the same drivers as you did and they worked fine.
    Based on your post I would say you did everything right.
    It Just Runs Better On Linux

  3. #3
    Join Date
    Oct 2007
    Beans
    40
    Distro
    Ubuntu

    Re: Installing NVIDIA dev drivers.

    Nope, updated to the latest kernel, then installed the drivers (multiple times).

  4. #4
    Join Date
    Dec 2008
    Location
    W-slp-Sierra Nevada usa
    Beans
    1,401
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Installing NVIDIA dev drivers.

    System > Administration > Additional drivers doesn't do that automatically? Excuse if I'm being too simplistic, or missed something here. But that works for me on NVidia machines.
    boot_info_script by meierfra & Gert Hulselmans
    unetbootin to burn liveCD/USB
    Repair Windows7 Boot
    Partitioning

  5. #5
    Join Date
    Oct 2007
    Beans
    40
    Distro
    Ubuntu

    Re: Installing NVIDIA dev drivers.

    Hi Hakunka-Matata,

    If i use that method, then everything works, but i don't have a new enough version of the driver to use CUDA. That gets me version 260 of the driver, and CUDA needs 270.

  6. #6
    Join Date
    Jun 2010
    Location
    Rockport, TX
    Beans
    2,283
    Distro
    Ubuntu Development Release

    Re: Installing NVIDIA dev drivers.

    Haven't tried the smxi script on Ubuntu, should work fine. http://smxi.org/site/install.htm

    It does a great job of cleaning up prior to video driver installations. If you choose current it will pull in 280.13, beta is 285.03. They should both work with CUDA.

  7. #7
    Join Date
    Mar 2011
    Location
    Australia
    Beans
    347
    Distro
    Ubuntu

    Re: Installing NVIDIA dev drivers.

    270 should be in standard repository.
    280 is in unofficial repository:
    Ubuntu-X-Swat PPA

    This PPA is basically only providing updated proprietary Nvidia and ATI/AMD drivers, and since Natty Narwhal in fact restricted to them. If you are using a prop. driver, this PPA is -at least as of now- the best choice, and it also shouldn't break your system or reduce the performance of the used driver.

    To upgrade using this PPA, run these commands in the Terminal:

    sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
    sudo apt-get update
    sudo apt-get upgrade

    If you need/want to remove those PPA and downgrade the concerning packages again, run these:

    sudo apt-get install ppa-purge
    sudo ppa-purge ppa:ubuntu-x-swat/x-updates

    https://launchpad.net/~ubuntu-x-swat/+archive/x-updates
    * Peppermint 2 * AMD Sempron 2600+ * 1 gig ddr-400 ram * nvidia geforce 6200-512mb agp 8x *
    * AOC 24" @ 1920by1200 * 3G mobile broadband * browsers: chromium / opera *

    `Yes that's my dog, his name is mups'

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •