New to Linux...installing nvidia drivers?

HighwayAssassins

Supreme [H]ardness
Joined
Mar 2, 2004
Messages
5,210
Hey, I just downloaded Ubuntu 7.05, and am excited to check out beryl and linux media center...

But before I can do any of that, I have to figure out how to install stuff. I have DLed the proper drivers from nvidia.com and I just cant figure out how to install them. I used the terminal and navigated to the desktop and typed "sh NVIDIA-Linux-x86-1.0-9755-pkg1" and it just doesn't work.

Anyone know how to make this work?
 
sounds like you tried mutiple times to download the file. look for one in your computer without the 1 on the end.

also,. i would google the directions for installing in your version, or previous version of ubuntu. highly likely, the previous version of instructions for ubuntu is still valid to install the current.
 
nope, only downloaded once and I just rechecked the nvidia website, that is the correct name of the file.
 
eeks!!! don't use the nvidia script (unless you really have to and your system is fully geared for it... ie kernel source and all)

Ubuntu's package manager should have the kernel module for it, you will have to enable some of the secondary repositories tho
 
You could also enable Compiz (System -> Preferences -> Desktop Effects). When you click enable, Ubuntu will prompt you to install the restricted nVidia drivers. Once that's done, close anything you have running and press Ctrl-Alt-Backspace. Log back in.

As a warning, since you seem to be using a widescreen monitor, you may have to edit your Xorg.conf manually. If you log back in and a weird resolution's set, open a terminal window and type in

Code:
sudo gedit /etc/X11/xorg.conf

You will have to enter your password. Now in the text editor, go down to the monitor section (I believe). You should see a few resolutions at specific color depths. Go to 24, and add "1680x1050" before the highest resolution.
 
open terminal and type in;

Code:
sudo apt-get install nvidia-glx-new

if you want to install the 9755 drivers or

Code:
sudo apt-get install nvidia-glx

if you want 9631.......

REMEMBER!!!!! this is not windows.... use the built in package manager...

actually if you do it through the restricted modules it will setup your xorg.conf with the AddARGBGLXVisuals options to use compiz or beryl
 
This is very simple in Ubuntu 7.04. Just click "System > Administration > Restricted Driver Manager".

This will ask you to put a simple check mark in the "enable" field for the nVidia drivers and then prompt you for your sudo password (sudo = your username password) and then install the drivers you need. It will then prompt you to restart X (X= GUI Windows Manager ie KDE or Gnome) and then you're done. If you want to make sure it works when you machine comes back up, open a terminal window and type "nvidia-settings" and you'll see your menu config page for nVidia.

You're done!
 
OK, I was able to install the driver, but of course ran into another problem; what do I do now?

cimg0001lu0.jpg

cimg0002qw7.jpg
 
You could post the results of this command:
Code:
gwk@debserv:~$  cat /var/log/Xorg.0.log|grep EE
If you know how to log in remotely/ via the console.
 
Log into your account (press OK until you get to a command prompt, and enter your username and password). Then, type in:
Code:
sudo nano /etc/X11/xorg.conf
And enter your password.

If the Driver key under one of the device sections is "nv", change it to "nvidia". Press Ctrl+O to save, and Ctrl+X to exit nano. When you get back to the command prompt, type in "startx", and the Gnome display manager should come up.
 
I had that same problem in Feisty (7.04).

What happened was that the Kernel was loaded with the 9755 drivers, but X was trying to load 9631, thanks to the way Ubuntu configured itself. That's why X is crashing.

If you scroll down, you'll see where the brackets on the left side of the screen show (EE) - that's where the error is.

To get your graphical console back, you need to go in to the etc/X11/ directory and edit xorg.conf file. You need to change the line that has driver "nvidia" in it to the driver "nv". That will allow X to run, at least.

I'm pretty new at Linux too, but I've hashed through a lot of stuff over the last few months. However, 18 years ago in college I had the vi editor permanently smashed in to my skull, so editing xorg.conf without a graphical console was easy for me...

it'd go


cd /etc/X11
sudo vi xorg.conf
(and then enter your password)

and then arrow down to the line that contains "nvidia", put your cursor over the first i, and hit the x key. The x key is delete. The hit x on the d, i, and a.

Now type (yes, colon w q bang)

:wq!

and that will save and exit. Reboot (sudo shutdown -r now) and X should come up again.

Good luck. Welcome to Linux.

