Board - i.MX6Q SD + "i.MX 6Dual/6Quad Linux Reference Manual" - Chapter 12 - X Windows Acceleration.
In xorg.conf, if I set "fbdev" as Driver in section "Device" - system is starting, hardware acceleration is not available.
I installed gpu-viv-bin-mx6q_12.09.01-1_armel.deb and xserver-xorg-video-imx-viv_12.09.01-1_armel.deb. The xorg.conf file has been changed - "vivante" as Driver. The content looks similar to the description in "12.3.4 xorg.conf for i.MX 6".
Unfortunately the result is different than I expected - screen is black. Also in Xorg.0.log I see some errors:
[ 161.393] (II) VIVANTE(0): test Initializing EXA
[ 161.394] (EE) VIVANTE(0): internal error: GPU Ctx Init Failed
[ 161.394] (EE) VIVANTE(0): internal error: initExaLayer failed in VivScreenInit()
[ 161.394] (==) VIVANTE(0): Backing store disabled
[ 161.404] (==) VIVANTE(0): DPMS enabled
[ 161.874] [drm] failed to load kernel module "vivante"
[ 161.874] (EE) VIVANTE(0): [dri] DRIScreenInit failed. Disabling DRI.
Unfortunately I cannot find solution or reason of the problem.
Original Attachment has been moved to: Xorg.log.zip
Solved! Go to Solution.
PrabhuSundararaj Feb 5, 2013 4:04 PM (in response to imxcommunityscout)
I verified with the PostGA release, it i loading good, no more error. Make sure kernel modules installed to the rootfs. Below is the log
843] (II) VIVANTE(0): FB Start = 0x3318b000 FB Base = 0x3318b000 FB Offset = (nil)
[ 23.861] (II) VIVANTE(0): test Initializing EXA
[ 23.861] (II) EXA(0): Driver allocated offscreen pixmaps
[ 23.861] (II) EXA(0): Driver registered support for the following operations:
[ 23.861] (II) Solid
[ 23.861] (II) Copy
[ 23.861] (II) Composite (RENDER acceleration)
[ 23.861] (II) UploadToScreen
[ 23.881] (==) VIVANTE(0): Backing store disabled
[ 23.892] (==) VIVANTE(0): DPMS enabled
[ 23.893] drmOpenDevice: node name is /dev/dri/card0
[ 23.899] drmOpenDevice: node name is /dev/dri/card0
[ 24.078] drmOpenByBusid: Searching for BusID platform:Vivante GCCore
[ 24.078] drmOpenDevice: node name is /dev/dri/card0
[ 24.078] drmOpenDevice: open result is 12, (OK)
[ 24.078] drmOpenByBusid: drmOpenMinor returns 12
[ 24.078] drmOpenByBusid: drmGetBusid reports platform:Vivante GCCore
[ 24.079] (II) [drm] loaded kernel module for "vivante" driver.
[ 24.079] (II) [drm] DRM interface version 1.4
[ 24.079] (II) [drm] DRM open master succeeded.
[ 24.079] (II) VIVANTE(0): [drm] Using the DRM lock SAREA also for drawables.
[ 24.079] (II) VIVANTE(0): [drm] framebuffer handle = 0x18000000
[ 24.079] (II) VIVANTE(0): [drm] added 1 reserved context for kernel
[ 24.079] (II) VIVANTE(0): X context handle = 0x1
[ 24.080] (II) VIVANTE(0): [drm] installed DRM signal handler
[ 24.080] (II) VIVANTE(0): [DRI] installation complete
[ 24.080] (==) RandR enabled
The problem is that the libraries from Freescale don't support hard floating point. Timesys had made GPU libraries with hard floating point support. I still don't manage to get X working but at least the crash is resolved.
PrabhuSundararaj Feb 5, 2013 4:04 PM (in response to imxcommunityscout)
I verified with the PostGA release, it i loading good, no more error. Make sure kernel modules installed to the rootfs. Below is the log
843] (II) VIVANTE(0): FB Start = 0x3318b000 FB Base = 0x3318b000 FB Offset = (nil)
[ 23.861] (II) VIVANTE(0): test Initializing EXA
[ 23.861] (II) EXA(0): Driver allocated offscreen pixmaps
[ 23.861] (II) EXA(0): Driver registered support for the following operations:
[ 23.861] (II) Solid
[ 23.861] (II) Copy
[ 23.861] (II) Composite (RENDER acceleration)
[ 23.861] (II) UploadToScreen
[ 23.881] (==) VIVANTE(0): Backing store disabled
[ 23.892] (==) VIVANTE(0): DPMS enabled
[ 23.893] drmOpenDevice: node name is /dev/dri/card0
[ 23.899] drmOpenDevice: node name is /dev/dri/card0
[ 24.078] drmOpenByBusid: Searching for BusID platform:Vivante GCCore
[ 24.078] drmOpenDevice: node name is /dev/dri/card0
[ 24.078] drmOpenDevice: open result is 12, (OK)
[ 24.078] drmOpenByBusid: drmOpenMinor returns 12
[ 24.078] drmOpenByBusid: drmGetBusid reports platform:Vivante GCCore
[ 24.079] (II) [drm] loaded kernel module for "vivante" driver.
[ 24.079] (II) [drm] DRM interface version 1.4
[ 24.079] (II) [drm] DRM open master succeeded.
[ 24.079] (II) VIVANTE(0): [drm] Using the DRM lock SAREA also for drawables.
[ 24.079] (II) VIVANTE(0): [drm] framebuffer handle = 0x18000000
[ 24.079] (II) VIVANTE(0): [drm] added 1 reserved context for kernel
[ 24.079] (II) VIVANTE(0): X context handle = 0x1
[ 24.080] (II) VIVANTE(0): [drm] installed DRM signal handler
[ 24.080] (II) VIVANTE(0): [DRI] installation complete
[ 24.080] (==) RandR enabled
We've the same issue in L3.0.35_4.0.0_UBUNTU_RFS.
Have any one have solution?