Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: HOW-TO: Nvidia's Latest and Greatest drivers in 10.10

  1. #1
    Join Date
    May 2010
    Location
    Where God goes to rest:AL
    Beans
    574
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    HOW-TO: Nvidia's Latest and Greatest drivers in 10.10

    NOTE: In the following post, I substitute '<USER>' for my username. Use whatever you need to.

    Do you have Ubuntu 10.10, with a Nvidia videocard, and want to install the latest drivers from Nvidia?

    Maybe you have a shiny new 400 series Nvidia card in SLI. Or you need the latest features from Nvidia. Or a game you play is just too slow, and a driver update might fix it.

    You look around, and find a solution, but...You're FRUSTRATED because the method you used for the drivers from Nvidia's website either results in:
    • Low-graphics mode
    • No X server at all (Just dumps you to a command line)
    • Won't install because the Nouveau drivers are in the way, and Nvidia's installer fails?


    I was in the same boat earlier, but I figured out a rather simple way to fix these common issues.

    Let me give you some background.

    Myself

    I started using Linux a LONG time ago. My first distro was Slackware 3.1. And I still use Slackware 13.1, almost 10+ years later.

    I found I needed to figure out how to get 3d acceleration working on videocards/chips, and found that there were a TON of posts/forums/ideas, but they were spread all over the internet.

    After alot of research, I put together this post on another forum. So far, it has over 220,000 hits, and over 770 replies (as of October 30, 2010). I guess others are/were in the same boat as me, and appreciated the info in one spot.

    The Other issues

    I love Ubuntu. The ease of use right out of the box is amazing, and the ease of use after is mind-blowing.

    However, with release 10.10, Ubuntu includes the Nouveau driver, which is fine for 2d, and some stuff. The Nvidia driver from their website can't remove this module, and the install fails. But if you want REAL 3d for gaming, etc, you gotta go with the Nvidia proprietary driver.

    Ubuntu makes installing this VERY easy, using System > Administration > Additional Drivers, and choose the 'current' driver. You reboot, and you have a Nvidia driver installed.

    HOWEVER, it's not the latest and greatest from Nvidia. If you have a newer Nvidia card, or just want the latest driver, it's in the 180 series right now (I think). And the latest from Nvidia is 260.19.12 (As of date of this post).

    Trying to install this driver in 10.10, unfortunately, usually results in...Well, NOTHING. No X, no GUI, just a command propt blinking at you. Or, it won't install at all because it chokes on the Nouveau driver.

    Solution

    A few prerequisites:

    • Have only one video type card in your system. A SLI setup is fine, but no Video Capture cards or Tuners. Really. It will foul things up BAD. Reinstall those later
    • Get the latest Nvidia driver from www.nvidia.com. Go to the drivers section, and fill out the drop-down boxes. It will download the *run file you need.
    • Remember where this file was saved. Mine, for example, is saved in /home/<USER>/Downloads

    Up to this point, there have been NO changes to your system All is as is was. After this, though, it WILL change. If you have issues, look for appropriate sction near end of post : Restoring the system to pre-existing state

    Now, for the fun part:
    • Install the Ubuntu Nvidia Driver. Really. It helps. And reboot when done.
    • Next, open a terminal, and type:
      Code:
      sudo cp /etc/X11/xorg.conf /etc/X11/xorg.compiz

    Okay? If you've done all that, now it's into the murky world of you NOT having a pretty GUI to look at for a little bit. Why? Because of Nouveau.

    You might want to either print out the rest of these instructions, or memorize them, or have another computer with this how-to on it, because you can't read them if you don't have the browser up.
    • Reboot the computer, and at the grub screen, select 'Repair Mode' for your kernel (If no grub menu, hold the 'space' bar after the Bios Screen. If it boots to Ubuntu GUI, you have to reinstall the Ubuntu Nvidia drivers, the uninstall them again, and try to get to repair)
    • In the select box, choose "root user session"
    • When the prompt comes up, type
      Code:
      cd /home/<USER>/Downloads
      or wherever you saved the *run file to
    • Type
      Code:
      sh NV*run
    • There are many ways this can go from here. If it says "answer 'no' will continue install" then answer 'no'. Otherwise, always select 'yes'
    • Make sure you select 'yes' if you are using a 64bit driver and 64bit Ubuntu when it asks if you want to install the 32bit compatibility libraries.
    • Answer 'Yes' for the xorg.conf question
    • Type
      Code:
      mv /etc/X11/xorg.conf /etc/X11/xorg.Nvidia
      cp /etc/X11/xorg.compiz /etc/X11/xorg.conf

    Now, reboot, and all should be fine.

    You may ask "Why the root prompt"? Because if you allow 'normal boot', the kernel will load the Nouveau driver/module, and you can't install the Nvidia driver.

    REMEMBER: YOU MAY HAVE TO REINSTALL THE DRIVER AFTER A KERNEL UPDATE. Just boot to the root user prompt, and rerun the installer. But THIS time, choose 'No' for the xorg.conf setup.

    Restoring the system to pre-existing state

    If the above fails for whatever reason, get back to the root command prompt, cd to the directory you downloaded the *run file to, and type
    Code:
    sh *.run --uninstall
    Reboot, and it should get you to a GUI. Low-graphics mode, maybe, but you can always install the Ubuntu Nvidia Drivers from Additional Hardware.

    If you have any questions or issues, please feel free to ask. I check these forums all the time.
    Running wine/WoW on a AMD Athlon 64 X2 5200+(2.6GHz)w/4GB DDRII(667) and a NV9600GSO w/768MB DDRIII.

  2. #2
    Join Date
    Jan 2006
    Location
    Australia
    Beans
    475
    Distro
    Lubuntu 13.04 Raring Ringtail

    Re: HOW-TO: Nvidia's Latest and Greatest drivers in 10.10

    Hello,

    I was having some issues with the latest driver from the nvidia website on my GTX470. I think(?) it's because nVidia deprecated openGL support or something because whenever I would try and run a wine game it would give me grief about direct3d9 or something..

    So I installed the latest (260.19 I think?) nVidia drivers supplied by Ubuntu on Maverick abd it worked fine from that point on.

  3. #3
    Join Date
    May 2010
    Location
    Where God goes to rest:AL
    Beans
    574
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: HOW-TO: Nvidia's Latest and Greatest drivers in 10.10

    Maybe I should add this to the main thread:

    On Nvidia's site (under Information when you select the driver), it states that soon it will NOT be shipping opengl, or other things (cuda, etc)with their drivers.

    I'm not sure if Ubuntu 10.10 has a separate package for it...There IS a nvidia-glx-185, but not sure how that fits in...

    However, after doing the steps I outlined above in post #1, and double-checking with glxinfo, I have opengl enabled and running.

    Code:
    ~$ glxinfo
    name of display: :0.0
    display: :0  screen: 0
    direct rendering: Yes
    server glx vendor string: NVIDIA Corporation
    server glx version string: 1.4
    server glx extensions:
        GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig, 
        GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control, 
        GLX_EXT_swap_control, GLX_EXT_texture_from_pixmap, GLX_ARB_create_context, 
        GLX_ARB_create_context_profile, GLX_EXT_create_context_es2_profile, 
        GLX_ARB_create_context_robustness, GLX_ARB_multisample, 
        GLX_NV_float_buffer, GLX_ARB_fbconfig_float, GLX_EXT_framebuffer_sRGB
    client glx vendor string: NVIDIA Corporation
    client glx version string: 1.4
    client glx extensions:
    
    *Tons more text*
    So, I don't know what issue you are talking about. opengl is good.

    Having D3D issues in wine is a WHOLE 'nother matter. Ask/search the wine forum.

    (BTW, WoW uses opengl in wine, and for me, runs faster/smoother than Win7)

    Try to install the way I outlined.
    Last edited by cwwilson721; October 31st, 2010 at 07:58 AM.
    Running wine/WoW on a AMD Athlon 64 X2 5200+(2.6GHz)w/4GB DDRII(667) and a NV9600GSO w/768MB DDRIII.

  4. #4
    Join Date
    Nov 2007
    Location
    Omak, WA
    Beans
    188
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOW-TO: Nvidia's Latest and Greatest drivers in 10.10

    I usually install the restricted drivers from Ubuntu, and afterwards just do it through a PPA.

    Code:
    sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
    sudo apt-get update
    sudo apt-get install nvidia-current nvidia-settings
    Works like a champ every time.....260.19.12 in a flash.....LOL
    Last edited by Lvcoyote; October 31st, 2010 at 05:00 PM.
    eVGA X58 Classified E759, i7 920, G.Skill Perfect Storm DDR3 2000 3X2gb, 2X eVGA GTX260 SSC SLI, Lian-LI PC75B, Corsair TX850W, 2X WD Black 640gb Raid0 Win7, Seagate 320gb Linux Mint 9, LG GH22LS30 DVDRW

  5. #5
    Join Date
    May 2010
    Location
    Where God goes to rest:AL
    Beans
    574
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: HOW-TO: Nvidia's Latest and Greatest drivers in 10.10

    Nice to know how to install second-tier packages that are ALMOST Nvidia's latest and greatest. They are NOT 'Nvidia's Latest and Greatest' because the packagers have to wait for Nvidia to put out the drivers, and then package them. Since they are packaged by a third-party, it does not fit into this how-to.

    I, for one, will not install these packages, because I DON'T KNOW THE MAINTAINERS. I do, however, know Nvidia.

    But it IS a nice shortcut, for those who wish to do this.
    Running wine/WoW on a AMD Athlon 64 X2 5200+(2.6GHz)w/4GB DDRII(667) and a NV9600GSO w/768MB DDRIII.

  6. #6
    Join Date
    Nov 2007
    Location
    Omak, WA
    Beans
    188
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOW-TO: Nvidia's Latest and Greatest drivers in 10.10

    I agree with the trust issue, but in this particular case it does work very well. As does your method
    eVGA X58 Classified E759, i7 920, G.Skill Perfect Storm DDR3 2000 3X2gb, 2X eVGA GTX260 SSC SLI, Lian-LI PC75B, Corsair TX850W, 2X WD Black 640gb Raid0 Win7, Seagate 320gb Linux Mint 9, LG GH22LS30 DVDRW

  7. #7
    Join Date
    Sep 2008
    Location
    Philippines
    Beans
    78
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: HOW-TO: Nvidia's Latest and Greatest drivers in 10.10

    Quote Originally Posted by Lvcoyote View Post
    I usually install the restricted drivers from Ubuntu, and afterwards just do it through a PPA.

    Code:
    sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
    sudo apt-get update
    sudo apt-get install nvidia-current nvidia-settings
    Works like a champ every time.....260.19.12 in a flash.....LOL
    Hi, I have an ASUS K42JC laptop with Geforce 310M Cuda 1gb graphics and 4gb of RAM. I run on Ububtu 10.10 64-bit.

    I was wondering if this "sudoing" of repositories is a failsafe method. I'm really frustrated with the Nvidia drivers as this is my 5th install of the OS in 2 weeks. I just cannot get it right.

    Also, will the 1st post be effective too?

    I'm barely a 3 year old Ubuntu user and am quite happy but with this release I am so frustrated and thinking of switching to Win7.

    Hope you could help me or at least assure me that these steps specially the PPA thingie would work. I've Googled too much already and am just desperate.

    Although I could survive, what I really want to do is play Regnum Online. Without the drivers I'm helpless. I've tried installing Regnum under Wine but some error prevents me from playing too.

    Thanks.
    Last edited by spike_naples; November 20th, 2010 at 01:27 PM. Reason: Edited typos.

  8. #8
    Join Date
    Nov 2007
    Location
    Omak, WA
    Beans
    188
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOW-TO: Nvidia's Latest and Greatest drivers in 10.10

    I've used this method a few times now, worked every time for me so far. I just used it again yesterday to get the new 260.19.21 drivers as well. You should probably go to Nvidias's web site and look at the Readme for these drivers and make sure they support the graphics platform in your laptop before attempting to install.
    eVGA X58 Classified E759, i7 920, G.Skill Perfect Storm DDR3 2000 3X2gb, 2X eVGA GTX260 SSC SLI, Lian-LI PC75B, Corsair TX850W, 2X WD Black 640gb Raid0 Win7, Seagate 320gb Linux Mint 9, LG GH22LS30 DVDRW

  9. #9
    Join Date
    Sep 2008
    Location
    Philippines
    Beans
    78
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: HOW-TO: Nvidia's Latest and Greatest drivers in 10.10

    Quote Originally Posted by Lvcoyote View Post
    I've used this method a few times now, worked every time for me so far. I just used it again yesterday to get the new 260.19.21 drivers as well. You should probably go to Nvidias's web site and look at the Readme for these drivers and make sure they support the graphics platform in your laptop before attempting to install.
    Thanks Coyote. Forgive me for my hesitance and ignorance here too but I have a couple more questions:

    1. So I just type those into a terminal and let it take its course?
    2. No more terminal screens or printing out of instructions?

    If so or anything further, I feel I can be comfortable with what you're saying here.

    I'm just really scared 'cause I got my Ubuntu 10.10 set up the way I want again and it took me alot of pains to get here.

  10. #10
    Join Date
    May 2010
    Location
    Where God goes to rest:AL
    Beans
    574
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: HOW-TO: Nvidia's Latest and Greatest drivers in 10.10

    The 1st post is the way the rest of the Linux World installs Nvidia drivers.

    The repo method, tho it works, is NOT the topic of conversation here.

    I can install the Nvidia drivers into Windows without the same effort, but this thread is NOT about "How to Install Nvidia's Drivers in Windows", nor is it entitled "How-to install Nvidia's Drivers using repos"

    Please, STOP POSTING ABOUT REPOS YOU USE

    This is a HOW-TO on Installing the Nvidia Drivers from Nvidia, not from repos

    Thank You
    Running wine/WoW on a AMD Athlon 64 X2 5200+(2.6GHz)w/4GB DDRII(667) and a NV9600GSO w/768MB DDRIII.

Page 1 of 3 123 LastLast

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
  •