FC3 / NVidia Issue


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat FC3 / NVidia Issue
# 8  
Old 01-29-2005
You can just do ctrl-alt-backspace from gnome and it will kill the Xserver.

* Log in as root.

* Type:

gedit /boot/grub/grub.conf

If you have not already done so, remove "rhgb quiet" from the kernel line in grub.conf. Click the "save" button and then exit gedit. This will disable the "Red Hat Graphical Boot" at boot time which would otherwise interfere with the nVidia installation described below.

* Open Firefox (the "mouse and world" icon on the bottom left). Go to http://www.nvidia.com/object/linux_d..._1.0-6629.html and download NVIDIA-Linux-x86-1.0-6629-pkg1.run. (Select "save to disk".) This should save the file to the /root directory.

* Open the terminal and type:

gedit /etc/X11/xorg.conf

In the "module" section comment out (put a "#" in front of) load "dri" so that it reads # load "dri". In the "device" section change "nv" to "nvidia".

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
# Load "dri"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 4 MX (generic)"
EndSection

Click the "save" icon and exit gedit.

* With the root terminal still open type:

gedit /etc/rc.local

At the end of the file add the line:

/sbin/modprobe nvidia

Add a carriage return as well if necessary to insure that there is a blank line at the bottom of the file. Click on the "save" icon and exit gedit. Close the terminal.

* Click "Actions" > "Log Out" > "Restart the computer" and click "ok". When Fedora reboots it will try to load the nVidia driver (which has been downloaded but not yet installed). You will see the command line login prompt 3 or 4 times as it continues to try to load the driver and then you will see a text mode screen with the message "...cannot start the x server...". Answer "no" (right arrow and enter) to the question "would you like to view the x server output?". Answer "no" to the question "would you like me to run the x configuration program?". Answer "ok" to "...disable the x server for now...". You will then be presented with a text mode command line login prompt. Log in as root, type "ls" and hit enter. You should see the nVidia driver file that you downloaded previously. Type:

sh NVIDIA-Linux-x86-1.0-6629-pkg1.run

Hit enter. You will be presented with a text mode nVidia screen. Left arrow to "accept" and hit enter. Answer "yes" to "download...". Answer "ok" to "no matching kernel...". Answer "ok" to "warning - your kernel was...". Disregard the "rivafb" warning. It won't affect your installation. nVidia will build and install a kernel module for the nVidia driver. When the "...complete" screen appears hit enter on "ok", then type "reboot" and hit enter. You should see the nVidia splash screen when Fedora reboots indicating that the installation was successful. Now if you wish to get rhgb (Red Hat Graphical Boot) working again open a terminal and type:

su -

Hit enter, type your root password and hit enter. Type:

cp -a /dev/nvidia* /etc/udev/devices

Hit enter. Type:

chown root.root /etc/udev/devices/nvidia*

Hit enter. Type:

gedit gedit /etc/rc.local

Remove the "/sbin/modprobe nvidia" line from rc.local, click on the "save" icon, and exit gedit. Type:

gedit /boot/grub/grub.conf

Add "rhgb quiet" back into the kernel line in grub.conf, click on the "save" icon, and exit gedit. Reboot. (If you upgrade your kernel be sure to remove "rhgb quiet" from grub.conf before you reboot into the new kernel. Then you can re-install the nVidia driver per these instructions again for the new kernel.)
# 9  
Old 02-02-2005
Quote:
Originally Posted by sixstrings
You can just do ctrl-alt-backspace from gnome and it will kill the Xserver.

* Log in as root.

* Type:

gedit /boot/grub/grub.conf
...... so on & so on etc etc
OK, sixstrings is right, his/hers solution will work.
However, the editing of grub.conf & rc.local is unecessary, IMO.

This is how I do it .......

First & most obvious, download the nvidia drivers.

Next we want to kill X
If you DON'T use the graphical login then it's easy, just logout of your X session. Done!
If you DO use the graphical login in manager, logout of your X session, and then use CTRL+ALT+F12 to give you access to the consoles. You'll then have to use ALT+F1 to bring up a console.

Right, login is as root.

Kill the X server with this command

init 3

Now you can install the nvidia drivers.
Once the driver installation is complete, edit your xorg.conf file in the same way sixstrings suggests in the previous post.
ie.
- remove Load "dri" in the module section.
and change the driver in the device section to nvidia.

But you should know that. You did read the README? Right?!

At this point, if you start X again it will work.
If you restart your machine then it will not.
Why not?
Because the nvidia module is not loaded upon start up.
Again, like sixstrings suggests, copy all instances of nvidia* that you find in /dev to /etc/udev/devices, and issue this command

chown root.root /etc/udev/devices/nvidia*

Now the nvidia modules will be loaded the next time you restart your machine.

And that's it! Smilie


Want to know more about udev? Check out these links:

