Add Xorg support for iMX6
Get series with b4
b4 am [email protected]Versions newest first
- v4 Latest0 of 14 patches 0 repliesNew
Patches in v4 No applies recorded yet
None of the 14 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [Buildroot] [PATCH v4 00/14] Add Xorg support for iMX6
Dear J?r?me Pouiller,
Quoted 6 lines · J?r?me Pouiller
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 ?
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com