[Fun Again!!!] (Not so) funny problems with xorg-7.4 autodetection

Peter Ulrich Kruppa ulrich at pukruppa.net
Thu Jan 29 05:17:52 PST 2009


On Thu, 29 Jan 2009, Peter Ulrich Kruppa wrote:

> On Wed, 28 Jan 2009, Robert Noland wrote:
>
>> On Wed, 2009-01-28 at 05:53 +0100, Peter Ulrich Kruppa wrote:
>>> 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.
>> 
>> Ok, let's try to rule out any libpciaccess related issues.  Try
>> switching to the vesa driver and see if that loads up ok.  If it does,
>> send me the xorg.log from that.
>> 
>> robert.
> With vesa driver (all others off) Xorg -configure produces a usable 
> xorg.conf.new. I.e. I get xorg's default black & white pixel background, but 
> that will remain stable, machine won't crash.
> I can't move the mouse cross.
Hallo Robert,

in the meantime I did a full portupgrade -arf (with hal support 
and _only_ vesa-driver, keyboard and mouse support). I enabled 
hald, dbus, moused (and uuidd - what t. h. is that good for?) in 
/etc/rc.conf .

Xorg -configure got me a working xorg.conf (at low resolution), 
some fine-tuning the same as before with s3virge. For the 
archives I put my working xorg.conf to the end of this message.

Right now I am installing some serious applications and hope my 
system will stay stable.
In the end I would conclude, that not xorg-7.4 and hald were the 
problem, but that s3virge driver has gone crap and nv-driver 
at least behaves strangely.

Thanks a lot for your support. I hope you will solve the 
remaining 500 problems with xorg-7.4 as well!

Greetings,

Uli.


My xorg.conf
-------------------------------------------------------------
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   "Modino"
         ModelName    "F-15"
         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     "ShadowFB"           	# [<bool>]
         #Option     "DefaultRefresh"     	# [<bool>]
         #Option     "ModeSetClearScreen" 	# [<bool>]
 	Identifier  "Card0"
 	Driver      "vesa"
 	VendorName  "S3 Inc."
 	BoardName   "ViRGE/DX or /GX"
 	BusID       "PCI:1:7:0"
EndSection

Section "Screen"
         Identifier "Screen0"
         Device     "Card0"
         Monitor    "Monitor0"
 	DefaultDepth	16
#       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
         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
----------------------------------------------------------------

| Peter Ulrich Kruppa
| Wuppertal
| Germany


More information about the freebsd-x11 mailing list