View Full Version : RedHat 8 Linux - Nvidia 4191 install *help*
I have downloaded both source files for GLX and Kernal of the 4191 drivers for IA32 Linux. I am running RedHat 8.0 with the latest Kernal installed (just updated) athlon arch (or i686) I am not quite sure what arch, i would need help rinding that out.
But i need to know what to do in order to install the nvidia drivers on my system. I need to know how to set the runlevels and what to type to install the driver and in what order, specific please.
Any help would be appriciated.
/Dan
Andy Mecham
12-13-02, 11:25 AM
To figure out what files you need, grab NVchooser.sh from STEP 3 of the driver download page. For detailed installation instructions, please see the README, also available from the driver download page.
--andy
azazello
12-13-02, 12:02 PM
try to use GLX/kernel tar.gz files - just extract it and type make - will work with any supported kernel.
additionally, you can choose support for SBA/FW in os-registry.c(this settings switched off by default - but be shure, that your MB/Video support it)
Originally posted by azazello
additionally, you can choose support for SBA/FW in os-registry.c(this settings switched off by default - but be shure, that your MB/Video support it) If you use a precompiled nvidia.o, you can add options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1 in your modules.conf file to enable them, too. Even if you use .tar.gz drivers, this will also work without editing os-registry.c.
Not that you can't necessarily edit os-registry.c, but it's not needed.
just one thing, Am i able to do this in Terminal window or do i need to go to console (leave X) and change my runlevel. If so, How?
I am still kinda new at linux.
Chalnoth
12-13-02, 04:06 PM
I think it's generally a good idea to do all driver installation in single-user mode, though it generally seems to work okay even when doing it with everything running. Better safe than sorry, I suppose.
Anyway, while there may be other ways to do it, here's what I would suggest:
1. Download the drivers to some directory (Yeah, hard, I know...and completely non-obvious...). I would suggest downloading the source rpm's for Redhat.
2. Start up the system in single-user mode. One way to do this is edit the /etc/inittab file (you'll need to go super-user to do this...just type "su" and enter the root password). The file should describe pretty well how to change the runlevel, but set it to "1" for single-user mode.
3. Reboot the system. The system should just go straight to a command prompt once it's done, and very few things should be loaded. Install the drivers with the following commands:
rpmbuild --rebuild NVIDIA_kernel-1.0-stuff.src.rpm --target=athlon (assuming you have an Athlon)
rpmbuild --rebuild NVIDIA_GLX-1.0-stuff.src.rpm --target=athlon
Then go to the directory that these files were written to. On redhat, I believe it will be /usr/src/redhat/RPMS/athlon
For each file, type:
rpm -ivh NVIDIA_kernel-1.0-stuff.athlon.rpm
rpm -ivh NVIDIA_GLX-1.0-stuff.athlon.rpm
...where "stuff" is just the version number and whatever else. As a side note, somewhat similar to Quake3's console commands, you can fill out filenames by pressing tab at the command line.
Once the RPM's have installed, edit the XF86Config-4 file as nVidia's readme states. The readme is actually included with the drivers, but it's not terribly easy to find (easiest way is to just extract the source RPM's with "rpm -ivh <filename>". I forget exactly where they're extracted to, but I think it's something like /usr/src/redhat/SOURCES). It's easier to just get it from the website beforehand. Anyway, there's a section in the readme about editing the config file. Just go to it, and follow the instructions.
Once you're all done, set the default runlevel to either 3 or 5. Setting it to 3 is safer, as it's the text login, but setting it to 5 can be more convenient.
One last thing. For setting the runlevel while linux is still running, just type, "telinit #" where # is the runlevel. If you're not in single-user mode or logged in as root, you'll need to give the path: "/sbin/telinit #"
K, just 1 thing, when i am looged in as root and i want to type telinit # , what keys do i hit to get to console (Ctrl + Shift +P or something)
When im there what runlevel do i set it to to install the nvidia drivers?
oh, nm. I found it. thanks man. ill go try that right now and see if it works.
Andy Mecham
12-13-02, 07:18 PM
'telinit 3' should be sufficient for almost everybody. You don't need to reboot to single user mode.
--andy
well going to console didn work well for my, so i did it all in gnome useing terminal and i ent into the etc/X11/XF86Config and opened it with gedit and set the lines and restarted (i used kernals from nvidia) not source or tarball, i used the Kernal-Athlon and GLX-i386.
My linux kernal is currently 2.4.18-18.8.0
But the driver did work and no errors, i get a nive nvidia splash screen before it goes into gnome which must mean it worked. But how to i enadle acceleration on the card (under start/system settings/display it is still greyed out).
And how do i install the UT2003 demo? because it is in some form of .bin.
Thanks for yer help guys, i appriciate it.
Originally posted by lmetza
But how to i enadle acceleration on the card (under start/system settings/display it is still greyed out). Umm, there have been MULTIPLE posts about this problem. It's the fault of the dumb GUI app that you're looking at -- it doesn't understand how the nVidia drivers work, so it won't let you enable 3D (because it doesn't know what to do to do that). 3D is enabled as long as you have followed the instructions. Regardless of what any GUI app says!
If you really want to check, do a glxinfo | grep -i direct, and when you see "direct rendering: yes", you will know that 3D is enabled.
And how do i install the UT2003 demo? because it is in some form of .bin. The same way as any other .bin file -- chmod +x <file>.bin, and then ./<file>.bin
Chalnoth
12-14-02, 03:38 AM
Originally posted by Andy Mecham
'telinit 3' should be sufficient for almost everybody. You don't need to reboot to single user mode.
--andy
Well, I just say it's better safe than sorry. You're right, it's not necessary. I've even installed these things with X running and it worked just fine. But it really doesn't hurt to do it.
Andy Mecham
12-14-02, 10:05 PM
I've even installed these things with X running and it worked just fine.
You can't upgrade a driver with X running, as you won't be able to replace the kernel module.
--andy
i know mine work properly, cuz ive been playing the ut2003 demo and man does it run FAST. i just need antialiasing and some anistrofic filtering.
and i just found out i got hackied, in wondows XP. I have all security updates, running firewall with only 2 ports opne (that i opened). Somehows like 20 or so ports had been opened called msnmgs UDP and TCP rangeing from port 7000 to 18000. the onyl one I enabledwas for files transfering with messenger and thats it. Thus sux big time.
Chalnoth
12-16-02, 04:17 AM
Originally posted by Andy Mecham
You can't upgrade a driver with X running, as you won't be able to replace the kernel module.
--andy
Well, actually, it worked just fine. But I think the reason was that I wasn't running a previous version of nVidia's drivers at the time (Using an "nv" driver).
Chalnoth
12-16-02, 04:19 AM
Originally posted by lmetza
i know mine work properly, cuz ive been playing the ut2003 demo and man does it run FAST. i just need antialiasing and some anistrofic filtering.
Check the readme for the exact settings for FSAA/Anisotropic, but here is how you can set them:
At the console, before running your game, type in, "export __GL_FSAA_MODE=1" (You can use a different number, of course. This is for 2x FSAA).
For anisotropic:
export __GL_DEFAULT_LOG_ANISO=3
(This one gives 8-degree aniso)
You can also place these commands in a .profile file in your home directory, or in /etc/profile to make the config global, so that the settings are applied at bootup.
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.