[meta-freescale] 3.10.31-beta: gcoHAL_Construct returns -7 (gcvSTATUS_GENERIC_IO)

Alexander Holler holler at ahsoftware.de
Sun Aug 31 12:50:59 PDT 2014


Am 30.08.2014 22:06, schrieb Alexander Holler:
> Hello,
>
> as I'm curious how the accelerated graphics do look like on the i.mx6q,
> I've compiled and installed what's seems to be necessary to use
> xserver-xorg-video-imx-viv (kernel and all libs/drivers are at
> 3.10.31-beta, xorg is 1.15.0, the system is hfp, not using yocto).
>
> When starting the xserver it ends up with:
>
> (...)
> [    53.368] (II)         UploadToScreen
> [    53.368] (EE) VIVANTE(0): internal error: GPU Ctx Init Failed
> [    53.369] (EE) VIVANTE(0): internal error: initExaLayer failed in
> FBDevScreenInit()
> [    53.369] (II) VIVANTE(0): Init SHM pixmap support
> [    53.369] (==) VIVANTE(0): Backing store enabled
> (...)
>
> which comes because gcoHAL_Construct() returns -7 (gcvSTATUS_GENERIC_IO).
>
> As most stuff is only binary, there isn't much I could do.

I'm a bit further: the error does come from this part of the galcore 
stuff in the kernel (drv_ioctl())

     /* Now bring in the gcsHAL_INTERFACE structure. */
     if ((drvArgs.InputBufferSize  != sizeof(gcsHAL_INTERFACE))
     ||  (drvArgs.OutputBufferSize != sizeof(gcsHAL_INTERFACE))
     )
     {
	return some error
     }

where sizeof(gcsHAL_INTERFACE) is 264 bytes long on the other two are 
just 248 bytes long.

I'm using gcc 4.8.3 to compile both kernel and userland, but I have no 
idea what was used to compile the binary blobs.

Don't know if and when I will spend the time to search further, but if I 
will found out why, I'll send an update to this mail.

Regards,

Alexander Holler


More information about the meta-freescale mailing list