AnsweredAssumed Answered

Xorg X11 do not work on imx6dl of yocto 4.1.15 krogoth

Question asked by jiang yaqiang on Jan 23, 2017
Latest reply on Feb 3, 2017 by jiang yaqiang

HI :

    Could anyone help me for the problem of the topic ? 

    The XServer will crash on imx6dl , but it works on imx6q, with the same source and build config:

 

   release version: imx-4.1-krogoth(4.1.15-2.0.0)

 

  build config:

  for imx6q

   MACHINE=imx6qsabresd DISTRO=fsl-imx-x11 source ./fsl-setup-release.sh -b bld-x11

   bitbake fsl-image-qt5

  for imx6dl

  MACHINE=imx6dlsabresd DISTRO=fsl-imx-x11 source ./fsl-setup-release.sh -b bld-x11

   bitbake fsl-image-qt5

 

 

     Bellow is the log:

   

root@imx6dlsabresd:~# cat /var/log/Xorg.0.log
[2802098.994]
X.Org X Server 1.18.0
Release Date: 2015-11-09
[2802098.994] X Protocol Version 11, Revision 0
[2802098.994] Build Operating System: Linux 4.2.0-16-generic x86_64
[2802098.994] Current Operating System: Linux imx6dlsabresd 4.1.15+ #3 SMP PREEMPT Mon Jan 16 11:59:34 CST 2017 armv7l
[2802098.994] Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk2p2 video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=32 rootwait
[2802098.995] Build Date: 16 January 2017 06:06:22PM
[2802098.995]
[2802098.995] Current version of pixman: 0.32.8
[2802098.995] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[2802098.995] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[2802098.995] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jan 16 11:23:36 2017
[2802099.004] (==) Using config file: "/etc/X11/xorg.conf"
[2802099.005] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[2802099.011] (==) No Layout section. Using the first Screen section.
[2802099.011] (==) No screen section available. Using defaults.
[2802099.011] (**) |-->Screen "Default Screen Section" (0)
[2802099.011] (**) | |-->Monitor "<default monitor>"
[2802099.014] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[2802099.014] (**) | |-->Device "i.MX Accelerated Framebuffer Device"
[2802099.014] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[2802099.014] (**) Option "BlankTime" "0"
[2802099.014] (**) Option "StandbyTime" "0"
[2802099.014] (**) Option "SuspendTime" "0"
[2802099.014] (**) Option "OffTime" "0"
[2802099.014] (==) Automatically adding devices
[2802099.014] (==) Automatically enabling devices
[2802099.014] (==) Automatically adding GPU devices
[2802099.015] (==) Max clients allowed: 256, resource mask: 0x1fffff
[2802099.018] (WW) The directory "/usr/share/fonts/X11/misc/" does not exist.
[2802099.018] Entry deleted from font path.
[2802099.018] (WW) The directory "/usr/share/fonts/X11/TTF/" does not exist.
[2802099.018] Entry deleted from font path.
[2802099.018] (WW) The directory "/usr/share/fonts/X11/OTF/" does not exist.
[2802099.018] Entry deleted from font path.
[2802099.018] (WW) The directory "/usr/share/fonts/X11/Type1/" does not exist.
[2802099.018] Entry deleted from font path.
[2802099.018] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[2802099.018] Entry deleted from font path.
[2802099.018] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[2802099.018] Entry deleted from font path.
[2802099.018] (==) FontPath set to:

[2802099.018] (==) ModulePath set to "/usr/lib/xorg/modules"
[2802099.018] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[2802099.020] (II) Loader magic: 0x1b1a58
[2802099.020] (II) Module ABI versions:
[2802099.020] X.Org ANSI C Emulation: 0.4
[2802099.020] X.Org Video Driver: 20.0
[2802099.020] X.Org XInput driver : 22.1
[2802099.020] X.Org Server Extension : 9.0
[2802099.022] (II) xfree86: Adding drm device (/dev/dri/card0)
[2802099.022] (II) no primary bus or device found
[2802099.022] falling back to /sys/devices/platform/Vivante GCCore/drm/card0
[2802099.022] (II) LoadModule: "glx"
[2802099.027] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[2802099.071] (II) Module glx: vendor="X.Org Foundation"
[2802099.071] compiled for 1.18.0, module version = 1.0.0
[2802099.071] ABI class: X.Org Server Extension, version 9.0
[2802099.071] (==) AIGLX enabled
[2802099.071] (II) LoadModule: "vivante"
[2802099.072] (II) Loading /usr/lib/xorg/modules/drivers/vivante_drv.so
[2802099.078] (II) Module vivante: vendor="X.Org Foundation"
[2802099.078] compiled for 1.18.0, module version = 1.0.0
[2802099.078] Module class: X.Org Video Driver
[2802099.078] ABI class: X.Org Video Driver, version 20.0
[2802099.078] (II) VIVANTE: driver for vivante fb: VivanteGC500, VivanteGC2100,
VivanteGCCORE
[2802099.079] (--) using VT number 1

