X11 Xserver startup problem on a Raspberry PI

Robert Heller heller at deepsoft.com
Sun Jun 25 13:20:32 UTC 2017


I have a Raspberry Pi (Model 2 B) running a fairly recent version of Raspbian 
(2017-04-10-raspbian-jessie.zip).  I have it start up to the console login, 
since most of the time I just ssh into it from another machine (either my 
CentOS laptop or desktop).  I just tied to login into its console (using my TV 
as a monitor) and using the startx command t fire up the GUI, but it is 
failing.  I *think* it is having some sort of problem with the input device I 
am using: a combo keyboard / trackball:

[    2.841703] usb 1-1.5.4: New USB device found, idVendor=04d9, idProduct=a088
[    2.841726] usb 1-1.5.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.908263] input: HID 04d9:a088 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5.4/1-1.5.4:1.0/0003:04D9:A088.0001/input/input0
[    2.980976] hid-generic 0003:04D9:A088.0001: input,hidraw0: USB HID v1.11 Keyboard [HID 04d9:a088] on usb-3f980000.usb-1.5.4/input0
[    3.124934] input: HID 04d9:a088 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5.4/1-1.5.4:1.1/0003:04D9:A088.0002/input/input1
[    3.190487] hid-generic 0003:04D9:A088.0002: input,hidraw1: USB HID v1.11 Mouse [HID 04d9:a088] on usb-3f980000.usb-1.5.4/input1

Here is the (stock) 40-libinput.conf living in /usr/share/X11/xorg.conf.d/:

# Match on all types of devices but tablet devices and joysticks
Section "InputClass"
        Identifier "libinput pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

And here is the xorg.log:

