AnsweredAssumed Answered

Desktop gui not coming after changing the kernel

Question asked by srinivasaporam on Jan 21, 2016
Latest reply on Jan 24, 2016 by srinivasaporam

Hi,

We have got reference board imx6Q to which we have ported ubuntu and it is working fine with lxde desktop with frame buffer driver. We have now ported 3.14 kernel (changed vmlinuz-3.10.53 to vmlinuz-3.14.x in /boot, .config file, modules and firmware).

 

Now , 3.14.x is booting successfully, but not with gui.

 

Xorg.o.log file for old 3.10.53 is as below:

 

[   138.744]

X.Org X Server 1.15.1

Release Date: 2014-04-13

[   138.745] X Protocol Version 11, Revision 0

[   138.745] Build Operating System: Linux 3.2.0-67-highbank armv7l Ubuntu

[   138.745] Current Operating System: Linux localhost.localdomain 3.10.53-1.1.0_ga-wandboard-06112-g166aa6f #5 SMP PREEMPT Sun Jan 17 14:06:01 IST 2016 armv7l

[   138.745] Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk2p1 rw rootfstype=ext3 earlyprintk rootwait

[   138.746] Build Date: 12 February 2015  02:55:07PM

[   138.746] xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support)

[   138.746] Current version of pixman: 0.30.2

[   138.746]     Before reporting problems, check http://wiki.x.org

    to make sure that you have the latest version.

[   138.746] Markers: (--) probed, (**) from config file, (==) default setting,

    (++) from command line, (!!) notice, (II) informational,

    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.

[   138.747] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jan  1 05:32:17 1970

[   138.752] (==) Using config file: "/etc/X11/xorg.conf"

[   138.752] (==) Using system config directory "/usr/share/X11/xorg.conf.d"

[   138.778] (==) ServerLayout "Default Layout"

[   138.778] (**) |-->Screen "Default Screen" (0)

[   138.778] (**) |   |-->Monitor "Configured Monitor"

[   138.779] (**) |   |-->Device "i.MX Accelerated Framebuffer Device"

[   138.779] (==) Automatically adding devices

[   138.779] (==) Automatically enabling devices

[   138.779] (==) Automatically adding GPU devices

[   138.801] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.

[   138.801]     Entry deleted from font path.

[   138.802] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.

[   138.802]     Entry deleted from font path.

[   138.802] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.

[   138.802]     Entry deleted from font path.

[   138.806] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.

[   138.806]     Entry deleted from font path.

[   138.806] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.

[   138.806]     Entry deleted from font path.

[   138.806] (==) FontPath set to:

    /usr/share/fonts/X11/misc,

    /usr/share/fonts/X11/Type1,

    built-ins

[   138.807] (==) ModulePath set to "/usr/lib/arm-linux-gnueabihf/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"

[   138.807] (II) The server relies on udev to provide the list of input devices.

    If no devices become available, reconfigure udev or disable AutoAddDevices.

[   138.807] (II) Loader magic: 0x76f51f10

[   138.807] (II) Module ABI versions:

[   138.807]     X.Org ANSI C Emulation: 0.4

[   138.807]     X.Org Video Driver: 15.0

[   138.807]     X.Org XInput driver : 20.0

[   138.807]     X.Org Server Extension : 8.0

[   138.808] (II) xfree86: Adding drm device (/dev/dri/card0)

[   138.808] Initializing built-in extension Generic Event Extension

[   138.808] Initializing built-in extension SHAPE

[   138.808] Initializing built-in extension MIT-SHM

[   138.808] Initializing built-in extension XInputExtension

[   138.808] Initializing built-in extension XTEST

[   138.808] Initializing built-in extension BIG-REQUESTS

[   138.808] Initializing built-in extension SYNC

[   138.808] Initializing built-in extension XKEYBOARD

[   138.808] Initializing built-in extension XC-MISC

[   138.809] Initializing built-in extension SECURITY

[   138.809] Initializing built-in extension XINERAMA

[   138.809] Initializing built-in extension XFIXES

[   138.809] Initializing built-in extension RENDER

[   138.809] Initializing built-in extension RANDR

[   138.809] Initializing built-in extension COMPOSITE

[   138.809] Initializing built-in extension DAMAGE

[   138.809] Initializing built-in extension MIT-SCREEN-SAVER

[   138.809] Initializing built-in extension DOUBLE-BUFFER

[   138.809] Initializing built-in extension RECORD

[   138.809] Initializing built-in extension DPMS

[   138.809] Initializing built-in extension Present

[   138.809] Initializing built-in extension DRI3

[   138.809] Initializing built-in extension X-Resource

[   138.809] Initializing built-in extension XVideo

[   138.809] Initializing built-in extension XVideo-MotionCompensation

[   138.809] Initializing built-in extension SELinux

[   138.810] Initializing built-in extension XFree86-VidModeExtension

[   138.810] Initializing built-in extension XFree86-DGA

[   138.810] Initializing built-in extension XFree86-DRI

[   138.810] Initializing built-in extension DRI2

[   138.810] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.

[   138.810] (WW) "xmir" is not to be loaded by default. Skipping.

[   138.810] (II) LoadModule: "dbe"

[   138.811] (II) Module "dbe" already built-in

[   138.811] (II) LoadModule: "extmod"

[   138.811] (II) Module "extmod" already built-in

[   138.811] (II) LoadModule: "glx"

[   138.825] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so

[   139.012] (II) Module glx: vendor="X.Org Foundation"

[   139.012]     compiled for 1.15.1, module version = 1.0.0

[   139.012]     ABI class: X.Org Server Extension, version 8.0

[   139.012] (==) AIGLX enabled

[   139.013] Loading extension GLX

[   139.013] (II) LoadModule: "dri"

[   139.013] (II) Module "dri" already built-in

[   139.013] (II) LoadModule: "vivante"

[   139.029] (WW) Warning, couldn't open module vivante

[   139.029] (II) UnloadModule: "vivante"

[   139.030] (II) Unloading vivante

[   139.030] (EE) Failed to load module "vivante" (module does not exist, 0)

[   139.030] (==) Matched modesetting as autoconfigured driver 0

[   139.030] (==) Matched fbdev as autoconfigured driver 1

[   139.030] (==) Assigned the driver to the xf86ConfigLayout

[   139.030] (II) LoadModule: "modesetting"

[   139.031] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so

[   139.050] (II) Module modesetting: vendor="X.Org Foundation"

[   139.050]     compiled for 1.15.0, module version = 0.8.1

[   139.050]     Module class: X.Org Video Driver

[   139.050]     ABI class: X.Org Video Driver, version 15.0

[   139.050] (II) LoadModule: "fbdev"

[   139.051] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so

[   139.059] (II) Module fbdev: vendor="X.Org Foundation"

[   139.059]     compiled for 1.15.0, module version = 0.4.4

[   139.059]     Module class: X.Org Video Driver

[   139.059]     ABI class: X.Org Video Driver, version 15.0

[   139.060] (II) modesetting: Driver for Modesetting Kernel Drivers: kms

[   139.060] (II) FBDEV: driver for framebuffer: fbdev

[   139.060] (++) using VT number 7

 

[   139.116] (WW) Falling back to old probe method for modesetting

[   139.117] (WW) Falling back to old probe method for fbdev

[   139.117] (II) Loading sub module "fbdevhw"

[   139.117] (II) LoadModule: "fbdevhw"

[   139.117] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so

[   139.193] (II) Module fbdevhw: vendor="X.Org Foundation"

[   139.193]     compiled for 1.15.1, module version = 0.0.2

[   139.193]     ABI class: X.Org Video Driver, version 15.0

[   139.194] (II) FBDEV(0): using /dev/fb0

[   139.194] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support

[   139.194] (II) FBDEV(0): Creating default Display subsection in Screen section

    "Default Screen" for depth/fbbpp 24/32

[   139.194] (**) FBDEV(0): Depth 24, (--) framebuffer bpp 32

[   139.194] (==) FBDEV(0): RGB weight 888

[   139.194] (==) FBDEV(0): Default visual is TrueColor

[   139.194] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)

[   139.194] (II) FBDEV(0): hardware: DISP3 BG (video memory: 8100kB)

[   139.194] (**) FBDEV(0): Option "fbdev" "/dev/fb0"

[   139.194] (II) FBDEV(0): checking modes against framebuffer device...

[   139.194] (II) FBDEV(0): checking modes against monitor...

[   139.195] (--) FBDEV(0): Virtual size is 1920x1080 (pitch 1920)

[   139.195] (**) FBDEV(0):  Built-in mode "current": 148.5 MHz, 67.5 kHz, 60.0 Hz

[   139.195] (II) FBDEV(0): Modeline "current"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync -csync (67.5 kHz b)

[   139.195] (==) FBDEV(0): DPI set to (96, 96)

[   139.195] (II) Loading sub module "fb"

[   139.195] (II) LoadModule: "fb"

[   139.195] (II) Loading /usr/lib/xorg/modules/libfb.so

[   139.201] (II) Module fb: vendor="X.Org Foundation"

[   139.202]     compiled for 1.15.1, module version = 1.0.0

[   139.202]     ABI class: X.Org ANSI C Emulation, version 0.4

[   139.202] (**) FBDEV(0): using shadow framebuffer

[   139.202] (II) Loading sub module "shadow"

[   139.202] (II) LoadModule: "shadow"

[   139.202] (II) Loading /usr/lib/xorg/modules/libshadow.so

[   139.206] (II) Module shadow: vendor="X.Org Foundation"

[   139.206]     compiled for 1.15.1, module version = 1.1.0

[   139.207]     ABI class: X.Org ANSI C Emulation, version 0.4

[   139.207] (==) Depth 24 pixmap format is 32 bpp

[   139.323] (==) FBDEV(0): Backing store enabled

[   139.324] (==) FBDEV(0): DPMS enabled

[   139.324] (==) RandR enabled

[   139.354] (II) SELinux: Disabled on system

[   139.357] (II) AIGLX: Screen 0 is not DRI2 capable

[   139.357] (EE) AIGLX: reverting to software rendering

[   139.605] (II) AIGLX: Loaded and initialized swrast

[   139.605] (II) GLX: Initialized DRISWRAST GL provider for screen 0

[   139.736] (II) XKB: reuse xkmfile /var/lib/xkb/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm

[   139.748] (II) config/udev: Adding drm device (/dev/dri/card0) card0 /sys/devices/platform/Vivante GCCore:00/drm/card0

[   139.748] (II) config/udev: Ignoring already known drm device (/dev/dri/card0)

[   139.750] (II) config/udev: Adding input device DELL Dell USB Entry Keyboard (/dev/input/event0)

[   139.750] (**) DELL Dell USB Entry Keyboard: Applying InputClass "evdev keyboard catchall"

[   139.750] (II) LoadModule: "evdev"

[   139.751] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so

[   139.768] (II) Module evdev: vendor="X.Org Foundation"

[   139.768]     compiled for 1.15.0, module version = 2.8.2

[   139.768]     Module class: X.Org XInput Driver

[   139.768]     ABI class: X.Org XInput driver, version 20.0

[   139.768] (II) Using input driver 'evdev' for 'DELL Dell USB Entry Keyboard'

[   139.769] (**) DELL Dell USB Entry Keyboard: always reports core events

[   139.769] (**) evdev: DELL Dell USB Entry Keyboard: Device: "/dev/input/event0"

[   139.769] (--) evdev: DELL Dell USB Entry Keyboard: Vendor 0x413c Product 0x2107

[   139.769] (--) evdev: DELL Dell USB Entry Keyboard: Found keys

