A couple of problem with xorg-server 1.7.3

Gregoire Gentil gregoire at gentil.com
Tue Dec 8 19:54:09 PST 2009


I'm using xorg-server 1.7.3 on an ARM device and I have a couple of
problems. Perhaps I can get some hints from the mailing lists.

First, since the version later than 1.5.3, X takes a very long time to
start, especially I have a blank screen for almost seven seconds! :-( I
would like to know how I can debug what X is trying to do during this
very long time. Can I put more debug version especially with timing
info? What can I do to investigate? I copy paste the Xorg.0.log file
below.

Secondly, I have a null driver loaded below because /dev/input/event3 is
an accelerometer. Is there a way to tell X to discard
a /dev/input/eventX reported by hal? Or is there a hal policy to tell X
not to try this event?

Thanks in advance,

Grégoire


***********************************************************
xorg.conf
***********************************************************
Section "Module"
	Load		"extmod"
	Load		"dbe"
	Disable		"dri2"
	Disable		"glx"
	Disable		"dri"
EndSection

Section "Monitor"
	Identifier	"Builtin Default Monitor"
EndSection

Section "Device"
	Identifier	"Builtin Default fbdev Device 0"
	Driver		"fbdev"
	Option		"ShadowFB" "false"
EndSection

Section "Screen"
	Identifier	"Builtin Default fbdev Screen 0"
	Device		"Builtin Default fbdev Device 0"
	Monitor		"Builtin Default Monitor"
EndSection

Section "ServerLayout"
	Identifier	"Builtin Default Layout"
	Screen		"Builtin Default fbdev Screen 0"
	InputDevice	"touch"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ExplorerPS/2"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"		"xorg"
	Option		"XkbModel"		"pc105"
	Option		"XkbLayout"		"us"
EndSection

Section "InputDevice"
	Identifier	"touch"
	Driver		"tslib"
	Option		"Device"		"/dev/input/touchscreen0"
EndSection

Section "ServerFlags"
	Option		"DontZap"		"False"
EndSection




***********************************************************
Xorg.0.log
***********************************************************
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/touchbook:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
(WW) Failed to open protocol names file /usr/lib/xorg/protocol.txt
X.Org X Server 1.7.3
Release Date: 2009-12-3
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.31-15-generic i686 
Current Operating System: Linux touchbook 2.6.29-omap1 #1 PREEMPT Mon
Dec 7 10:04:48 HKT 2009 armv7l
Kernel command line: air=2 quiet console=tty1 fastboot omapfb.vrfb=1
omapfb.mode=dvi:1024x600MR-16 at 60 omapdss.def_disp=dvi
omapfb.vram=0:8M,1:4M root=/dev/mmcblk0p2 rootdelay=1 rootfstype=ext3
initrd
Build Date: 09 December 2009  10:04:19AM
 
Current version of pixman: 0.17.1
	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: Wed Dec  9 10:41:03 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Builtin Default Layout"
(**) |-->Screen "Builtin Default fbdev Screen 0" (0)
(**) |   |-->Monitor "Builtin Default Monitor"
(**) |   |-->Device "Builtin Default fbdev Device 0"
(**) |-->Input Device "touch"
(**) |-->Input Device "Generic Keyboard"
(**) |-->Input Device "Configured Mouse"
(**) Option "DontZap" "False"
(==) Automatically adding devices
(==) Automatically enabling devices
(==) FontPath set to:
	/usr/share/fonts/X11/misc
(==) ModulePath set to "/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or
'vmmouse' will be disabled.
(WW) Disabling Generic Keyboard
(WW) Disabling Configured Mouse
(II) Loader magic: 0x175bd4
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.4
	X.Org Video Driver: 6.0
	X.Org XInput driver : 7.0
	X.Org Server Extension : 2.0
(--) using VT number 4

(WW) "dri2" will not be loaded unless you've specified it to be loaded
elsewhere.
(WW) "glx" will not be loaded unless you've specified it to be loaded
elsewhere.
(WW) "dri" will not be loaded unless you've specified it to be loaded
elsewhere.
(II) "extmod" will be loaded. This was enabled by default and also
specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also
specified in the config file.
(II) "glx" will be loaded even though the default is to disable it.
(II) "dri" will be loaded even though the default is to disable it.
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.7.3, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.7.3, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "fbdev"
(II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
(II) Module fbdev: vendor="X.Org Foundation"
	compiled for 1.7.3, module version = 0.4.1
	ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "tslib"
(II) Loading /usr/lib/xorg/modules/input/tslib_drv.so
(II) Module tslib: vendor="X.Org Foundation"
	compiled for 1.7.3, module version = 0.0.1
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 7.0
(II) FBDEV: driver for framebuffer: fbdev
(WW) Falling back to old probe method for fbdev
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/lib/xorg/modules/linux/libfbdevhw.so
(II) Module fbdevhw: vendor="X.Org Foundation"
	compiled for 1.7.3, module version = 0.0.2
	ABI class: X.Org Video Driver, version 6.0
(II) FBDEV(0): using default device
(II) Running in FRAMEBUFFER Mode
(II) FBDEV(0): Creating default Display subsection in Screen section
	"Builtin Default fbdev Screen 0" for depth/fbbpp 16/16
(==) FBDEV(0): Depth 16, (==) framebuffer bpp 16
(==) FBDEV(0): RGB weight 565
(==) FBDEV(0): Default visual is TrueColor
(==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
(II) FBDEV(0): hardware: omapfb (video memory: 8192kB)
(**) FBDEV(0): Option "ShadowFB" "false"
(II) FBDEV(0): Output S-VIDEO using monitor section Builtin Default
Monitor
(II) FBDEV(0): Output LCD has no monitor section
(II) FBDEV(0): Output DVI-D has no monitor section
(II) FBDEV(0): Output S-VIDEO has no monitor section
(II) FBDEV(0): Output S-VIDEO connected
(II) FBDEV(0): Output LCD connected
(II) FBDEV(0): Output DVI-D connected
(II) FBDEV(0): Using sloppy heuristic for initial modes
(II) FBDEV(0): Output S-VIDEO using initial mode current
(II) FBDEV(0): Output LCD using initial mode current
(II) FBDEV(0): Output DVI-D using initial mode current
(II) FBDEV(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise
stated.
(II) FBDEV(0): checking modes against framebuffer device...
(II) FBDEV(0): checking modes against monitor...
(--) FBDEV(0): Virtual size is 1024x1024 (pitch 1024)
(**) FBDEV(0):  Built-in mode "current": 43.8 MHz, 37.0 kHz, 59.7 Hz
(II) FBDEV(0): Modeline "current"x59.7   43.75  1024 1072 1104 1184  600
606 616 619 -hsync -vsync -csync (37.0 kHz)
(==) FBDEV(0): DPI set to (96, 96)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
	compiled for 1.7.3, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.4
(II) FBDEV(0): Pitch updated to 2048 
(==) FBDEV(0): Backing store disabled
(==) FBDEV(0): DPMS enabled
(II) FBDEV(0): RandR 1.2 enabled, ignore the following RandR disabled
message.
(II) FBDEV(0): Pitch updated to 2048 
(--) RandR disabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) FBDEV(0): Setting screen physical size to 270 x 158
(**) touch: always reports core events
(II) XINPUT: Adding extended input device "touch" (type: TOUCHSCREEN)
xf86TslibControlProc
xf86TslibControlProc
(II) config/hal: Adding input device ADS784x Touchscreen
(**) ADS784x Touchscreen: always reports core events
(II) XINPUT: Adding extended input device "ADS784x Touchscreen" (type:
TOUCHSCREEN)
xf86TslibControlProc
xf86TslibControlProc
(II) config/hal: Adding input device twl4030_pwrbutton
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
	compiled for 1.7.3, module version = 2.3.1
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 7.0
(**) twl4030_pwrbutton: always reports core events
(**) twl4030_pwrbutton: Device: "/dev/input/event2"
(II) twl4030_pwrbutton: Found keys
(II) twl4030_pwrbutton: Configuring as keyboard
(II) XINPUT: Adding extended input device "twl4030_pwrbutton" (type:
KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) config/hal: Adding input device gpio-keys
(II) LoadModule: "null"
(WW) Warning, couldn't open module null
(II) UnloadModule: "null"
(EE) Failed to load module "null" (module does not exist, 0)
(EE) No input driver matching `null'
(EE) config/hal: NewInputDeviceRequest failed (15)
(II) config/hal: Adding input device Always Innovating Always Innovating
USB Keyboard / Touchpad
(**) Always Innovating Always Innovating USB Keyboard / Touchpad: always
reports core events
(**) Always Innovating Always Innovating USB Keyboard / Touchpad:
Device: "/dev/input/event5"
(II) Always Innovating Always Innovating USB Keyboard / Touchpad: Found
3 mouse buttons
(II) Always Innovating Always Innovating USB Keyboard / Touchpad: Found
scroll wheel(s)
(II) Always Innovating Always Innovating USB Keyboard / Touchpad: Found
relative axes
(II) Always Innovating Always Innovating USB Keyboard / Touchpad: Found
x and y relative axes
(II) Always Innovating Always Innovating USB Keyboard / Touchpad: Found
keys
(II) Always Innovating Always Innovating USB Keyboard / Touchpad:
Configuring as mouse
(II) Always Innovating Always Innovating USB Keyboard / Touchpad:
Configuring as keyboard
(**) Always Innovating Always Innovating USB Keyboard / Touchpad:
YAxisMapping: buttons 4 and 5
(**) Always Innovating Always Innovating USB Keyboard / Touchpad:
EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Always Innovating Always
Innovating USB Keyboard / Touchpad" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(**) Always Innovating Always Innovating USB Keyboard / Touchpad:
(accel) keeping acceleration scheme 1
(**) Always Innovating Always Innovating USB Keyboard / Touchpad:
(accel) acceleration profile 0
(II) Always Innovating Always Innovating USB Keyboard / Touchpad:
initialized for relative axes.
(II) config/hal: Adding input device Always Innovating Always Innovating
USB Keyboard / Touchpad
(**) Always Innovating Always Innovating USB Keyboard / Touchpad: always
reports core events
(**) Always Innovating Always Innovating USB Keyboard / Touchpad:
Device: "/dev/input/event4"
(II) Always Innovating Always Innovating USB Keyboard / Touchpad: Found
keys
(II) Always Innovating Always Innovating USB Keyboard / Touchpad:
Configuring as keyboard
(II) XINPUT: Adding extended input device "Always Innovating Always
Innovating USB Keyboard / Touchpad" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"






More information about the xorg mailing list