![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| nVidia + CMI sound | kotrcka | SUN Solaris | 1 | 09-01-2004 06:58 AM |
| Amd 2600 Nvidia Nforce Ultra 400 | Mikel25e | Linux Benchmarks | 0 | 12-07-2003 08:15 AM |
| nvidia drviers | 3bumbs plumming | UNIX for Dummies Questions & Answers | 1 | 12-06-2003 04:03 PM |
| kdmconfig for NVIDIA | dangral | UNIX for Dummies Questions & Answers | 3 | 12-17-2002 11:43 AM |
| BSD Accelerated NVIDIA Driver Petition | crashnburn | News, Links, Events and Announcements | 0 | 08-21-2002 09:11 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#8
|
|||
|
|||
|
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.) |
| Forum Sponsor | ||
|
|
|
#9
|
|||
|
|||
|
Quote:
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! 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
|
|||
|
|||
|
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
|
|||
|
|||
|
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 |
|||
| Google The UNIX and Linux Forums |