HOWTO: Install Nvidia Drivers in Ubuntu (or possibly any other linux distro)

Discussion in 'Linux & BSD' started by lancer, Aug 21, 2006.

  1. lancer

    lancer There is no answer! Political User Folding Team

    Messages:
    3,093
    Location:
    FL, USA
    This is copied directly from the cornell linux site... it was so helpful that i think i should paste is here, it took me 2 weeks to finally get the nvidia driver to work... after many useless instructions from so called experts... this eventually worked AND it was nowhere near as complex as the other instructions


    Note that installing the nVidia driver will automatically fix some screen resolution problems.

    http://www.cs.cornell.edu/~djm/ubuntu/#restart-gdm (this page also has many other useful tips).
    1. Install the driver (only if you have an nVidia grapics card): sudo apt-get install nvidia-glx
    2. Enable the driver: sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup.nvidiasudo nvidia-glx-config enableIf there was an error message, you might have to enable the driver manually as follows: sudo gedit /etc/X11/xorg.confReplace: Section "Device" ... Driver "nv" ...EndSectionwith: Section "Device" ... Driver "nvidia" ...EndSection
    3. (optional) Create a desktop entry for nVidia Settings (accessed via the "Applications / System / nVidia Settings" menu): sudo gedit /usr/share/applications/nvidia-settings.desktopAdd the following to the blank file: [Desktop Entry]Name=NVIDIA SettingsComment=nVidia SettingsExec=nvidia-settingsIcon=Terminal=falseType=ApplicationCategories=Application;System;
    4. (optional) Disable the nVidia splash screen: sudo gedit /etc/X11/xorg.confChange: Section "Device" Identifier "NVIDIA Corporation ..." ...EndSectionto: Section "Device" Identifier "NVIDIA Corporation ..." ... Option "NoLogo"EndSection
    5. (optional) Restart Gnome Desktop Manager for these settings to take effect.
     
    tdinc likes this.
  2. ElementalDragon

    ElementalDragon The One and Only

    Messages:
    3,159
    Location:
    Lehighton, PA
    this might be helpful for me if i could actually install Ubuntu. this is the second version i tried to install that i couldn't. the first time i tried to install it with a much older build (and quite a while ago at that), it would boot into the installer, but wouldn't detect my optical drives (figure that one out). now, i tried installing the latest Ubuntu build (think it was the x64 version), it boots, i choose to install, it shows a sort of Ubuntu loading screen, and just sits there.
     
  3. lancer

    lancer There is no answer! Political User Folding Team

    Messages:
    3,093
    Location:
    FL, USA
    wow, i have never had a lick of problems installing ubuntu, just that one driver and i only had to install that to get the 3d effects for my screensavers, otherwise the actual driver was detected but only or 2d images...

    i'm using the 32bit version. but so far ubuntu is just blowing me away, plus it is so fun to try and figure this stuff out.
     
  4. Mainframeguy

    Mainframeguy Debiant by way of Ubuntu Folding Team

    Messages:
    3,763
    Location:
    London, UK
    ED - are you using the 64 bit for any reason? I suspect that was your mistake, take a dapper 32-bit.... if that gives you any problems at all with install I would reconsider whether Linux is for you - personally....
     
  5. ElementalDragon

    ElementalDragon The One and Only

    Messages:
    3,159
    Location:
    Lehighton, PA
    well..... picked 64 bit cause i've had a 64-bit processor for almost a year now, and haven't used a 64-bit OS.
     
  6. Mainframeguy

    Mainframeguy Debiant by way of Ubuntu Folding Team

    Messages:
    3,763
    Location:
    London, UK
    OK - so, now, you are using a 64 bit OS? Because if Ubuntu didn't go on 64 bit I'm confused.... If it was just for kicks I think you may get more kicks with an OS that installs :p And I think Ubuntu regular will do that, let us know maybe?
     
  7. lancer

    lancer There is no answer! Political User Folding Team

    Messages:
    3,093
    Location:
    FL, USA
    is it bad to have the folding program run your cpu at 100% continually?
     
  8. tdinc

    tdinc █▄█ ▀█▄ █ Political User

    Messages:
    3,507
    Location:
    Sterling Heights, MICHIGAN
    Nice post lancer :) Hopefully the next major build will incorporate a better choice of drivers. screen res. was my only issue with a build install. (dapper)
     
  9. ElementalDragon

    ElementalDragon The One and Only

    Messages:
    3,159
    Location:
    Lehighton, PA
    mainframeguy: nope..... right now using XP, the x86 version, have a second hard drive with a backup partition, and another partition on that hard drive separated for HOPEFULLY a bit of Linux play. i tried to install the 64-bit version of Ubuntu quite recently, it gave me the menu to choose to install and stuff, so i chose to install it, it went to this screen that showed the Ubuntu logo with i think a progress bar at the bottom, and stopped. don't remember even hearing any HD activity.

    just downloaded the x86 version of Ubuntu.... only took an hour (gotta love torrents). probably install that either now, or later tonight.
     
  10. Mainframeguy

    Mainframeguy Debiant by way of Ubuntu Folding Team

    Messages:
    3,763
    Location:
    London, UK
    it'll fly - welcome to Linux, enjoy...

    are you running an Nvidia card BTW? :p
     
  11. ElementalDragon

    ElementalDragon The One and Only

    Messages:
    3,159
    Location:
    Lehighton, PA
    *points to signature*....

    and...... nope, not even the x86 version of Ubuntu would install..... *sigh*. put the disc in, it booted to the disc, i chose option 1 (boot or install from the disc), but had to use the "noapic" modifier to do so. it started doing stuff, and i had to step out for a few minutes. came back, and all that was on my monitor was the usually blinking underscore mark...... but wasn't blinking.
     
  12. tdinc

    tdinc █▄█ ▀█▄ █ Political User

    Messages:
    3,507
    Location:
    Sterling Heights, MICHIGAN
    Hey dragon, are you able to at least boot off and test off the disc?..i.e live CD
     
  13. ElementalDragon

    ElementalDragon The One and Only

    Messages:
    3,159
    Location:
    Lehighton, PA
    ....by the looks of it, since i wasn't able to do anything upon returning to my computer.... i'm kinda guessing not. maybe they still don't have any support for NForce 500 series boards in the latest build?
     
  14. Mainframeguy

    Mainframeguy Debiant by way of Ubuntu Folding Team

    Messages:
    3,763
    Location:
    London, UK
    HMMMmmmm that's some pointless pointing!

    You should make/link to (I recall you already made it, but maybe that was for the x64 Ubuntu?) a thread for help to resolve this.... if it is indeed Nvidia card you should be good to go - I am also with my ATI... you really need to be installing verbose if troubleshooting...
     
  15. ElementalDragon

    ElementalDragon The One and Only

    Messages:
    3,159
    Location:
    Lehighton, PA
    how was it pointless pointing? it says right under the picture in my signature:
     
  16. Mainframeguy

    Mainframeguy Debiant by way of Ubuntu Folding Team

    Messages:
    3,763
    Location:
    London, UK
    oh no it doesn't it is chopped by Vb since the forum updates went in - least it is for me. So that GeForce is Nvidia chipset right? Better be to be on this thread and my memory is that GeForce are exclusively Nvidia, right? [edit[ ah the 2x thinger may well be causing Ubuntu to stall, exotic GFX are one of the Linux stumbling blocks occasionally - do check out www.justlinux.org - they can probably get you going if you want them to... channel on freenode too if you IRC
     
  17. ElementalDragon

    ElementalDragon The One and Only

    Messages:
    3,159
    Location:
    Lehighton, PA
    k. guess i'll check it out later. 4:15AM now..... should be gettin to bed. lol.
     
  18. ElementalDragon

    ElementalDragon The One and Only

    Messages:
    3,159
    Location:
    Lehighton, PA
    just tried to install again. apparently it just doesn't want to boot to the Live CD. is there any way to install Ubuntu without booting to it? like a different option i can add to the command, something like the "noapic" option i have to add to even get as far as i can with booting to the CD?

    it comes up with the menu, i press f6 for more options. i add "noapic" to the command line, press enter. it comes to the Ubuntu loading screen, where it loads the Live CD users and stuff like that, all that stuff get's loaded, goes to the black screen with the white blinking cursor in the far top left corner, and after a couple seconds, the cursor stops blinking, and eventually the CD-ROM drive spins down.
     
  19. lancer

    lancer There is no answer! Political User Folding Team

    Messages:
    3,093
    Location:
    FL, USA
    why are you even using the noapic command, have you tried booting without it?
     
  20. ElementalDragon

    ElementalDragon The One and Only

    Messages:
    3,159
    Location:
    Lehighton, PA
    yeah. think it fails to load the kernel without it.