LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   nVidia drivers on FC2 (https://www.linuxquestions.org/questions/fedora-35/nvidia-drivers-on-fc2-192523/)

carlosinfl 06-11-2004 08:11 PM

nVidia drivers on FC2
 
After I run through the nVidia installer, does this section still apply to Fedora Core 2?

sec-03) EDITING YOUR XF86CONFIG FILE
__________________________________________________________________________

When XFree86 4.0 was released, it used a slightly different XF86Config
file syntax than the 3.x series did, and so to allow both 3.x and 4.x
versions of XFree86 to co-exist on the same system, it was decided that
XFree86 4.x was to use the configuration file "/etc/X11/XF86Config-4"
if it existed, and only if that file did not exist would the file
"/etc/X11/XF86Config" be used (actually, that is an over-simplification
of the search criteria; please see the XF86Config man page for a complete
description of the search path). Please make sure you know what
configuration file XFree86 is using. If you are in doubt, look for a
line beginning with "(==) Using config file:" in your XFree86 log file
("/var/log/XFree86.0.log"). This README will use "XF86Config" to refer
to your configuration file, whatever it is named.

If you do not have a working XF86Config file, there are several ways
to start: there is a sample config file that comes with XFree86,
and there is a sample config file included with the NVIDIA driver
package (it gets installed in /usr/share/doc/NVIDIA_GLX-1.0/).
You could also use a program like 'xf86config'; some distributions
provide their own tool for generating an XF86Config file. For more
on XF86Config file syntax, please refer to the man page.

If you already have an XF86Config file working with a different driver
(such as the 'nv' or 'vesa' driver), then all you need to do is find
the relevant Device section and replace the line:

Driver "nv"
(or Driver "vesa")

with

Driver "nvidia"

In the Module section, make sure you have:

Load "glx"

You should also remove the following lines:

Load "dri"
Load "GLcore"

if they exist. There are also numerous options that can be added to
the XF86Config file to fine-tune the NVIDIA XFree86 driver. Please see
Appendix D for a complete list of these options.

Once you have configured your XF86Config file, you are ready to restart
X and begin using the accelerated OpenGL libraries.


I was not sure if FC2 uses the XF86CONFIG FILE.

Thanks for any info.

DrOzz 06-11-2004 08:15 PM

yes indeed it does ... you have to make them changes on any distro ..
it is located at /etc/X11/XF86Config

lupin_the_3rd 06-11-2004 08:18 PM

Search the forums... nvidia doesn't work well with the stock FC2 kernel... if you have problems you're going to have to get another kernel going by either rolling your own or installing a 3rd party one...

Shouldn't one of these nvidia threads be made sticky?

DrOzz 06-11-2004 08:19 PM

if you mean a sticky for installing them then there used to be one (not sure if it still is)
http://www.linuxquestions.org/questi...ghlight=NVIDIA
but there it is above .. which is a very good "howto"

lupin_the_3rd 06-11-2004 08:23 PM

I meant the problems with the 4kstacks... carwill may know about it but since it's a pretty common issue and nvidia has yet to release drivers (though they are in the works supposedly)... just thought it may save some of those new to FC2 some time and headaches...

carlosinfl 06-11-2004 08:43 PM

so now I need to update my kernel version? :confused:

wow - this is getting hard - I am very new to linux and would have no idea how to do this? Is this a major deal or simple task?

Any downside to updating my kernel version?

lupin_the_3rd 06-11-2004 11:16 PM

It's not hard to compile your own kernel but there is one available from linuxant that is identical to the FC2 kernel with 8kstacks rather than 4 (the 4kstacks is what is causing a problem with the nvidia driver). Here's the link:

http://www.linuxant.com/driverloader...ernel-i686.php

You only need the kernel .rpm.zip not the src.rpm.zip unless you want to rebuild the rpm.

To roll your own kernel here's a very basic rundown:

1) download the kernel sources from here:

http://www.kernel.org/

Choose "F" for full sources... the current is 2.6.6

2) open up a terminal and su to root

