All of lore.kernel.org
 help / color / mirror / Atom feed
From: "simon" <simon@rogue-research.com>
To: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: Yocto-mailing-list <yocto@lists.yoctoproject.org>
Subject: Re: [yocto] [meta-intel]: support for NUC11
Date: Wed, 16 Jun 2021 15:18:38 -0400	[thread overview]
Message-ID: <f417548ef63f202ff9ba58681ab81171@rogue-research.com> (raw)
In-Reply-To: <CANNYZj-GGpd2Kk0XkoGOJP22RMVkhT=H84XC1QnVrPsjDHVixA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1626 bytes --]

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

> On Wed, 16 Jun 2021 at 16:58, simon <simon@rogue-research.com> 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

[-- Attachment #2: Type: text/html, Size: 2575 bytes --]

      reply	other threads:[~2021-06-16 19:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <16874B1938B81CC8.31512@lists.yoctoproject.org>
2021-06-16 14:57 ` simon
2021-06-16 17:24   ` [yocto] " Alexander Kanavin
2021-06-16 19:18     ` simon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f417548ef63f202ff9ba58681ab81171@rogue-research.com \
    --to=simon@rogue-research.com \
    --cc=alex.kanavin@gmail.com \
    --cc=yocto@lists.yoctoproject.org \
    --subject='Re: [yocto] [meta-intel]: support for NUC11' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.