Unable to allocate framebuffer fsl-image-qt5

cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to allocate framebuffer fsl-image-qt5

2,532 Views
eugenevolkov
Contributor IV

Hi, all!

i have problem with HDMI output in fsl-image-qt5 BSP 3.10.53.

During load u-boot and linux,

on the HDMI output i can see logo -that indicating that HDIM, u-boot and kernel seting is good.

But, after starting Xserver, screen on HDMI monitor turns black, i can see cursor on thel left side.

Starting Xserver

Starting system message bus: dbus.

Starting Connection Manager

Starting Dropbear SSH server: dropbear.

Starting rpcbind daemon...

mxc_sdc_fb fb.18: Unable to allocate framebuffer memory

detected fb_set_par error, error code: -12

done.

For some reason, no memory is allocated for frame buffer.

i find in Freescale Yocto Project User's Guide this recommendations:

"To run these, after booting up Linux on your device, tell Qt5 which graphics to use but setting the environment variable

below. See Section "Qt5" in the i.MX Linux User's Guide for the information on the graphics for different graphical

backends."


How do I set the parameters for frame buffer?

Help me!!! I have this problem for over a week!


0 Kudos
6 Replies

215 Views
eugenevolkov
Contributor IV

Hi.

Obviously, Xserver not runing.

Boot log:

Starting kernel ...

Booting Linux on physical CPU 0x0

Linux version 3.10.53+g496fbe0 (eugene@imx) (gcc version 4.8.2 (GCC) ) #144 SMP PREEMPT Sun Apr 26 22:54:32 EEST 2015

CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d

CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

Machine: Freescale i.MX6 Quad/DualLite (Device Tree), model: Freescale i.MX6 DualLite/Solo SABRE Automotive Board

cma: CMA: reserved 32 MiB at 1e000000

Memory policy: ECC disabled, Data cache writealloc

PERCPU: Embedded 8 pages/cpu @809c7000 s8960 r8192 d15616 u32768

Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024

Kernel command line: console=ttymxc0,115200 nosmp root=/dev/nfs ip=192.168.0.102 nfsroot=192.168.0.100:/home/eugene/fsl-release-bsp/build/tmp/work/imx6solosabreauto-poky-linux-gnueabi/fsl-image-qt5/1.0-r0/rootfs,v3,tcp video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off mxc_hdmi.only_cea=1 fbmem=32M vmalloc=192M

PID hash table entries: 1024 (order: 0, 4096 bytes)

Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)

Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)

Memory: 256MB = 256MB total

Memory: 219004k/219004k available, 43140k reserved, 0K highmem

Virtual kernel memory layout:

    vector  : 0xffff0000 - 0xffff1000   (   4 kB)

    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)

    vmalloc : 0x90800000 - 0xff000000   (1768 MB)

    lowmem  : 0x80000000 - 0x90000000   ( 256 MB)

    pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)

    modules : 0x7f000000 - 0x7fe00000   (  14 MB)

      .text : 0x80008000 - 0x806cb0d8   (6925 kB)

      .init : 0x806cc000 - 0x80711300   ( 277 kB)

      .data : 0x80712000 - 0x8074d460   ( 238 kB)

       .bss : 0x8074d460 - 0x807b395c   ( 410 kB)

SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1

Preemptible hierarchical RCU implementation.

        RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.

NR_IRQS:16 nr_irqs:16 16

L310 cache controller enabled

l2x0: 16 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x32050000, Cache size: 524288 B

sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms

CPU identified as i.MX6DL, silicon rev 1.1

Console: colour dummy device 80x30

Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)

pid_max: default: 32768 minimum: 301

Mount-cache hash table entries: 512

CPU: Testing write buffer coherency: ok

CPU0: thread -1, cpu 0, socket 0, mpidr 80000000

Setting up static identity map for 0x80517290 - 0x805172e8

Brought up 1 CPUs

SMP: Total of 1 processors activated (1581.05 BogoMIPS).

CPU: All CPU(s) started in SVC mode.

devtmpfs: initialized

pinctrl core: initialized pinctrl subsystem

regulator-dummy: no parameters

NET: Registered protocol family 16

