Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 11-22-06, 11:15 AM   #1
CheeseburgerII
Registered User
 
Join Date: Nov 2006
Posts: 1
Default Nvidia Drivers

Hello guys I have just picked up Ubuntu from my friend and wanted to give it a try. I downloaded the Linux drivers off the nVidia site, but I am having the hardest time trying to install them. I was wondering if you guys could walk me through it. When I type in the command

sh NVIDIA-Linux-x86-1.0-9629-pkg1.run command a blue screen comes up, but with an error that says :

"ERROR: You appear to be running an X server; please exit X before
installing. For further details, please see the section INSTALLING
THE NVIDIA DRIVER in the README available on the Linux driver
download page at www.nvidia.com."

I looked at the Readme, but it was to confusing. It's my first time using Linux and my friend is no help to me. I have no clue how to exit the X server and have been searching for a long time. I tried ctrl + alt + F1 - F6 but still no luck. I am using Ubuntu 6.10. Linux Display Drivers Version 1.0-9629.

Thank you guys.
CheeseburgerII is offline   Reply With Quote
Old 11-22-06, 11:32 AM   #2
DanST
Registered User
 
Join Date: Nov 2006
Posts: 4
Default Re: Nvidia Drivers

So... Here what youy should do:

1. Press Alt+Ctrl+F1
2. Enter root login and password.
3. Then print this in command line:
[root@localhost ~]# ps -A | grep kdm
then when you see two lines with:
"number" then some letters...
"number (other)" then some other letters...
[root@localhost ~]#

then print:
[root@localhost ~]# kill -s KILL "number(the 1st)"
you'll close KDM, but you'll not see that.

Then print:

[root@localhost ~]# ps -A | grep X
"number" letters - YOU'LL SEE IT
[root@localhost ~]# kill -s KILL "number (that was on the previous line)"

then

[root@localhost ~]# cd (directory where nvidia-installer is situated)
[root@localhost ~]# sh NV*
now go on...
DanST is offline   Reply With Quote
Old 11-22-06, 11:36 AM   #3
DanST
Registered User
 
Join Date: Nov 2006
Posts: 4
Default Re: Nvidia Drivers

Also I've got a problem too)))

So. Here my install log:

- General Part:
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
-1 Invalid module format

- My "uname -a"
Linux localhost 2.6.12-12mdk #1 Fri Sep 9 18:15:22 CEST 2005 i686 Intel(R) Celeron(R) CPU 1.70GHz unknown GNU/Linux
- Error in logs:
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs
from the one used to build the target kernel, or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s).

Please see the log entries 'Kernel module load error' and 'Kernel
messages' at the end of the file '/var/log/nvidia-installer.log' for
more information.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
-1 Invalid module format


PLEASE NOTE THE LAST LINE!!!
DanST is offline   Reply With Quote
Old 11-22-06, 12:19 PM   #4
pe1chl
Registered User
 
Join Date: Aug 2003
Posts: 1,026
Default Re: Nvidia Drivers

Quote:
Originally Posted by CheeseburgerII
sh NVIDIA-Linux-x86-1.0-9629-pkg1.run command a blue screen comes up, but with an error that says :

"ERROR: You appear to be running an X server; please exit X before
installing. For further details, please see the section INSTALLING
THE NVIDIA DRIVER in the README available on the Linux driver
download page at www.nvidia.com."

I looked at the Readme, but it was to confusing. It's my first time using Linux and my friend is no help to me. I have no clue how to exit the X server and have been searching for a long time. I tried ctrl + alt + F1 - F6 but still no luck. I am using Ubuntu 6.10. Linux Display Drivers Version 1.0-9629.

Thank you guys.
You should try reading that file (mentioned in the error message).
It is unfortunate that the message does not tell you the full path of the file.
It is: http://download.nvidia.com/XFree86/L...DME/index.html
Or on your own system: /usr/share/doc/NVIDIA_GLX-1.0/README.txt

To exit from X, you type: init 3
pe1chl is offline   Reply With Quote
Old 11-22-06, 12:47 PM   #5
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Nvidia Drivers

Please post the complete /var/log/nvidia-installer.log file.
zander is offline   Reply With Quote
Old 11-23-06, 02:18 AM   #6
DanST
Registered User
 
Join Date: Nov 2006
Posts: 4
Default Re: Nvidia Drivers

Excuse me... I've forgotten.
Attached Files
File Type: log nvidia-installer.log (17.2 KB, 107 views)
DanST is offline   Reply With Quote
Old 11-23-06, 03:16 AM   #7
joffe
Registered User
 
joffe's Avatar
 
Join Date: Nov 2004
Posts: 171
Default Re: Nvidia Drivers

