LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-24-2004, 10:32 PM   #1
sdat1333
Member
 
Registered: Nov 2004
Location: North Carolina, USA
Distribution: None right now :(
Posts: 149

Rep: Reputation: 15
How do I install Nvidia driver with Fedora?


Hello everyone,
I am a linux newbie so pls dont be too hard on me. I would appreciate it if someone could post step by step instructions on installing the NVidia driver in language that I can understand. I have the GeForce 4 MX440. I just installed Fedora after trying out Mandrake. I installed the driver in Mandrake and then all I could get to was a command prompt so I'm kind of scared to try again without clear instructions. Thank you in advance, this forum has been a great help to me in the past.

Last edited by sdat1333; 11-24-2004 at 10:39 PM.
 
Old 11-25-2004, 05:58 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
1) download the drivers (obviously )
2) start a console (terminal) session
3) type ctrl-alt-f1
4) login as yourself and enter password
5) change to the directory you downloaded the driver e.g. "cd downloads/bin"
6) make the nvidia driver executable by doing "chmod +x NVIDIA*"
7) run su -c "./NVIDIA*" (including the double quotes)
8) enter root password and follow install instructions.
9) edit /etc/X11/xorg.conf and change the driver from "nv" to "nvidia"

Hope that was plain and simple. Hopefully it works fine for you.
 
Old 11-25-2004, 06:03 AM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
you may also need to do the following as well,

# modprobe nvidia
# cp -a /dev/nvidia* /etc/udev/devices
# chown root.root /etc/udev/devices/nvidia*

and reboot, if the nvidia driver does not load up after a reboot. The commands above will fix that problem if it occurs.
 
Old 11-25-2004, 06:59 AM   #4
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Hi,

I think you also need to kill your X server... cause during NVIDIA, it checks wether or not an X server is running... if yes, it doesn't want to go futher.

Oliv'
 
Old 11-25-2004, 08:25 AM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
you are right Oliv. Before doing step 4 above, you need to

login as root and run "init 3".

You can continue the install process as root, but I prefer to work as a normal user, so exit as root and then follow step 4 above. Also, if you don't want to reboot after the installation is complete and you have edited /etc/X11/xorg.config just run

su -c " init 5"

Your graphical login manager will appear.

Last edited by reddazz; 11-25-2004 at 11:17 AM.
 
Old 11-25-2004, 08:42 AM   #6
sdat1333
Member
 