DMA: preallocated 256 KiB pool for atomic coherent allocations

Use WDOG1 as reset source

syscon 20c8000.anatop: regmap [mem 0x020c8000-0x020c8fff] registered

vdd1p1: 800 <--> 1375 mV at 1125 mV

vdd3p0: 2800 <--> 3150 mV at 3000 mV

vdd2p5: 2000 <--> 2750 mV at 2425 mV

cpu: 725 <--> 1450 mV at 1150 mV

vddpu: 725 <--> 1450 mV

vddsoc: 725 <--> 1450 mV at 1175 mV

syscon 20e0000.iomuxc-gpr: regmap [mem 0x020e0000-0x020e0037] registered

syscon 21bc000.ocotp-ctrl: regmap [mem 0x021bc000-0x021bffff] registered

hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.

hw-breakpoint: maximum watchpoint size is 4 bytes.

imx6dl-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver

bio: create slab <bio-0> at 0

mxs-dma 110000.dma-apbh: initialized

cs42888_supply: 3300 mV

vio1: 3300 mV

vio2: 3300 mV

vd: 3300 mV

va: 5000 mV

usb_h1_vbus: 5000 mV

usb_otg_vbus: 5000 mV

3P3V: 3300 mV

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

i2c i2c-0: IMX I2C adapter registered

i2c i2c-1: IMX I2C adapter registered

pps_core: LinuxPPS API ver. 1 registered

pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

PTP clock support registered

imx-ipuv3 2400000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)

Advanced Linux Sound Architecture Driver Initialized.

pureg-dummy: no parameters

Switching to clocksource mxc_timer1

NET: Registered protocol family 2

TCP established hash table entries: 2048 (order: 2, 16384 bytes)

TCP bind hash table entries: 2048 (order: 2, 16384 bytes)

TCP: Hash tables configured (established 2048 bind 2048)

TCP: reno registered

UDP hash table entries: 256 (order: 1, 8192 bytes)

UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)

NET: Registered protocol family 1

RPC: Registered named UNIX socket transport module.

RPC: Registered udp transport module.

RPC: Registered tcp transport module.

RPC: Registered tcp NFSv4.1 backchannel transport module.

hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available

Bus freq driver module loaded

futex hash table entries: 256 (order: 2, 16384 bytes)

VFS: Disk quotas dquot_6.5.2

Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

NFS: Registering the id_resolver key type

Key type id_resolver registered

Key type id_legacy registered

jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.

fuse init (API version 7.22)

msgmni has been set to 491

io scheduler noop registered

io scheduler deadline registered

io scheduler cfq registered (default)

mxc_sdc_fb fb.18: mxcfb_probe enter

mxc_hdmi 20e0000.hdmi_video: Detected HDMI controller 0x13:0x1a:0xa0:0xc1

fbcvt: 1920x1080@60: CVT Name - 2.073M9

mxc_sdc_fb fb.18: di_pixfmt:0x33424752, bpp:0x20, di:1, ipu:0

mxc_sdc_fb fb.18: registered mxc display driver hdmi

mxc_sdc_fb fb.18: allocated fb @ paddr=0x8A17B8EC, size=8294400.

imx-ipuv3 2400000.ipu: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)

Console: switching to colour frame buffer device 240x67

mxc_sdc_fb fb.18: allocated fb @ paddr=0x8A17BCEC, size=460800.

imx-sdma 20ec000.sdma: no iram assigned, using external mem

imx-sdma 20ec000.sdma: initialized

imx-sdma 20ec000.sdma: loaded firmware 1.1

pfuze100-regulator 0-0008: unrecognized pfuze chip ID!

pfuze100-regulator: probe of 0-0008 failed with error -5

Serial: IMX driver

2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58) is a IMX

console [ttymxc0] enabled

serial: Freescale lpuart driver

imx sema4 driver is registered.

[drm] Initialized drm 1.1.0 20060810

[drm] Initialized vivante 1.0.0 20120216 on minor 0

brd: module loaded

loop: module loaded

nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1

nand: AMD/Spansion S34ML01G100TFI00 1G 3.3V 8-bit

nand: 128MiB, SLC, page size: 2048, OOB size: 64

Bad block table found at page 65472, version 0x01

Bad block table found at page 65408, version 0x01

gpmi-nand 112000.gpmi-nand: driver registered.

CAN device driver interface

libphy: fec_enet_mii_bus: probed

fec 2188000.ethernet eth0: registered PHC device 0

ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

ci_hdrc ci_hdrc.1: doesn't support gadget

ci_hdrc ci_hdrc.1: EHCI Host Controller

ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1

ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

mousedev: PS/2 mouse device common for all mice

snvs_rtc 20cc034.snvs-rtc-lp: rtc core: registered 20cc034.snvs-rtc-lp as rtc0

i2c /dev entries driver

cpuidle: using governor ladder

cpuidle: using governor menu

sdhci: Secure Digital Host Controller Interface driver

sdhci: Copyright(c) Pierre Ossman

sdhci-pltfm: SDHCI platform and OF driver helper

mmc2: no vqmmc regulator found

mmc2: no vmmc regulator found

mmc2: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA

galcore: clk_get vg clock failed, disable vg!

Galcore version 5.0.11.25762

mmc2: host does not support reading read-only switch. assuming write-enable.

mmc2: new high speed SDHC card at address aaaa

mmcblk2: mmc2:aaaa SU04G 3.69 GiB

mmcblk2: p1 p2

mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed

mxc_asrc 2034000.asrc: mxc_asrc registered

mxc_vpu 2040000.vpu: VPU initialized

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

fsl-asrc-p2p asrc_p2p.4: init pcm dma failed

NET: Registered protocol family 26

TCP: cubic registered

NET: Registered protocol family 10

sit: IPv6 over IPv4 tunneling driver

NET: Registered protocol family 17

can: controller area network core (rev 20120528 abi 9)

NET: Registered protocol family 29

can: raw protocol (rev 20120528)

can: broadcast manager protocol (rev 20120528 t)

can: netlink gateway (rev 20130117) max_hops=1

8021q: 802.1Q VLAN Support v1.8

Key type dns_resolver registered

VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4

usb_otg_vbus: disabling

regulator-dummy: disabling

imx mcc test is registered.

snvs_rtc 20cc034.snvs-rtc-lp: setting system clock to 1970-01-01 00:00:00 UTC (0)

fec 2188000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=2188000.ethernet:01, irq=-1)

IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

usb 1-1: new high-speed USB device number 2 using ci_hdrc

hub 1-1:1.0: USB hub found

hub 1-1:1.0: 3 ports detected

libphy: 2188000.ethernet:01 - Link is Up - 100/Full

IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

IP-Config: Guessing netmask 255.255.255.0

IP-Config: Complete:

     device=eth0, hwaddr=00:01:02:03:04:05, ipaddr=192.168.0.102, mask=255.255.255.0, gw=255.255.255.255

     host=192.168.0.102, domain=, nis-domain=(none)

     bootserver=255.255.255.255, rootserver=192.168.0.100, rootpath=

ALSA device list:

  No soundcards found.

VFS: Mounted root (nfs filesystem) readonly on device 0:11.

devtmpfs: mounted

Freeing unused kernel memory: 276K (806cc000 - 80711000)

INIT: version 2.88 booting

Starting udev

udevd[74]: starting version 182

Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory

bootlogd.

ALSA: Restoring mixer settings...

/usr/sbin/alsactl: load_state:1729: No soundcards found...

net.ipv4.conf.default.rp_filter = 1

net.ipv4.conf.all.rp_filter = 1

Mon Mar 23 18:29:00 UTC 2015

INIT: Entering runlevel: 5

Configuring network interfaces... ifup skipped for nfsroot interface eth0

run-parts: /etc/network/if-pre-up.d/nfsroot exited with return code 1

Starting Xserver

Starting system message bus: dbus.

Starting Connection Manager

Starting Dropbear SSH server: dropbear.

Starting rpcbind daemon...mxc_sdc_fb fb.18: allocated fb @ paddr=0x8A17B8EC, size=16727040.

mxc_sdc_fb fb.18: Unable to allocate framebuffer memory

detected fb_set_par error, error code: -12

done.

mxc_sdc_fb fb.18: allocated fb @ paddr=0x8A17B8EC, size=8294400.

