Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Jérôme Pouiller" <jezz@sysmic.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v4 00/14] Add Xorg support for iMX6
Date: Mon, 08 Dec 2014 11:32:59 +0100	[thread overview]
Message-ID: <2478091.mcU7omfvoP@aquila> (raw)
In-Reply-To: <20141205234431.101f3141@free-electrons.com>

On Friday 05 December 2014 23:44:31 Thomas Petazzoni wrote:
> Dear J?r?me Pouiller,
> 
> On Thu, 04 Dec 2014 22:19:13 +0100, J?r?me Pouiller wrote:
> 
> > It looks like you enabled EGLFS in Qt5. EGLFS need framebuffer version of gpu-
> > viv-bin-mx6q. If you want to use X11, you have to enable xcb in qt5 (as in 
> > example in commit log of "07/14 xdriver_xf86-video-imx-viv").
> > 
> > I do not see any simple generic solution to prevent user to choose EGLFS in Qt 
> > if X11 backend is selected in gpu-viv-bin-mx6q :-(
> 
> Well, we could always imagine something like:
> 
> config BR2_PACKAGE_QT5BASE_XCB
>         bool "X.org XCB support"
>         depends on BR2_PACKAGE_XORG7
>         select BR2_PACKAGE_XLIB_LIBX11
>         select BR2_PACKAGE_LIBXCB
>         select BR2_PACKAGE_XCB_UTIL_IMAGE
>         select BR2_PACKAGE_XCB_UTIL_KEYSYMS
>         select BR2_PACKAGE_XCB_UTIL_WM
>         select BR2_PACKAGE_LIBXKBCOMMON
> +	depends on BR2_PACKAGE_GPU_VIV_BIN_MX6Q_OUTPUT_X11 if BR2_PACKAGE_GPU_VIV_BIN_MX6Q
> 
> comment "X.org XCB backend available if X.org is enabled"
>         depends on !BR2_PACKAGE_XORG7
> 
> +comment "X11 backend of gpu-viv-bin-mx6q needed to enable XCB"
> +	depends on BR2_PACKAGE_GPU_VIV_BIN_MX6Q && !BR2_PACKAGE_GPU_VIV_BIN_MX6Q_OUTPUT_X11
> 
> config BR2_PACKAGE_QT5BASE_EGLFS
>         bool "eglfs support"
>         select BR2_PACKAGE_QT5BASE_OPENGL
>         depends on BR2_PACKAGE_HAS_LIBEGL
>         depends on BR2_PACKAGE_QT5_GL_AVAILABLE
> +	depends on BR2_PACKAGE_GPU_VIV_BIN_MX6Q_OUTPUT_FB if BR2_PACKAGE_GPU_VIV_BIN_MX6Q
> 
> +comment "FB backend of gpu-viv-bin-mx6q needed to enable EGLFS"
> +	depends on BR2_PACKAGE_GPU_VIV_BIN_MX6Q && !BR2_PACKAGE_GPU_VIV_BIN_MX6Q_OUTPUT_FB
> 
> comment "eglfs backend available if OpenGL and EGL are enabled"
>         depends on !BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_QT5_GL_AVAILABLE
> 
> For sure, it's not very generic, but at least it lets the user know
> about this dependency, which is not very obvious.
> 
> But I am wondering, for the X11 output to work, don't you also need the
> BR2_PACKAGE_XDRIVER_XF86_VIDEO_IMX_VIV option ?
Hmmm... I believe Vivante drivers are not the only drivers with this 
problem. I am not sure mesa3d works with eglfs or RPi works with 
xcb/GLESv2.

Maybe we should find a more generic way to solve this issue.

-- 
J?r?me Pouiller, Sysmic
Embedded Linux specialist
http://www.sysmic.fr

  reply	other threads:[~2014-12-08 10:32 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-02  9:58 [Buildroot] [PATCH v4 00/14] Add Xorg support for iMX6 Jérôme Pouiller
2014-12-02  9:58 ` [Buildroot] [PATCH v4 01/14] mesa3d: Give possibility to external backends to enable DRI/Gallium Jérôme Pouiller
2014-12-02  9:59 ` [Buildroot] [PATCH v4 02/14] gpu-viv-bin-mx6q: use self-extractible helper Jérôme Pouiller
2014-12-02  9:59 ` [Buildroot] [PATCH v4 03/14] gpu-viv-bin-mx6q: fix compiling issues with EGL_API_FB Jérôme Pouiller
2014-12-02  9:59 ` [Buildroot] [PATCH v4 04/14] gpu-viv-bin-mx6q: fix GLESv2 support Jérôme Pouiller
2014-12-02  9:59 ` [Buildroot] [PATCH v4 05/14] gpu-viv-bin-mx6q: make fb/x11 choice explicit Jérôme Pouiller
2014-12-02  9:59 ` [Buildroot] [PATCH v4 06/14] gpu-viv-bin-mx6q: change output selection mechanism Jérôme Pouiller
2014-12-02  9:59 ` [Buildroot] [PATCH v4 07/14] xdriver_xf86-video-imx-viv: new package Jérôme Pouiller
2014-12-02  9:59 ` [Buildroot] [PATCH v4 08/14] libdrm: fix support for xserver with Vivante drivers Jérôme Pouiller
2014-12-02  9:59 ` [Buildroot] [PATCH v4 09/14] qt5base: apply new patch naming policy Jérôme Pouiller
2014-12-02  9:59 ` [Buildroot] [PATCH v4 10/14] qt5base: fix Vivante x11/EGL configuration Jérôme Pouiller
2014-12-02  9:59 ` [Buildroot] [PATCH v4 11/14] Vivante drivers: bump to version 3.10.17-1.0.1 Jérôme Pouiller
2014-12-02  9:59 ` [Buildroot] [PATCH v4 12/14] nitrogen6x_defconfig: bump kernel to 3.10.17_1.0.1_ga Jérôme Pouiller
2014-12-02  9:59 ` [Buildroot] [PATCH v4 13/14] freescale_imx6*_defconfig: " Jérôme Pouiller
2014-12-02  9:59 ` [Buildroot] [PATCH v4 14/14] qmx6_defconfig: update Jérôme Pouiller
2014-12-03 19:25 ` [Buildroot] [PATCH v4 00/14] Add Xorg support for iMX6 Gary Bisson
2014-12-04 13:14   ` Jérôme Pouiller
2014-12-04 19:22     ` Gary Bisson
2014-12-04 21:19       ` Jérôme Pouiller
2014-12-04 21:46         ` Gary Bisson
2014-12-05 20:49           ` Gary Bisson
2014-12-05 22:44         ` Thomas Petazzoni
2014-12-08 10:32           ` Jérôme Pouiller [this message]
2014-12-05 22:39       ` Thomas Petazzoni

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=2478091.mcU7omfvoP@aquila \
    --to=jezz@sysmic.org \
    --cc=buildroot@busybox.net \
    /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