• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

How to get NVIDIA drivers installed on Ubuntu?

Yin

Joined
Feb 19, 2006
Messages
540 (0.08/day)
Processor Intel i7 920
Motherboard ASUS RAMPAGE II Extreme
Cooling CM v10
Memory Corsair 3 x 2GB TR3X6G1866C9DF
Video Card(s) Nvidia XFX 8800GT Stock
Storage Seagate ST3500320AS, 2 x Samsung HD103UJ
Display(s) 2408WFP
Case Corsair 800D
Power Supply Corsair HX750W
Hello TPU'ers

I just attempted to install Ubuntu and Nvidia graphics drivers and I am running into a brick wall now.
I got Ubuntu 7.10 installed and just before it starts up it prompts me with a msg saying it can't detect my video card and I have to run it in 800x600.

So I searched around for a guide on how to do so and I came across this one.

http://ubuntuforums.org/showthread.php?p=4119312

I followed the instructions and after the reboot I still get the same msg and I try to install them again but as I run the Nvidia file

sudo sh (driver name)

the screen pops up and goes I've installed the drivers already.

what should I do?

Thanks
 
Joined
Nov 22, 2007
Messages
1,398 (0.23/day)
Location
Hyderabad,India
System Name MSI apache ge62 2qd
Processor intel i7 5700HQ
Memory 12 Gb
Video Card(s) GTX960m
Storage 1TB
Display(s) Dell 24'
press ctrl+alt+F1 or open a terminal.
Then type
Code:
 sudo dpkg-reconfigure xserver-xorg
to get a wizard to set your GUI up. Follow it. At one point it asks which drivers to use. Select it as nvidia. You have do all of this with the keyboard.
 
  • Like
Reactions: Yin

Yin

Joined
Feb 19, 2006
Messages
540 (0.08/day)
Processor Intel i7 920
Motherboard ASUS RAMPAGE II Extreme
Cooling CM v10
Memory Corsair 3 x 2GB TR3X6G1866C9DF
Video Card(s) Nvidia XFX 8800GT Stock
Storage Seagate ST3500320AS, 2 x Samsung HD103UJ
Display(s) 2408WFP
Case Corsair 800D
Power Supply Corsair HX750W
Thanks I've just tried that and I'm gonna reboot see if it works
 

Yin

Joined
Feb 19, 2006
Messages
540 (0.08/day)
Processor Intel i7 920
Motherboard ASUS RAMPAGE II Extreme
Cooling CM v10
Memory Corsair 3 x 2GB TR3X6G1866C9DF
Video Card(s) Nvidia XFX 8800GT Stock
Storage Seagate ST3500320AS, 2 x Samsung HD103UJ
Display(s) 2408WFP
Case Corsair 800D
Power Supply Corsair HX750W
I've just rebooted and I am still stuck on a 800x600 reso.

Just curious about this when I go to
Applications>Systems Tools>Nvidia X Server Settings
a prompt comes up saying
"You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run 'nvidia-xconfig' as root), restart the X server.

So I opened a terminal and typed 'nvidia-xconfig'

Using X configuration file: "/etc/X11/xorg.conf"

ERROR: Unable to write to directory '/etc/X11'.
 
Joined
Nov 22, 2007
Messages
1,398 (0.23/day)
Location
Hyderabad,India
System Name MSI apache ge62 2qd
Processor intel i7 5700HQ
Memory 12 Gb
Video Card(s) GTX960m
Storage 1TB
Display(s) Dell 24'
x11 is owned by the root and only root has permission to write to it.
To login as root restart the computer and while grub starts press esc to get the menu. Select recovery mode. when it starts it asks for username and password.
The usrname is root and password would have been set by you while installing. If you have doubt about the password, go to user management and set the password for root.
After you login (it will be a cui) type that command or start x to start the GUI.

Alternatively(before trying the above method) type
Code:
sudo nvidia-xconfig
remember that sudo is for running a command with root priviliges.
 
  • Like
Reactions: Yin

Yin

Joined
Feb 19, 2006
Messages
540 (0.08/day)
Processor Intel i7 920
Motherboard ASUS RAMPAGE II Extreme
Cooling CM v10
Memory Corsair 3 x 2GB TR3X6G1866C9DF
Video Card(s) Nvidia XFX 8800GT Stock
Storage Seagate ST3500320AS, 2 x Samsung HD103UJ
Display(s) 2408WFP
Case Corsair 800D
Power Supply Corsair HX750W
oh so root is basically an admin user? and sudo is a command for that?

okay I'll try that now
 
Joined
Nov 22, 2007
Messages
1,398 (0.23/day)
Location
Hyderabad,India
System Name MSI apache ge62 2qd
Processor intel i7 5700HQ
Memory 12 Gb
Video Card(s) GTX960m
Storage 1TB
Display(s) Dell 24'
Yup. Root is made so that one doesn't screw up the system. Ubuntu takes it to one step extra where it doesn't allow root and other super powers users to login from the main login screen. Oh and to restart only the x-server(GUI) ctrl+alt+bckspace does it.
 
  • Like
Reactions: Yin

Yin

