Code Monkey home page Code Monkey logo

Comments (7)

cpboyd avatar cpboyd commented on August 15, 2024

After further inspection, the real issue lies with changes to MACHINEOVERRIDES https://github.com/Freescale/meta-freescale/blob/dunfell/conf/machine/include/imx-base.inc#L23

Possibly because of the old line related to the use-mainline-bsp: https://github.com/Freescale/meta-freescale/blob/dunfell/conf/machine/include/imx-base.inc#L109

from meta-freescale.

cpboyd avatar cpboyd commented on August 15, 2024

Probably related to #86

May make more sense to modify MACHINEOVERRIDES_EXTENDER_FILTER_OUT than to revert the base MACHINEOVERRIDES addition of use-mainline-bsp, but I'm not familiar with how the machine-overrides-extender works

from meta-freescale.

otavio avatar otavio commented on August 15, 2024

It does not seem to be the case. I did:

% MACHINE=nitrogen6x ye x qtbase PACKAGECONFIG
Loading cache: 100% |#########################################################################################################| Time: 0:00:00
Loaded 3344 entries from dependency cache.
=== Final value
PACKAGECONFIG =      release     accessibility dbus udev evdev widgets tools libs freetype tests pcre                openssl     gles2                         jpeg libpng zlib            eglfs

=== Expansion
PACKAGECONFIG ==>      ${PACKAGECONFIG_RELEASE}     ${PACKAGECONFIG_DEFAULT}     ${PACKAGECONFIG_OPENSSL}     ${PACKAGECONFIG_GL}     ${PACKAGECONFIG_FB}     ${PACKAGECONFIG_X11}     ${PACKAGECONFIG_KDE}     ${PACKAGECONFIG_FONTS}     ${PACKAGECONFIG_SYSTEM}     ${PACKAGECONFIG_DISTRO}  ${PACKAGECONFIG_PLATFORM}
    PACKAGECONFIG_RELEASE ==> release
    PACKAGECONFIG_DEFAULT ==> accessibility dbus udev evdev widgets tools libs freetype tests pcre     ${@bb.utils.contains('SELECTED_OPTIMIZATION', '-Os', 'optimize-size ltcg', '', d)}     ${@bb.utils.contains('DISTRO_FEATURES', 'qt5-static', 'static', '', d)}
        @bb.utils.contains('SELECTED_OPTIMIZATION', '-Os', 'optimize-size ltcg', '', d) ==>
        @bb.utils.contains('DISTRO_FEATURES', 'qt5-static', 'static', '', d) ==>
    PACKAGECONFIG_OPENSSL ==> openssl
    PACKAGECONFIG_GL ==> gles2
    PACKAGECONFIG_FB ==> ${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)}
        @bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d) ==>
    PACKAGECONFIG_X11 ==> ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcb glib xkbcommon', '', d)}
        @bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcb glib xkbcommon', '', d) ==>
    PACKAGECONFIG_KDE ==> ${@bb.utils.contains('DISTRO_FEATURES', 'kde', 'sm cups fontconfig kms gbm libinput sql-sqlite openssl', '', d)}
        @bb.utils.contains('DISTRO_FEATURES', 'kde', 'sm cups fontconfig kms gbm libinput sql-sqlite openssl', '', d) ==>
    PACKAGECONFIG_FONTS ==>
    PACKAGECONFIG_SYSTEM ==> jpeg libpng zlib
    PACKAGECONFIG_DISTRO ==>
    PACKAGECONFIG_PLATFORM ==>      ${@bb.utils.contains('DISTRO_FEATURES', 'x11',     '',        bb.utils.contains('DISTRO_FEATURES', 'wayland', '',                                                        'eglfs', d), d)}
        @bb.utils.contains('DISTRO_FEATURES', 'x11',     '',        bb.utils.contains('DISTRO_FEATURES', 'wayland', '',                                                        'eglfs', d), d) ==> eglfs

and more specifically:

% MACHINE=nitrogen6x ye x qtbase PACKAGECONFIG_GL
Loading cache: 100% |#########################################################################################################| Time: 0:00:00
Loaded 3344 entries from dependency cache.
=== Final value
PACKAGECONFIG_GL = gles2

=== Expansion
PACKAGECONFIG_GL ==> gles2

and as expected, below is for mainline:

% MACHINE=imx6qdlsabresd ye x qtbase PACKAGECONFIG_GL
Parsing recipes: 100% |#######################################################################################################| Time: 0:00:13
Parsing of 2245 .bb files complete (0 cached, 2245 parsed). 3344 targets, 485 skipped, 0 masked, 0 errors.
Removing 6 recipes from the x86_64 sysroot: 100% |############################################################################| Time: 0:00:00
=== Final value
PACKAGECONFIG_GL = gl gbm kms

=== Expansion
PACKAGECONFIG_GL ==> ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', 'no-opengl', d)} gbm kms
    @bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', 'no-opengl', d) ==> gl

What layers do you have included and what distro are you using?

from meta-freescale.

cpboyd avatar cpboyd commented on August 15, 2024

@otavio I've been using a BSP based upon the imx6qdlsabreauto/imx6qdlsabresd.

Prior to dunfell, qtbase would build properly.

If you try to build qtbase with framebuffer support (i.e. without X11 or Wayland), the do_configure step will fail as PACKAGECONFIG_GL returns gl which corresponds to -opengl desktop.

This also seems to prevent using the imx-gpu-viv with the "mainline" BSPs. Is that intended?

from meta-freescale.

otavio avatar otavio commented on August 15, 2024

Yes, as we default to mainline there. If desired, you can set the BSP to NXP and return to old behavior.

Qt failed to build?

from meta-freescale.

cpboyd avatar cpboyd commented on August 15, 2024

@otavio Yes, Qt fails to build. As noted in #86, the use-mainline-bsp filters out mx6, mx6q, mx6dl, etc.

Prior to this change to MACHINEOVERRIDES, use-mainline-bsp was only set for specific chipsets, so I guess the MACHINEOVERRIDES_EXTENDER_FILTER_OUT wasn't such an issue.

Specifically, it doesn't seem that these get added: imxfbdev:imxipu:imxvpu:imxgpu:imxgpu2d:imxgpu3d

from meta-freescale.

schnitzeltony avatar schnitzeltony commented on August 15, 2024

Will give dunfell a build and see what happens - wanted to lift our builds anyway. May take a bit.

from meta-freescale.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.