Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jun 2005 11:25:46 -0500
From:      "Z.C.B." <vvelox@vvelox.net>
To:        Subhro <subhro.kar@gmail.com>
Cc:        freebsd-questions@freebsd.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Grainy X
Message-ID:  <20050612112546.35f414f6@vixen42.local.lan>
In-Reply-To: <42AC024F.4000104@gmail.com>
References:  <42ABFBED.3080208@gmail.com> <20050612091258.GA76372@xor.obsecurity.org> <42AC024F.4000104@gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Sun, 12 Jun 2005 15:07:19 +0530
Subhro <subhro.kar@gmail.com> wrote:

> On 6/12/2005 14:42, Kris Kennaway wrote:
> 
> >On Sun, Jun 12, 2005 at 02:40:05PM +0530, Subhro wrote:
> >  
> >
> >>Hello Folks,
> >>
> >>I am running FreeBSD 5.4-STABLE on an old PIII (1G) Box with
> >>512MB RAM. This box has a GeforceFX 5700LE card fixed into the
> >>AGP slot. The ports tree had been upgraded just now and I have
> >>installed the Nvidia Drivers from the port tree. However after
> >>the driver is loaded from xorg.conf, the image is very grainy, as
> >>if it is running 256 colors. The colours are correct if I use the
> >>"nv" driver instead of the "nvidia" driver. Any can guide me
> >>about what I am missing out?
> >>    
> >>
> >
> >Well, *is* it running 256 colo[u]rs?  Use xdpyinfo.
> >
> >Kris
> >  
> >
> Yup I think so. I am attaching all the files.
> 
> Thanks
> S.

Taking a look at the xorg.conf, I am surprised that even works. There
is no screen section.


[-- Attachment #2 --]
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	Screen      1  "Screen1" RightOf "Screen0"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
#	InputDevice    "tablet0" "SendCoreEvents"
#	Option "Xinerama"
EndSection

Section "Extensions"
	Option "RENDER" "Enable"
#	Option "damage" "Enable"
#	Option "AllowGLXWithComposite" "1"
#	Option "Composite" "Enable"
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/TTF/"
	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/"
	FontPath     "/usr/X11R6/lib/X11/fonts/bitstream-vera"
        FontPath     "/usr/X11R6/lib/X11/fonts/PEX"
        FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
        FontPath     "/usr/X11R6/lib/X11/fonts/encodings"
        FontPath     "/usr/X11R6/lib/X11/fonts/latin2"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc"
        FontPath     "/usr/X11R6/lib/X11/fonts/util"
EndSection

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

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/sysmouse"
	Option      "ZAxisMapping" "4 5"
EndSection



Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
 ### Uncomment if you don't want to default to DDC:
	HorizSync    31.5 - 64.3
	VertRefresh  60.0 - 70.0
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
 ### Uncomment if you don't want to default to DDC:
	HorizSync    31.5 - 64.3
	VertRefresh  60.0 - 70.0
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     "NoFlip"             	# [<bool>]
        #Option     "Dac8Bit"            	# [<bool>]
        #Option     "NoLogo"             	# [<bool>]
        #Option     "UBB"                	# [<bool>]
        #Option     "Stereo"             	# <i>
        #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     "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     "NoTwinViewXineramaInfo" 	# [<bool>]
        #Option     "NoRenderExtension"  	# [<bool>]
        #Option     "Overlay"            	# [<bool>]
        #Option     "CIOverlay"          	# [<bool>]
        #Option     "ForceEmulatedOverlay" 	# [<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>]
        #Option     "RegistryDwords"     	# <str>
        #Option     "NoPowerConnectorCheck" 	# [<bool>]
        #Option     "AllowDFPStereo"     	# [<bool>]
        #Option     "XvMCUsesTextures"   	# [<bool>]
        #Option     "HorizSync"          	# <str>
        #Option     "VertRefresh"        	# <str>
	Option     "RenderAccel"        	"True"# [<bool>]
        Option     "UBB"                	"True"# [<bool>]
#        Option     "XvMCUsesTextures"   	"True"# [<bool>]
#        Option     "DigitalVibrance"    	"10"# <i>
	Identifier  "Card0"
	Driver      "nvidia"
	VendorName  "nVidia Corporation"
	BoardName   "NV34 [GeForce FX 5200]"
	BusID       "PCI:2:0:0"
	Screen      0
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     "NoFlip"             	# [<bool>]
        #Option     "Dac8Bit"            	# [<bool>]
        #Option     "NoLogo"             	# [<bool>]
        #Option     "UBB"                	# [<bool>]
        #Option     "Stereo"             	# <i>
        #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     "NoTwinViewXineramaInfo" 	# [<bool>]
        #Option     "NoRenderExtension"  	# [<bool>]
        #Option     "Overlay"            	# [<bool>]
        #Option     "CIOverlay"          	# [<bool>]
        #Option     "ForceEmulatedOverlay" 	# [<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>]
        #Option     "RegistryDwords"     	# <str>
        #Option     "NoPowerConnectorCheck" 	# [<bool>]
        #Option     "AllowDFPStereo"     	# [<bool>]
        #Option     "XvMCUsesTextures"   	# [<bool>]
        #Option     "HorizSync"          	# <str>
        #Option     "VertRefresh"        	# <str>
	Option     "RenderAccel"        	"True"# [<bool>]
        Option     "UBB"                	"True"# [<bool>]
	screen      1
	Identifier  "Card1"
	Driver      "nvidia"
	VendorName  "nVidia Corporation"
	BoardName   "NV34 [GeForce FX 5200]"
	BusID       "PCI:2:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
		Modes    "1280x960" "1152x864" "1024x768" "800x600" "640x480" "640x400" "512x384" "400x300" "320x240" "320x200"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
		Modes    "1280x960" "1152x864" "1024x768" "800x600" "640x480" "640x400" "512x384" "400x300" "320x240" "320x200"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes    "1280x960" "1152x864" "1024x768" "800x600" "640x480" "640x400" "512x384" "400x300" "320x240" "320x200"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1280x960" "1152x864" "1024x768" "800x600" "640x480" "640x400" "512x384" "400x300" "320x240" "320x200"
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card1"
	Monitor    "Monitor1"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
		Modes    "1280x960" "1152x864" "1024x768" "800x600" "640x480" "640x400" "512x384" "400x300" "320x240" "320x200"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
		Modes    "1280x960" "1152x864" "1024x768" "800x600" "640x480" "640x400" "512x384" "400x300" "320x240" "320x200"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes    "1280x960" "1152x864" "1024x768" "800x600" "640x480" "640x400" "512x384" "400x300" "320x240" "320x200"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1280x960" "1152x864" "1024x768" "800x600" "640x480" "640x400" "512x384" "400x300" "320x240" "320x200"
	EndSubSection
EndSection

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050612112546.35f414f6>