(Not so) funny problems with xorg-7.4 autodetection

Robert Noland rnoland at FreeBSD.org
Mon Jan 26 21:08:23 PST 2009


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).

Is the entire box crashing, or just X?
How much ram do you have?
What version of devel/libpciaccess do you have?

Please also send me a pciconf -lv

> 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"

X won't start with this configuration, see UPDATING.  RgbPath is no
longer a valid keyword.

>  	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

You need to have hald and dbus running with this configuration, or you
need to set Option "AutoAddDevices" "off" in the ServerLayout section.

Robert.

> 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
> _______________________________________________
> freebsd-x11 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe at freebsd.org"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20090127/50a988f7/attachment.pgp


More information about the freebsd-x11 mailing list