Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2012 13:17:32 +0700
From:      Erich Dollansky <erichfreebsdlist@ovitrap.com>
To:        Eitan Adler <lists@eitanadler.com>
Cc:        Piotr Kubaj <pkubaj@googlemail.com>, freebsd-x11@freebsd.org
Subject:   Re: Xorg doesn't start
Message-ID:  <201201241317.32745.erichfreebsdlist@ovitrap.com>
In-Reply-To: <CAF6rxgkgpQFSqP6W75nE-fxudZEZJK4ot9bBPOFk1DCEEY2uqA@mail.gmail.com>
References:  <CABsLMBQQzuko73y2LpqYTg5nZ1CcMK6sK1shXPAAcQcbqD5J8w@mail.gmail.com> <201201241012.51299.erichfreebsdlist@ovitrap.com> <CAF6rxgkgpQFSqP6W75nE-fxudZEZJK4ot9bBPOFk1DCEEY2uqA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Tuesday 24 January 2012 11:36:26 Eitan Adler wrote:
> On Mon, Jan 23, 2012 at 10:12 PM, Erich Dollansky
> <erichfreebsdlist@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.
>=20
> 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.
>=20
> I'm sorry that your having problems with newer versions of X.
>=20
> > 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.
>=20
> 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=3D"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=20
Current Operating System: FreeBSD AMD620.ovitrap.com 8.2-STABLE FreeBSD 8.2=
=2DSTABLE #26: Sun Jan 22 08:01:23 WIT 2012     erich@AMD620.ovitrap.com:/u=
sr/obj/usr/src/sys/AsusAMD620 amd64
Build Date: 05 September 2011  06:52:08PM
=20
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 X=
org=20
#              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.
#
#--------------------------------------------------------------------------=
=2D---
#
#			Option	"AutoAddDevices"	"true"
#
#		Enabling AutoAddDevices does not seem to make a difference.
#
#--------------------------------------------------------------------------=
=2D---
#
#--------------------------------------------------------------------------=
=2D---
#
#			Option	"AutoAddDevices"	"false"
#
#		Disabling AutoAddDevices seemed to have solved the problem.
#
#--------------------------------------------------------------------------=
=2D---
#
#               The mouse daemon was enabled in /etc/rc.conf during=20
#               these tests.
#
#--------------------------------------------------------------------------=
=2D---
#
#               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
#
#--------------------------------------------------------------------------=
=2D---
#
# 28.02.10 ed: installation on the AsusAMD620 machine. X did not work with =
the=20
#              PS/2 keyboard. It works with keyboard and mouse on USB witho=
ut
#              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


=46rom rc.conf

#
# Misc
#
linux_enable=3D"YES"
moused_enable=3D"NO"			# this is disabled on the AMD620 but enabled on P2120
smartd_enable=3D"YES"
dbus_enable=3D"YES"
hald_enable=3D"YES"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201241317.32745.erichfreebsdlist>