Joined
Feb 19, 2006
Messages
540 (0.08/day)
Processor Intel i7 920
Motherboard ASUS RAMPAGE II Extreme
Cooling CM v10
Memory Corsair 3 x 2GB TR3X6G1866C9DF
Video Card(s) Nvidia XFX 8800GT Stock
Storage Seagate ST3500320AS, 2 x Samsung HD103UJ
Display(s) 2408WFP
Case Corsair 800D
Power Supply Corsair HX750W
oh I was gonna say it didn't work but I didn't restart it
So back to recovery mode and sudo nvidia-xconfig then ctrl+alt+backspace?

I find this strange when I was installing Ubuntu it was working perfectly on 1280x1024 (live mode) but when I install it, i get this msg saying it can't detect my graphics card and monitor.
 

Yin

Joined
Feb 19, 2006
Messages
540 (0.08/day)
Processor Intel i7 920
Motherboard ASUS RAMPAGE II Extreme
Cooling CM v10
Memory Corsair 3 x 2GB TR3X6G1866C9DF
Video Card(s) Nvidia XFX 8800GT Stock
Storage Seagate ST3500320AS, 2 x Samsung HD103UJ
Display(s) 2408WFP
Case Corsair 800D
Power Supply Corsair HX750W
shrugs still not working, maybe I should start from step 1 again =/
 
Joined
Nov 22, 2007
Messages
1,398 (0.23/day)
Location
Hyderabad,India
System Name MSI apache ge62 2qd
Processor intel i7 5700HQ
Memory 12 Gb
Video Card(s) GTX960m
Storage 1TB
Display(s) Dell 24'
With sudo you don't need recovery mode.
Just open terminal and type sudo nvidia-xconfig
then press ctrl+alt+backspace.
 
  • Like
Reactions: Yin
Joined
Nov 22, 2007
Messages
1,398 (0.23/day)
Location
Hyderabad,India
System Name MSI apache ge62 2qd
Processor intel i7 5700HQ
Memory 12 Gb
Video Card(s) GTX960m
Storage 1TB
Display(s) Dell 24'
$ glxinfo | grep direct

try the above command and tell me the output.
 
  • Like
Reactions: Yin

Yin

Joined
Feb 19, 2006
Messages
540 (0.08/day)
Processor Intel i7 920
Motherboard ASUS RAMPAGE II Extreme
Cooling CM v10
Memory Corsair 3 x 2GB TR3X6G1866C9DF
Video Card(s) Nvidia XFX 8800GT Stock
Storage Seagate ST3500320AS, 2 x Samsung HD103UJ
Display(s) 2408WFP
Case Corsair 800D
Power Supply Corsair HX750W
Joined
Nov 22, 2007
Messages
1,398 (0.23/day)
Location
Hyderabad,India
System Name MSI apache ge62 2qd
Processor intel i7 5700HQ
Memory 12 Gb
Video Card(s) GTX960m
Storage 1TB
Display(s) Dell 24'
Just try restarting once if it still doesn't work try
sudo dpkg-reconfigure xserver-xorg
again.
You have to run the wizard totally. It even asks for your monitor settings.
 
  • Like
Reactions: Yin

Yin

Joined
Feb 19, 2006
Messages
540 (0.08/day)
Processor Intel i7 920
Motherboard ASUS RAMPAGE II Extreme
Cooling CM v10
Memory Corsair 3 x 2GB TR3X6G1866C9DF
Video Card(s) Nvidia XFX 8800GT Stock
Storage Seagate ST3500320AS, 2 x Samsung HD103UJ
Display(s) 2408WFP
Case Corsair 800D
Power Supply Corsair HX750W
after typing
glxinfo | grep direct
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".

that looks like a problem
 
Joined
Nov 22, 2007
Messages
1,398 (0.23/day)
Location
Hyderabad,India
System Name MSI apache ge62 2qd
Processor intel i7 5700HQ
Memory 12 Gb
Video Card(s) GTX960m
Storage 1TB
Display(s) Dell 24'
just run
sudo dpkg-reconfigure xserver-xorg
again and again. You'll get it right(use up and down arrow keys to view previously typed commands in terminal)
 
  • Like
Reactions: Yin

Yin

Joined
Feb 19, 2006
Messages
540 (0.08/day)
Processor Intel i7 920
Motherboard ASUS RAMPAGE II Extreme
Cooling CM v10
Memory Corsair 3 x 2GB TR3X6G1866C9DF
Video Card(s) Nvidia XFX 8800GT Stock
Storage Seagate ST3500320AS, 2 x Samsung HD103UJ
Display(s) 2408WFP
Case Corsair 800D
Power Supply Corsair HX750W
ok i ran it again and it finishes after i choose my colour bit (16 and 24) i picked 24
then i typed
glxinfo | grep direct
same results
 
Joined
Nov 22, 2007
Messages
1,398 (0.23/day)
Location
Hyderabad,India
System Name MSI apache ge62 2qd
Processor intel i7 5700HQ
Memory 12 Gb
Video Card(s) GTX960m
Storage 1TB
Display(s) Dell 24'
did you enable higher resolutions?
 

Yin

Joined
Feb 19, 2006
Messages
540 (0.08/day)
Processor Intel i7 920
Motherboard ASUS RAMPAGE II Extreme
Cooling CM v10
Memory Corsair 3 x 2GB TR3X6G1866C9DF
Video Card(s) Nvidia XFX 8800GT Stock
Storage Seagate ST3500320AS, 2 x Samsung HD103UJ
Display(s) 2408WFP
Case Corsair 800D
Power Supply Corsair HX750W
did you enable higher resolutions?

I think so?
when in the "sudo dpkg-reconfigure xserver-xorg" interface I picked 1280x1024@60hz 24-bit Colour and I picked the Nvidia graphic driver
 
Joined
Nov 22, 2007
Messages
1,398 (0.23/day)
Location
Hyderabad,India
System Name MSI apache ge62 2qd
Processor intel i7 5700HQ
Memory 12 Gb
Video Card(s) GTX960m
Storage 1TB
Display(s) Dell 24'
So did it work after restarting(higher resolution)?
Maybe its better if you try Ubunutu forums.
 

Yin

Joined
Feb 19, 2006
Messages
540 (0.08/day)
Processor Intel i7 920
Motherboard ASUS RAMPAGE II Extreme
Cooling CM v10
Memory Corsair 3 x 2GB TR3X6G1866C9DF
Video Card(s) Nvidia XFX 8800GT Stock
Storage Seagate ST3500320AS, 2 x Samsung HD103UJ
Display(s) 2408WFP
Case Corsair 800D
Power Supply Corsair HX750W
nope I'll go and ask more places, thanks for the help
 
Joined
Nov 22, 2007
Messages
1,398 (0.23/day)
Location
Hyderabad,India
System Name MSI apache ge62 2qd
Processor intel i7 5700HQ
Memory 12 Gb
Video Card(s) GTX960m
Storage 1TB
Display(s) Dell 24'
The thing is I've never used Nvidia are you sure you don't get the option for higher resolution.
Also did you get a message to enable restricted drivers?
 

BXtreme

New Member
Joined
Feb 5, 2007
Messages
1,324 (0.21/day)
Location
Kolkata, India
Processor Intel Core 2 Duo E6400 @ 3.2 ghz|| Core2 T5250
Motherboard Asus P6N Platinum || 965GM
Cooling Air cooling
Memory Kingston 2x1gb DDR2 677mhz || 2x1gb 667mhz
Video Card(s) XFX 8800 GTS 640mb || Geforce 8600GT M
Storage Seagate 500GB Sata || 160gb
Display(s) Samsung 30" HD LCD || 15" lcd (laptop)
Case A not-so-known brand case w/ two fans and some blue lightings
Audio Device(s) Onboard HD
Power Supply Corsair HX620W
Software Mac OS X Leopard, Linux Mint 4.0, and all windoze...geez...
ya, the restricted driver manager allows to download/install those drivers automatically, as on my dell 1520. I connected an external display, and p00f 1440x900@75hz was infront of me. Installing the driver manually may also force the user to do the settings manually, well it might be a different case here, or a corrupted X11 file...there can be many other cases too....
 
Joined
Nov 22, 2007
Messages
1,398 (0.23/day)
Location
Hyderabad,India
System Name MSI apache ge62 2qd
Processor intel i7 5700HQ
Memory 12 Gb
Video Card(s) GTX960m
Storage 1TB
Display(s) Dell 24'
installing manually gives the control panel.
CCC for ati.
 

BXtreme

New Member
Joined
Feb 5, 2007
Messages
1,324 (0.21/day)
Location
Kolkata, India
Processor Intel Core 2 Duo E6400 @ 3.2 ghz|| Core2 T5250
Motherboard Asus P6N Platinum || 965GM
Cooling Air cooling
Memory Kingston 2x1gb DDR2 677mhz || 2x1gb 667mhz
Video Card(s) XFX 8800 GTS 640mb || Geforce 8600GT M
Storage Seagate 500GB Sata || 160gb
Display(s) Samsung 30" HD LCD || 15" lcd (laptop)
Case A not-so-known brand case w/ two fans and some blue lightings
Audio Device(s) Onboard HD
Power Supply Corsair HX620W
Software Mac OS X Leopard, Linux Mint 4.0, and all windoze...geez...
installing manually gives the control panel.
CCC for ati.

too bad i don't use the panel anyway, most ppl who tend to switch to linux for whatever reason other than gaming only look for 'how to change the res to the native on of the monitor', so automated is ieasy for them. so, what options does the cp offer ? esp. in nvidia ? same as windows ?
 

Yin

Joined
Feb 19, 2006
Messages
540 (0.08/day)
Processor Intel i7 920
Motherboard ASUS RAMPAGE II Extreme
Cooling CM v10
Memory Corsair 3 x 2GB TR3X6G1866C9DF
Video Card(s) Nvidia XFX 8800GT Stock
Storage Seagate ST3500320AS, 2 x Samsung HD103UJ
Display(s) 2408WFP
Case Corsair 800D
Power Supply Corsair HX750W
Top