I have corrupted my X setup and have been unable to correct it.
History:
The hardware had been in use for several months as a test bed when I took it for use as my desktop. My previous workstation was FreeBSD 7.? and there were no issues with it in installing X and KDE but it was about four years ago for my last install of X.
uname -a
Before starting the X install I updated ports via portsnap fetch update. I initially installed x11/xorg from ports without any problems, X started and ran without any issues. I then installed KDE4 from ports and something got corrupted, KDE would not start and X would no longer start. I attempted to trouble shoot the problem for a few hours but finally I did a make deinstall on KDE and a make deinstall reinstall on X and X again worked correctly. I then decided to try the Gnome port and again would up with a corrupted X system and Gnome unworkable.
Again, after attempting to trouble shoot the problem I did a deinstall on Gnome and a make deintall reinstall on X but this time X would not work.
I have since tried several variations to get X working again. Initially I ran both
to remove X to allow for a fresh start. I have installed X from both ports and using
Currently
The Xorg.0.log shows no errors, only a couple of warnings.
Xorg.0.log errors
The current install is via ports and the config file is below.
I am thinking that there may be a file that has not been removed during the pkg_cleanup or make deintstall that is causing the problem but I dont really know where to look. I have been working on this for several days now and am at a loss as what to look for.
Any help?
CONFIG:
History:
The hardware had been in use for several months as a test bed when I took it for use as my desktop. My previous workstation was FreeBSD 7.? and there were no issues with it in installing X and KDE but it was about four years ago for my last install of X.
uname -a
Code:
FreeBSD sport.xxx.xxx.xxx 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010
root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
Before starting the X install I updated ports via portsnap fetch update. I initially installed x11/xorg from ports without any problems, X started and ran without any issues. I then installed KDE4 from ports and something got corrupted, KDE would not start and X would no longer start. I attempted to trouble shoot the problem for a few hours but finally I did a make deinstall on KDE and a make deinstall reinstall on X and X again worked correctly. I then decided to try the Gnome port and again would up with a corrupted X system and Gnome unworkable.
Again, after attempting to trouble shoot the problem I did a deinstall on Gnome and a make deintall reinstall on X but this time X would not work.
I have since tried several variations to get X working again. Initially I ran both
make deinstall
and pkg_cleanup
to remove all KDE, Gnome and X packages to attempt to start from scratch. I have made numerous attempts to install X using both make deinstall
and pkg_cleanup
to remove X to allow for a fresh start. I have installed X from both ports and using
pkg_add
several times each.Currently
X -config /root/xorg.conf.new -retro
works properly giving me a black/grey cross-hatch screen with a working mouse. startx however gives me a black screen for about 10 seconds then exits with the following screen,
Code:
xauth: creating new authority file /root/.serverauth.1954
X.Org X Server 1.7.5
Release Date: 2010-02-16
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 8.1-RELEASE amd64
Current Operating System: FreeBSD 8.1-RELEASE FreeBSD 8.1-RELEASE #0:
Mon Jul 19 02:36:49 UTC 2010
root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
Build Date: 07 December 2010 10:41:32AM
Current version of pixman: 0.18.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Dec 7 12:12:08 2010
(==) Using config file: "/etc/X11/xorg.conf"
record: RECORD extension enabled at configure time.
record: This extension is known to be broken, disabling extension now..
record: http://bugs.freedesktop.org/show_bug.cgi?id=20500
waiting for X server to shut down
The Xorg.0.log shows no errors, only a couple of warnings.
Xorg.0.log errors
Code:
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
(WW) MACH64(0): Cannot shadow an accelerated frame buffer.
(WW) MACH64(0): DRI static buffer allocation failed -- need at least 12800 kB video memory
The current install is via ports and the config file is below.
I am thinking that there may be a file that has not been removed during the pkg_cleanup or make deintstall that is causing the problem but I dont really know where to look. I have been working on this for several days now and am at a loss as what to look for.
Any help?
CONFIG:
Code:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "AllowEmptyInput" "off"
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 "dri"
Load "dri2"
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"
#DisplaySize 380 300 # mm
Identifier "Monitor0"
VendorName "DEL"
ModelName "DELL E198FP"
HorizSync 31.0 - 80.0
VertRefresh 56.0 - 75.0
Option "DPMS"
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 "probe_sparse" # [<bool>]
#Option "accel" # [<bool>]
#Option "crt_display" # [<bool>]
#Option "composite_sync" # [<bool>]
#Option "hw_cursor" # [<bool>]
#Option "force_pci_mode" # [<bool>]
#Option "dma_mode" # <str>
#Option "agp_mode" # <i>
#Option "agp_size" # <i>
#Option "local_textures" # [<bool>]
#Option "buffer_size" # <i>
#Option "mmio_cache" # [<bool>]
#Option "test_mmio_cache" # [<bool>]
#Option "panel_display" # [<bool>]
#Option "reference_clock" # <freq>
#Option "shadow_fb" # [<bool>]
#Option "sw_cursor" # [<bool>]
#Option "AccelMethod" # <str>
#Option "RenderAccel" # [<bool>]
Identifier "Card0"
Driver "mach64"
VendorName "ATI Technologies Inc"
BoardName "Rage XL"
BusID "PCI:6:13: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