Registered: Nov 2004
Location: North Carolina, USA
Distribution: None right now :(
Posts: 149

Original Poster
Rep: Reputation: 15
[root@localhost sean]# run init 3
bash: run: command not found
[root@localhost sean]# runinit 3
bash: runinit: command not found

runinit doesn't work for me

[root@localhost sean]# telinit 3
bash: telinit: command not found
[root@localhost sean]# tellinit 3
bash: tellinit: command not found
[root@localhost sean]# tell init 3
bash: tell: command not found

neither does telinit 3.
 
Old 11-25-2004, 09:19 AM   #7
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
there is no tellinit
telinit is the command or simply init

just do those steps.

1. Ctrl+Alt+F1
2. login as root
3.
Code:
[root@localhost root]# telinit 3
or simply
Code:
[root@localhost root]# init 3
4. go to where you have the driver.
5.
Code:
[root@localhost downloads]# sh NVIDIA-Linux-x86-1.0-6629-pkg1.run
(no need to change the permissions of the file)
6. edit /etc/X11/xorg.conf (with vi or pico)
and make sure you put in the modules section glx and dissable dri and GLcore if you have
Code:
Section "Module"
	Load  "dbe"
	Load  "extmod"
	Load  "fbdevhw"
	Load  "glx"
	Load  "record"
	Load  "freetype"
	Load  "type1"
#	Load  "dri"
EndSection
then change the driver in the same file, use nvidia instead of nv

Code:
Section "Device"
	Identifier  "Videocard0"
	Driver      "nvidia"
	Option	    "NoLogo" "true"
	VendorName  "Videocard vendor"
	BoardName   "NVIDIA GeForce 2 MX (generic)"
EndSection
if you don't want to see the nvidia logo every time you start X - windows
put there "Option "NoLogo" "true"", like i did, but better leave this step to see if the driver works.
You may do that latter
 
Old 11-25-2004, 09:31 AM   #8
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
to use vi do
Code:
[root@localhost root]# vi /etc/X11/xorg.conf
move with the arrows,
you delete something with Delete button,
place the pointer under the letter you want to delete and press Delete
to write something press i to enter to the insert modeand then write what you want
after you finish inserting
press Esc.
press
Code:
:wq
to save and exit
or
Code:
:q!
to exit without saving if something goes wrong.
if you want you might also backup your /etc/X11/corg.conf before you edit it
Code:
cp /etc/X11/xorg.conf /etc/X11/xorg.conf.old
so if you have problems you can restore the old
Code:
rm /etc/X11/xorg.conf
mv /etc/X11/xorg.conf.old /etc/X11/xorg.conf
and edit it again

Last edited by perfect_circle; 11-25-2004 at 09:34 AM.
 
Old 11-25-2004, 10:04 AM   #9
sdat1333
Member
 
Registered: Nov 2004
Location: North Carolina, USA
Distribution: None right now :(
Posts: 149

Original Poster
Rep: Reputation: 15
When I hit Ctl-Alt-F1, It shows the login prompt for a second, then starts giving me the same error over and over (something about SCSI I think, even tho I have no scsi drives on my system)
 
Old 11-25-2004, 10:16 AM   #10
sdat1333
Member
 
Registered: Nov 2004
Location: North Carolina, USA
Distribution: None right now :(
Posts: 149

Original Poster
Rep: Reputation: 15
OK, error message went away after I removed my thumb drive(Linux really doesnt like my thumb drive). Now when I login as root and do telinit 3, it says its starting different programs, then stops and gets stuck at "starting wine". I want to uninstall wine but I cant find it
 
Old 11-25-2004, 10:41 AM   #11
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
do u remember how toy installed wine?
from source, rpm...
 
Old 11-25-2004, 11:17 AM   #12
sdat1333
Member
 
Registered: Nov 2004
Location: North Carolina, USA
Distribution: None right now :(
Posts: 149

Original Poster
Rep: Reputation: 15
first off, what's toy(Sorry I'm a bit of a newbie)
When I installed wine, I downloaded the rpm for fedora core 1 and installed it. then I realized the mistake and downloaded the rpm for fedora core 2(they still havent released an rpm for FC3) and installed it. I can't find wine on any of my menus. The only hard drive files for wine I can find are png images and two *.svgz files that I cant open.
 
Old 11-25-2004, 11:19 AM   #13
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
sorry the command in my last post was supposed to be run "init 3". I am sure telinit exists on Fedora Core 2.
 
Old 11-25-2004, 03:13 PM   #14
dubya
Member
 
Registered: Mar 2004
Location: Kitchener, Ontario, Canada
Posts: 386

Rep: Reputation: 30
I've heard from a lot of people that telinit 3 or init 3 doesn't work for them on Fedora and what they have to do is manually change the default run level to 3 and reboot.

Edit the /etc/inittab file manually by replacing your default level from 5 to 3. Hope that helps.
 
Old 11-25-2004, 05:37 PM   #15
sdat1333
Member
 
Registered: Nov 2004
Location: North Carolina, USA
Distribution: None right now :(
Posts: 149

Original Poster
Rep: Reputation: 15
I changed the default runlevel, booted into Command prompt, logged in as root. then I ran NVIDIA instalation program. It didnt work because it said something about downloading kernel source. Then when it couldn't, It tried to make its own and said something about not having CC. before running instalation I ran some command that had CC=something(I forget what). Now I have tried to change the inittab file but it says I dont have permission, even tho I am logged in as root. I hope someone can help me cuz I'm at a brick wall here. Thanx in advance.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install nVidia driver in Fedora core 1 sirius57 Fedora 13 11-12-2005 05:48 PM
nvidia driver for fedora 3 lnthai2002 Linux - Hardware 5 01-22-2005 11:49 PM
nVidia driver install on Fedora Linchpin Linux - Newbie 2 11-15-2004 07:05 AM
Nvidia Driver Install - rivafb driver conflicts rjcmi Debian 5 10-10-2004 11:58 PM
NVIDIA driver install - Fedora Core 1 Brian of Gep Fedora - Installation 1 03-13-2004 03:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 01:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration