LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-07-2004, 01:10 PM   #1
Space_Balls
Member
 
Registered: Aug 2003
Location: El Paso, Tx
Distribution: Debian Sid, SuSe 9.1 Pro
Posts: 33

Rep: Reputation: 15
Nvidia + Fedora


I'm running Fedora Core2 using the 2.6.3-422 Kernel

My card is a GF4 TI 4200

I am not able to start X after installing the laters nvidia drivers,
I have tried it with Load dri and without Load dri, so there is no change there. I can still open X just fine when I use the nv driver, instead of nvidia. I have the source package installed for my Kernel, and it didn't work with the 2.6.3-420 kernel either.

Heres my XF89config

Code:
# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
	Identifier     "Default Layout"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# RgbPath is the location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	FontPath     "unix/:7100"
EndSection

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

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#	Option	"Xleds"		"1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
#	Option	"XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#	Option	"XkbModel"	"pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#	Option	"XkbModel"	"microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#	Option	"XkbLayout"	"de"
# or:
#	Option	"XkbLayout"	"de"
#	Option	"XkbVariant"	"nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#	Option	"XkbOptions"	"ctrl:swapcaps"
# Or if you just want both to be control, use:
#	Option	"XkbOptions"	"ctrl:nocaps"
#
	Identifier  "Keyboard0"
	Driver      "keyboard"
	Option	    "XkbRules" "xfree86"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "no"
EndSection

Section "InputDevice"

# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
	Identifier  "DevInputMice"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "no"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "ViewSonic PF790"
	HorizSync    30.0 - 97.0
	VertRefresh  50.0 - 180.0
	Option	    "dpms"
EndSection

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

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Depth     24
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection
Hope someone knows a solution to this!
 
Old 03-07-2004, 01:39 PM   #2
verdeboy2k
Member
 
Registered: Jan 2004
Location: /dev/random
Distribution: Gentoo amd64, CrunchBang amd64
Posts: 350

Rep: Reputation: 32
Does X give an error message or just crash? Also you need patched drivers to use the nvidia drivers with the 2.6.x kernel series. See this post: http://www.linuxquestions.org/questi...hreadid=146434 . It helped me get them to work. Also, the README says to not use the DRI module with their drivers, it caused mine to crash when I did.
 
Old 03-07-2004, 02:19 PM   #3
Space_Balls
Member
 
Registered: Aug 2003
Location: El Paso, Tx
Distribution: Debian Sid, SuSe 9.1 Pro
Posts: 33

Original Poster
Rep: Reputation: 15
Thanks!

the 2.6 kernel drivers fixed my problem. This is weird, since I had nvidia drivers running on FC2 before, using the standard official drivers.

The other problem I have is that I cannot open games (Et&AA) since they give errors about my GLX modules not being available
Load GLX is clearly in my XF86config, so I don't know why they aren't loaded.
 
Old 03-07-2004, 02:40 PM   #4
verdeboy2k
Member
 
Registered: Jan 2004
Location: /dev/random
Distribution: Gentoo amd64, CrunchBang amd64
Posts: 350

Rep: Reputation: 32
Check to see if the GLX module is actually installed or not.. that could be the problem. I would tell ya how, but I'd love to know too .
 
Old 03-07-2004, 03:19 PM   #5
mmail75
LQ Newbie
 
Registered: Nov 2003
Distribution: Fedora Core
Posts: 20

Rep: Reputation: 0
try this

Hi!

I'm not sure if this will make any difference, but when I installed my NVIDIA GF4 MX 8AGP on my FC1 machine I read some part of the readme file of the official drivers, and says this:

------------------------------------------------------------------------------------------------
[...] 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"
-----------------------------------------------------------------------------------------------

I've notice you still have "Load "dri" on your XF86Config, try this... although I am a newbie and I really don't know what do this mean, I'm just refering to what the readme says...

Also... I've noticed your VERTREFRESH value is from 50 to 180 Hz, I've never seen a monitor with this refresh rate... make sure this is correct, I have no idea, it just was something I thought.

Good luck!
 
Old 03-07-2004, 04:25 PM   #6
Space_Balls
Member
 
Registered: Aug 2003
Location: El Paso, Tx
Distribution: Debian Sid, SuSe 9.1 Pro
Posts: 33

Original Poster
Rep: Reputation: 15
my montior has a pretty good refresh rate, believe me (up to 90Hz at 1280X1024, thats where I'm running it at)
I was trying to work out if I could load X with Load Dri enabled, which also didn't work.
DRI is infact disabled on my machine, since I'm aware of what the readme states.

I remember there being a command for showing what modules are in fact loaded.. I will try to find it somewhere

EDIT:

The command is "xdpyinfo"

The output about my modules is this:
Code:
number of extensions:    27
    BIG-REQUESTS
    DOUBLE-BUFFER
    DPMS
    Extended-Visual-Information
    FontCache
    LBX
    MIT-SCREEN-SAVER
    MIT-SHM
    MIT-SUNDRY-NONSTANDARD
    RANDR
    RECORD
    RENDER
    SECURITY
    SHAPE
    SYNC
    TOG-CUP
    X-Resource
    XC-APPGROUP
    XC-MISC
    XFree86-Bigfont
    XFree86-DGA
    XFree86-Misc
    XFree86-VidModeExtension
    XInputExtension
    XKEYBOARD
    XTEST
    XVideo
clearly, there is no GLX listed there

Last edited by Space_Balls; 03-07-2004 at 04:31 PM.
 
Old 03-08-2004, 02:26 PM   #7
Space_Balls
Member
 
Registered: Aug 2003
Location: El Paso, Tx
Distribution: Debian Sid, SuSe 9.1 Pro
Posts: 33

Original Poster
Rep: Reputation: 15
*bump*
 
Old 03-10-2004, 12:46 PM   #8
verdeboy2k
Member
 
Registered: Jan 2004
Location: /dev/random
Distribution: Gentoo amd64, CrunchBang amd64
Posts: 350

Rep: Reputation: 32
Have you tried reinstalling and/or updating XFree86, that could replace your apparently missing GLX module. Also, a google search revealed that many people have this problem, just not with Fedora... Check your XF86 log to see if any fun error messages pop up.
 
Old 03-10-2004, 08:38 PM   #9
MattDadd7499
LQ Newbie
 
Registered: Mar 2004
Location: New Jersey
Distribution: Red Hat 9
Posts: 2

Rep: Reputation: 0
i just installed the nvidia driver last night to enable my tv-out and ran into the same problem with X not wanting to start.

The driver i used was "NVIDIA-Linux-x86-1.0-5336-pkg1.run,"
and my XF86Cionfig file was previously identical to yours.

In the sample XF86Config file provided bt nvidia, and located in /usr/share/doc/NVIDIA_GLX-1.0/,
i noticed that not all of the modules, three in particular, were present:
"fbdevhw", "record", and "dri".
Before i removed them, X would fail to start using "nvidia" complaining that it could not load GLX. Once removed, it started fine and my tv-out worked.
I noticed from your output of "xdpyinfo" that RECORD is still present
I could be that fbdevhw or record are conflicting with glx.

My first suggestion would be to comment out all three of those modules.

If GLX still fails to load, check if you used the driver that I used.

I'm running Red Hat 9 with a 2.4.x kernel, so i didn't need that patch that was mentioned, and i don't know how much that has to do with the problem.

Here is the "modules" section of my XF86Config:
Section "Module"
Load "dbe"
Load "extmod"
#Load "fbdevhw"
Load "glx"
#Load "record"
Load "freetype"
Load "type1"
#Load "dri"
EndSection

and here is the output of xdpyinfo:
number of extensions: 30
BIG-REQUESTS
DOUBLE-BUFFER
DPMS
Extended-Visual-Information
FontCache
GLX <-----------
LBX
MIT-SCREEN-SAVER
MIT-SHM
MIT-SUNDRY-NONSTANDARD
NV-CONTROL <------------
NV-GLX <------------
RANDR
RENDER
SECURITY
SHAPE
SYNC
TOG-CUP
X-Resource
XC-APPGROUP
XC-MISC
XFree86-Bigfont
XFree86-DGA
XFree86-Misc
XFree86-VidModeExtension
XINERAMA
XInputExtension
XKEYBOARD
XTEST
XVideo

hope this helps
 
Old 05-21-2004, 04:52 AM   #10
gloom
LQ Newbie
 
Registered: May 2004
Location: Brussels
Distribution: Fedora Core 3
Posts: 5

Rep: Reputation: 0
Fedora Core 2 and NVidia drivers

Hi all,

I've the following problem.

Yesterday I installed Fedora Core 2. I even did a full install (6,5G). My config is a AthlonXP2000+, 1,5G mem, 120G hdd, Geforce 4 MX & S3 pci.

After everything installed, I tried some app and everything was working.

With X drivers, everything worked fine, even dual graphic cards. Like I want to use tv ouput, I downloaded latest NVidia drivers.

Before installing it, I rebooted with AGP card only and putted back standard xorg.conf .

Install worked fine, I updated the xorg.conf file like readme explains and like I did before under redhat 9.

Problem now is my system freeze when I start X. Just get a black screen and nothing respond anymore :s:s:s

Any idea ? any solution ?
 
Old 06-14-2004, 02:10 PM   #11
d4rkmoon
LQ Newbie
 
Registered: Jun 2004
Posts: 1

Rep: Reputation: 0
Re: Fedora Core 2 and NVidia drivers

Quote:
Originally posted by gloom
Hi all,

I've the following problem.

Yesterday I installed Fedora Core 2. I even did a full install (6,5G). My config is a AthlonXP2000+, 1,5G mem, 120G hdd, Geforce 4 MX & S3 pci.

After everything installed, I tried some app and everything was working.

With X drivers, everything worked fine, even dual graphic cards. Like I want to use tv ouput, I downloaded latest NVidia drivers.

Before installing it, I rebooted with AGP card only and putted back standard xorg.conf .

Install worked fine, I updated the xorg.conf file like readme explains and like I did before under redhat 9.

Problem now is my system freeze when I start X. Just get a black screen and nothing respond anymore :s:s:s

Any idea ? any solution ?
There is a 4stack patch for your kernel. I believe you have to re-compile the kernel and say no to the 4stack question. From what I've read, it's something to do with the driver itself and the kernel.

Try this:
 
Old 08-13-2004, 11:15 AM   #12
thebutler4
Member
 
Registered: May 2004
Posts: 46

Rep: Reputation: 15
WOW! Thank you d4rkmoon !!!!!!

That is one awesome link .. I dumped FC2 because I did not know how to compile my kernel ... but after printing that out .. I think I am ready for FC2!!!

Awsome! .. Thank you again!!!!
 
  


Reply



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
Fedora 3 + Nvidia Lobais Fedora 10 04-01-2005 12:54 AM
NVIDIA and Fedora Core 3 MalachiX Linux - Newbie 3 02-10-2005 06:37 PM
Nvidia Drivers For Fedora :) LinuxMyK Fedora 15 07-04-2004 06:31 PM
Nvidia Fedora 1 problem Draylath Linux - Newbie 10 06-03-2004 09:15 AM
fedora core +nvidia mortal Linux - Newbie 1 03-17-2004 06:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:34 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