creating NFS state directory: done

starting statd: done

Starting advanced power management daemon: No APM support in kernel

(failed.)

NFS daemon support not enabled in kernel

Starting syslogd/klogd: done

* Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon                       [ ok ]

Starting Telephony daemon

Starting Linux NFC daemon

Starting OProfileUI server

Running local boot scripts (/etc/rc.local).

Stopping Bootlog daemon: bootlogd.

Poky (Yocto Project Reference Distro) 1.6.2 imx6solosabreauto /dev/ttymxc0

imx6solosabreauto login: startx

Password:

Login incorrect

imx6solosabreauto login: root

root@imx6solosabreauto:~# startx

hostname: imx6solosabreauto: Unknown host

xauth:  file /home/root/.serverauth.655 does not exist

X.Org X Server 1.16.1

Release Date: 2014-09-21

X Protocol Version 11, Revision 0

Build Operating System: Linux 3.16.0-30-generic x86_64

Current Operating System: Linux imx6solosabreauto 3.10.53+g496fbe0 #144 SMP PREEMPT Sun Apr 26 22:54:32 EEST 2015 armv7l

Kernel command line: console=ttymxc0,115200 nosmp root=/dev/nfs ip=192.168.0.102 nfsroot=192.168.0.100:/home/eugene/fsl-release-bsp/build/tmp/work/imx6solosabreauto-poky-linux-gnueabi/fsl-image-qt5/1.0-r0/rootfs,v3,tcp video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off mxc_hdmi.only_cea=1 fbmem=32M vmalloc=192M

Build Date: 23 March 2015  01:33:52AM

Current version of pixman: 0.32.4

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

        to make sure that you have the latest version.

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

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

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

(==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar 23 18:29:29 2015

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

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

mxc_sdc_fb fb.18: allocated fb @ paddr=0x8A17B8EC, size=16727040.

mxc_sdc_fb fb.18: Unable to allocate framebuffer memory

detected fb_set_par error, error code: -12

(EE)

(EE) Backtrace:

(EE)

(EE) Segmentation fault at address 0x18

(EE)

Fatal server error:

(EE) Caught signal 11 (Segmentation fault). Server aborting

(EE)

(EE)

Please consult the The X.Org Foundation support

         at http://wiki.x.org

for help.

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

(EE)

mxc_sdc_fb fb.18: allocated fb @ paddr=0x8A17B8EC, size=8294400.

(EE) Server terminated with error (1). Closing log file.

xinit: giving up

xinit: unable to connect to X server: Connection refused

xinit: server error

root@imx6solosabreauto:~#

Here are the contents of the xorg.0.log:

root@imx6solosabreauto:/var/log# cat Xorg.0.log

[1206353.497]

X.Org X Server 1.16.1

Release Date: 2014-09-21

[1206353.497] X Protocol Version 11, Revision 0

[1206353.497] Build Operating System: Linux 3.16.0-30-generic x86_64

[1206353.497] Current Operating System: Linux imx6solosabreauto 3.10.53+g496fbe0 #144 SMP PREEMPT Sun Apr 26 22:54:32 EEST 2015 armv7l

[1206353.497] Kernel command line: console=ttymxc0,115200 nosmp root=/dev/nfs ip=192.168.0.102 nfsroot=192.168.0.100:/home/eugene/fsl-release-bsp/build/tmp/work/imx6solosabreauto-poky-linux-gnueabi/fsl-image-qt5/1.0-r0/rootfs,v3,tcp video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off mxc_hdmi.only_cea=1 fbmem=28M vmalloc=192M

[1206353.497] Build Date: 23 March 2015  01:33:52AM

[1206353.498]

[1206353.498] Current version of pixman: 0.32.4

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

        to make sure that you have the latest version.

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

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

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

[1206353.499] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar 23 18:31:35 2015

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

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

[1206353.508] (==) ServerLayout "Single Layout"

[1206353.509] (**) |-->Screen "HDMI Screen" (0)

[1206353.509] (**) |   |-->Monitor "HDMI Monitor"

[1206353.509] (**) |   |-->Device "HDMI"

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

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

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

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

[1206353.510] (==) Automatically adding devices

[1206353.510] (==) Automatically enabling devices

[1206353.510] (==) Automatically adding GPU devices

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

[1206353.514]   Entry deleted from font path.

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

[1206353.514]   Entry deleted from font path.

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

[1206353.514]   Entry deleted from font path.

[1206353.519] (==) FontPath set to:

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

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

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

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

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

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

[1206353.519] (II) Loader magic: 0x1b3a20

[1206353.519] (II) Module ABI versions:

[1206353.519]   X.Org ANSI C Emulation: 0.4

[1206353.519]   X.Org Video Driver: 18.0

[1206353.519]   X.Org XInput driver : 21.0

[1206353.519]   X.Org Server Extension : 8.0

[1206353.537] (EE) systemd-logind: failed to get session: The name org.freedesktop.login1 was not provided by any .service files

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

[1206353.539] (II) no primary bus or device found

[1206353.539]   falling back to /sys/devices/platform/Vivante GCCore/drm/card0

[1206353.539] (II) LoadModule: "glx"

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

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

[1206353.572]   compiled for 1.16.1, module version = 1.0.0

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

[1206353.572] (==) AIGLX enabled

[1206353.572] (II) LoadModule: "vivante"

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

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

[1206353.580]   compiled for 1.16.1, module version = 1.0.0

[1206353.580]   Module class: X.Org Video Driver

[1206353.580]   ABI class: X.Org Video Driver, version 18.0

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

        VivanteGCCORE

[1206353.581] (--) using VT number 3

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

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

[1206353.619] (II) LoadModule: "fbdevhw"

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

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

[1206353.624]   compiled for 1.16.1, module version = 0.0.2

[1206353.624]   ABI class: X.Org Video Driver, version 18.0

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

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

[1206353.626] (II) VIVANTE(0): Device preferred mode 'fb0':S:1920x1080p-60

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

        "HDMI Screen" for depth/fbbpp 24/32

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

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

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

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

[1206353.626] (**) VIVANTE(0): Option "fbdev" "/dev/fb0"

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

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

[1206353.626] (II) VIVANTE(0): Use built in mode (bpp 32)

[1206353.626] (--) VIVANTE(0): Virtual size is 0x0 (pitch 0)

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

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

[1206353.626] (II) LoadModule: "fb"

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

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

[1206353.631]   compiled for 1.16.1, module version = 1.0.0

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

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

[1206353.631] (II) LoadModule: "exa"

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

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

[1206353.636]   compiled for 1.16.1, module version = 2.6.0

[1206353.636]   ABI class: X.Org Video Driver, version 18.0

[1206353.654] (WW) VIVANTE(0): unable to support largest resolution (Cannot allocate memory)(II) VIVANTE(0): FBDevPreInit: adjust display width 0

[1206353.654] (**) VIVANTE(0): PreInit done

[1206353.654] (EE)

[1206353.654] (EE) Backtrace:

[1206353.654] (EE)

[1206353.654] (EE) Segmentation fault at address 0x18

[1206353.655] (EE)

Fatal server error:

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

[1206353.655] (EE)

[1206353.655] (EE)

Please consult the The X.Org Foundation support

         at http://wiki.x.org

for help.

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

[1206353.655] (EE)

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

In my board 256MB memory. I change CMA to 64MB.

This is my first processor, the first Linux which I set.

Look forward to any ideas!

0 Kudos

215 Views
eugenevolkov
Contributor IV

I see, that that the memory buffer is allocated several times

mxc_sdc_fb fb.18: mxcfb_probe enter

mxc_hdmi 20e0000.hdmi_video: Detected HDMI controller 0x13:0x1a:0xa0:0xc1

fbcvt: 1920x1080@60: CVT Name - 2.073M9

mxc_sdc_fb fb.18: di_pixfmt:0x33424752, bpp:0x20, di:1, ipu:0

mxc_sdc_fb fb.18: registered mxc display driver hdmi

mxc_sdc_fb fb.18: allocated fb @ paddr=0x8A17B8EC, size=8294400.

imx-ipuv3 2400000.ipu: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)

Console: switching to colour frame buffer device 240x67




Starting rpcbind daemon...mxc_sdc_fb fb.18: allocated fb @ paddr=0x8A17B8EC, size=16727040.

mxc_sdc_fb fb.18: Unable to allocate framebuffer memory


may be this is the reason the error?


not yet clear message about memory segmentation

Segmentation fault at address 0x18

This communication presents a physical memory address?

0 Kudos

215 Views
eugenevolkov
Contributor IV

Hi.

I went a little further.

I changed the size of the CMA to 224MB. Just set vmalloc to 224MB.

The process has advanced further.

X.Org X Server 1.16.1

Release Date: 2014-09-21

[1207759.446] X Protocol Version 11, Revision 0

[1207759.446] Build Operating System: Linux 3.16.0-30-generic x86_64

[1207759.446] Current Operating System: Linux imx6solosabreauto 3.10.53+g496fbe0 #167 SMP PREEMPT Tue Apr 28 04:00:46 EEST 2015 armv7l

[1207759.447] Kernel command line: console=ttymxc0,115200 nosmp root=/dev/nfs ip=192.168.0.102 nfsroot=192.168.0.100:/home/eugene/fsl-release-bsp/build/tmp/work/imx6solosabreauto-poky-linux-gnueabi/fsl-image-qt5/1.0-r0/rootfs,v3,tcp video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off fbmem=32M vmalloc=224M

[1207759.447] Build Date: 23 March 2015  01:33:52AM

[1207759.447]

[1207759.447] Current version of pixman: 0.32.4

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

        to make sure that you have the latest version.

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

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

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

[1207759.448] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar 23 18:55:01 2015

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

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

[1207759.496] (==) ServerLayout "Single Layout"

[1207759.496] (**) |-->Screen "HDMI Screen" (0)

[1207759.496] (**) |   |-->Monitor "HDMI Monitor"

[1207759.504] (**) |   |-->Device "HDMI"

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

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

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

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

[1207759.505] (==) Automatically adding devices

[1207759.506] (==) Automatically enabling devices

[1207759.506] (==) Automatically adding GPU devices

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

[1207759.530]   Entry deleted from font path.

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

[1207759.531]   Entry deleted from font path.

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

[1207759.533]   Entry deleted from font path.

[1207759.546] (==) FontPath set to:

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

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

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

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

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

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

[1207759.546] (II) Loader magic: 0x1b3a20

[1207759.546] (II) Module ABI versions:

[1207759.546]   X.Org ANSI C Emulation: 0.4

[1207759.546]   X.Org Video Driver: 18.0

[1207759.546]   X.Org XInput driver : 21.0

[1207759.546]   X.Org Server Extension : 8.0

[1207759.566] (EE) systemd-logind: failed to get session: The name org.freedesktop.login1 was not provided by any .service files

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

[1207759.575] (II) no primary bus or device found

[1207759.576]   falling back to /sys/devices/platform/Vivante GCCore/drm/card0

[1207759.577] (II) LoadModule: "glx"

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

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

[1207759.838]   compiled for 1.16.1, module version = 1.0.0

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

[1207759.838] (==) AIGLX enabled

[1207759.838] (II) LoadModule: "vivante"

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

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

[1207759.862]   compiled for 1.16.1, module version = 1.0.0

[1207759.862]   Module class: X.Org Video Driver

[1207759.862]   ABI class: X.Org Video Driver, version 18.0

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

        VivanteGCCORE

[1207759.863] (--) using VT number 1

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

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

[1207759.871] (II) LoadModule: "fbdevhw"

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

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

[1207759.892]   compiled for 1.16.1, module version = 0.0.2

[1207759.892]   ABI class: X.Org Video Driver, version 18.0

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

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

[1207759.903] (II) VIVANTE(0): Device preferred mode 'fb0':S:1920x1080p-60

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

        "HDMI Screen" for depth/fbbpp 24/32

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

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

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

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

[1207759.904] (**) VIVANTE(0): Option "fbdev" "/dev/fb0"

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

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

[1207759.905] (II) VIVANTE(0): Use built in mode (bpp 32)

[1207759.905] (--) VIVANTE(0): Virtual size is 0x0 (pitch 0)

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

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

