(Not so) funny problems with xorg-7.4 autodetection

Peter Ulrich Kruppa ulrich at pukruppa.net
Tue Jan 27 20:50:26 PST 2009


On Tue, 27 Jan 2009, Peter Ulrich Kruppa wrote:

> On Tue, 27 Jan 2009, Robert Noland wrote:
>
>> On Tue, 2009-01-27 at 05:24 +0100, Peter Ulrich Kruppa wrote:
>>> 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).
At least one  thing I found out:
when I deinstall all drivers besides s3virge I get a reasonable 
looking result for Xorg -configure: Only one card and one monitor 
is detected.
But a startx will still crash the machine.
This is my automatically produced xorg.conf.new:
 	-------------------------------------------
Section "ServerLayout"
 	Identifier     "X.org Configured"
 	Screen      0  "Screen0" 0 0
 	InputDevice    "Mouse0" "CorePointer"
 	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
 	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  "xtrap"
 	Load  "dri"
 	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 6 7"
EndSection

Section "Monitor"
 	Identifier   "Monitor0"
 	VendorName   "Monitor Vendor"
 	ModelName    "Monitor Model"
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     "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"
 	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
 	EndSubSection
 	SubSection "Display"
 		Viewport   0 0
 		Depth     24
 	EndSubSection
EndSection
 	--------------------------------------------------

Greetings and thanks,

Uli.

| Peter Ulrich Kruppa
| Wuppertal
| Germany


More information about the freebsd-x11 mailing list