Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id C89BAE00CA6; Tue, 5 Jan 2016 05:58:22 -0800 (PST) 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,HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [194.211.207.208 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from smtp-out2.eteinen.fi (smtp-out2.eteinen.fi [194.211.207.208]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id E2B1CE00444 for ; Tue, 5 Jan 2016 05:58:20 -0800 (PST) Received: from email-1.eteinen.pknet ([10.83.0.191] helo=smtp1.eteinen.fi) by smtp-out2.eteinen.fi with esmtp (Exim 4.71) (envelope-from ) id 1aGS7r-0000Zk-Vj for meta-freescale@yoctoproject.org; Tue, 05 Jan 2016 15:58:15 +0200 Received: from [194.100.86.92] (helo=LenovoPC) by smtp1.eteinen.fi with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1aGS7r-0005cx-SF for meta-freescale@yoctoproject.org; Tue, 05 Jan 2016 15:58:15 +0200 From: "Andreas Enbacka" To: Date: Tue, 5 Jan 2016 15:58:20 +0200 Message-ID: <006701d147c1$22797360$676c5a20$@gasera.fi> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 15.0 Thread-Index: AdFHwH8+POnqhrqNStS7mxw2xtuUsg== Subject: Problem with X11 and Vivante GPU driver 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: Tue, 05 Jan 2016 13:58:22 -0000 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0068_01D147D1.E602DFA0" Content-Language: fi ------=_NextPart_000_0068_01D147D1.E602DFA0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello, I have built a custom X11-based image for SMARC sAMX6i based on 3.10.53, including the Vivante GPU driver. The config file xorg.conf specifies that the "vivante" driver should be used in the Device section, and Xorg.log shows that the Vivante driver has been loaded. However, when trying to run some X11 application (e.g., Qt application) I see an error message that extension "Xfree86-DRI" has not been loaded, and the Xorg.log files includes the following lines: .. [3125638.616] (EE) VIVANTE(0): [dri] DRIScreenInit failed. Disabling DRI. [3125638.651] (II) AIGLX: Screen 0 is not DRI2 capable [3125638.667] (II) GLX: Initialized DRISWRAST GL provider for screen 0 /var/log# [dri] DRIScreenInit failed. Disabling DRI. Based on the above, it seem that X11 is using software rendering and not GPU HW acceleration. Any ideas what could cause this issue? Best regards, Andreas Enbacka ------=_NextPart_000_0068_01D147D1.E602DFA0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello,

 

I have built a custom X11-based image for SMARC sAMX6i = based on 3.10.53, including the Vivante GPU driver. The config file = xorg.conf specifies that the “vivante” driver should be used = in the Device section, and Xorg.log shows that the Vivante driver has = been loaded. However, when trying to run some X11 application (e.g., Qt = application) I see an error message that extension = “Xfree86-DRI” has not been loaded, and the Xorg.log files = includes the following lines:

 

….

[3125638.616] (EE) VIVANTE(0): = [dri] DRIScreenInit failed.  Disabling DRI.

[3125638.651] (II) AIGLX: Screen 0 = is not DRI2 capable

[3125638.667] (II) GLX: Initialized DRISWRAST GL provider = for screen 0

/var/log# [dri] DRIScreenInit failed.  Disabling = DRI.

 

Based on the above, it seem that X11 is using software = rendering and not GPU HW acceleration. Any ideas what could cause this = issue?

 

Best regards,

Andreas = Enbacka

 

------=_NextPart_000_0068_01D147D1.E602DFA0--