http://fedora.redhat.com/docs/udev/
http://www.kernel.org/pub/linux/util...plug/udev.html

Does anyone know if nvidia is going to fix this issure?
# 10  
Old 02-02-2005
Computer

I posted the editing of the grub.conf due to a known error, that is possible, when performing the install. After that, there is not much use for it. Just thought I would cover all bases.
# 11  
Old 03-04-2005
One other note to the excellent instructions...

I was having this problem installing FC3 on my laptop, I had already installed the drivers, I just couldn't get them to load before login, I went to a command prompt and tried to copy the files as described above... but it failed, because the files didn't exists.

Then I read a bit on that first page link above, and read that udev maintains a list of active devices, so... since I had just freshly rebooted, the files didn't exist.

If anyone else has this error, just do a modprobe nvidia to create the devices, then copy them as described
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Fedora

Nvidia Module Not Loading (Desktop Gone)

Well, I followed the steps in the Debian wiki here to install the drivers for the following video card: $ lspci | grep VGA 03:00.0 VGA compatible controller: NVIDIA Corporation GF104 (rev a1)I confirmed the correct driver is installed. As you probably see I've tried this a few times and a few... (1 Reply)
Discussion started by: Azrael
1 Replies

2. Linux

Nvidia Drivers for Oracle Linux

I'm installing Oracle Linux 6.1 and can't seem to get my second monitor to be recognized by the OS. I think that the issue is with the NVIDIA drivers but, after downloading and installing 3 different version of the RHEL driver I still can't get the second monitor to be recognized. Does anyone... (1 Reply)
Discussion started by: goose25
1 Replies

3. Tips and Tutorials

Upgrading FC3 kernel 2.6.9-1.667 to 2.6.10 and compiling it

Upgrading FC3 kernel 2.6.9-1.667 to 2.6.10 and compiling it Upgrading FC3 kernel 2.6.9-1.667 to 2.6.10 and compiling it( almost same steps to upgrade to 2.6.11 and above ....note--> also check additional documentation) ############################################################# 1. First of... (0 Replies)
Discussion started by: fed.linuxgossip
0 Replies

4. Debian

No sound in FC3 on Intel D915GAVL

I am unable to get any sound in my Linux installation, which is Fedora Core 3 on a Intel D915GAVL mobo. I tried to look for similar problems on the net :( but most have their solutions in modifying modprobe.conf--which is not very helpful until u know what driver u are looking for. I have tried... (2 Replies)
Discussion started by: Abhishek Ghose
2 Replies

5. Linux

Copy entire disk in FC3

I'm running FC3 and I'd like to copy the entire /dev/hda to /dev/hdc, including all the boot info, so that I can boot off of it in case of failure. This will be a one time thing. I'm doing an app upgrade and I'm very afraid the install will go wrong, so I want to be able to quickly be back up in... (11 Replies)
Discussion started by: dangral
11 Replies

6. Windows & DOS: Issues & Discussions

Waking up windowsXP from FC3

In my home network I have a windows XP server and a Redhat FC3 Linux server. The linux server has ssh open to the internet. What I'd like to do is ssh into the FC3 machine and "wakeup" the windows XP box which is in standby mode. Anyone know a way to achieve this? (1 Reply)
Discussion started by: dangral
1 Replies

7. Linux

winxp+ fc3= bsod

im sorry if this topics been repeated at many places on the net but i just couldnt find my answers . someone help me out fast! here is the situation in brief! 1. i have a 160 gb hdd. windows xp without service pack 1 does not have 48-bit LBA enabled and so it can recognize only 137 gb when it... (2 Replies)
Discussion started by: j0hn_galt
2 Replies

8. Solaris

nVidia + CMI sound

Hi there, can somebohy help me with Solaris 8 (x86) ver. 02/2002. I cannot run it with nVidia GeForce 2 MX 440 graphic card in resolution up to 640x480. Is there some driver for this card? And this problen is with sound card CMI 8738. If somebody can write me a location, where I can download it or... (1 Reply)
Discussion started by: kotrcka
1 Replies

9. UNIX for Dummies Questions & Answers

nvidia drviers

hi guys i tryed to in stall nvidia driver the other day then i got no kernel found i installed the latest kernal for the drivers rpm based from ftp.nvidia.com and downloaded the pkg 1,2 and the src and the reg bin rpm installed it and droped out of X and init 3 and went to the cmd line and... (1 Reply)
Discussion started by: 3bumbs plumming
1 Replies

10. UNIX for Dummies Questions & Answers

kdmconfig for NVIDIA

I have installed Solaris on my Dell machine, but I can't get the display driver to work. I have an NVIDIA RIVA TNT2, but when I select that adapter in kdmconfig, I get the message: Could'nt probe screen #0 InitOutput: AddScreen failed for SUNWnvidia I can use the generic 16 color display... (3 Replies)
Discussion started by: dangral
3 Replies
Login or Register to Ask a Question