[1207759.905] (II) LoadModule: "fb"

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

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

[1207759.941]   compiled for 1.16.1, module version = 1.0.0

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

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

[1207759.941] (II) LoadModule: "exa"

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

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

[1207759.969]   compiled for 1.16.1, module version = 2.6.0

[1207759.969]   ABI class: X.Org Video Driver, version 18.0

[1207760.386] (II) VIVANTE(0): printing discovered frame buffer 'fb0' supported modes:

[1207760.398] (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)

[1207760.401] (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)

[1207760.402] (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)

[1207760.402] (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)

[1207760.402] (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)

[1207760.403] (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)

[1207760.403] (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)

[1207760.403] (II) VIVANTE(0): Modeline "D:1280x720p-60"x0.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync -csync (45.0 kHz e)

[1207760.404] (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)

[1207760.404] (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)

[1207760.466] (II) VIVANTE(0): Output DISP3 BG - DI1 using monitor section HDMI Monitor

[1207760.471] (II) VIVANTE(0): Printing probed modes for output DISP3 BG - DI1

[1207760.475] (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)

[1207760.475] (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)

[1207760.475] (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)

[1207760.475] (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)

[1207760.475] (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)

[1207760.476] (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)

[1207760.476] (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)

[1207760.476] (II) VIVANTE(0): Output DISP3 BG - DI1 connected

[1207760.477] (II) VIVANTE(0): Using exact sizes for initial modes

[1207760.477] (II) VIVANTE(0): Output DISP3 BG - DI1 using initial mode S:1920x1080p-60

[1207760.477] (II) VIVANTE(0): imxDisplayPreInit: virtual set 1920 x 1080, display width 0

[1207760.477] (II) VIVANTE(0): FBDevPreInit: adjust display width 1920

[1207760.477] (**) VIVANTE(0): PreInit done

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

[1207760.496] (II) VIVANTE(0): Init mode for fb device

[1207760.618] (II) VIVANTE(0): hardware: DISP3 BG - DI1 (video memory: 16335kB)

[1207760.618] (II) VIVANTE(0): FB Start = 0x75666000  FB Base = 0x75666000  FB Offset = (nil) FB PhyBase 0x1ab00000

[1207760.618] (II) VIVANTE(0): reserve 8355840 bytes for on screen frame buffer; total fb memory size 16727040 bytes; offset of shadow buffer 8355840

[1207760.682] (II) VIVANTE(0): hardware: DISP3 BG - DI1 (video memory: 16335kB)

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

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

[1207760.725] (EE)

[1207760.725] (EE) Backtrace:

[1207760.725] (EE)

[1207760.725] (EE) Segmentation fault at address 0xc

[1207760.725] (EE)

Fatal server error:

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

[1207760.725] (EE)

[1207760.727] (EE)

Please consult the The X.Org Foundation support

         at http://wiki.x.org

for help.

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

[1207760.727] (EE)

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

root@imx6solosabreauto:/var/log#

But still there is an error.

0 Kudos

215 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Eugene,

There is a mismatch between EXA driver version and  EGL, per your log EXA cannot alloc the contiguous memory, and this was marked as a bug in 3.10.53. However it is fixed on 3.14.28, So please give a try to 3.14.28 BSP.

Regards

0 Kudos

215 Views
eugenevolkov
Contributor IV

Hi, Bio_TICFSL!

Thanks for your reply!

I can apply the patch to 10.03.53? Please provide a link to this patch.

Go to 3.14.28 problematic, need to be compiled again ~ 100GB. Given that this process is not always succeeds, on my machine it takes a few days.

There is another question - on my board only 256MB memory card. It would be sufficient to X11?

Second question, i would like to to remove X11, and use frameBuffer.  How do I rebuild the image?

I use command 

$MACHINE=imx6qsabreauto source fsl-setup-release.sh –b build-fb –e fb

$bitbake fsl-image-qt5

But, this not work.

0 Kudos

215 Views
pieter
Contributor II

Hi Bio_TICFSL,

Could you tell me in which commits this was fixed on the 3.14.28 kernel? I'd like to port it back to the 3.10.53 kernel.

Thanks,

Pieter

0 Kudos