From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id AA221E00803; Sun, 31 Aug 2014 12:51:13 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail.ahsoftware.de (h1446028.stratoserver.net [85.214.92.142]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 103C7E00572 for ; Sun, 31 Aug 2014 12:51:07 -0700 (PDT) Received: by mail.ahsoftware.de (Postfix, from userid 65534) id 164CB2C9C6BE; Sun, 31 Aug 2014 21:51:02 +0200 (CEST) Received: from eiche.ahsoftware (p57B22AE3.dip0.t-ipconnect.de [87.178.42.227]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.ahsoftware.de (Postfix) with ESMTPSA id 6BCC22C9C6BA for ; Sun, 31 Aug 2014 21:51:02 +0200 (CEST) Received: by eiche.ahsoftware (Postfix, from userid 65534) id 8C0038C127; Sun, 31 Aug 2014 21:51:01 +0200 (CEST) Received: from krabat.ahsoftware (unknown [IPv6:feee::5246:5dff:fe8b:95f8]) by eiche.ahsoftware (Postfix) with ESMTP id E97077F972 for ; Sun, 31 Aug 2014 19:50:59 +0000 (UTC) Message-ID: <54037CA3.5030302@ahsoftware.de> Date: Sun, 31 Aug 2014 21:50:59 +0200 From: Alexander Holler User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: meta-freescale@yoctoproject.org References: <54022ED0.8000305@ahsoftware.de> In-Reply-To: <54022ED0.8000305@ahsoftware.de> Subject: Re: 3.10.31-beta: gcoHAL_Construct returns -7 (gcvSTATUS_GENERIC_IO) X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Aug 2014 19:51:13 -0000 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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