[2802099.179] (WW) Falling back to old probe method for vivante
[2802099.179] (II) Loading sub module "fbdevhw"
[2802099.179] (II) LoadModule: "fbdevhw"
[2802099.180] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[2802099.181] (II) Module fbdevhw: vendor="X.Org Foundation"
[2802099.181] compiled for 1.18.0, module version = 0.0.2
[2802099.181] ABI class: X.Org Video Driver, version 20.0
[2802099.182] (II) VIVANTE(0): using default device
[2802099.182] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[2802099.182] (II) VIVANTE(0): Device preferred mode 'fb0':S:1920x1080p-60
[2802099.182] (II) VIVANTE(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[2802099.183] (==) VIVANTE(0): Depth 24, (==) framebuffer bpp 32
[2802099.183] (==) VIVANTE(0): RGB weight 888
[2802099.183] (==) VIVANTE(0): Default visual is TrueColor
[2802099.183] (==) VIVANTE(0): Using gamma correction (1.0, 1.0, 1.0)
[2802099.183] (**) VIVANTE(0): Option "fbdev" "/dev/fb0"
[2802099.183] (II) VIVANTE(0): checking modes against framebuffer device...
[2802099.183] (II) VIVANTE(0): checking modes against monitor...
[2802099.183] (II) VIVANTE(0): Use built in mode (bpp 32)
[2802099.183] (--) VIVANTE(0): Virtual size is 0x0 (pitch 0)
[2802099.183] (==) VIVANTE(0): DPI set to (96, 96)
[2802099.183] (II) Loading sub module "fb"
[2802099.183] (II) LoadModule: "fb"
[2802099.183] (II) Loading /usr/lib/xorg/modules/libfb.so
[2802099.188] (II) Module fb: vendor="X.Org Foundation"
[2802099.188] compiled for 1.18.0, module version = 1.0.0
[2802099.188] ABI class: X.Org ANSI C Emulation, version 0.4
[2802099.188] (II) Loading sub module "exa"
[2802099.188] (II) LoadModule: "exa"
[2802099.188] (II) Loading /usr/lib/xorg/modules/libexa.so
[2802099.193] (II) Module exa: vendor="X.Org Foundation"
[2802099.193] compiled for 1.18.0, module version = 2.6.0
[2802099.193] ABI class: X.Org Video Driver, version 20.0
[2802099.346] (II) VIVANTE(0): printing discovered frame buffer 'fb0' supported modes:
[2802099.347] (II) VIVANTE(0): Modeline "S:1280x720p-50"x0.0 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync -csync (37.5 kHz e)
[2802099.347] (II) VIVANTE(0): Modeline "S:720x576p-50"x0.0 27.00 720 732 796 864 576 581 586 625 -hsync -vsync -csync (31.2 kHz e)
[2802099.347] (II) VIVANTE(0): Modeline "S:1920x1080p-50"x0.0 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync -csync (56.2 kHz e)
[2802099.348] (II) VIVANTE(0): Modeline "S:640x480p-60"x0.0 25.17 640 656 752 800 480 490 492 525 -hsync -vsync -csync (31.5 kHz e)
[2802099.348] (II) VIVANTE(0): Modeline "S:720x480p-60"x0.0 27.00 720 736 798 858 480 489 495 525 -hsync -vsync -csync (31.5 kHz e)
[2802099.348] (II) VIVANTE(0): Modeline "S:720x480p-60"x0.0 27.00 720 736 798 858 480 489 495 525 -hsync -vsync -csync (31.5 kHz e)
[2802099.348] (II) VIVANTE(0): Modeline "S:1280x720p-60"x0.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync -csync (45.0 kHz e)
[2802099.349] (II) VIVANTE(0): Modeline "S:1920x1080p-60"x0.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync -csync (67.5 kHz eP)
[2802099.349] (II) VIVANTE(0): Modeline "V:640x480p-60"x0.0 25.20 640 656 752 800 480 490 492 525 -hsync -vsync -csync (31.5 kHz e)
[2802099.349] (II) VIVANTE(0): Modeline "D:1920x1080p-60"x0.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync -csync (67.5 kHz e)
[2802099.349] (II) VIVANTE(0): Modeline "V:640x480p-60"x0.0 25.20 640 656 752 800 480 490 492 525 -hsync -vsync -csync (31.5 kHz e)
[2802099.392] (II) VIVANTE(0): Output DISP3 BG has no monitor section
[2802099.392] (II) VIVANTE(0): Printing probed modes for output DISP3 BG
[2802099.392] (II) VIVANTE(0): Modeline "S:1920x1080p-60"x60.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync -csync (67.5 kHz eP)
[2802099.392] (II) VIVANTE(0): Modeline "S:1920x1080p-50"x50.0 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync -csync (56.2 kHz e)
[2802099.392] (II) VIVANTE(0): Modeline "S:1280x720p-50"x50.0 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync -csync (37.5 kHz e)
[2802099.392] (II) VIVANTE(0): Modeline "S:1280x720p-60"x60.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync -csync (45.0 kHz e)
[2802099.392] (II) VIVANTE(0): Modeline "S:720x576p-50"x50.0 27.00 720 732 796 864 576 581 586 625 -hsync -vsync -csync (31.2 kHz e)
[2802099.392] (II) VIVANTE(0): Modeline "S:720x480p-60"x59.9 27.00 720 736 798 858 480 489 495 525 -hsync -vsync -csync (31.5 kHz e)
[2802099.392] (II) VIVANTE(0): Modeline "V:640x480p-60"x60.0 25.20 640 656 752 800 480 490 492 525 -hsync -vsync -csync (31.5 kHz e)
[2802099.392] (II) VIVANTE(0): Modeline "S:640x480p-60"x59.9 25.17 640 656 752 800 480 490 492 525 -hsync -vsync -csync (31.5 kHz e)
[2802099.393] (II) VIVANTE(0): Output DISP3 BG connected
[2802099.393] (II) VIVANTE(0): Using exact sizes for initial modes
[2802099.393] (II) VIVANTE(0): Output DISP3 BG using initial mode S:1920x1080p-60 +0+0
[2802099.393] (II) VIVANTE(0): imxDisplayPreInit: virtual set 1920 x 1080, display width 0
[2802099.393] (II) VIVANTE(0): FBDevPreInit: adjust display width 1920
[2802099.393] (**) VIVANTE(0): PreInit done
[2802099.393] (--) Depth 24 pixmap format is 32 bpp
[2802099.393] (II) VIVANTE(0): Init mode for fb device
[2802099.917] (II) VIVANTE(0): hardware: DISP3 BG (video memory: 16335kB)
[2802099.918] (II) VIVANTE(0): FB Start = 0x7558d000 FB Base = 0x7558d000 FB Offset = (nil) FB PhyBase 0x3cc00000
[2802099.918] (II) VIVANTE(0): reserve 8355840 bytes for on screen frame buffer; total fb memory size 16727040 bytes; offset of shadow buffer 8355840
[2802099.963] (II) VIVANTE(0): hardware: DISP3 BG (video memory: 16335kB)
[2802099.977] (II) VIVANTE(0): test Initializing EXA
[2802099.980] (EE)
[2802099.980] (EE) Backtrace:
[2802099.980] (EE)
[2802099.980] (EE) Segmentation fault at address 0xc
[2802099.980] (EE)
Fatal server error:
[2802099.980] (EE) Caught signal 11 (Segmentation fault). Server aborting
[2802099.981] (EE)
[2802099.981] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[2802099.981] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[2802099.981] (EE)
[2802100.050] (EE) Server terminated with error (1). Closing log file.

Outcomes