[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: nv vs. nvidia



Alvin Oga wrote:
hi ya

On Thu, 28 Oct 2004, Hugo Vanwoerkom wrote:


The difference I noticed is in the XF86Config-4.conf:
1. I had to use modes to use 1280x1024, with Nvidia I don't.


modes are predefined in the X driver
you might need to fiddle/define the modelines if you want 1400x1024 etc
but lower res should be fine using the built in defaults


2. I run two X servers for 2 displays, one on AGP TNT2 and one on PCI MX-440. If I restart the second server, the character sizes change, from "normal" to tiny. I can get them back to normal by restarting gdm.


whacky ... - what does the XF86Config look like

watch out this is long!=============================

Section "ServerLayout"
	Identifier     	"X0"
	Screen      0  	"Screen X0" 0 0
	InputDevice    	"Mouse0" "CorePointer"
	InputDevice    	"Keyboard0" "CoreKeyboard"
#	Option 		"SingleCard" "true"
EndSection

Section "ServerLayout"
	Identifier     	"X1"
	Screen      0  	"Screen X1" 0 0
	InputDevice    	"Mouse1" "CorePointer"
	InputDevice    	"Keyboard0" "CoreKeyboard"
#	Option 		"SingleCard" "true"
EndSection

Section "ServerLayout"
	Identifier  	"Xinerama"
Screen "Screen x0"
	Screen 		"Screen x1" Rightof "Screen x0"	
	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/"
#	xfs-xtt
# 	FontPath     "unix/:7100"
	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/100dpi/"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
	FontPath     "/usr/X11R6/lib/X11/fonts/TrueType/"
EndSection

Section "Module"
	Load  "dbe"
#	Load  "dri"
	Load  "extmod"
	Load  "glx"
	Load  "pex5"
	Load  "record"
	Load  "xie"
	Load  "type1"
#--------------------------------------	
	Load    "freetype"
#	Load	"type1"
	Load    "xft"
#	Load	"extmod"
#	Load    "xie"
#	Load	"pex5"
#	Load    "glx"
#	Load	"dri"
#	Load    "GLcore"
#	Load	"dbe"
#---------------------------------------
EndSection

Section "InputDevice"
	Identifier  	"Keyboard0"
	Driver      	"keyboard"
	Option         	"XkbKeymap"       "xfree86(us_intl)"
EndSection

Section "InputDevice"
	Identifier  	"Mouse0"
	Driver      	"mouse"
#===================================================================================
#	Gets "cannot open input device on 09/22/04............"
#	Option 		"Protocol" 		"evdev"
#	Option 		"Dev Phys" 		"usb-0000:00:07.2-1/input0"
#	Option 		"Dev Phys" 		"usb-0000:00:07.2-2/input0"
#===================================================================================
        Option 		"Protocol"    		"IMPS/2"
	Option 		"Device"      		"/dev/input/mouse0br"
##	Option		"ZAxisMapping"		"X"
##	Option		"ZAxisMapping"		"Y"
 	Option      	"Buttons"       	"7"
	Option      	"ZAxisMapping"  	"4 5 6 7"
	Option 		"Emulate3Buttons"	"true"
#
# from: http://www.xfree86.org/current/mouse.html
#
#
#
#	Option	"ZAxisMapping"	"X"
#	Option	"ZAxisMapping"	"Y"
#	Option	"ZAxisMapping"	"N1 N2"
#	Option	"ZAxisMapping"	"N1 N2 N3 N4"


EndSection

Section "InputDevice"
	Identifier  	"Mouse1"
	Driver      	"mouse"
        Option 		"Protocol"    	"IMPS/2"
	Option 		"Device"      	"/dev/input/mouse1br"
	Option 		"ZAxisMapping" 	"4 5"
# ChordMiddle is an option for some 3-button Logitech mice
	Option 		"Emulate3Buttons"	"true"
# 	Option      	"Buttons"       "9"
#
#	Option      	"ZAxisMapping"  "6 7 8 9"
#    	Option 		"ChordMiddle"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "SAM"
	ModelName    "1057"
	HorizSync    30.0 - 70.0
	VertRefresh  50.0 - 160.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     "SWcursor"           	# [<bool>]
        #Option     "HWcursor"           	# [<bool>]
        #Option     "NoAccel"            	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "ShadowFB"           	# [<bool>] HVW
        #Option     "UseFBDev"           	# [<bool>]
        #Option     "Rotate" "CW"             	# [<str>] HVW
        #Option     "VideoKey"           	# <i>
        #Option     "FlatPanel"          	# [<bool>]

	Identifier  "nvidia0"
	Driver      "nvidia"
#	Driver      "fbdev"
	VendorName  "NVidia"
	BoardName   "RIVA TNT2 Model 64/Model 64 Pro"
	BusID       "PCI:1:0: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     "SWcursor"           	# [<bool>]
        #Option     "HWcursor"           	# [<bool>]
        #Option     "NoAccel"            	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "ShadowFB"           	# [<bool>] HVW
        #Option     "UseFBDev"           	# [<bool>]
        #Option     "Rotate" "CW"             	# [<str>] HVW
        #Option     "VideoKey"           	# <i>
        #Option     "FlatPanel"          	# [<bool>]

	Identifier  "nvidia1"
	Driver      "nvidia"
#	Driver      "fbdev"
	VendorName  "NVidia"
	BoardName   "GeForce4 MX 440 AGP 8x"
	BusID       "PCI:0:11:0"
EndSection

Section "Screen"
	Identifier "Screen X0"
	Device     "nvidia0"
	Monitor    "Monitor0"
	DefaultColorDepth 16			#Added... Colors looked off...
	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 "Screen"
	Identifier "Screen X1"
	Device     "nvidia1"
	Monitor    "Monitor0"
	DefaultColorDepth 16			#Added... Colors looked off...
	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


====================================================
The only errors I see:

Symbol __glXActiveScreens from module /usr/X11R6/lib/modules/extensions/libdri.a is unresolved! Symbol __glXActiveScreens from module /usr/X11R6/lib/modules/extensions/libdri.a is unresolved!


those seem to be non-critical warnings, we have 3D stuff working w/
nvidia cards and openGL apps ...
c ya alvin>















--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org







Reply to: