AnsweredAssumed Answered

x-server seg faults in iMX6Q Custom board.

Question asked by Zaheer M on Jul 11, 2014
Latest reply on Jul 23, 2014 by vikash patil

Hi,

I am using kernel-3.10.17 on a custom board with iMX6Q. The x-server seg faults and fails to launch, log below.

I am using the nitrogen6x_defconfig for my board. The file-system is yocto-1.5. Let me know if any one has come across this issue and has a resolution.

 

[601416.870]

X.Org X Server 1.14.0

Release Date: 2013-03-05

[601416.870] X Protocol Version 11, Revision 0

[601416.870] Build Operating System: Linux 3.2.0-58-generic-pae i686

[601416.870] Current Operating System: Linux nitrogen6x 3.10.17 #6 SMP Fri Jul 11 12:00:24 IST 2014 armv7l

[601416.870] Kernel command line: console=ttymxc0,115200 root=/dev/nfs ip=192.168.1.2 nfsroot=192.168.1.1:/tftpboot/rootfs maxcpus=2 video=mxce

[601416.871] Build Date: 25 January 2014  07:09:38PM

[601416.871] 

[601416.871] Current version of pixman: 0.30.2

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

        to make sure that you have the latest version.

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

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

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

[601416.871] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jul 11 05:15:22 2014

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

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

[601417.202] (==) No Layout section.  Using the first Screen section.

[601417.202] (==) No screen section available. Using defaults.

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

[601417.202] (**) |   |-->Monitor "<default monitor>"

[601417.242] (==) No device specified for screen "Default Screen Section".

        Using the first device section listed.

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

[601417.242] (==) No monitor specified for screen "Default Screen Section".

        Using a default monitor configuration.

[601417.242] (**) Option "BlankTime" "0"

[601417.242] (**) Option "StandbyTime" "0"

[601417.242] (**) Option "SuspendTime" "0"

[601417.242] (**) Option "OffTime" "0"

[601417.242] (==) Automatically adding devices

[601417.242] (==) Automatically enabling devices

[601417.242] (==) Automatically adding GPU devices

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

[601417.294]    Entry deleted from font path.

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

[601417.294]    Entry deleted from font path.

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

[601417.294]    Entry deleted from font path.

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

[601417.294]    Entry deleted from font path.

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

[601417.294]    Entry deleted from font path.

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

[601417.294]    Entry deleted from font path.

[601417.294] (==) FontPath set to:

 

[601417.294] (==) ModulePath set to "/usr/lib/xorg/modules"

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

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

[601417.294] (II) Loader magic: 0x1a5e68

[601417.294] (II) Module ABI versions:

[601417.295]    X.Org ANSI C Emulation: 0.4

[601417.295]    X.Org Video Driver: 14.1

[601417.295]    X.Org XInput driver : 19.1

[601417.295]    X.Org Server Extension : 7.0

[601417.295] (II) config/udev: Adding drm device (/dev/dri/card0)

[601417.540] (II) Open APM successful

[601417.540] Initializing built-in extension Generic Event Extension

[601417.540] Initializing built-in extension SHAPE

[601417.540] Initializing built-in extension MIT-SHM

[601417.540] Initializing built-in extension XInputExtension

[601417.540] Initializing built-in extension XTEST

[601417.540] Initializing built-in extension BIG-REQUESTS

[601417.540] Initializing built-in extension SYNC

[601417.540] Initializing built-in extension XKEYBOARD

[601417.540] Initializing built-in extension XC-MISC

[601417.540] Initializing built-in extension XFIXES

[601417.540] Initializing built-in extension RENDER

[601417.540] Initializing built-in extension RANDR

[601417.540] Initializing built-in extension COMPOSITE

[601417.541] Initializing built-in extension DAMAGE

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

[601417.541] Initializing built-in extension DOUBLE-BUFFER

[601417.541] Initializing built-in extension DPMS

[601417.541] Initializing built-in extension X-Resource

[601417.541] Initializing built-in extension XVideo

[601417.541] Initializing built-in extension XVideo-MotionCompensation

[601417.541] Initializing built-in extension XFree86-VidModeExtension

[601417.541] Initializing built-in extension XFree86-DGA

[601417.541] Initializing built-in extension XFree86-DRI

[601417.541] Initializing built-in extension DRI2

[601417.541] (II) LoadModule: "glx"

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

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

[601418.019]    compiled for 1.14.0, module version = 1.0.0

[601418.019]    ABI class: X.Org Server Extension, version 7.0

[601418.019] (==) AIGLX enabled

[601418.131] Loading extension GLX

[601418.131] (II) LoadModule: "vivante"

[601418.169] (II) Loading /usr/lib/xorg/modules/drivers/vivante_drv.so

[601418.570] (II) Module vivante: vendor="X.Org Foundation"

[601418.570]    compiled for 1.14.0, module version = 1.0.0

[601418.570]    ABI class: X.Org Video Driver, version 14.1

[601418.570] Loading extension vivext

[601418.570] (II) VIVANTE: fb driver for vivante: VivanteGC500, VivanteGC2100,

        VivanteGCCORE

[601418.571] (--) using VT number 2

 

[601418.578] (WW) Falling back to old probe method for vivante

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

[601418.578] (II) LoadModule: "fbdevhw"

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

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

[601418.842]    compiled for 1.14.0, module version = 0.0.2

