LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-26-2003, 04:07 PM   #1
raid517
Member
 
Registered: Feb 2002
Posts: 393

Rep: Reputation: 30
No display with Nvidia & X


Hi, I have a Gforce FX 5200. It is not entirely a top end card, but it is good enough for most purposes. However after following the Xconfiguration guide for Gentoo Linux in the provided docs to the letter, when I type 'startx' all I get is a blank screen. It looks like x has started, as there are no error messages and i am not dropped back to a prompt - but again as i said, all I get is a blank screen.

One part of the instructions I didn't understand was the part saying that I had to 'recompile the nvidia kernel'. What does this mean and how do I do it? I have no problems with compiling a standard kernel, and I emerged/installed the nvidia kernel and the nvidia driver.

Additionally, what options must I enable in the standard kernel (I'm using gentoo-sources) to ensure I obtain full accelearted 3D functionality?

All input is welcome.

Q
 
Old 09-26-2003, 06:15 PM   #2
willcox
Member
 
Registered: May 2003
Location: Mexico
Distribution: FC 4
Posts: 36

Rep: Reputation: 15
Hi!, I had the same problem some time ago. Try to find and read this:

LinuxQuestions.org Forums > Linux - General > LinuxQuestions.org Member Success Stories > complete Idiot's guide to Nvidia drivers

ohh!! yes!! maybe, you're thinking ...am I an idiot? ahh!! who cares?...
Look, I resolved and had success with Fingel's instructions...don't have your excellent video card, but, perhaps, it could help you..
take it easy!
 
Old 09-26-2003, 09:14 PM   #3
raid517
Member
 
Registered: Feb 2002
Posts: 393

Original Poster
Rep: Reputation: 30
Hmm... no I followed that guide and I still only get a blank screen. I get a flicker of a mouse cusror so it looks encouraging, but still essentially a blank screen.

Which kernel options do I need to enable/disable and does anyone have any other suggestion to get this thing going?

Your input is appreciated.

Q
 
Old 09-26-2003, 09:20 PM   #4
raid517
Member
 
Registered: Feb 2002
Posts: 393

Original Poster
Rep: Reputation: 30
Just incase anyone is interested, here is the actual out put of the error message i get:

When I simply type startx I get nothing more than a blank screen, however if I type XFree86 -xf86config /etc/X11/XF86Config I get a blank screen and a smax black x shaped mouse pointer. I do this as I learned how to test my XF86Config file using XFree86 -configure. CTRL ALT & BackSpace reveals this error:

Code:
Symbol__glxActiveScreens from module /usr/X11R6/lib/modules/extensions/libdri.a is unresolved!

(II) [GLX]: Initialising GLX extension
login: Error 32, errono 2: No such file or directory

Reason get_pty: not enough ptys
Perhaps this means something to you? I'm afraid it means nothing to me at all.

If anyone feels it's relevant I could post my XF86Config file and the full XFree error log too.

Your input and opinions are welcome.

Q

Last edited by raid517; 09-26-2003 at 09:23 PM.
 
Old 09-27-2003, 05:52 PM   #5
raid517
Member
 
Registered: Feb 2002
Posts: 393

Original Poster
Rep: Reputation: 30
Ok Well thanks for the great advice, Just incase you think I'm not following the guide here is an update of what I have done.

Two things I tried were to disable unix98PTY support in the kernel and the other was to remove agpgrart support. I removed unix98PTY support as as I said, one of the errors it kept quiting with was 'not enough ptys'. Increasing this number sequentially from 256 to 512, 1024 and 2048 had no effect as it still kept producing that error. Only after I removed Unix98PTY support did that error go away. I removed agpgrat support as I found also that whenever it was enabled X refused to start, or would start with a mouse cursor and nothing more (black screen).

After I removed agpgart support from the kernel I was able to startx.

However I have absolutely no video acceleration and no opengl output. I emerged nvidia-glx (to non gentoo users emege just means automatically download compile and install) and nvidia-kernel. Unloaded (rmmod nvidia) as I had the module set to automatically load at boot time, I compiled the kernel with agpgart enabled/diabled and as a module - and each time I compiled the kernel I reinstalled and recompiled the nvidia drivers and then ran 'opengl-update nvidia'.

I then removed the 'dri' module from Xf86Config, which is configured as follows:

Code:
Section "ServerLayout"
	Identifier     "XFree86 Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	ModulePath   "/usr/X11R6/lib/modules"
	FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
	FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
	FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
	FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
	Load  "glx"
	Load  "extmod"
	Load  "xtrap"
	Load  "record"
	Load  "dbe"
	Load  "speedo"
	Load  "type1"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "keyboard"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/mouse"
EndSection

Section "Monitor"
	Identifier	"Monitor0"
	Option	"DPMS"	"true"
	VendorName	"SAM"
	ModelName	"SAM1057"
	HorizSync 30 - 70 # DDC-probed
	VertRefresh 50 - 160 # DDC-probed
	# These are the DDC-probed settings reported by your monitor.
	# 1280x1024, 75.0Hz; hfreq=79.98, vfreq=75.03
	ModeLine "1280x1024"	135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
	# 1024x768, 85.0Hz; hfreq=68.68, vfreq=85.00
	ModeLine "1024x768"	 94.50 1024 1072 1168 1376  768  769  772  808 +hsync +vsync
	# 1024x768, 75.0Hz; hfreq=60.02, vfreq=75.03
	ModeLine "1024x768"	 78.75 1024 1040 1136 1312  768  769  772  800 +hsync +vsync
	# 1024x768, 70.0Hz; hfreq=56.48, vfreq=70.07
	ModeLine "1024x768"	 75.00 1024 1048 1184 1328  768  771  777  806 -hsync -vsync
	# 1024x768, 60.0Hz; hfreq=48.36, vfreq=60.00
	ModeLine "1024x768"	 65.00 1024 1048 1184 1344  768  771  777  806 -hsync -vsync
	# 800x600, 85.0Hz; hfreq=53.67, vfreq=85.06
	ModeLine "800x600"	 56.25  800  832  896 1048  600  601  604  631 +hsync +vsync
	# 800x600, 75.0Hz; hfreq=46.88, vfreq=75.00
	ModeLine "800x600"	 49.50  800  816  896 1056  600  601  604  625 +hsync +vsync
	# 800x600, 60.0Hz; hfreq=37.88, vfreq=60.32
	ModeLine "800x600"	 40.00  800  840  968 1056  600  601  605  628 +hsync +vsync
	# 800x600, 56.0Hz; hfreq=35.16, vfreq=56.25
	ModeLine "800x600"	 36.00  800  824  896 1024  600  601  603  625 +hsync +vsync
	# 640x480, 85.0Hz; hfreq=43.27, vfreq=85.01
	ModeLine "640x480"	 36.00  640  696  752  832  480  481  484  509 -hsync -vsync
	# 640x480, 75.0Hz; hfreq=37.50, vfreq=75.00
	ModeLine "640x480"	 31.50  640  656  720  840  480  481  484  500 -hsync -vsync
	# 640x480, 72.0Hz; hfreq=37.86, vfreq=72.81
	ModeLine "640x480"	 31.50  640  656  696  816  480  481  484  504 -hsync -vsync
	# 640x480, 60.0Hz; hfreq=31.47, vfreq=59.94
	ModeLine "640x480"	 25.17  640  648  744  784  480  482  484  509 -hsync -vsync
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "DigitalVibrance"    	# <i>
        #Option     "PageFlip"           	# [<bool>]
        #Option     "Dac8Bit"            	# [<bool>]
        #Option     "NoLogo"             	# [<bool>]
        #Option     "Overlay"            	# [<bool>]
        #Option     "UBB"                	# [<bool>]
        #Option     "Stereo"             	# <i>
        #Option     "WindowFlip"         	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "HWcursor"           	# [<bool>]
        #Option     "VideoKey"           	# <i>
        #Option     "NvAGP"              	# <i>
        #Option     "IgnoreEDID"         	# [<bool>]
        #Option     "NoDDC"              	# [<bool>]
        #Option     "ConnectedMonitor"   	# <str>
        #Option     "ConnectedMonitors"  	# <str>
        #Option     "TVStandard"         	# <str>
        #Option     "TVOutFormat"        	# <str>
        #Option     "RenderAccel"        	# [<bool>]
        #Option     "CursorShadow"       	# [<bool>]
        #Option     "CursorShadowAlpha"  	# <i>
        #Option     "CursorShadowXOffset" 	# <i>
        #Option     "CursorShadowYOffset" 	# <i>
        #Option     "UseEdidFreqs"       	# [<bool>]
        #Option     "FlatPanelProperties" 	# <str>
        #Option     "TwinView"           	# [<bool>]
        #Option     "TwinViewOrientation" 	# <str>
        #Option     "SecondMonitorHorizSync" 	# <str>
        #Option     "SecondMonitorVertRefresh" 	# <str>
        #Option     "MetaModes"          	# <str>
        #Option     "UseInt10Module"     	# [<bool>]
        #Option     "SwapReady"          	# [<bool>]
        #Option     "NoTwinViewXineramaInfo" 	# [<bool>]
        #Option     "NoRenderExtension"  	# [<bool>]
        #Option     "UseClipIDs"         	# [<bool>]
        #Option     "CIOverlay"          	# [<bool>]
        #Option     "TransparentIndex"   	# <i>
        #Option     "OverlayDefaultVisual" 	# [<bool>]
        #Option     "NvEmulate"          	# <i>
        #Option     "NoBandWidthTest"    	# [<bool>]
        #Option     "CustomEDID-CRT-0"   	# <str>
        #Option     "CustomEDID-CRT-1"   	# <str>
        #Option     "CustomEDID-DFP-0"   	# <str>
        #Option     "CustomEDID-DFP-1"   	# <str>
        #Option     "CustomEDID-TV-0"    	# <str>
        #Option     "CustomEDID-TV-1"    	# <str>
        #Option     "TVOverScan"         	# <f>
        #Option     "IgnoreDisplayDevices" 	# <str>
        #Option     "MultisampleCompatibility" 	# [<bool>]
	Identifier  "Card0"
	Driver      "nvidia"
	VendorName  "nVidia Corporation"
	BoardName   "Fforce FX 5200"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Depth     1
	EndSubSection
	SubSection "Display"
		Depth     4
	EndSubSection
	SubSection "Display"
		Depth     8
	EndSubSection
	SubSection "Display"
		Depth     15
	EndSubSection
	SubSection "Display"
		Depth     16
	EndSubSection
	SubSection "Display"
		Depth     24
	EndSubSection
EndSection

Section "DRI"
	Mode 0666
EndSection

However when I type startx X will now start, but I can get no opengl or video accelearation at all. If I type glx gears, I simply get an error message saying:

Code:
Symbol__glxActiveScreens from module /usr/X11R6/lib/modules/extensions/libdri.a is unresolved!

(II) [GLX]: Initialising GLX extension
login: Error 32, errono 2: No such file or directory

Reason get_pty: not enough ptys
If I remove PTY and agpgart support (baring in mind I found that it never worked at all with agpgart enabled) support in the kernel, X now starts, but there is no 3D at all and I still get the first error saying:

Code:
Symbol__glxActiveScreens from module /usr/X11R6/lib/modules/extensions/libdri.a is unresolved!
Also in X if I type 'glxgears I get an error message saying:

Code:
Error: couldn't get an RGB, Double Buffered visual.
Has anyone got any ideas what this means? Has it got anything to do with the paths for RGB, or is it something else?

Q

Last edited by raid517; 09-27-2003 at 05:53 PM.
 
  


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
different sized monitors & nvidia dual display bruceyboy Linux - Hardware 1 01-27-2005 11:17 AM
Mandrake 9.1/IOGear ION External USB 2.0 hdd && Laptop LCD Display Prismatic Linux - Hardware 8 02-09-2004 08:17 PM
nVidia GeForce & LCD display problem Cazar Red Hat 5 01-30-2004 04:49 PM
nvidia gforce 2mmx & NEC Multisync A700 display problems mipia Linux - Hardware 5 05-17-2003 01:27 PM
linux config & installation & display card problem spsonar Linux - Software 0 02-14-2002 06:52 AM

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

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