[159323.004] 
X.Org X Server 1.18.4
Release Date: 2016-07-19
[159323.037] X Protocol Version 11, Revision 0
[159323.048] Build Operating System: Linux 4.4.26-v7+ armv7l Raspbian
[159323.060] Current Operating System: Linux madhatter 4.9.24-v7+ #993 SMP Wed Apr 26 18:01:23 BST 2017 armv7l
[159323.060] Kernel command line: bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=PARTUUID=8ab281d9-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[159323.092] Build Date: 11 November 2016  11:59:59AM
[159323.102] xorg-server 2:1.18.4-2+rpi1 (https://www.debian.org/support) 
[159323.112] Current version of pixman: 0.33.3
[159323.132] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[159323.132] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[159323.172] (==) Log file: "/home/heller/.local/share/xorg/Xorg.0.log", Time: Sun Jun 25 08:33:18 2017
[159323.183] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[159323.184] (==) No Layout section.  Using the first Screen section.
[159323.184] (==) No screen section available. Using defaults.
[159323.184] (**) |-->Screen "Default Screen Section" (0)
[159323.184] (**) |   |-->Monitor "<default monitor>"
[159323.185] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[159323.185] (**) |   |-->Device "Allwinner A10/A13 FBDEV"
[159323.185] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[159323.185] (==) Automatically adding devices
[159323.185] (==) Automatically enabling devices
[159323.185] (==) Automatically adding GPU devices
[159323.185] (==) Max clients allowed: 256, resource mask: 0x1fffff
[159323.185] (WW) The directory "/usr/share/fonts/X11/misc" does not exist.
[159323.185] 	Entry deleted from font path.
[159323.185] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[159323.185] 	Entry deleted from font path.
[159323.186] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[159323.186] 	Entry deleted from font path.
[159323.186] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[159323.186] 	Entry deleted from font path.
[159323.186] (==) FontPath set to:
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	built-ins
[159323.186] (==) ModulePath set to "/usr/lib/xorg/modules"
[159323.186] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[159323.186] (II) Loader magic: 0x54cdaf20
[159323.186] (II) Module ABI versions:
[159323.186] 	X.Org ANSI C Emulation: 0.4
[159323.186] 	X.Org Video Driver: 20.0
[159323.186] 	X.Org XInput driver : 22.1
[159323.186] 	X.Org Server Extension : 9.0
[159323.191] (++) using VT number 1

[159323.191] (--) controlling tty is VT number 1, auto-enabling KeepTty
[159323.197] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c5
[159323.198] (II) no primary bus or device found
[159323.198] (II) LoadModule: "glx"
[159323.199] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[159323.206] (II) Module glx: vendor="X.Org Foundation"
[159323.207] 	compiled for 1.18.4, module version = 1.0.0
[159323.207] 	ABI class: X.Org Server Extension, version 9.0
[159323.207] (==) AIGLX enabled
[159323.207] (II) LoadModule: "fbturbo"
[159323.208] (II) Loading /usr/lib/xorg/modules/drivers/fbturbo_drv.so
[159323.208] (II) Module fbturbo: vendor="X.Org Foundation"
[159323.208] 	compiled for 1.18.4, module version = 0.5.1
[159323.208] 	Module class: X.Org Video Driver
[159323.208] 	ABI class: X.Org Video Driver, version 20.0
[159323.208] (II) FBTURBO: driver for framebuffer: fbturbo
[159323.209] (WW) Falling back to old probe method for fbturbo
[159323.209] (II) Loading sub module "fbdevhw"
[159323.209] (II) LoadModule: "fbdevhw"
[159323.209] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[159323.210] (II) Module fbdevhw: vendor="X.Org Foundation"
[159323.210] 	compiled for 1.18.4, module version = 0.0.2
[159323.210] 	ABI class: X.Org Video Driver, version 20.0
[159323.210] (II) FBTURBO(0): using /dev/fb0
[159323.211] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[159323.211] (II) FBTURBO(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[159323.211] (==) FBTURBO(0): Depth 24, (==) framebuffer bpp 32
[159323.211] (==) FBTURBO(0): RGB weight 888
[159323.211] (==) FBTURBO(0): Default visual is TrueColor
[159323.211] (==) FBTURBO(0): Using gamma correction (1.0, 1.0, 1.0)
[159323.211] (II) FBTURBO(0): hardware: BCM2708 FB (video memory: 7011kB)
[159323.211] (**) FBTURBO(0): Option "fbdev" "/dev/fb0"
[159323.211] (**) FBTURBO(0): Option "SwapbuffersWait" "true"
[159323.212] (II) FBTURBO(0): processor: ARM Cortex-A7
[159323.212] (II) FBTURBO(0): checking modes against framebuffer device...
[159323.212] (II) FBTURBO(0): checking modes against monitor...
[159323.212] (--) FBTURBO(0): Virtual size is 1824x984 (pitch 1824)
[159323.212] (**) FBTURBO(0):  Built-in mode "current"
[159323.212] (==) FBTURBO(0): DPI set to (96, 96)
[159323.212] (II) Loading sub module "fb"
[159323.212] (II) LoadModule: "fb"
[159323.213] (II) Loading /usr/lib/xorg/modules/libfb.so
[159323.214] (II) Module fb: vendor="X.Org Foundation"
[159323.214] 	compiled for 1.18.4, module version = 1.0.0
[159323.214] 	ABI class: X.Org ANSI C Emulation, version 0.4
[159323.214] (==) Depth 24 pixmap format is 32 bpp
[159323.215] (II) FBTURBO(0): using backing store heuristics
[159323.219] (WW) LoadKernelModule: Setting of real/effective user Id to 0/0 failed[159323.226] (II) FBTURBO(0): can't load 'g2d_23' kernel module
[159323.226] (II) FBTURBO(0): failed to enable the use of sunxi display controller
[159323.226] (II) FBTURBO(0): No sunxi-g2d hardware detected (check /dev/disp and /dev/g2d)
[159323.226] (II) FBTURBO(0): G2D hardware acceleration can't be enabled
[159323.226] (II) FBTURBO(0): enabled fbdev copyarea acceleration
[159323.226] (==) FBTURBO(0): Backing store enabled
[159323.228] (==) FBTURBO(0): DPMS enabled
[159323.228] (II) FBTURBO(0): failed to enable hardware cursor
[159323.228] (II) FBTURBO(0): no 3D acceleration because the driver has been compiled without libUMP
[159323.228] (II) FBTURBO(0): if this is wrong and needs to be fixed, please check ./configure log
[159323.228] (==) RandR enabled
[159323.266] (II) SELinux: Disabled on system
[159323.271] (II) AIGLX: Screen 0 is not DRI2 capable
[159323.271] (EE) AIGLX: reverting to software rendering
[159323.415] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[159323.419] (II) AIGLX: Loaded and initialized swrast
[159323.419] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[159323.624] (II) config/udev: Adding input device HID 04d9:a088 (/dev/input/event0)
[159323.624] (**) HID 04d9:a088: Applying InputClass "libinput keyboard catchall"
[159323.624] (II) LoadModule: "libinput"
[159323.625] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[159323.634] (II) Module libinput: vendor="X.Org Foundation"
[159323.634] 	compiled for 1.18.4, module version = 0.20.0
[159323.634] 	Module class: X.Org XInput Driver
[159323.634] 	ABI class: X.Org XInput driver, version 22.1
[159323.636] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 11 paused 0
[159323.637] (II) Using input driver 'libinput' for 'HID 04d9:a088'
[159323.637] (**) HID 04d9:a088: always reports core events
[159323.637] (**) Option "Device" "/dev/input/event0"
[159323.637] (**) Option "_source" "server/udev"
[159323.639] (II) input device 'HID 04d9:a088', /dev/input/event0 is tagged by udev as: Keyboard
[159323.640] (II) input device 'HID 04d9:a088', /dev/input/event0 is a keyboard
[159323.640] (**) Option "config_info" "udev:/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5.4/1-1.5.4:1.0/0003:04D9:A088.0001/input/input0/event0"
[159323.640] (II) XINPUT: Adding extended input device "HID 04d9:a088" (type: KEYBOARD, id 6)
[159323.641] (**) Option "xkb_model" "pc105"
[159323.641] (**) Option "xkb_layout" "gb"
[159323.754] (II) input device 'HID 04d9:a088', /dev/input/event0 is tagged by udev as: Keyboard
[159323.754] (II) input device 'HID 04d9:a088', /dev/input/event0 is a keyboard
[159323.757] (II) config/udev: Adding input device HID 04d9:a088 (/dev/input/event1)
[159323.757] (**) HID 04d9:a088: Applying InputClass "libinput pointer catchall"
[159323.757] (**) HID 04d9:a088: Applying InputClass "libinput keyboard catchall"
[159323.760] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 14 paused 0
[159323.760] (II) Using input driver 'libinput' for 'HID 04d9:a088'
[159323.760] (**) HID 04d9:a088: always reports core events
[159323.760] (**) Option "Device" "/dev/input/event1"
[159323.760] (**) Option "_source" "server/udev"
[159323.762] (II) input device 'HID 04d9:a088', /dev/input/event1 is tagged by udev as: Keyboard Mouse
[159323.762] (II) input device 'HID 04d9:a088', /dev/input/event1 is a pointer caps
[159323.762] (II) input device 'HID 04d9:a088', /dev/input/event1 is a keyboard
[159323.763] (II) libinput: HID 04d9:a088: needs a virtual subdevice
[159323.763] (**) Option "config_info" "udev:/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5.4/1-1.5.4:1.1/0003:04D9:A088.0002/input/input1/event1"
[159323.763] (II) XINPUT: Adding extended input device "HID 04d9:a088" (type: MOUSE, id 7)
[159323.764] (**) Option "AccelerationScheme" "none"
[159323.764] (**) HID 04d9:a088: (accel) selected scheme none/0
[159323.764] (**) HID 04d9:a088: (accel) acceleration factor: 2.000
[159323.764] (**) HID 04d9:a088: (accel) acceleration threshold: 4
[159323.766] (II) input device 'HID 04d9:a088', /dev/input/event1 is tagged by udev as: Keyboard Mouse
[159323.766] (II) input device 'HID 04d9:a088', /dev/input/event1 is a pointer caps
[159323.766] (II) input device 'HID 04d9:a088', /dev/input/event1 is a keyboard
[159323.768] (II) config/udev: Adding input device HID 04d9:a088 (/dev/input/mouse0)
[159323.768] (II) No input driver specified, ignoring this device.
[159323.768] (II) This device may have been added with another device file.
[159323.787] (**) HID 04d9:a088: Applying InputClass "libinput pointer catchall"
[159323.787] (**) HID 04d9:a088: Applying InputClass "libinput keyboard catchall"
[159323.787] (II) systemd-logind: returning pre-existing fd for /dev/input/event1 13:65
[159323.787] (II) Using input driver 'libinput' for 'HID 04d9:a088'
[159323.787] (**) HID 04d9:a088: always reports core events
[159323.787] (**) Option "Device" "/dev/input/event1"
[159323.787] (**) Option "_source" "_driver/libinput"
[159323.788] (II) libinput: HID 04d9:a088: is a virtual subdevice
[159323.788] (**) Option "config_info" "udev:/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5.4/1-1.5.4:1.1/0003:04D9:A088.0002/input/input1/event1"
[159323.788] (II) XINPUT: Adding extended input device "HID 04d9:a088" (type: KEYBOARD, id 8)
[159323.788] (**) Option "xkb_model" "pc105"
[159323.788] (**) Option "xkb_layout" "gb"
[159324.195] (**) Option "fd" "11"
[159324.196] (**) Option "fd" "14"
[159324.197] (**) Option "fd" "14"
[159324.201] (II) UnloadModule: "libinput"
[159324.201] (II) systemd-logind: not releasing fd for 13:65, still in use
[159324.202] (II) UnloadModule: "libinput"
[159324.202] (II) systemd-logind: releasing fd for 13:65
[159324.240] (II) UnloadModule: "libinput"
[159324.241] (II) systemd-logind: releasing fd for 13:64
[159324.313] (II) Server terminated successfully (0). Closing log file.


Is there something I need to do to fix this?  Some magic to add to the conf.d 
directory?

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller at deepsoft.com       -- Webhosting Services
                                                                                             


More information about the xorg mailing list