[   139.769] (II) evdev: DELL Dell USB Entry Keyboard: Configuring as keyboard

[   139.769] (**) Option "config_info" "udev:/sys/devices/soc0/soc.1/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.1/1-1.1:1.0/input/input0/event0"

[   139.769] (II) XINPUT: Adding extended input device "DELL Dell USB Entry Keyboard" (type: KEYBOARD, id 6)

[   139.769] (**) Option "xkb_rules" "evdev"

[   139.769] (**) Option "xkb_model" "pc105"

[   139.769] (**) Option "xkb_layout" "us"

 

 

where as xorg.0.log file new kernel is :

 

[   131.568]

X.Org X Server 1.15.1

Release Date: 2014-04-13

[   131.569] X Protocol Version 11, Revision 0

[   131.569] Build Operating System: Linux 3.2.0-67-highbank armv7l Ubuntu

[   131.569] Current Operating System: Linux localhost.localdomain 3.14.14+ #5 SMP Tue Jan 19 20:26:00 IST 2016 armv7l

[   131.569] Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk0p1 rw rootfstype=ext3 rootwait

[   131.569] Build Date: 12 February 2015  02:55:07PM

[   131.569] xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support)

[   131.569] Current version of pixman: 0.30.2

[   131.569]     Before reporting problems, check http://wiki.x.org

    to make sure that you have the latest version.

[   131.569] Markers: (--) probed, (**) from config file, (==) default setting,

    (++) from command line, (!!) notice, (II) informational,

    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.

[   131.570] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jan  1 05:32:09 1970

[   131.601] (==) Using config file: "/etc/X11/xorg.conf"

[   131.602] (==) Using system config directory "/usr/share/X11/xorg.conf.d"

[   131.640] (==) ServerLayout "Default Layout"

[   131.640] (**) |-->Screen "Default Screen" (0)

[   131.640] (**) |   |-->Monitor "Configured Monitor"

[   131.641] (**) |   |-->Device "i.MX Accelerated Framebuffer Device"

[   131.641] (==) Automatically adding devices

[   131.641] (==) Automatically enabling devices

[   131.642] (==) Automatically adding GPU devices

[   131.674] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.

[   131.674]     Entry deleted from font path.

[   131.674] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.

[   131.674]     Entry deleted from font path.

[   131.675] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.

[   131.675]     Entry deleted from font path.

[   131.693] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.

[   131.693]     Entry deleted from font path.

[   131.693] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.

[   131.693]     Entry deleted from font path.

[   131.693] (==) FontPath set to:

    /usr/share/fonts/X11/misc,

    /usr/share/fonts/X11/Type1,

    built-ins

[   131.694] (==) ModulePath set to "/usr/lib/arm-linux-gnueabihf/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"

[   131.694] (II) The server relies on udev to provide the list of input devices.

    If no devices become available, reconfigure udev or disable AutoAddDevices.

[   131.694] (II) Loader magic: 0x76f5bf10

[   131.694] (II) Module ABI versions:

[   131.694]     X.Org ANSI C Emulation: 0.4

[   131.694]     X.Org Video Driver: 15.0

[   131.694]     X.Org XInput driver : 20.0

[   131.694]     X.Org Server Extension : 8.0

[   131.695] (II) xfree86: Adding drm device (/dev/dri/card0)

[   131.696] (EE)

[   131.696] (EE) Backtrace:

[   131.696] (EE)

[   131.697] (EE) Segmentation fault at address 0x0

[   131.697] (EE)

Fatal server error:

[   131.697] (EE) Caught signal 11 (Segmentation fault). Server aborting

[   131.697] (EE)

[   131.697] (EE)

Please consult the The X.Org Foundation support

     at http://wiki.x.org

for help.

[   131.699] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.

[   131.699] (EE)

 

 

in fact all .so files are already there, but why x is failing and lxde gui is not coming????

 

 

is there anything that we missed out doing after changing kernel.

Outcomes