Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 19th November 2004, 05:53 AM
EvolutionR Offline
Registered User
 
Join Date: Nov 2004
Posts: 7
Thumbs up Welcome to My Own Installation Nvidia Guide

Welcome to My Own Installation Nvidia Guide :Pengy: :study:

I've finally got an answer to most of the Nvidia Driver installation Problems! Eg. GLX Missing...etc

Tested on Fedora Core 3! Yahoo!!!

Follow the Steps

1) a) Edit your "/etc/inittab" =>

Change the id:5:initdefault to id:3:initdefault .

b) Edit your "/etc/X11/Xorg.conf" => Look for the Driver "nv" change it to Driver "nvidia"

In the Module section, make sure you have: Load "glx"

You should also remove the following lines:
Load "dri"
Load "GLcore"

*Please save the following files*
*Reboot System*

2) Text Mode-Login screen. Login as root.
Change to the directory, where's the NVIDIA-Linux-x86-1.0-6629-pkg1.run file located.
Type sh NVIDIA-Linux-x86-1.0-6629-pkg1.run .

3) No precompiled kernel interface was found to match your kernel; would you like the installer to attempt to download a kernel interface for your kernel from the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No)

4) No precompiled kernel interface was found to match your kernel; this means that the installer will need to compile a new kernel interface. (Answer: OK)

5) WARNING: Your kernel was configured to include rivafb support as a loadable kernel module.
The rivafb driver conflicts with the NVIDIA driver; the NVIDIA kernel module will still be built and installed, but be aware that the NVIDIA driver will not be able to function properly if the rivafb module is loaded! (Answer: OK)

6) Wait for the Nvidia to finish the installation!

At the Text-Mode Login Screen.

a) Type modprobe nvidia.
b) Type cp -a /dev/nvidia* /etc/udev/devices
c) Type chown root.root /etc/udev/devices/nvidia*
d) Type reboot

7) At the Text-Mode Login Screen.

a) Type init 5

8) Edit the /etc/inittab => id:3:initdefault to id:5:initdefault

9) Test Run 3D Games= *Run tuxracer* *Screensaver (3D)*

10) Finished! Thank You

Last edited by EvolutionR; 19th November 2004 at 05:58 AM.
Reply With Quote
  #2  
Old 23rd December 2004, 12:50 PM
BLiX Offline
Registered User
 
Join Date: Jun 2004
Posts: 3
Nice one
Reply With Quote
  #3  
Old 23rd December 2004, 01:53 PM
yanik Offline
Registered User
 
Join Date: Nov 2004
Posts: 148
Can I comment you guide and help you make it better? Open a terminal and type telinit 3, then ctrl-alt-f1 to go to the first terminal. Then install the driver. Modify /etc/X11/xorg.conf, Then type

Type cp -a /dev/nvidia* /etc/udev/devices && chown root: /etc/udev/devices/nvidia*

and finally type telinit 5.

See, you don't need to touch /etc/inittab, and you mostly don't need to reboot 2 times to install the driver. You first stop the X server, modify it's configuration and install the driver, then start the X server with the new config.

How's that? It could make your guide a lot shorter and simplier.

Yanik
Reply With Quote
  #4  
Old 23rd December 2004, 04:27 PM
piedamaro Offline
Registered User
 
Join Date: Dec 2004
Location: Rome, Italy
Posts: 75
You alsao need something like this:
nvidia*:root:video:0660

in your /etc/udev/permissions.d/50-udev.permissions file, then add yorself to the video group, to fix permissions on startup.
Finally you have to put /usr/lib before /usr/X11R6/lib in your /etc/ld.so.conf file then run ldconfig.
Without that, my GL applications used the software gl libs under /usr/X11R6/lib instead of the accelerated ones from nvidia under /usr/lib.

Hope this helps
Reply With Quote
  #5  
Old 23rd December 2004, 04:33 PM
yanik Offline
Registered User
 
Join Date: Nov 2004
Posts: 148
those steps weren't necessary on my system piedamaro. I don't use 3d so I didn't test if it was using soft or hardware libs. But I do remember having the standard 3000 fps result in glxgears tho....
Reply With Quote
  #6  
Old 23rd December 2004, 04:50 PM
piedamaro Offline
Registered User
 
Join Date: Dec 2004
Location: Rome, Italy
Posts: 75
If you try to run real random game (neverball, ut2k4), not glxgears, the will complain about insufficent device permissions, and some of them, will link against slow software X11 GL libs at startup.

It can be that with some recent udev upgrade, device permissions are fixed, but I'm almost sure you'll have the LIBRARY_PATH problem with some game.

It doesn't hurt to leave those steps there in case someone had the same issue
Reply With Quote
  #7  
Old 23rd December 2004, 06:32 PM
imdeemvp Offline
Registered User
 
Join Date: Feb 2004
Age: 46
Posts: 8,256
Welcome to my only step I took :D

1. Very good job.
2. In fc3 I have all my repos setup. Livna, freshrpm, atrmp, dag and here is how I did the repos. I installed my nvidia drivers via yum by issuing this yum command (as root):
Code:
yum install nvidia-glx kernel-module-nvidia-`(uname -r)`
It took care of everything for me and here is the proof:
Quote:
[imdeemvp@myfc3 ~]$ glxinfo | grep direct
direct rendering: Yes
[imdeemvp@myfc3 ~]$ glxgears
16146 frames in 5.0 seconds = 3229.200 FPS <<-before i minimized the window
35250 frames in 5.0 seconds = 7050.000 FPS
35444 frames in 5.0 seconds = 7088.800 FPS
35290 frames in 5.0 seconds = 7058.000 FPS
35372 frames in 5.0 seconds = 7074.400 FPS
35315 frames in 5.0 seconds = 7063.000 FPS
34565 frames in 5.0 seconds = 6913.000 FPS
35340 frames in 5.0 seconds = 7068.000 FPS
35359 frames in 5.0 seconds = 7071.800 FPS
35324 frames in 5.0 seconds = 7064.800 FPS
X connection to :0.0 broken (explicit kill or server shutdown).
This was the easiest way for me to install nvidia drivers in long time. I check my xorg.conf and did not have to edit anything. Dont ask me why. The instructions to install nvidia driver is posted the fedora FAQ. This was probably the easiest thing I have done in fc3.