[601418.842]    ABI class: X.Org Video Driver, version 14.1

[601418.842] (II) VIVANTE(0): using default device

[601418.846] (II) VIVANTE(0): Creating default Display subsection in Screen section

        "Default Screen Section" for depth/fbbpp 24/32

[601418.846] (==) VIVANTE(0): Depth 24, (==) framebuffer bpp 32

[601418.846] (==) VIVANTE(0): RGB weight 888

[601418.846] (==) VIVANTE(0): Default visual is TrueColor

[601418.846] (==) VIVANTE(0): Using gamma correction (1.0, 1.0, 1.0)

[601418.846] (II) VIVANTE(0): hardware: DISP3 BG (video memory: 1200kB)

[601418.847] (II) VIVANTE(0): checking modes against framebuffer device...

[601418.847] (II) VIVANTE(0): checking modes against monitor...

[601418.847] (--) VIVANTE(0): Virtual size is 480x640 (pitch 480)

[601418.847] (**) VIVANTE(0):  Built-in mode "current": 24.2 MHz, 39.9 kHz, 60.0 Hz

[601418.847] (II) VIVANTE(0): Modeline "current"x0.0   24.25  480 496 544 608  640 652 662 665 -hsync +vsync -csync (39.9 kHz b)

[601418.847] (==) VIVANTE(0): DPI set to (96, 96)

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

[601418.847] (II) LoadModule: "fb"

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

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

[601418.981]    compiled for 1.14.0, module version = 1.0.0

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

[601418.981] (II) Loading sub module "exa"

[601418.981] (II) LoadModule: "exa"

[601419.115] (II) Loading /usr/lib/xorg/modules/libexa.so

[601419.205] (II) Module exa: vendor="X.Org Foundation"

[601419.205]    compiled for 1.14.0, module version = 2.6.0

[601419.205]    ABI class: X.Org Video Driver, version 14.1

[601419.205] (--) Depth 24 pixmap format is 32 bpp

[601419.381] (II) VIVANTE(0): FB Start = 0xb66f2000  FB Base = 0xb66f2000  FB Offset = (nil)

[601419.766] (II) VIVANTE(0): test Initializing EXA

[601419.766] (II) VIVANTE(0): (driver build from: -dirty)

[601419.766] (II) EXA(0): Driver allocated offscreen pixmaps

[601419.767] (II) EXA(0): Driver registered support for the following operations:

[601419.767] (II)         Solid

[601419.767] (II)         Copy

[601419.767] (II)         Composite (RENDER acceleration)

[601419.767] (II)         UploadToScreen

[601419.767] (EE) VIVANTE(0): internal error: GPU Ctx Init Failed

[601419.767] (EE) VIVANTE(0): internal error: initExaLayer failed in VivScreenInit()

[601419.767] (==) VIVANTE(0): Backing store disabled

[601419.904] (==) VIVANTE(0): DPMS enabled

[601420.015] drmOpenDevice: node name is /dev/dri/card0

[601420.015] drmOpenDevice: open result is 13, (OK)

[601420.015] drmOpenDevice: node name is /dev/dri/card0

[601420.015] drmOpenDevice: open result is 13, (OK)

[601420.015] drmOpenByBusid: Searching for BusID platform:Vivante GCCore:00

[601420.015] drmOpenDevice: node name is /dev/dri/card0

[601420.015] drmOpenDevice: open result is 13, (OK)

[601420.015] drmOpenByBusid: drmOpenMinor returns 13

[601420.015] drmOpenByBusid: drmGetBusid reports platform:Vivante GCCore:00

[601420.015] (II) [drm] DRM interface version 1.4

[601420.015] (II) [drm] DRM open master succeeded.

[601420.015] (II) VIVANTE(0): [drm] Using the DRM lock SAREA also for drawables.

[601420.015] (II) VIVANTE(0): [drm] framebuffer handle = 0x2e100000

[601420.015] (II) VIVANTE(0): [drm] added 1 reserved context for kernel

[601420.016] (II) VIVANTE(0): X context handle = 0x1

[601420.016] (II) VIVANTE(0): [drm] installed DRM signal handler

[601420.016] (II) VIVANTE(0): [DRI] installation complete

[601420.104] (==) RandR enabled

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

[601420.764] drmOpenDevice: node name is /dev/dri/card0

[601420.764] drmOpenDevice: open result is 14, (OK)

[601420.764] drmOpenByBusid: Searching for BusID platform:Vivante GCCore:00

[601420.764] drmOpenDevice: node name is /dev/dri/card0

[601420.764] drmOpenDevice: open result is 14, (OK)

[601420.764] drmOpenByBusid: drmOpenMinor returns 14

[601420.764] drmOpenByBusid: Interface 1.4 failed, trying 1.1

[601420.764] drmOpenByBusid: drmGetBusid reports platform:Vivante GCCore:00

[601421.986] (EE) AIGLX error: vivante exports no extensions (/usr/lib/dri/vivante_dri.so: undefined symbol: __driDriverExtensions)

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

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

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

[601427.163] (EE)

[601427.163] (EE) Backtrace:

[601427.163] (EE)

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

[601427.163]

Fatal server error:

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

[601427.163]

[601427.163] (EE)

Please consult the The X.Org Foundation support

         at http://wiki.x.org

for help.

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

[601427.163] (EE)

[601427.180] Server terminated with error (1). Closing log file.

Outcomes