x-server seg faults in iMX6Q Custom board.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

x-server seg faults in iMX6Q Custom board.

Jump to solution
6,520 Views
zaheerm
Contributor I

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.

Labels (4)
0 Kudos
1 Solution
1,385 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

I got this issue once, but with Ubuntu rootf, Do not know if this going to mwork in yocto but This is how i fixed it:

1. When you use the gpu-viv-bin-mx6q-3.10.9-1.0.0-hfp after install need to change the binaries manually cd $ROOTFS/usr/lib rm libEGL.so ln -s libEGL-x11.so libEGL.so rm libGAL.so ln -s libGAL-x11.so libGAL.so

2. Need to build the EXA with DRI module again. You can get the package as part BSP. xserver-xorg-video-imx-viv-x.x.x.tar.gz.

3. Copy to the rootfs and build as in build.sh and install.sh

Hope this helps

View solution in original post

3 Replies
1,385 Views
vikaspatil
Senior Contributor I

Hi Zaheer,

I am running linux "3.10.17-1.0.0-wandboard-02432-g9d567e4-dirty" on wandboard Solo and getting the same error that you are seeing. Did you found the resolution of it?

I am using gfx driver from gpu-viv-bin-mx6q-3.10.9-1.0.0-hfp and x ddx driver from "image_xf86-video-imxfb-vivante-3.5.7+1.0.0" on our custom filesystem with X.Org X Server 1.12.3.

@All,

Is this a known issue? Is there any resolution available for this?

Thanks & Regards,

Vikash

Here is my log:

[ 28148.901]

X.Org X Server 1.12.3

Release Date: 2012-07-09

[ 28148.902] X Protocol Version 11, Revision 0

[ 28148.903] Build Operating System: Linux 3.2.0-39-generic-pae i686

[ 28148.903] Current Operating System: Linux oakland 3.10.17-1.0.0-wandboard-02432-g9d567e4-dirty #4 SMP PREEMPT Tue Jul 15 17:34:23 IST 2014 armv7l

[ 28148.903] Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk0p2 rootwait rw

[ 28148.904] Build Date: 14 May 2014  03:28:11PM

[ 28148.904] 

[ 28148.905] Current version of pixman: 0.27.2

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

    to make sure that you have the latest version.

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

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

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

[ 28148.907] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jan  1 07:49:08 1970

[ 28148.935] (++) Using config file: "/etc/X11/xorg-imx6.conf"

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

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

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

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

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

[ 28149.001] (==) Automatically adding devices

[ 28149.002] (==) Automatically enabling devices

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

[ 28149.050]     Entry deleted from font path.

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

[ 28149.051]     Entry deleted from font path.

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

[ 28149.051]     Entry deleted from font path.

[ 28149.072] (==) FontPath set to:

    /usr/share/fonts/X11/misc/,

    /usr/share/fonts/X11/100dpi/,

    /usr/share/fonts/X11/75dpi/

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

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

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

[ 28149.072] (II) Loader magic: 0x114618

[ 28149.073] (II) Module ABI versions:

[ 28149.073]     X.Org ANSI C Emulation: 0.4

[ 28149.073]     X.Org Video Driver: 12.0

[ 28149.073]     X.Org XInput driver : 16.0

[ 28149.073]     X.Org Server Extension : 6.0

[ 28149.075] (II) LoadModule: "extmod"

[ 28149.125] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so

[ 28149.166] (II) Module extmod: vendor="X.Org Foundation"

[ 28149.167]     compiled for 1.12.3, module version = 1.0.0

[ 28149.167]     Module class: X.Org Server Extension

[ 28149.167]     ABI class: X.Org Server Extension, version 6.0

[ 28149.167] (II) Loading extension MIT-SCREEN-SAVER

[ 28149.168] (II) Loading extension XFree86-VidModeExtension

[ 28149.168] (II) Loading extension XFree86-DGA

[ 28149.168] (II) Loading extension DPMS

[ 28149.168] (II) Loading extension XVideo

[ 28149.168] (II) Loading extension XVideo-MotionCompensation

[ 28149.169] (II) Loading extension X-Resource

[ 28149.169] (II) LoadModule: "dbe"

[ 28149.173] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so

[ 28149.183] (II) Module dbe: vendor="X.Org Foundation"

[ 28149.183]     compiled for 1.12.3, module version = 1.0.0

[ 28149.183]     Module class: X.Org Server Extension

[ 28149.184]     ABI class: X.Org Server Extension, version 6.0

[ 28149.184] (II) Loading extension DOUBLE-BUFFER

[ 28149.184] (II) LoadModule: "glx"

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

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

[ 28149.308]     compiled for 1.12.3, module version = 1.0.0

[ 28149.308]     ABI class: X.Org Server Extension, version 6.0

[ 28149.309] (==) AIGLX enabled

[ 28149.309] (II) Loading extension GLX

[ 28149.310] (II) LoadModule: "dri"

[ 28149.318] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so

[ 28149.365] (II) Module dri: vendor="X.Org Foundation"

[ 28149.366]     compiled for 1.12.3, module version = 1.0.0

[ 28149.366]     ABI class: X.Org Server Extension, version 6.0

[ 28149.367] (II) Loading extension XFree86-DRI

[ 28149.367] (II) LoadModule: "dri2"

[ 28149.372] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so

[ 28149.384] (II) Module dri2: vendor="X.Org Foundation"

