Received: from mail.rogue-research.com (mail.rogue-research.com [207.115.102.146]) by mx.groups.io with SMTP id smtpd.web08.1292.1623871121643560859 for ; Wed, 16 Jun 2021 12:18:42 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=softfail (domain: rogue-research.com, ip: 207.115.102.146, mailfrom: simon@rogue-research.com) Received: from localhost (localhost [127.0.0.1]) by mail.rogue-research.com (Postfix) with ESMTP id C2B5C9B9F90C; Wed, 16 Jun 2021 15:18:39 -0400 (EDT) X-Virus-Scanned: amavisd-new at rogue-research.com Received: from mail.rogue-research.com ([127.0.0.1]) by localhost (kingu.rogue-research.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dc2xZnOnOGTt; Wed, 16 Jun 2021 15:18:38 -0400 (EDT) Received: from webmail.rogue-research.com (sedna.rogue-research.com [10.29.19.74]) by mail.rogue-research.com (Postfix) with ESMTPSA id A833D9B9F8F0; Wed, 16 Jun 2021 15:18:38 -0400 (EDT) MIME-Version: 1.0 Date: Wed, 16 Jun 2021 15:18:38 -0400 From: "simon" To: Alexander Kanavin Cc: Yocto-mailing-list Subject: Re: [yocto] [meta-intel]: support for NUC11 In-Reply-To: References: <16874B1938B81CC8.31512@lists.yoctoproject.org> <0088e07248160343a9b7a01dd29d278d@rogue-research.com> User-Agent: Roundcube Webmail/1.4.11 Message-ID: X-Sender: simon@rogue-research.com Content-Type: multipart/alternative; boundary="=_ccd54e5f6bd0ea7915fb4a7e7686a03f" --=_ccd54e5f6bd0ea7915fb4a7e7686a03f Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On 2021-06-16 1:24 pm, Alexander Kanavin wrote: > On Wed, 16 Jun 2021 at 16:58, simon wrote: > >> - There's a warning about not finding the IRIS driver: >> MESA_LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot >> open >> shared object file: No such file or directory >> failed to load driver: iris >> >> But from what I was able to understand, I was expecting it would be >> available with mesa 21.0.3 since I've seen some commit about fixing >> issue with it in the change logs. >> >> I've tried to force the driver to both i965 and i915 but I either got >> a >> warning that this GEN cannot use it or still got the same fps. >> Am I right to assume that it goes to a default driver that uses the >> CPU >> instead of the GPU? > > Hello Simon, > > I honestly don't know how Intel folks have overlooked this, but mesa in > yocto not only does not enable iris, the mesa recipe does not even have > an option to enable it. > > However, it should be pretty easy to add. Please take a look at > poky/meta/recipes-graphics/mesa/mesa.inc, specificially any lines that > mention GALLIUMDRIVERS and matching PACKAGECONFIG, > and you should be able to add iris there, and rebuild your image. Then > you can submit your first patch to yocto via oe-core mailing list ;) > > Alex Hello Alex, I was able to fix the iris driver issue with the following added to mesa.inc GALLIUMDRIVERS_append = "${@bb.utils.contains('PACKAGECONFIG', 'iris', ',iris', '', d)}" I will look into sending the patch thanks a lot for your help Simon --=_ccd54e5f6bd0ea7915fb4a7e7686a03f Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8

On 2021-06-16 1:24 pm, Alexander Kanavin wrote:

On Wed, 16 Jun 2021 at 16:58, simon= <simon@r= ogue-research.com> wrote:
- There's a warning about = not finding the IRIS driver:
MESA_LOADER: failed to open iris: /usr/li= b/dri/iris_dri.so: cannot open
shared object file: No such file or di= rectory
failed to load driver: iris

But from what I was abl= e to understand, I was expecting it would be
available with mesa 21= =2E0.3 since I've seen some commit about fixing
issue with it in the = change logs.

I've tried to force the driver to both i965 and i91= 5 but I either got a
warning that this GEN cannot use it or still got= the same fps.
Am I right to assume that it goes to a default driver t= hat uses the CPU
instead of the GPU?

Hello Simon,
 
I honestly don't know how Intel folks have ove= rlooked this, but mesa in yocto not only does not enable iris, the mesa rec= ipe does not even have an option to enable it.
 
However, it should be pretty easy to add. Plea= se take a look at poky/meta/recipes-graphics/mesa/mesa.inc, specificially a= ny lines that mention GALLIUMDRIVERS and matching PACKAGECONFIG,
and you should be able to add iris there, and = rebuild your image. Then you can submit your first patch to yocto via oe-co= re mailing list ;)
 
Alex


Hello Alex,

I was able to fix the iris driver issue with the following added to mesa= =2Einc

GALLIUMDRIVERS_append =3D "${@bb.utils.contains('PACKAGEC= ONFIG', 'iris', ',iris', '', d)}"

I will look into sending the patch

thanks a lot for your help

Simon


--=_ccd54e5f6bd0ea7915fb4a7e7686a03f--