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 - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-22-2006, 04:53 PM   #1
lnthai2002
Member
 
Registered: Jan 2005
Location: Montreal, QC, CANADA
Distribution: Red Hat Fedora
Posts: 135

Rep: Reputation: 15
Post Nvidia Driver On Fedora 5- How To


For those who prefer nvidia driver from NVIDIA(1.0-8776) - NOT FOR PEOPLE WHO USE RPM PACKAGE FROM LIVA.

1/ Login as root, start xterm(the command line interface)
2/ Type: "yum update", press Enter
3/ Type: "yum install -y kernel-devel", press Enter
4/ Type: "yum install -y gcc", press Enter
5/ Type: "yum remove rhgb", press Enter
5.1/Type: "yum install xorg-x11-server-sdk"
6/ Open browser(firefox or mozillar), get the nvidia driver for linux from www.nvidia.com (NVIDIA*.run)
7/ Type: "vi /etc/rc.local", press Enter.
Press "i" to jump into insert mode, add the following line to the end of file:
"/sbin/modeprobe nvidia"
Add a blank line, press Esc then type: ":wq" and press Enter

8/ Type: "vi /etc/selinux/config", press Enter
Press "i" to jump into insert mode.Make sure the following line exist:
"SELINUX=disable"
If you find "SELINUX=enforcing", change it to "disable"
Press Esc then type: ":wq" for saving the file and quit, then press Enter

9/ Reboot, the screen will flick around 3 times, then you are informed that X server fail to start. You will be given choice to see the log file, please choose "no". Then you are asked to give root password so that the system will restore the config file for X, choose "no". Finally, choose "OK".

10/Login as root, go to the directory where you downloaded the driver (NVIDIA*.run)

11/Type: "sh NVIDIA*.run" and follow the installation guide
At the end of the instllation process, the installer will ask if you want it to edit /etc/X11/xorg.conf for you, choose "yes". Now you are back to the console

12/ Type: "cp /usr/X11R6/lib/modules/drivers/* /usr/lib/xorg/modules/drivers/" and press Enter

13/ Reboot, now you can login with graphical mode

At this time i have not found out how to use nvidia module with SELinux enable. If you know how, feel free to add to this post
Any suggestion is welcome
THAI

Last edited by lnthai2002; 10-27-2006 at 11:19 PM.
 
Old 07-23-2006, 10:46 AM   #2
angryfirelord
Member
 
Registered: Dec 2005
Distribution: Fedora, CentOS
Posts: 515

Rep: Reputation: 66
I don't know how to set up the driver for SELinux, but I was able to set it up in Fedora Core 4 in an easier manner (without yum, but i may not have done this right).

-Download the driver
-Press Ctrl-Alt-F1 to get a prompt
-type init 3 (if a prompt doesn't come up press Ctrl-Alt-F1 again)
-go to the directory and run sh (nvidia driver version).run
-after setting it up reboot the machine

glxgears went from 500fps to 1500fps (on nvidia 6200 agp).
 
  


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
Nvidia driver disappearing on Fedora 4 dinolinux Fedora 6 12-15-2005 01:26 PM
nvidia driver for fedora 3 lnthai2002 Linux - Hardware 5 01-22-2005 11:49 PM
How to install Nvidia driver with Fedora sdat1333 Fedora 42 11-26-2004 05:44 PM
nvidia driver and Fedora Core 2 j0Vian Linux - Newbie 2 11-15-2004 04:18 PM
nVidia driver install on Fedora Linchpin Linux - Newbie 2 11-15-2004 07:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:15 PM.

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