[Buildroot] [PATCH v4 00/14] Add Xorg support for iMX6
thomas.petazzoni at free-electrons.com
Fri Dec 5 22:44:31 UTC 2014
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:
bool "X.org XCB support"
depends on BR2_PACKAGE_XORG7
+ 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
bool "eglfs support"
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 ?
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
More information about the buildroot