[ 28149.384]     compiled for 1.12.3, module version = 1.2.0

[ 28149.384]     ABI class: X.Org Server Extension, version 6.0

[ 28149.384] (II) Loading extension DRI2

[ 28149.385] (II) LoadModule: "vivante"

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

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

[ 28149.525]     compiled for 1.12.3, module version = 1.0.0

[ 28149.525]     ABI class: X.Org Video Driver, version 12.0

[ 28149.525] (II) Loading extension vivext

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

    VivanteGCCORE

[ 28149.528] (--) using VT number 2

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

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

[ 28149.907] (II) LoadModule: "fbdevhw"

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

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

[ 28149.926]     compiled for 1.12.3, module version = 0.0.2

[ 28149.926]     ABI class: X.Org Video Driver, version 12.0

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

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

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

    "Default Screen" for depth/fbbpp 24/24

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

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

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

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

[ 28149.933] (II) VIVANTE(0): hardware: DISP3 BG (video memory: 6075kB)

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

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

[ 28149.935] (--) VIVANTE(0): Virtual size is 1920x1080 (pitch 1920)

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

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

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

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

[ 28149.936] (II) LoadModule: "fb"

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

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

[ 28149.992]     compiled for 1.12.3, module version = 1.0.0

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

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

[ 28149.992] (II) LoadModule: "exa"

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

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

[ 28150.031]     compiled for 1.12.3, module version = 2.5.0

[ 28150.031]     ABI class: X.Org Video Driver, version 12.0

[ 28150.032] (--) Depth 24 pixmap format is 24 bpp

[ 28150.066] (II) VIVANTE(0): FB Start = 0x76454000  FB Base = 0x76454000  FB Offset = (nil)

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

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

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

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

[ 28150.071] (II)         Solid

[ 28150.071] (II)         Copy

[ 28150.071] (II)         Composite (RENDER acceleration)

[ 28150.071] (II)         UploadToScreen

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

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

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

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

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

[ 28150.084] drmOpenDevice: open result is 10, (OK)

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

[ 28150.086] drmOpenDevice: open result is 10, (OK)

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

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

[ 28150.087] drmOpenDevice: open result is 10, (OK)

[ 28150.087] drmOpenByBusid: drmOpenMinor returns 10

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

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

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

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

[ 28150.090] (II) VIVANTE(0): [drm] framebuffer handle = 0x20100000

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

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

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

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

[ 28150.094] (==) RandR enabled

[ 28150.095] (II) Initializing built-in extension Generic Event Extension

[ 28150.095] (II) Initializing built-in extension SHAPE

[ 28150.095] (II) Initializing built-in extension MIT-SHM

[ 28150.095] (II) Initializing built-in extension XInputExtension

[ 28150.095] (II) Initializing built-in extension XTEST

[ 28150.095] (II) Initializing built-in extension BIG-REQUESTS

[ 28150.096] (II) Initializing built-in extension SYNC

[ 28150.096] (II) Initializing built-in extension XKEYBOARD

[ 28150.096] (II) Initializing built-in extension XC-MISC

[ 28150.096] (II) Initializing built-in extension XFIXES

[ 28150.097] (II) Initializing built-in extension RENDER

[ 28150.097] (II) Initializing built-in extension RANDR

[ 28150.097] (II) Initializing built-in extension COMPOSITE

[ 28150.097] (II) Initializing built-in extension DAMAGE

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

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

[ 28150.396] drmOpenDevice: open result is 11, (OK)

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

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

[ 28150.397] drmOpenDevice: open result is 11, (OK)

[ 28150.397] drmOpenByBusid: drmOpenMinor returns 11

[ 28150.398] drmOpenByBusid: Interface 1.4 failed, trying 1.1

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

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

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

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

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

[ 28151.121]

[ 28151.124] Backtrace:

[ 28151.125]

[ 28151.128] Segmentation fault at address (nil)

[ 28151.129]

Fatal server error:

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

[ 28151.131]

[ 28151.133]

Please consult the The X.Org Foundation support

     at http://wiki.x.org

for help.

[ 28151.134] Please also check the log file at "/var/log/Xorg.0.log" for additional information.

[ 28151.134]

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

0 Kudos
1,386 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

I got this issue once, but with Ubuntu rootf, Do not know if this going to mwork in yocto but This is how i fixed it:

1. When you use the gpu-viv-bin-mx6q-3.10.9-1.0.0-hfp after install need to change the binaries manually cd $ROOTFS/usr/lib rm libEGL.so ln -s libEGL-x11.so libEGL.so rm libGAL.so ln -s libGAL-x11.so libGAL.so

2. Need to build the EXA with DRI module again. You can get the package as part BSP. xserver-xorg-video-imx-viv-x.x.x.tar.gz.

3. Copy to the rootfs and build as in build.sh and install.sh

Hope this helps

1,384 Views
vikaspatil
Senior Contributor I

Thanks for the reply.

I am now able to start the X11 and run the X11_GLES2 based test.

I used following from diasy branch on meta-fsl-arm

- gpu-viv-bin-mx6q-3.10.17-1.0.0-hfp (gfx driver)

- xserver-xorg-video-imx-viv-3.10.17-1.0.0 (ddx driver)

- fsl-gpu-sdk-1.1-r0 (demos)

- X.Org X Server 1.12.3

Regards,

Vikash

0 Kudos