(Not so) funny problems with xorg-7.4 autodetection

Peter Ulrich Kruppa ulrich at pukruppa.net
Mon Jan 26 20:43:38 PST 2009


Hi,

I am running 7.1 -STABLE amd64 with some old graphic card that 
used to work with s3virge driver. xorg-7.4 built fine - I had to 
delete all ports and start from scratch - but in the end it 
built. Only problem that remains: Every attempt to startx will 
crash the system (of course I tried all hints from 
/usr/ports/UPDATING and some FreeBSD Forums).
I can't get any information out of the Xorg.N.log files since 
they remain empty after a crash. The only hint I have is the 
strange xorg.conf.new file that is created by Xorg -configure:
it detects 14(!) screens and cards. One is the real one with 
s3virge, the others seem to be identified as nv driven. I guess 
xorg recognizes all kinds of usb- and network-adaptors which are 
nVidia products.
Please tell me, if I can give you more information.

This is my last working xorg.file from 7.3 .
 	------------------------------------------
Section "ServerLayout"
 	Identifier     "X.org Configured"
 	Screen      0  "Screen0" 0 0
 	InputDevice    "Mouse0" "CorePointer"
 	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
 	RgbPath      "/usr/local/share/X11/rgb"
 	ModulePath   "/usr/local/lib/xorg/modules"
 	FontPath     "/usr/local/lib/X11/fonts/misc/"
 	FontPath     "/usr/local/lib/X11/fonts/TTF/"
 	FontPath     "/usr/local/lib/X11/fonts/OTF"
 	FontPath     "/usr/local/lib/X11/fonts/Type1/"
 	FontPath     "/usr/local/lib/X11/fonts/100dpi/"
 	FontPath     "/usr/local/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
 	Load  "extmod"
 	Load  "record"
 	Load  "dbe"
 	Load  "glx"
 	Load  "GLcore"
 	Load  "xtrap"
 	Load  "dri"
 	Load  "freetype"
 	Load  "type1"
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 6 7"
EndSection

Section "Monitor"
 	Identifier   "Monitor0"
 	VendorName   "Monitor Vendor"
 	ModelName    "Monitor Model"
         HorizSync    30-61
         VertRefresh  50-75
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     "slow_edodram"       	# [<bool>]
         #Option     "slow_dram"          	# [<bool>]
         #Option     "fast_dram"          	# [<bool>]
         #Option     "fpm_vram"           	# [<bool>]
         #Option     "pci_burst"          	# [<bool>]
         #Option     "fifo_conservative"  	# [<bool>]
         #Option     "fifo_moderate"      	# [<bool>]
         #Option     "fifo_aggressive"    	# [<bool>]
         #Option     "pci_retry"          	# [<bool>]
         #Option     "NoAccel"            	# [<bool>]
         #Option     "early_ras_precharge" 	# [<bool>]
         #Option     "late_ras_precharge" 	# [<bool>]
         #Option     "lcd_center"         	# [<bool>]
         #Option     "set_lcdclk"         	# <i>
         #Option     "set_mclk"           	# <freq>
         #Option     "set_refclk"         	# <freq>
         #Option     "show_cache"         	# [<bool>]
         #Option     "HWCursor"           	# [<bool>]
         #Option     "SWCursor"           	# [<bool>]
         #Option     "ShadowFB"           	# [<bool>]
         #Option     "Rotate"             	# [<str>]
         #Option     "UseFB"              	# [<bool>]
         #Option     "mxcr3afix"          	# [<bool>]
         #Option     "XVideo"             	# [<bool>]
 	Identifier  "Card0"
 	Driver      "s3virge"
 	VendorName  "S3 Inc."
 	BoardName   "ViRGE/DX or /GX"
 	BusID       "PCI:1:7:0"
EndSection

Section "Screen"
 	Identifier "Screen0"
 	Device     "Card0"
 	Monitor    "Monitor0"
         DefaultDepth    16
 	SubSection "Display"
 		Viewport   0 0
 		Depth     1
 	EndSubSection
 	SubSection "Display"
 		Viewport   0 0
 		Depth     4
 	EndSubSection
 	SubSection "Display"
 		Viewport   0 0
 		Depth     8
 	EndSubSection
 	SubSection "Display"
 		Viewport   0 0
 		Depth     15
 	EndSubSection
 	SubSection "Display"
 		Viewport   0 0
 		Depth     16
                 Modes     "1024x768"
                 Modes     "800x600"
                 Modes     "640x480"
 	EndSubSection
 	SubSection "Display"
 		Viewport   0 0
 		Depth     24
                 Modes     "1024x768"
                 Modes     "800x600"
                 Modes     "640x480"
 	EndSubSection
EndSection
 	---------------------------------------------

Greetings and thanks for your help

Uli.


| Peter Ulrich Kruppa
| Wuppertal
| Germany


More information about the freebsd-x11 mailing list