LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-11-2004, 08:11 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
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.
 
Old 06-11-2004, 08:15 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
yes indeed it does ... you have to make them changes on any distro ..
it is located at /etc/X11/XF86Config
 
Old 06-11-2004, 08:18 PM   #3
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
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?
 
Old 06-11-2004, 08:19 PM   #4
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
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"
 
Old 06-11-2004, 08:23 PM   #5
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
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...
 
Old 06-11-2004, 08:43 PM   #6
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
so now I need to update my kernel version?

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?
 
Old 06-11-2004, 11:16 PM   #7
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
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
 
Old 06-12-2004, 12:07 PM   #8
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
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)
 
Old 06-12-2004, 01:47 PM   #9
jedimastermopar
Member
 
Registered: Jun 2004
Distribution: fedora core 1 and core 2
Posts: 178

Rep: Reputation: 30
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.
 
Old 06-12-2004, 04:00 PM   #10
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
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...
 
Old 06-12-2004, 04:01 PM   #11
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
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...
 
Old 06-12-2004, 07:00 PM   #12
cuco76
Member
 
Registered: Oct 2003
Location: Tucson
Distribution: Fedora, RHEL, Ubuntu
Posts: 225

Rep: Reputation: 31
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!
 
Old 06-13-2004, 11:10 AM   #13
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
sorry, not familiar with yum...

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

Can you post the code needed.

Thanks
 
Old 06-13-2004, 11:30 AM   #14
cuco76
Member
 
Registered: Oct 2003
Location: Tucson
Distribution: Fedora, RHEL, Ubuntu
Posts: 225

Rep: Reputation: 31
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
 
Old 06-13-2004, 09:14 PM   #15
RottenMutt
Member
 
Registered: Jul 2003
Location: dfw
Distribution: Latest Fedora Release
Posts: 195

Rep: Reputation: 31
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I can't Install any NVIDIA Drivers..I am a newbie at FC2 Xzenocal Linux - Newbie 6 08-28-2005 03:35 AM
Installing nvidia drivers from nvidia website on mepis 3.3 xbennyboy Linux - Hardware 4 04-23-2005 09:19 AM
Proprietary nvidia drivers vs. generic intel sound and ethernet drivers vharishankar Linux - Hardware 2 02-22-2005 05:32 AM
did something change after kernel 2.6.8-1.521? re:Nvidia drivers and FC2 clausawits Fedora 3 01-24-2005 03:13 PM
New nvidia drivers that works without recompiling kernel for fc2 rejser Fedora 2 07-06-2004 07:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration