LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-26-2004, 03:32 PM   #1
EliteTurk
LQ Newbie
 
Registered: Jun 2004
Location: Arizona
Posts: 13

Rep: Reputation: 0
Nvidia driver probs on MSI G4...


Ok, so here's the deal. I've been dabbling with linux here and there over the past couple of years. I basically know how to make it work, but I never keep it long because I have *never* been able to get my MSI GeForce4 Ti4200 to work with OpenGL support. I've just installed Mandrake 10 and I installed the kernel source for my kernel (2.6.3-7). The driver installs fine under init 3 and so I go edit the Xconfig file, then run startx and, voila!, it doesn't work. Here's the part of the log with the error:

(II) Setting vga for screen 0.
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
compiled for 4.3.0.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.6
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(--) NVIDIA(0): Linear framebuffer at 0xD8000000
(--) NVIDIA(0): MMIO registers at 0xDE000000
(EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(II) UnloadModule: "vgahw"
(II) Unloading /usr/X11R6/lib/modules/libvgahw.a
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

And here is my Xconfig:

# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "en_US"
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Generic"
ModelName "1280x1024 @ 60 Hz"
HorizSync 31.5-64.3
VertRefresh 50-70

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
Identifier "Nvidia"
VendorName "NVidia"
BoardName "NVIDIA GeForce4 (generic)"
Driver "nvidia"

EndSection

Section "Screen"
Identifier "screen1"
Device "Nvidia"
Monitor "monitor1"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 15
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 16
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 24
Virtual 1024 768
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection


I'm determined to make this work this time. Any help is greatly appreciated.

-Turk
 
Old 06-26-2004, 03:38 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
You did load the nvidia module after you installed it right? Do you see it when you do lsmod? Try this:

modprobe nvidia
 
Old 06-26-2004, 03:42 PM   #3
EliteTurk
LQ Newbie
 
Registered: Jun 2004
Location: Arizona
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks for the response, but it says nothing when I modprobe nvidia. Just gives me a new command prompt on the next line.

-Turk

Edit:

And it is listed under lsmod.
 
Old 06-26-2004, 03:42 PM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Thats what its suppose to do. Now when you type lsmod you should see nvidia loaded as one of your modules. Then try and startx.
 
Old 06-26-2004, 03:45 PM   #5
EliteTurk
LQ Newbie
 
Registered: Jun 2004
Location: Arizona
Posts: 13

Original Poster
Rep: Reputation: 0
No go. Gives the exact same error as in the log I posted above.
 
Old 06-26-2004, 03:49 PM   #6
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Okay I'm no XF86config pro but I did notice something in yours. Try changing:

Identifier "Nvidia"

to

Identifier "Videocard0"

<EDIT>
Also have to change:

Section "Screen"
Identifier "screen1"
Device "Nvidia"
Monitor "monitor1"
DefaultColorDepth 24

to

Section "Screen"
Identifier "screen1"
Device "Videocard0"
Monitor "monitor1"
DefaultColorDepth 24

Last edited by Crashed_Again; 06-26-2004 at 03:52 PM.
 
Old 06-26-2004, 04:01 PM   #7
EliteTurk
LQ Newbie
 
Registered: Jun 2004
Location: Arizona
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks but it didn't make any difference. I think that the identifier is merely a name to point it to a device but I dunno, I'm no expert. Any other ideas?
 
Old 06-26-2004, 04:08 PM   #8
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Not really but let me post my XF86config file so you can compare. Mine is working:

Code:
Section "ServerLayout"
	Identifier     "Default Layout"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "DevInputMice" "AlwaysCore"
EndSection

Section "Files"

  	 RgbPath      "/usr/X11R6/lib/X11/rgb"
#	FontPath     "/usr/share/fonts"
EndSection

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

Section "InputDevice"

	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/psaux"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "no"
EndSection

Section "InputDevice"
	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    "A90f+"
	DisplaySize  360	270
	HorizSync    30.0 - 86.0
	VertRefresh  50.0 - 150.0
	Option	    "dpms"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "nvidia"
	VendorName  "Videocard vendor"
	BoardName   "NVIDIA GeForce 2 MX (generic)"
	#VideoRam    32768
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Depth     24
		Modes     "1280x1024"
	EndSubSection
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection
 
Old 06-26-2004, 04:23 PM   #9
EliteTurk
LQ Newbie
 
Registered: Jun 2004
Location: Arizona
Posts: 13

Original Poster
Rep: Reputation: 0
Nothing is working. I do have Tv-Out and DVI on the card if that makes any difference.
 
Old 06-26-2004, 05:03 PM   #10
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Try re-installing the nvidia driver.
 
Old 06-26-2004, 06:27 PM   #11
EliteTurk
LQ Newbie
 
Registered: Jun 2004
Location: Arizona
Posts: 13

Original Poster
Rep: Reputation: 0
Well, it's not the GeForce 4, it's something else. I tried a GeForce 3 and a GeForce 2 and both yield the same error even after reinstalling the nvidia drivers. Could it be something with my monitor? If so, any ideas on how to fix it without getting a different monitor? Thanks!
 
Old 06-26-2004, 08:40 PM   #12
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
I found this reply on another forum:

Quote:
The files /dev/nvidia* are dynamically created at the start-up of the system by the "nvdia" module", IF THIS MODULE HAS BEEN PREVIOUSLY LOADED.
Basically it says that the nvidia module must be loaded at boot time so try adding it to the appropriate modules file for your distrobution. I think its /etc/modules.conf but I'm not sure.
 
Old 06-26-2004, 08:56 PM   #13
EliteTurk
LQ Newbie
 
Registered: Jun 2004
Location: Arizona
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks, but why would that matter? I mean, if you load it yourself before starting X why would it matter if it was loaded during boot? Not trying to be rude just wondering.. I'm trying to understand exactly what I'm doing and why as I go. I'll try it tho.
 
  


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
MSI G4MX440-T NVidia card thoray Debian 4 04-14-2005 05:47 AM
Nvidia driver probs Malacus Linux - Newbie 20 04-06-2005 05:36 PM
MSI NVIDIA GF 6600GT / Dual dipsplay problem reflection666 Linux - Hardware 2 03-17-2005 11:46 AM
nvidia Driver probs after upgrading card JShadow Linux - Newbie 3 01-22-2005 05:27 AM
NVidia driver Probs with Slackware 9.1 chewysplace Slackware 7 11-01-2003 11:05 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration