#753518 xserver-xorg-video-fbdev: fbdev needs to be manually specified in xorg.conf.d fragment

Package:
xserver-xorg-video-fbdev
Source:
xserver-xorg-video-fbdev
Description:
X.Org X server -- fbdev display driver
Submitter:
Steve Capper
Date:
2014-07-02 18:03:07 UTC
Severity:
normal
#753518#5
Date:
2014-07-02 18:00:55 UTC
From:
To:
Hello,
I have been testing Jessie on my new Samsung ARM Chromebook 2, running armhf
architecture (using the Google Chromium Linux kernel).
Out of the box, I had problems with the xserver starting. I have included the
Xorg.0.log at the end of the email.

In order to get the xserver working, I needed to create a config fragment.

Section "Device"
        Identifier  "Card0"
        Driver      "fbdev"
EndSection

Then everything works well.

I've done a little digging into the driver and it appears that the probe
function, FBDevProbe, fails unless there is the above config fragment. In
particular, xf86ClaimFbSlot and xf86ConfigFbEntity appear to return errors.

I am not an expert at X11, so don't know if this behaviour is normal. I didn't
expect it :-).

Thanks,
--
Steve

Here is the Xorg.0.log of the failing start:


[    10.469]
X.Org X Server 1.15.1
Release Date: 2014-04-13
[    10.470] X Protocol Version 11, Revision 0
[    10.470] Build Operating System: Linux 3.2.0-4-mx5 armv7l Debian
[    10.470] Current Operating System: Linux jessiechrome 3.8.11 #6 SMP Fri Jun
6 20:18:59 UTC 2014 armv7l
[    10.470] Kernel command line: cros_secure  console=tty1 debug verbose
root=/dev/mmcblk1p3 rootwait rw lsm.module_locking=0
[    10.470] Build Date: 16 April 2014  12:30:00PM
[    10.470] xorg-server 2:1.15.1-1 (http://www.debian.org/support)
[    10.470] Current version of pixman: 0.32.4
[    10.470]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[    10.470] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    10.471] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jun 30 19:36:57
2014
[    10.474] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    10.519] (==) No Layout section.  Using the first Screen section.
[    10.519] (==) No screen section available. Using defaults.
[    10.519] (**) |-->Screen "Default Screen Section" (0)
[    10.519] (**) |   |-->Monitor "<default monitor>"
[    10.520] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
[    10.520] (==) Automatically adding devices
[    10.520] (==) Automatically enabling devices
[    10.520] (==) Automatically adding GPU devices
[    10.569] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    10.608]     Entry deleted from font path.
[    10.626] (==) FontPath set to:
    /usr/share/fonts/X11/misc,
    /usr/share/fonts/X11/100dpi/:unscaled,
    /usr/share/fonts/X11/75dpi/:unscaled,
    /usr/share/fonts/X11/Type1,
    /usr/share/fonts/X11/100dpi,
    /usr/share/fonts/X11/75dpi,
    built-ins
[    10.626] (==) ModulePath set to "/usr/lib/xorg/modules"
[    10.626] (II) The server relies on udev to provide the list of input
devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[    10.626] (II) Loader magic: 0xb6fbeef8
[    10.626] (II) Module ABI versions:
[    10.626]     X.Org ANSI C Emulation: 0.4
[    10.626]     X.Org Video Driver: 15.0
[    10.626]     X.Org XInput driver : 20.0
[    10.626]     X.Org Server Extension : 8.0
[    10.627] (II) xfree86: Adding drm device (/dev/dri/card0)
[    10.675] Initializing built-in extension Generic Event Extension
[    10.675] Initializing built-in extension SHAPE
[    10.675] Initializing built-in extension MIT-SHM
[    10.675] Initializing built-in extension XInputExtension
[    10.676] Initializing built-in extension XTEST
[    10.676] Initializing built-in extension BIG-REQUESTS
[    10.676] Initializing built-in extension SYNC
[    10.676] Initializing built-in extension XKEYBOARD
[    10.676] Initializing built-in extension XC-MISC
[    10.676] Initializing built-in extension SECURITY
[    10.676] Initializing built-in extension XINERAMA
[    10.676] Initializing built-in extension XFIXES
[    10.676] Initializing built-in extension RENDER
[    10.676] Initializing built-in extension RANDR
[    10.676] Initializing built-in extension COMPOSITE
[    10.676] Initializing built-in extension DAMAGE
[    10.676] Initializing built-in extension MIT-SCREEN-SAVER
[    10.677] Initializing built-in extension DOUBLE-BUFFER
[    10.677] Initializing built-in extension RECORD
[    10.677] Initializing built-in extension DPMS
[    10.677] Initializing built-in extension Present
[    10.677] Initializing built-in extension DRI3
[    10.677] Initializing built-in extension X-Resource
[    10.677] Initializing built-in extension XVideo
[    10.677] Initializing built-in extension XVideo-MotionCompensation
[    10.677] Initializing built-in extension SELinux
[    10.677] Initializing built-in extension XFree86-VidModeExtension
[    10.677] Initializing built-in extension XFree86-DGA
[    10.677] Initializing built-in extension XFree86-DRI
[    10.677] Initializing built-in extension DRI2
[    10.677] (II) LoadModule: "glx"
[    10.696] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    10.705] (II) Module glx: vendor="X.Org Foundation"
[    10.705]     compiled for 1.15.1, module version = 1.0.0
[    10.705]     ABI class: X.Org Server Extension, version 8.0
[    10.705] (==) AIGLX enabled
[    10.705] Loading extension GLX
[    10.705] (==) Matched modesetting as autoconfigured driver 0
[    10.705] (==) Matched fbdev as autoconfigured driver 1
[    10.705] (==) Assigned the driver to the xf86ConfigLayout
[    10.705] (II) LoadModule: "modesetting"
[    10.708] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    10.716] (II) Module modesetting: vendor="X.Org Foundation"
[    10.716]     compiled for 1.15.1, module version = 0.8.1
[    10.716]     Module class: X.Org Video Driver
[    10.716]     ABI class: X.Org Video Driver, version 15.0
[    10.716] (II) LoadModule: "fbdev"
[    10.717] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    10.719] (II) Module fbdev: vendor="X.Org Foundation"
[    10.719]     compiled for 1.15.0, module version = 0.4.4
[    10.719]     Module class: X.Org Video Driver
[    10.719]     ABI class: X.Org Video Driver, version 15.0
[    10.719] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    10.719] (II) FBDEV: driver for framebuffer: fbdev
[    10.719] (++) using VT number 7

[    10.719] (WW) xf86OpenConsole: setpgid failed: Operation not permitted
[    10.719] (WW) xf86OpenConsole: setsid failed: Operation not permitted
[    10.734] (II) modesetting(G0): using drv /dev/dri/card0
[    10.734] (WW) Falling back to old probe method for modesetting
[    10.734] (WW) Falling back to old probe method for fbdev
[    10.734] (II) Loading sub module "fbdevhw"
[    10.734] (II) LoadModule: "fbdevhw"
[    10.734] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    10.736] (II) Module fbdevhw: vendor="X.Org Foundation"
[    10.736]     compiled for 1.15.1, module version = 0.0.2
[    10.736]     ABI class: X.Org Video Driver, version 15.0
[    10.736] (EE) No devices detected.
[    10.736] (EE)
Fatal server error:
[    10.736] (EE) no screens found(EE)
[    10.736] (EE)
Please consult the The X.Org Foundation support
     at http://wiki.x.org
 for help.
[    10.737] (EE) Please also check the log file at "/var/log/Xorg.0.log" for
additional information.
[    10.737] (EE)
[    10.760] (EE) Server terminated with error (1). Closing log file.