{snickers, yeah, I've been there...}
 
I had that same problem in Feisty (7.04).

What happened was that the Kernel was loaded with the 9755 drivers, but X was trying to load 9631, thanks to the way Ubuntu configured itself. That's why X is crashing.

If you scroll down, you'll see where the brackets on the left side of the screen show (EE) - that's where the error is.

To get your graphical console back, you need to go in to the etc/X11/ directory and edit xorg.conf file. You need to change the line that has driver "nvidia" in it to the driver "nv". That will allow X to run, at least.

I'm pretty new at Linux too, but I've hashed through a lot of stuff over the last few months. However, 18 years ago in college I had the vi editor permanently smashed in to my skull, so editing xorg.conf without a graphical console was easy for me...

it'd go


cd /etc/X11
sudo vi xorg.conf
(and then enter your password)

and then arrow down to the line that contains "nvidia", put your cursor over the first i, and hit the x key. The x key is delete. The hit x on the d, i, and a.

Now type (yes, colon w q bang)

:wq!

and that will save and exit. Reboot (sudo shutdown -r now) and X should come up again.

Good luck. Welcome to Linux.

{snickers, yeah, I've been there...}


Errr.... no!
There are two nvidia drivers

1) the "nv" driver which is open-source and is part of Xorg package. This provides very good 2D performance
2) the "nvidia" driver which is proprietory and closed-source and is released by nVidia themselfs but distrobutions provide a pre-configured kernel-blob for their configured kernel

What you have just done is changed from the nVidia kernel to the Xorg kernel. THIS will get you to your desktop but you will not have any acceleration or the ability to use the 3D desktop.

Yes it is good to use to get to the desktop to then use the GUI-tools to admin your system to get the correct drivers in place. It is NOT the correct fix

also it would of been quicker in vi to use regex to find&replace nvidia for nv

ie open /etc/X11/xorg.conf with vi and in modal mode type

:s/nvidia/nv

that will replace nvidia with nv
 
I'm just trying to get him back to the graphical so he can redo his nvidia binaries. ;) I know about the nv drivers. He will need to go back to Synaptic Package Manager and remove the 9631 drivers and load the 9755s.
 
god damn this is frustrating.

I have gotten the drivers installed through Restricted Drivers. This required a reboot and an edit of xorg.conf. But, when I start the OS again, it says the driver is in use, but I still cant set my res to 1680x1050, and the display is on the wrong screen. I am basically right where I started a week ago...after a clean install. All that work for nothing.

Also, I do want 3D acceleration, I intend to try out Linux Media Center and Beryl.

What is wrong with nVidia's own drivers?
 
ok first relax.... remember this isn't windows...... to simplify things first you should go to through the restricted drivers manger and enable the nvidia drivers, reboot, now the nvidia drivers should be working, if so then great we are half way there. Luckly nvidia also provides use with a nice utility called nvidia-settings, so now open up terminal, applications>accessories>terminal and enter 'nvidia-settings', this will open up a gui application, that will let you tinker with the resolutions and works better then the gnome screen resolution app. hope that helps.

I assure you this works as I am currently typing this out on my brothers dell laptop with a 1680x1050 resolution, though it automagically detected the resolution for me.
 
ok first relax.... remember this isn't windows...... to simplify things first you should go to through the restricted drivers manger and enable the nvidia drivers, reboot, now the nvidia drivers should be working

This is the problem. I have done that, reboot, and I get the screen again. I fix it, reboot and the driver isn't enabled again. I enable it, reboot, get the screen agan...and on and on and on...
 
Theres a program, I think its called envy. It will download, install, configure the proper nvidia drivers. Took 2 tries to get it right for me, but it finally got the shit setup right. Sorry for being vague, Im going off of memory here. I did exactly what you did, nvidia's website, crashed X, etc. Problems like these are why linux is not a mainstrain OS *at the moment*.
 
This is the problem. I have done that, reboot, and I get the screen again. I fix it, reboot and the driver isn't enabled again. I enable it, reboot, get the screen agan...and on and on and on...

ok enable the driver and then post your xorg.conf (/etc/X11/xorg.conf) and let us look at it.

Also I really do not suggest the nivdia install (.sh) when the kernel is updated, you have to re-compile and re-install the driver. Other wise when the kernel is updated you get a lovely blue screen giving you an error and then black screen.
 
Back
Top