($INBOX_DIR/description missing)
 help / color / mirror / Atom feed
From: "Peter Bergin" <peter@berginkonsult.se>
To: meta-freescale@lists.yoctoproject.org
Cc: tom.hochstein@nxp.com
Subject: Error in xserver-xorg after "mesa: Limit OSMesa to DRM and remove swrast"
Date: Fri, 29 Jan 2021 14:43:21 +0100	[thread overview]
Message-ID: <f546a733-fd3d-6d35-cdd8-1afd2dc1b832@berginkonsult.se> (raw)

Hi,

when using the commit 47394d05017483e7fd0cba5b927c76198bdfa062 
(https://github.com/Freescale/meta-freescale/commit/47394d05017483e7fd0cba5b927c76198bdfa062), 
set IMX_DEFAULT_BSP="nxp" and the distro fsl-xwayland-distro I see error 
of configuration of mesa. This is reproduces on latest master of 
meta-freescale.

This is the error I see in do_configure step of xserver-xorg:

     No package 'dri' found

The root cause of this is that dri.pc file is not produced and put in to 
sysroot by mesa. Mesa does not provide this as the configuration option 
'-Ddri-drivers' is empty. In the recipe it is set as:

     PACKAGECONFIG[dri] = 
"-Ddri-drivers=${@strip_comma('${DRIDRIVERS}')}, -Ddri-drivers='', 
xorgproto libdrm"

Before commit 47394d050 DRIDRIVERS was set to swrast but after the 
variable is empty. Can someone help out  with a way forward?

Steps to reproduce:

     $ MACHINE=imx8mp-evk DISTRO=fslc-xwayland EULA=1 . 
./setup-environment build_imx8mp-evk
     $ echo "IMX_DEFAULT_BSP = 'nxp'" >> conf/auto.conf
     $ bitbake xserver-xorg -cconfigure

     Build Configuration:
     BB_VERSION           = "1.49.0"
     BUILD_SYS            = "x86_64-linux"
     NATIVELSBSTRING      = "ubuntu-20.10"
     TARGET_SYS           = "aarch64-fslc-linux"
     MACHINE              = "imx8mp-evk"
     DISTRO               = "fslc-xwayland"
     DISTRO_VERSION       = "3.3-snapshot-20210129"
     TUNE_FEATURES        = "aarch64 armv8a crc cortexa53 crypto"
     TARGET_FPU           = ""
     meta
     meta-poky            = 
"master:24e95b9a0b0610dd82aa85f0c0c6fb4f347bc3e9"
     meta-oe
     meta-multimedia
     meta-python          = 
"master:fd123c9bb2b86455ca2622b6b166243f7d582d94"
     meta-freescale       = 
"master:9a90b21cbe32231fee51c7f38e541b3be3aff6b3"
     meta-freescale-3rdparty = 
"master:d46200f43537083762dca518dc2ba7f20d15f44f"
     meta-freescale-distro = 
"master:e83f54d0b763826f076e8aed1fc16dbf5b2739e5"

Thanks,
/Peter


             reply	other threads:[~2021-01-29 13:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-29 13:43 Peter Bergin [this message]
2021-01-29 16:55 ` Error in xserver-xorg after "mesa: Limit OSMesa to DRM and remove swrast" Tom Hochstein
2021-01-29 17:15   ` Peter Bergin
2021-01-30  1:52     ` Tom Hochstein

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=f546a733-fd3d-6d35-cdd8-1afd2dc1b832@berginkonsult.se \
    --to=peter@berginkonsult.se \
    --cc=meta-freescale@lists.yoctoproject.org \
    --cc=tom.hochstein@nxp.com \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).