From: "Eric Bénard" <eric@eukrea.com>
To: Otavio Salvador <otavio@ossystems.com.br>
Cc: meta-freescale Mailing List <meta-freescale@yoctoproject.org>
Subject: Re: [meta-fsl-arm PATCH v2 5/6] qtbase: Disable eglfs build for i.MX6 SoCs using X11
Date: Fri, 7 Mar 2014 16:01:51 +0100 [thread overview]
Message-ID: <20140307160151.09221edd@e6520eb> (raw)
In-Reply-To: <1394203965-9775-5-git-send-email-otavio@ossystems.com.br>
Le Fri, 7 Mar 2014 11:52:44 -0300,
Otavio Salvador <otavio@ossystems.com.br> a écrit :
> The eglfs hooks require the Framebuffer API calls which are not
> available when building for X11; to allow qtbase to build for X11 we
> must disable eglfs support due this restriction.
>
> Signed-off-by: Lauren Post <lauren.post@freescale.com>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>
> Changes in v2:
> - new patch
>
> .../qt5/qtbase/Force_egl_visual_ID_33.patch | 23 ++++++++++++++++++++++
> qt5-layer/recipes-qt/qt5/qtbase_%.bbappend | 5 +++++
> 2 files changed, 28 insertions(+)
> create mode 100644 qt5-layer/recipes-qt/qt5/qtbase/Force_egl_visual_ID_33.patch
>
> diff --git a/qt5-layer/recipes-qt/qt5/qtbase/Force_egl_visual_ID_33.patch b/qt5-layer/recipes-qt/qt5/qtbase/Force_egl_visual_ID_33.patch
> new file mode 100644
> index 0000000..b0be292
> --- /dev/null
> +++ b/qt5-layer/recipes-qt/qt5/qtbase/Force_egl_visual_ID_33.patch
> @@ -0,0 +1,23 @@
> +Workaround EGL initialization failure due visual mismatch
> +
> +Error:
> +
> +Warning: EGL suggested using X Visual ID 33 (RGB888) for EGL config 28 (RGB444), but this is incompatable
> +Unable to find an X11 visual which matches EGL config 28
> +Could not initialize EGL
> +Aborted
> +
> +Upstream-Status: Inappropriate [workaround]
> +
> +Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> +
> +diff -Naur qtbase-opensource-src-5.1.1_original/src/platformsupport/eglconvenience/qxlibeglintegration.cpp qtbase-opensource-src-5.1.1/src/platformsupport/eglconvenience/qxlibeglintegration.cpp
> +--- qtbase-opensource-src-5.1.1_original/src/platformsupport/eglconvenience/qxlibeglintegration.cpp 2013-12-25 19:08:42.163895341 -0800
> ++++ qtbase-opensource-src-5.1.1/src/platformsupport/eglconvenience/qxlibeglintegration.cpp 2013-12-25 19:09:37.207893799 -0800
> +@@ -180,5 +180,5 @@
> + }
> +
> + qWarning("Unable to find an X11 visual which matches EGL config %d", configId);
> +- return (VisualID)0;
> ++ return (VisualID)33;
> + }
> diff --git a/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend b/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
> index 310d7f7..c1df764 100644
> --- a/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
> +++ b/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
> @@ -1,5 +1,9 @@
> # Copyright (C) 2013 Eric Bénard - Eukréa Electromatique
>
> +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> +
> +SRC_URI += "file://Force_egl_visual_ID_33.patch"
> +
this change is not documented anywhere in the commit log.
Eric
next prev parent reply other threads:[~2014-03-07 15:02 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-07 14:52 [meta-fsl-arm PATCH v2 1/6] linux-fslc (3.12): Update to 3.12.13 stable release Otavio Salvador
2014-03-07 14:52 ` [meta-fsl-arm PATCH v2 2/6] image_types_fsl: Use explit task dependency to boost build Otavio Salvador
2014-03-07 14:58 ` Mario Domenech Goulart
2014-03-07 15:20 ` Otavio Salvador
2014-03-07 14:52 ` [meta-fsl-arm PATCH v2 3/6] u-boot-fslc: Update to v2014.01 based release Otavio Salvador
2014-03-10 14:14 ` Daiane Angolini
2014-03-10 20:28 ` John Weber
2014-03-10 20:35 ` Fabio Estevam
2014-03-11 13:49 ` Otavio Salvador
2014-03-11 15:02 ` Fabio Estevam
2014-03-11 15:06 ` Otavio Salvador
2014-03-11 13:47 ` Otavio Salvador
2014-03-07 14:52 ` [meta-fsl-arm PATCH v2 4/6] amd-gpu-x11-bin: Add pkgconfig files for EGL and OpenGL ES 2 Otavio Salvador
2014-03-07 14:52 ` [meta-fsl-arm PATCH v2 5/6] qtbase: Disable eglfs build for i.MX6 SoCs using X11 Otavio Salvador
2014-03-07 15:01 ` Eric Bénard [this message]
2014-03-07 15:25 ` Otavio Salvador
2014-03-07 14:52 ` [meta-fsl-arm PATCH v2 6/6] cogl-1.0: Rename bbappend to generic version Otavio Salvador
2014-03-10 14:12 ` [meta-fsl-arm PATCH v2 1/6] linux-fslc (3.12): Update to 3.12.13 stable release Daiane Angolini
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=20140307160151.09221edd@e6520eb \
--to=eric@eukrea.com \
--cc=meta-freescale@yoctoproject.org \
--cc=otavio@ossystems.com.br \
/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 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.