YOU MAY WANT TO REBOOT!
__________________
HELP with JAVA, MP3's, Wireless, Repo's, YUM, Partitions, System Monitors, Nvidia, ATI drivers, LIMEWIRE PRO & MORE!.

Easiest and most friendly desktop ever is PCLinuxOS! Includes all this apps. Just try it.

"The greater the struggle THE greater the achievment."

Do you know HIM?

If you are an idiot click here. NThis will test you linux skills :D

Last edited by imdeemvp; 5th January 2005 at 01:06 AM.
Reply With Quote
  #8  
Old 26th December 2004, 08:34 PM
frontwards Offline
Registered User
 
Join Date: Nov 2004
Posts: 12
Quote:
Originally Posted by piedamaro
You alsao need something like this:
nvidia*:root:video:0660

in your /etc/udev/permissions.d/50-udev.permissions file, then add yorself to the video group, to fix permissions on startup.
Finally you have to put /usr/lib before /usr/X11R6/lib in your /etc/ld.so.conf file then run ldconfig.
Without that, my GL applications used the software gl libs under /usr/X11R6/lib instead of the accelerated ones from nvidia under /usr/lib.

Hope this helps
how do you add yourself to the video group?
Reply With Quote
  #9  
Old 28th December 2004, 07:38 AM
aki Offline
Registered User
 
Join Date: Sep 2004
Posts: 43
I am having a problem with glx here. It wouldn't show missing glx on my machine. It didn't used to be that way.. but it happened that way at some point in time. I also noticed that I do not get the Nvidia splash screen on startup now.

This is is the mssg I get when I try to run glxgears:


[agarwal@localhost agarwal]$ glxgears
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't get an RGB, Double-buffered visual

Any suggestions. Thanks.

(running Fedora core 2)
Reply With Quote
  #10  
Old 28th December 2004, 06:31 PM
lvanek Offline
Registered User
 
Join Date: Jun 2004
Location: Janesville, WI USA
Posts: 175
Thank you EvolutionR.

I just finished an upgrade from FC2 to FC3. All went well (after getting by the mediacheck fun & games) except for getting the nvidia kernel module to initalize. Running the modprobe after running the nvidia installer (before rebooting) is what I had not needed to do for FC2. /sbin/lsmod showed the module loaded. Followed your cp -a /dev/nvidia* to /etc/udev/devices suggested & it worked like a charm. Didnt need to change any ownership though.
Reply With Quote
  #11  
Old 6th January 2005, 03:00 PM
veritas Offline
Registered User
 
Join Date: Jan 2005
Posts: 163
Help!

I don't know why I try these things. I will ALWAYS get some error not expected by the people who make such posts. I am new to LInux, and now I am stuck.

Specifically, I made the initial changes in Xorg and the inittab without really knowing what that was about. Then I rebooted, got into the text mode, logged in and began to install the NVIDIA driver. I got the first few messages that were anticipated but then it said that I didn't have the right cc tools, that either GCC was not installed or not in my path. Well, I don't know what that means, but I assure you, if GCC was on my system, freshly installed as of two days ago, I didn't remove it.

So, I didn't panic. I don't know enough to do much from the text mode, so I figured the init 3 and init 5 commands must be how you get back into the X desktop. So I typed init 5 and got...anyone? anyone? Yes! ANOTHER error message. This one said my (I think it was Xorg as that is the only one I messed with) was not configured correctly. So it won't let me into a graphical interface and I have a lovely black screen now.

Before someone helps, I should tell you that I don't even know how to open a file and edit text while in text mode. In other words, with the GUI I could type gedit and the filename and open it in a graphical editor and all is well. I don't know how to even do this in text mode, so please be VERY basic for me. I really don't want to have to reinstall AGAIN....I should never have attempted this, but I wanted my pretty screensavers to move a little more fluidly. Sigh. Please help!!!!!
Reply With Quote
  #12  
Old 6th January 2005, 03:48 PM
veritas Offline
Registered User
 
Join Date: Jan 2005
Posts: 163
Nevermind!!!!

Actually, I'm pretty proud of my newbie self. It occurred to me that if GCC is not on my system, going to get it is something I could figure out how to do even in text mode, so apt-getting I did go and downloaded and installed GCC. Now, why it wasn't on there in the first place, I don't know...and perhaps this explains when I was trying to follow some instructions for making my soundcard work "modprobe" came back as invalid command. Evidently GCC is not being included with at least some of the FC3 installation disks. Seems like if it were this important it would be included, but by installing it, everything worked fine and I had my first session of tuxracer. Not really HalfLife 2, but hey, it looked great!
Reply With Quote
Reply

Tags
guide, installation, nvidia

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 (My Guide) Clunixchit Guides & Solutions (No Questions) 37 11th November 2006 02:06 AM
Followed Firewing's Nvidia guide - Problems! shadowwyvern Hardware & Laptops 7 25th September 2006 12:06 AM


Current GMT-time: 11:54 (Saturday, 25-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Colonelganj Travel Photos - Yanam Photos on Instagram - Dahanu