From owner-freebsd-x11@FreeBSD.ORG Tue Jan 24 06:17:06 2012 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4233106567F for ; Tue, 24 Jan 2012 06:17:06 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.226.44]) by mx1.freebsd.org (Postfix) with ESMTP id 873368FC15 for ; Tue, 24 Jan 2012 06:17:06 +0000 (UTC) Received: from amd620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q0O6Ge6Q006953; Mon, 23 Jan 2012 23:16:53 -0700 From: Erich Dollansky To: Eitan Adler Date: Tue, 24 Jan 2012 13:17:32 +0700 User-Agent: KMail/1.13.7 (FreeBSD/8.2-STABLE; KDE/4.6.5; amd64; ; ) References: <201201241012.51299.erichfreebsdlist@ovitrap.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201201241317.32745.erichfreebsdlist@ovitrap.com> Cc: Piotr Kubaj , freebsd-x11@freebsd.org Subject: Re: Xorg doesn't start X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jan 2012 06:17:06 -0000 Hi, On Tuesday 24 January 2012 11:36:26 Eitan Adler wrote: > On Mon, Jan 23, 2012 at 10:12 PM, Erich Dollansky > 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: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional #Option "SWcursor" # [] #Option "HWcursor" # [] #Option "NoAccel" # [] #Option "ShadowFB" # [] #Option "UseFBDev" # [] #Option "Rotate" # [] #Option "VideoKey" # #Option "FlatPanel" # [] #Option "FPDither" # [] #Option "CrtcNumber" # #Option "FPScale" # [] #Option "FPTweak" # #Option "DualHead" # [] 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"