Xorg doesn't start
Erich Dollansky
erichfreebsdlist at ovitrap.com
Tue Jan 24 06:17:06 UTC 2012
Hi,
On Tuesday 24 January 2012 11:36:26 Eitan Adler wrote:
> On Mon, Jan 23, 2012 at 10:12 PM, Erich Dollansky
> <erichfreebsdlist at ovitrap.com> wrote:
> > Hi,
> >
> > On Tuesday 24 January 2012 09:38:28 Piotr Kubaj wrote:
> >> 1. I did, but it doesn't help.
> >> 2. I compiled with hald and dbus and they are running.
> >> 3. It's not a configuration problem. It worked flawlessly for 2 months.
>
> It is possible that an upgrade broke X. Unfortunately I don't own
> every piece of hardware so I can't test every possible configuration.
> Does using portdowngrade help at all? Perhaps we could work from there
> to figure out exactly what went wrong.
>
> I'm sorry that your having problems with newer versions of X.
>
> > so, what changed?
> >
> > I have had several time the experience that a small upgrade broke X for me. It always could be fixed with some playing in rc.conf and xorg.conf.
>
> It would help if you could send send small "case studies" to the x11@
> mailing list. I just upgraded foo but when I tweaked bar it fixed the
> problem. I'm not looking for user error stories but legitimate
> configuration required issues.
I just copy my xorg.conf with its history into this e-mail.
I did not consider the problems very serious as I always found a solution.
These two parameters are the main knobs:
moused_enable="NO" # this is disabled on the AMD620 but enabled on P2120
I have currently only the AMD620 machine available.
Erich
AMD620://...Scripts/etc (root) > X -version
X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 8.2-STABLE amd64
Current Operating System: FreeBSD AMD620.ovitrap.com 8.2-STABLE FreeBSD 8.2-STABLE #26: Sun Jan 22 08:01:23 WIT 2012 erich at AMD620.ovitrap.com:/usr/obj/usr/src/sys/AsusAMD620 amd64
Build Date: 05 September 2011 06:52:08PM
Current version of pixman: 0.22.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
xorg.conf:
#
###############################################################################
#
# /etc/X11/xorg.conf
#
# This X configuration file is was used on a Fujitsu P2120 running FreeBSD 7.2
# and later on the Asus AMD 620 running 8.1 and 8.2.
#
###############################################################################
#
# History:
#
# 14.01.10 ed: We have problems getting X running under FreeBSD 7.2 using Xorg
# server 1.6.7.
# Test results:
#
# Section "ServerLayout"
# Identifier "X.org Configured"
# Screen 0 "Screen0" 0 0
# InputDevice "Mouse0" "CorePointer"
# InputDevice "Keyboard0" "CoreKeyboard"
# EndSection
#
# Section "ServerFlags"
# Option "AllowEmptyInput" "false"
# # Option "AutoAddDevices" "true"
# EndSection
#
# The configuration above works but the keyboard input is only
# accepted after the mouse is moved.
#
#------------------------------------------------------------------------------
#
# Option "AutoAddDevices" "true"
#
# Enabling AutoAddDevices does not seem to make a difference.
#
#------------------------------------------------------------------------------
#
#------------------------------------------------------------------------------
#
# Option "AutoAddDevices" "false"
#
# Disabling AutoAddDevices seemed to have solved the problem.
#
#------------------------------------------------------------------------------
#
# The mouse daemon was enabled in /etc/rc.conf during
# these tests.
#
#------------------------------------------------------------------------------
#
# The working configuration. The mouse daemon in /etc/rc.conf
# was disabled.
#
# Section "ServerLayout"
# Identifier "X.org Configured"
# Screen 0 "Screen0" 0 0
# InputDevice "Mouse0" "CorePointer"
# InputDevice "Keyboard0" "CoreKeyboard"
# EndSection
#
# Section "ServerFlags"
# Option "AllowEmptyInput" "false"
# Option "AutoAddDevices" "false"
# EndSection
#
#------------------------------------------------------------------------------
#
# 28.02.10 ed: installation on the AsusAMD620 machine. X did not work with the
# PS/2 keyboard. It works with keyboard and mouse on USB without
# defining them in the ServerLayout section.
# 16.07.10 ed: Update of X to 1.7.
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
# InputDevice "Mouse0" "CorePointer"
# InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "ServerFlags"
Option "AllowEmptyInput" "true" # 16.07.10 ed: enabled for 1.7.5
# setting it to false freezes
# X until mouse moves
# Option "AutoAddDevices" "false"
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/"
FontPath "/usr/local/lib/X11/fonts/dejavu/"
FontPath "/usr/home/SystemAddOns/WindowsFonts/"
EndSection
Section "Module"
Load "extmod"
Load "record"
Load "dbe"
Load "glx"
Load "dri"
Load "dri2"
Load "freetype"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard" # 27.02.10 ed: from the Internet
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModule" "pc105"
Option "XkbLayout" "us"
Option "XkbVariant" ""
# 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 "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoKey" # <i>
#Option "FlatPanel" # [<bool>]
#Option "FPDither" # [<bool>]
#Option "CrtcNumber" # <i>
#Option "FPScale" # [<bool>]
#Option "FPTweak" # <i>
#Option "DualHead" # [<bool>]
Identifier "Card0"
Driver "nv"
VendorName "nVidia Corporation"
BoardName "C61 [GeForce 7025 / nForce 630a]"
BusID "PCI:0: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
From rc.conf
#
# Misc
#
linux_enable="YES"
moused_enable="NO" # this is disabled on the AMD620 but enabled on P2120
smartd_enable="YES"
dbus_enable="YES"
hald_enable="YES"
More information about the freebsd-x11
mailing list