Hi Matthias,
I created a patchset to align mesa PACKAGECONFIG for native and target
builds.
I tried compiling my own images and core-image-sato with this patchset
and had no problems.
Hopefully this will fix your problem as well.
This change seems much cleaner to me, but maybe I'm missing some
context. I will send the patches to the mailing list and wait for comments.
Markus
Am 16.03.22 um 17:19 schrieb Matthias Klein:
Hello Markus,
both variants work. I then used the latter one:
PACKAGECONFIG:append:class-native = " dri3"
PACKAGECONFIG:append:class-nativesdk = " dri3"
I have successfully built small QML (Qt 6.2.4) test programs with the
SDK, which also run nicely on the hardware (i.MX6 DualLite with kernel
5.10 / etnaviv).
Many greetings,
Matthias
*Von:* openembedded-core@lists.openembedded.org
<openembedded-core@lists.openembedded.org> *Im Auftrag von *Matthias
Klein via lists.openembedded.org
*Gesendet:* Mittwoch, 16. März 2022 09:56
*An:* f_...@t-online.de; openembedded-core@lists.openembedded.org
*Betreff:* Re: [OE-core] nativesdk-mesa fails to build since upgrade
to version 22.0.0
Hello Markus,
Thanks for the quick help!
The variant " to remove x11 " seems to build (incrementally). However,
the SDK is still building.
After that I will test the variant regarding dri3. After that I will
also do a full/clean build.
Afterwards I will report. But it will take a few hours ...
Many greetings,
Matthias
*Von:* openembedded-core@lists.openembedded.org
<openembedded-core@lists.openembedded.org> *Im Auftrag von *Markus
Volk via lists.openembedded.org
*Gesendet:* Mittwoch, 16. März 2022 09:35
*An:* openembedded-core@lists.openembedded.org
*Betreff:* Re: [OE-core] nativesdk-mesa fails to build since upgrade
to version 22.0.0
What does happen, if adding dri3 like this?
PACKAGECONFIG:append:class-native = " dri3"
PACKAGECONFIG:append:class-nativesdk = "dri3"
Am 16.03.22 um 09:17 schrieb Markus Volk:
Hi Matthias,
since you have disabled x11 for target ... does it help to also
remove it from native and nativesdk ?
PACKAGECONFIG:remove:class-native = " x11"
PACKAGECONFIG:remove:class-nativesdk = " x11"
Regards,
Markus
Am 16.03.22 um 08:40 schrieb Matthias Klein:
Hello,
I am using mesa in conjunction with meta-qt6 without
X11/wayland on an iMX6 with etnaviv.
So in a bbappend I have: PACKAGECONFIG:append = " etnaviv".
I use poky with the following DISTRO_FEATURES:
DISTRO_FEATURES:remove = "x11 wayland vulkan 3g nfc nfs zeroconf"
DISTRO_FEATURES:append = " directfb opengl"
Unfortunately, nativesdk-mesa now no longer builds on build
via "-c populate_sdk". However, the package for the target
still builds.
| ../mesa-22.0.0/meson.build:520: WARNING: cannot auto-detect
-mtls-dialect when cross-compiling, using compiler default
|
| ../mesa-22.0.0/meson.build:614:2: ERROR: Problem
encountered: kmsro requires dri3 for X11 support
I compared the meson calls on the target and SDK builds:
NOTE: Executing meson -Dshared-glapi=enabled
-Dgallium-opencl=disabled -Dglx-read-only-text=true
-Dplatforms= -Ddri3=disabled -Degl=enabled -Delf-tls=true
-Dgallium-drivers=swrast,etnaviv, virgl -Dllvm=disabled
-Dgbm=enabled -Dgles1=enabled -Dgles2=enabled
-Dlmsensors=disabled -Dopengl=true -
Dosmesa=false -Dlibunwind=disabled -Dgallium-va=disabled
-Dgallium-vdpau=disabled -Dvulkan-drivers= -Dglx=disabled
-Dgallium-xa=disabled -Dgallium-xvmc=disabled. ..
NOTE: Executing meson -Dshared-glapi=enabled
-Dgallium-opencl=disabled -Dglx-read-only-text=true
-Dplatforms=x11 -Ddri3=disabled -Degl=enabled -Delf-tls=true
-Dgallium-drivers=swrast, etnaviv -Dllvm=disabled
-Dgbm=enabled -Dgles1=disabled -Dgles2=disabled
-Dlmsensors=disabled -Dopengl=true -Dosmesa=false
-Dlibunwind=disabled -Dgallium-va=disabled
-Dgallium-vdpau=disabled -Dvulkan-drivers=
-Dgallium-xa=disabled -Dgallium-xvmc=disabled. ..
Does anyone have any idea what I could do to get the SDK built?
Many greetings,
Matthias
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163340):
https://lists.openembedded.org/g/openembedded-core/message/163340
Mute This Topic: https://lists.openembedded.org/mt/89817006/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-