(#denotes commnad line input)
3) #bunzip2 linux-2.6.6.tar.bzip2
4)#mv linux-2.6.6.tar /usr/src
5)#tar -xf linux-2.6.6.tar
6)#cd /usr/src/linux-2.6.6
7)#cp /boot/config-2.6.5-1.358 .config
8)make menuconfig
9)check "Kernel hacking ---> CONFIG_4KSTACKS" and make sure it is disabled
10)exit
11)make && make modules_install && make install
12) or instead of "make install" you can "make rpm" and install that way
13) reboot into the new kernel
14) install nvidia drivers

carlosinfl 06-12-2004 12:07 PM

Quote:

Originally posted by lupin_the_3rd


1) download the kernel sources from here:

http://www.kernel.org/

Choose "F" for full sources... the current is 2.6.6

2) open up a terminal and su to root

(#denotes commnad line input)
3) #bunzip2 linux-2.6.6.tar.bzip2
4)#mv linux-2.6.6.tar /usr/src
5)#tar -xf linux-2.6.6.tar
6)#cd /usr/src/linux-2.6.6
7)#cp /boot/config-2.6.5-1.358 .config
8)make menuconfig
9)check "Kernel hacking ---> CONFIG_4KSTACKS" and make sure it is disabled
10)exit
11)make && make modules_install && make install
12) or instead of "make install" you can "make rpm" and install that way
13) reboot into the new kernel
14) install nvidia drivers

1-14 are instruction for just installing an upgraded kernel version? Or is this how to complie my own? I have no idea how compie my own kernel and if possible just would like to upgrade this to something that supports nVidia drivers (just enough to get me by)

jedimastermopar 06-12-2004 01:47 PM

I was able to complie my kernel when running the nvidia install, the point at which you are asked if you woul dlike to download a new kernal hit no and go from there, it recompiled my kernal. however, I was unable to get the nvidia drivers to work. :(

lupin_the_3rd 06-12-2004 04:00 PM

Quote:

Originally posted by carlwill
1-14 are instruction for just installing an upgraded kernel version? Or is this how to complie my own? I have no idea how compie my own kernel and if possible just would like to upgrade this to something that supports nVidia drivers (just enough to get me by)
It's how to compile your own...

lupin_the_3rd 06-12-2004 04:01 PM

Quote:

Originally posted by jedimastermopar
I was able to complie my kernel when running the nvidia install, the point at which you are asked if you woul dlike to download a new kernal hit no and go from there, it recompiled my kernal. however, I was unable to get the nvidia drivers to work. :(
Nvidia installer doesn't compile your kernel it compiles a kernel module... it's searching for premade modules not kernels...

cuco76 06-12-2004 07:00 PM

The 2.6.6-1 kernel is available. Has anyone tried the nVidia install with it? Just 'yum update' and you will have the latest FC2 kernel!

Good Luck!

carlosinfl 06-13-2004 11:10 AM

sorry, not familiar with yum...

can I do this in GUI mode logged in as a user?

Can you post the code needed.

Thanks

cuco76 06-13-2004 11:30 AM

Note the 2.6.6-1 kernel that is available through fedora is not nVidia friendly.

However if you still want to update the kernel you can open a terminal and type

"yum update"

There is a good readme available on http://fedora.artoo.net

Good Luck

RottenMutt 06-13-2004 09:14 PM

I installed 2.6.6-1.247 and compiled a custom kernel with the nostacks patch. run
Code:

patch -R -p1 <../redhat/SOURCES/linux-2.6.5-nostack.patch
while in /usr/src/linux-2.6.6-1.427 directory. You can get the kernel source and the kernel-2.6.6-1.427.src.rpm from Fedora 2 Server.
I couldn't compile a working kernel on the stock FC2 kernel, but it works on 2.6.6-1.247. I think firewire was broken on the old kernel.
Also, on the new kernel i need to skip the new graphics screen that loads with linux, it loads the graphics driver twice and the Nvidia driver doesn't like it the second time. but if i skip the new screen it is fine.


All times are GMT -5. The time now is 12:24 AM.