Or...
Code:
Ctrl+Alt+F1
first login as your ordinary user then
Code:
sudo /etc/init.d/gdm stop
this will effectively shut down the respawning gdm, or X session.
Now you'll be able to install the driver (make sure you have the relevant kernel header files). When the install has finished and xorg.conf is edited to load the nvidia module, just run
Code:
sudo /etc/init.d/gdm start
__________________
GA-MA790GP-DS4H, ATI Radeon HD3300, AMD Phenom X4 9850, 4GB PC8500 [Ubuntu 8.10]
Toshiba 2450-201, GeForce4 420 Go 32MB, Pentium4 2.4GHz, 512 MB PC2700 [Ubuntu 8.10]
joffe is offline   Reply With Quote
Old 11-23-06, 04:41 AM   #8
pe1chl
Registered User
 
Join Date: Aug 2003
Posts: 1,026
Default Re: Nvidia Drivers

Quote:
Originally Posted by joffe
Or...
Code:
Ctrl+Alt+F1
first login as your ordinary user then
Code:
sudo /etc/init.d/gdm stop
this will effectively shut down the respawning gdm, or X session.
Now you'll be able to install the driver (make sure you have the relevant kernel header files). When the install has finished and xorg.conf is edited to load the nvidia module, just run
Code:
sudo /etc/init.d/gdm start
IMHO the above is overly complex and system-specific. And you will need to login as root to install the driver anyway.
Just Ctrl-Alt-F1 to the first screen, login as root, and type:
init 3
The init system will do exactly what is required to stop X on the given system.
Then install the driver. Test it by typing:
X
see if you get a grey stippled screen with mouse cursor. When it crashes back to textmode or gives a bad picture you have issues to solve.
When it is OK, do Ctrl-Alt-Backspace to get back to textmode.
Now you can start the graphic mode by:
init 5
(you can also do a reboot)
pe1chl is offline   Reply With Quote

Old 11-23-06, 05:27 AM   #9
joffe
Registered User
 
joffe's Avatar
 
Join Date: Nov 2004
Posts: 171
Default Re: Nvidia Drivers

Since he wanted to try Ubuntu, that is the most common way to do it. Also, when using sudo you only have to supply your password once if you install the driver within 15 minutes or so.
__________________
GA-MA790GP-DS4H, ATI Radeon HD3300, AMD Phenom X4 9850, 4GB PC8500 [Ubuntu 8.10]
Toshiba 2450-201, GeForce4 420 Go 32MB, Pentium4 2.4GHz, 512 MB PC2700 [Ubuntu 8.10]
joffe is offline   Reply With Quote
Old 11-23-06, 05:42 AM   #10
Cambo
Registered User
 
Join Date: Mar 2004
Location: UK
Posts: 128
Send a message via Yahoo to Cambo
Default Re: Nvidia Drivers

@pe1chl: Doing an 'init 3' or even 'telinit 3' doesn't do anything on Ubuntu, hence the other method that has been described :/

Of course, if you are using KDE, you need to change 'gdm' to 'kdm', and so on for other window managers....



Cambo
Cambo is offline   Reply With Quote
Old 11-23-06, 11:13 AM   #11
pe1chl
Registered User
 
Join Date: Aug 2003
Posts: 1,026
Default Re: Nvidia Drivers

Quote:
Originally Posted by Cambo
@pe1chl: Doing an 'init 3' or even 'telinit 3' doesn't do anything on Ubuntu
Terrible! Now I see on other forums that they have chosen to break the standard.

When Linux is ever to break through as a desktop operating system that can be maintained by non-specialists, this is not the way to go :-(
Having a standards base that is invariant between distributions and can be relied on when distributing applications and drivers, and when writing installation docs, is an absolute requirement.
pe1chl is offline   Reply With Quote
Old 11-23-06, 12:28 PM   #12
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Nvidia Drivers

Ubuntu (and Debian too, I believe) requires you to stop gdm to shutdown X:
/etc/init.d/gdm stop
netllama is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
NVIDIA Drivers Receive Windows 8 Certification News Archived News Items 0 06-01-12 05:30 AM
Radeon 9700 not all that? sancheuz Other Desktop Graphics Cards 200 10-12-02 09:31 PM
Nvidia Stereo Drivers Soudontsay NVIDIA Windows Graphics Drivers 2 08-26-02 10:48 AM
nvidia drivers in a motherboard with AGP 1.0 (motherboard MVP3+) knocker NVIDIA Linux 1 08-19-02 01:57 AM
NVIDIA 2960 Drivers & RH 7.3 W/2.4.18-5 XASCompuGuy NVIDIA Linux 6 08-02-02 11:53 AM

All times are GMT -5. The time now is 11:27 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.