* QT4.8 or 5.0 on wandboard-solo (I.MX6S) with OPENGL ES2 @ 2013-05-20 20:10 Bastiaan de Nooij 2013-05-20 20:30 ` Otavio Salvador 0 siblings, 1 reply; 15+ messages in thread From: Bastiaan de Nooij @ 2013-05-20 20:10 UTC (permalink / raw) To: meta-freescale [-- Attachment #1: Type: text/plain, Size: 856 bytes --] Hi, After (unsuccessfully) trying various ways to get a gpu accelerated QT version on my wandboard-solo, I asked for help on the wandboard discussion group. link to original message<https://groups.google.com/forum/embed/?place=forum/wandboard&showsearch=true&showpopout=true&showtabs=false&parenturl=http%3A%2F%2Fwandboard.org%2Findex.php%2Fforums#!topic/wandboard/AcAyjIfdbp4> I was asked to take my question to this space (By Otavio), so here I am. Otavio, I would like to test your patch for qt4 and I will also eagerly awayt your work on QT5. For the project I'm working on, we are looking at QML to implement the (touch-based) interface. We haven't decided yet what QT version suits our needs the best. (QT 4.8, 5.0 or 5.1) I'm really grateful for any help regarding the subject. Bastiaan de Nooij, Senior system engineer [-- Attachment #2: Type: text/html, Size: 6856 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: QT4.8 or 5.0 on wandboard-solo (I.MX6S) with OPENGL ES2 2013-05-20 20:10 QT4.8 or 5.0 on wandboard-solo (I.MX6S) with OPENGL ES2 Bastiaan de Nooij @ 2013-05-20 20:30 ` Otavio Salvador 2013-05-21 18:59 ` Bastiaan de Nooij 2013-05-22 14:46 ` Bastiaan de Nooij 0 siblings, 2 replies; 15+ messages in thread From: Otavio Salvador @ 2013-05-20 20:30 UTC (permalink / raw) To: Bastiaan de Nooij; +Cc: meta-freescale@yoctoproject.org [-- Attachment #1.1: Type: text/plain, Size: 1268 bytes --] On Mon, May 20, 2013 at 5:10 PM, Bastiaan de Nooij <nooijb.hotraco@gmail.com > wrote: > Hi, > > After (unsuccessfully) trying various ways to get a gpu accelerated QT > version on my wandboard-solo, I asked for help on the wandboard discussion > group. > link to original message<https://groups.google.com/forum/embed/?place=forum/wandboard&showsearch=true&showpopout=true&showtabs=false&parenturl=http%3A%2F%2Fwandboard.org%2Findex.php%2Fforums#!topic/wandboard/AcAyjIfdbp4> > I was asked to take my question to this space (By Otavio), so here I am. > > Otavio, I would like to test your patch for qt4 and I will also eagerly > awayt your work on QT5. > For the project I'm working on, we are looking at QML to implement the > (touch-based) interface. > We haven't decided yet what QT version suits our needs the best. (QT 4.8, > 5.0 or 5.1) > > I'm really grateful for any help regarding the subject. > Ok; I didn't try the patch (at runtime) yet but it builds just fine here. I am adding it here for you :-) So please let me know ;-) -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://projetos.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 [-- Attachment #1.2: Type: text/html, Size: 5102 bytes --] [-- Attachment #2: 0001-qt4-Enable-OpenGL-ES2-support-for-i.MX6.patch --] [-- Type: application/octet-stream, Size: 7183 bytes --] From d2efbd28b34945a7d70fd5f59494a861b066fe07 Mon Sep 17 00:00:00 2001 From: Otavio Salvador <otavio@ossystems.com.br> Date: Sat, 30 Mar 2013 19:25:41 -0300 Subject: [PATCH] qt4: Enable OpenGL ES2 support for i.MX6 The Vivante libraries need some special linking as it has a more modular design which thus require a specific set of mkspec changes to make it to work. This change makes the linking to work when building against Vivante libraries for i.MX6 SoCs. Change-Id: I62a394876829fcd95933cb7351c8333b3bf78dcc Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> --- recipes-qt/qt4/qt4-embedded_4.8.4.bbappend | 7 ++-- recipes-qt/qt4/qt4-x11-free_4.8.4.bbappend | 7 ++-- recipes-qt/qt4/qt4/mx6/g++.conf | 56 +++++++++++++++++++++++++ recipes-qt/qt4/qt4/mx6/linux.conf | 66 ++++++++++++++++++++++++++++++ 4 files changed, 130 insertions(+), 6 deletions(-) create mode 100644 recipes-qt/qt4/qt4/mx6/g++.conf create mode 100644 recipes-qt/qt4/qt4/mx6/linux.conf diff --git a/recipes-qt/qt4/qt4-embedded_4.8.4.bbappend b/recipes-qt/qt4/qt4-embedded_4.8.4.bbappend index 041f1eb..c9a4e71 100644 --- a/recipes-qt/qt4/qt4-embedded_4.8.4.bbappend +++ b/recipes-qt/qt4/qt4-embedded_4.8.4.bbappend @@ -9,8 +9,9 @@ PACKAGE_ARCH_mx5 = "${MACHINE_ARCH}" QT_GLFLAGS_mx5 = "-opengl es2 -openvg" QT_CONFIG_FLAGS_append_mx5 = " -I${STAGING_KERNEL_DIR}/include/" -DEPENDS_append_mx6 = " virtual/kernel" +DEPENDS_append_mx6 = " virtual/kernel virtual/libgles2" PACKAGE_ARCH_mx6 = "${MACHINE_ARCH}" -QT_CONFIG_FLAGS_append_mx6 = " -I${STAGING_KERNEL_DIR}/include/" +QT_GLFLAGS_mx6 = "-opengl es2 -openvg" +QT_CONFIG_FLAGS_append_mx6 = " -I${STAGING_KERNEL_DIR}/include/ -DLINUX=1 -DEGL_API_FB=1" -PRINC := "${@int(PRINC) + 2}" +PRINC := "${@int(PRINC) + 3}" diff --git a/recipes-qt/qt4/qt4-x11-free_4.8.4.bbappend b/recipes-qt/qt4/qt4-x11-free_4.8.4.bbappend index 041f1eb..c9a4e71 100644 --- a/recipes-qt/qt4/qt4-x11-free_4.8.4.bbappend +++ b/recipes-qt/qt4/qt4-x11-free_4.8.4.bbappend @@ -9,8 +9,9 @@ PACKAGE_ARCH_mx5 = "${MACHINE_ARCH}" QT_GLFLAGS_mx5 = "-opengl es2 -openvg" QT_CONFIG_FLAGS_append_mx5 = " -I${STAGING_KERNEL_DIR}/include/" -DEPENDS_append_mx6 = " virtual/kernel" +DEPENDS_append_mx6 = " virtual/kernel virtual/libgles2" PACKAGE_ARCH_mx6 = "${MACHINE_ARCH}" -QT_CONFIG_FLAGS_append_mx6 = " -I${STAGING_KERNEL_DIR}/include/" +QT_GLFLAGS_mx6 = "-opengl es2 -openvg" +QT_CONFIG_FLAGS_append_mx6 = " -I${STAGING_KERNEL_DIR}/include/ -DLINUX=1 -DEGL_API_FB=1" -PRINC := "${@int(PRINC) + 2}" +PRINC := "${@int(PRINC) + 3}" diff --git a/recipes-qt/qt4/qt4/mx6/g++.conf b/recipes-qt/qt4/qt4/mx6/g++.conf new file mode 100644 index 0000000..4a4729e --- /dev/null +++ b/recipes-qt/qt4/qt4/mx6/g++.conf @@ -0,0 +1,56 @@ +# +# qmake configuration for common gcc +# + +QMAKE_CC = $(OE_QMAKE_CC) +QMAKE_CFLAGS += -pipe $(OE_QMAKE_CFLAGS) -DLINUX=1 -DEGL_API_FB=1 +QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += $(OE_QMAKE_CFLAGS) +QMAKE_CFLAGS_DEPS += -M +QMAKE_CFLAGS_WARN_ON += -Wall -W +QMAKE_CFLAGS_WARN_OFF += -w +QMAKE_CFLAGS_RELEASE += +QMAKE_CFLAGS_DEBUG += -g +QMAKE_CFLAGS_SHLIB += -fPIC +QMAKE_CFLAGS_STATIC_LIB += -fPIC +QMAKE_CFLAGS_YACC += -Wno-unused -Wno-parentheses +QMAKE_CFLAGS_HIDESYMS += -fvisibility=hidden +QMAKE_CFLAGS_PRECOMPILE += -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT} +QMAKE_CFLAGS_USE_PRECOMPILE += -include ${QMAKE_PCH_OUTPUT_BASE} + +QMAKE_CXX = $(OE_QMAKE_CXX) +QMAKE_CXXFLAGS += $$QMAKE_CFLAGS $(OE_QMAKE_CXXFLAGS) +QMAKE_CXXFLAGS_DEPS += $$QMAKE_CFLAGS_DEPS +QMAKE_CXXFLAGS_WARN_ON += $$QMAKE_CFLAGS_WARN_ON +QMAKE_CXXFLAGS_WARN_OFF += $$QMAKE_CFLAGS_WARN_OFF +QMAKE_CXXFLAGS_RELEASE += $$QMAKE_CFLAGS_RELEASE +QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO += $$QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO +QMAKE_CXXFLAGS_DEBUG += $$QMAKE_CFLAGS_DEBUG +QMAKE_CXXFLAGS_SHLIB += $$QMAKE_CFLAGS_SHLIB +QMAKE_CXXFLAGS_STATIC_LIB += $$QMAKE_CFLAGS_STATIC_LIB +QMAKE_CXXFLAGS_YACC += $$QMAKE_CFLAGS_YACC +QMAKE_CXXFLAGS_HIDESYMS += $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden +QMAKE_CXXFLAGS_PRECOMPILE += -x c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT} +QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE + +QMAKE_LINK = $(OE_QMAKE_LINK) +QMAKE_LINK_SHLIB = $(OE_QMAKE_LINK) +QMAKE_LINK_C = $(OE_QMAKE_LINK) +QMAKE_LINK_C_SHLIB = $(OE_QMAKE_LINK) +QMAKE_LFLAGS += $(OE_QMAKE_LDFLAGS) +QMAKE_LFLAGS_RELEASE += +QMAKE_LFLAGS_DEBUG += +QMAKE_LFLAGS_APP += +QMAKE_LFLAGS_NOUNDEF += -Wl,--no-undefined +QMAKE_LFLAGS_RPATH = -Wl,-rpath-link, + +QMAKE_PCH_OUTPUT_EXT = .gch + +# -Bsymbolic-functions (ld) support +QMAKE_LFLAGS_BSYMBOLIC_FUNC = -Wl,-Bsymbolic-functions +QMAKE_LFLAGS_DYNAMIC_LIST = -Wl,--dynamic-list, + +# some linking helper... +CONFIG += rpath_libdirs + +# for the SDK +isEmpty(QMAKE_QT_CONFIG):QMAKE_QT_CONFIG = $(OE_QMAKE_QT_CONFIG) diff --git a/recipes-qt/qt4/qt4/mx6/linux.conf b/recipes-qt/qt4/qt4/mx6/linux.conf new file mode 100644 index 0000000..c644d8b --- /dev/null +++ b/recipes-qt/qt4/qt4/mx6/linux.conf @@ -0,0 +1,66 @@ +# +# qmake configuration for common linux +# + +QMAKE_CFLAGS_THREAD += -D_REENTRANT +QMAKE_CXXFLAGS_THREAD += $$QMAKE_CFLAGS_THREAD + +QMAKE_INCDIR = +QMAKE_LIBDIR = +QMAKE_INCDIR_X11 = +QMAKE_LIBDIR_X11 = +QMAKE_INCDIR_QT = $(OE_QMAKE_INCDIR_QT) +QMAKE_LIBDIR_QT = $(OE_QMAKE_LIBDIR_QT) +QMAKE_INCDIR_OPENGL = +QMAKE_LIBDIR_OPENGL = +QMAKE_INCDIR_OPENGL_ES1 = $$QMAKE_INCDIR_OPENGL +QMAKE_LIBDIR_OPENGL_ES1 = $$QMAKE_LIBDIR_OPENGL +QMAKE_INCDIR_OPENGL_ES2 = $$QMAKE_INCDIR_OPENGL +QMAKE_LIBDIR_OPENGL_ES2 = $$QMAKE_LIBDIR_OPENGL +QMAKE_INCDIR_EGL = +QMAKE_LIBDIR_EGL = +QMAKE_INCDIR_OPENVG = +QMAKE_LIBDIR_OPENVG = + + +QMAKE_LIBS = +QMAKE_LIBS_DYNLOAD = -ldl +QMAKE_LIBS_X11 = $(OE_QMAKE_LIBS_X11) +QMAKE_LIBS_X11SM = $(OE_QMAKE_LIBS_X11SM) +QMAKE_LIBS_NIS = -lnsl +QMAKE_LIBS_EGL = -lEGL -lGAL -DLINUX=1 -DEGL_API_FB=1 +QMAKE_LIBS_OPENGL = -lGL +QMAKE_LIBS_OPENGL_QT = -lGL +QMAKE_LIBS_OPENGL_ES1 = -lGLES_CM +QMAKE_LIBS_OPENGL_ES2 = -lGLESv2 -lGAL -lEGL -DLINUX=1 -DEGL_API_FB=1 +QMAKE_LIBS_OPENVG = -lOpenVG -lGAL -lEGL -DLINUX=1 -DEGL_API_FB=1 +QMAKE_LIBS_THREAD = -lpthread + +QMAKE_MOC = $(OE_QMAKE_MOC) +QMAKE_UIC = $(OE_QMAKE_UIC) +QMAKE_UIC3 = $(OE_QMAKE_UIC3) +QMAKE_RCC = $(OE_QMAKE_RCC) +QMAKE_QDBUSCPP2XML = $(OE_QMAKE_QDBUSCPP2XML) +QMAKE_QDBUSXML2CPP = $(OE_QMAKE_QDBUSXML2CPP) + +QMAKE_AR = $(OE_QMAKE_AR) cqs +QMAKE_OBJCOPY = objcopy +QMAKE_RANLIB = + +QMAKE_TAR = tar -cf +QMAKE_GZIP = gzip -9f + +QMAKE_COPY = cp -f +QMAKE_COPY_FILE = $(COPY) +QMAKE_COPY_DIR = $(COPY) -r +QMAKE_MOVE = mv -f +QMAKE_DEL_FILE = rm -f +QMAKE_DEL_DIR = rmdir +QMAKE_STRIP = $(OE_QMAKE_STRIP) +QMAKE_STRIPFLAGS_LIB += --strip-unneeded +QMAKE_CHK_DIR_EXISTS = test -d +QMAKE_MKDIR = mkdir -p +QMAKE_INSTALL_FILE = install -m 644 -p +QMAKE_INSTALL_PROGRAM = install -m 755 -p + +include(unix.conf) -- 1.8.1 ^ permalink raw reply related [flat|nested] 15+ messages in thread
* Re: QT4.8 or 5.0 on wandboard-solo (I.MX6S) with OPENGL ES2 2013-05-20 20:30 ` Otavio Salvador @ 2013-05-21 18:59 ` Bastiaan de Nooij 2013-05-22 14:46 ` Bastiaan de Nooij 1 sibling, 0 replies; 15+ messages in thread From: Bastiaan de Nooij @ 2013-05-21 18:59 UTC (permalink / raw) To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org [-- Attachment #1: Type: text/plain, Size: 1629 bytes --] OK, with the patch qt-embedded compiled without a hitch. I did not have the time today to do more than a compile. I hope tomorrow I will have some time to do some runtime checks on my wandboard. I will let you now my findings, thanks so far. 2013/5/20 Otavio Salvador <otavio@ossystems.com.br> > > > > On Mon, May 20, 2013 at 5:10 PM, Bastiaan de Nooij < > nooijb.hotraco@gmail.com> wrote: > >> Hi, >> >> After (unsuccessfully) trying various ways to get a gpu accelerated QT >> version on my wandboard-solo, I asked for help on the wandboard discussion >> group. >> link to original message<https://groups.google.com/forum/embed/?place=forum/wandboard&showsearch=true&showpopout=true&showtabs=false&parenturl=http%3A%2F%2Fwandboard.org%2Findex.php%2Fforums#!topic/wandboard/AcAyjIfdbp4> >> I was asked to take my question to this space (By Otavio), so here I am. >> >> Otavio, I would like to test your patch for qt4 and I will also eagerly >> awayt your work on QT5. >> For the project I'm working on, we are looking at QML to implement the >> (touch-based) interface. >> We haven't decided yet what QT version suits our needs the best. (QT 4.8, >> 5.0 or 5.1) >> >> I'm really grateful for any help regarding the subject. >> > > Ok; I didn't try the patch (at runtime) yet but it builds just fine here. > I am adding it here for you :-) > > So please let me know ;-) > > -- > Otavio Salvador O.S. Systems > http://www.ossystems.com.br http://projetos.ossystems.com.br > Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 > [-- Attachment #2: Type: text/html, Size: 6044 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: QT4.8 or 5.0 on wandboard-solo (I.MX6S) with OPENGL ES2 2013-05-20 20:30 ` Otavio Salvador 2013-05-21 18:59 ` Bastiaan de Nooij @ 2013-05-22 14:46 ` Bastiaan de Nooij 2013-05-22 15:02 ` Eric Bénard 1 sibling, 1 reply; 15+ messages in thread From: Bastiaan de Nooij @ 2013-05-22 14:46 UTC (permalink / raw) To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org [-- Attachment #1: Type: text/plain, Size: 1781 bytes --] Hi, Qt-embedded builds fine. However running actual opengl ES2 code results in a segmentation fault. Also qtdemo results in a segmentation fault. I would like to give you more detailed information, however I'm a little short on time to work on this. I will try to make a stacktrace tomorrow. Regards, Bastiaan de Nooij On 05/20/2013 10:30 PM, Otavio Salvador wrote: > > > > On Mon, May 20, 2013 at 5:10 PM, Bastiaan de Nooij > <nooijb.hotraco@gmail.com <mailto:nooijb.hotraco@gmail.com>> wrote: > > Hi, > > After (unsuccessfully) trying various ways to get a gpu > accelerated QT version on my wandboard-solo, I asked for help on > the wandboard discussion group. > link to original message > <https://groups.google.com/forum/embed/?place=forum/wandboard&showsearch=true&showpopout=true&showtabs=false&parenturl=http%3A%2F%2Fwandboard.org%2Findex.php%2Fforums#%21topic/wandboard/AcAyjIfdbp4> > I was asked to take my question to this space (By Otavio), so here > I am. > > Otavio, I would like to test your patch for qt4 and I will also > eagerly awayt your work on QT5. > For the project I'm working on, we are looking at QML to implement > the (touch-based) interface. > We haven't decided yet what QT version suits our needs the best. > (QT 4.8, 5.0 or 5.1) > > I'm really grateful for any help regarding the subject. > > > Ok; I didn't try the patch (at runtime) yet but it builds just fine > here. I am adding it here for you :-) > > So please let me know ;-) > > -- > Otavio Salvador O.S. Systems > http://www.ossystems.com.br http://projetos.ossystems.com.br > Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 [-- Attachment #2: Type: text/html, Size: 8976 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: QT4.8 or 5.0 on wandboard-solo (I.MX6S) with OPENGL ES2 2013-05-22 14:46 ` Bastiaan de Nooij @ 2013-05-22 15:02 ` Eric Bénard 2013-05-28 6:23 ` Bastiaan de Nooij 0 siblings, 1 reply; 15+ messages in thread From: Eric Bénard @ 2013-05-22 15:02 UTC (permalink / raw) To: Bastiaan de Nooij; +Cc: meta-freescale@yoctoproject.org, Otavio Salvador Hi Bastiaan, Le Wed, 22 May 2013 16:46:42 +0200, Bastiaan de Nooij <nooijb.hotraco@gmail.com> a écrit : > Qt-embedded builds fine. > However running actual opengl ES2 code results in a segmentation fault. > Also qtdemo results in a segmentation fault. > > I would like to give you more detailed information, however I'm a little > short on time to work on this. > I will try to make a stacktrace tomorrow. > FWIW : I have a working (runtime tested with hellogl_es2 -platform eglfs) bbappend for meta-qt5 and eglfs platform on i.MX6. I'll try to send it by friday. Eric ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: QT4.8 or 5.0 on wandboard-solo (I.MX6S) with OPENGL ES2 2013-05-22 15:02 ` Eric Bénard @ 2013-05-28 6:23 ` Bastiaan de Nooij 2013-05-28 7:04 ` Eric Bénard 0 siblings, 1 reply; 15+ messages in thread From: Bastiaan de Nooij @ 2013-05-28 6:23 UTC (permalink / raw) To: Eric Bénard; +Cc: meta-freescale@yoctoproject.org, Otavio Salvador On 05/22/2013 05:02 PM, Eric Bénard wrote: > Hi Bastiaan, > > Le Wed, 22 May 2013 16:46:42 +0200, > Bastiaan de Nooij <nooijb.hotraco@gmail.com> a écrit : >> Qt-embedded builds fine. >> However running actual opengl ES2 code results in a segmentation fault. >> Also qtdemo results in a segmentation fault. >> >> I would like to give you more detailed information, however I'm a little >> short on time to work on this. >> I will try to make a stacktrace tomorrow. >> > FWIW : I have a working (runtime tested with hellogl_es2 -platform > eglfs) bbappend for meta-qt5 and eglfs platform on i.MX6. I'll try to > send it by friday. > > Eric Hi Eric, Otavio, at this point I'm convinced I need QT 5 for the project I'm working on, it delivers far better performance for QML (according to various internet sources). I'm still very much interested in testing your QT5 patches/bbappends, to see if I can achieve decent performance on the IMX6S. Regards, Bastiaan de Nooij ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: QT4.8 or 5.0 on wandboard-solo (I.MX6S) with OPENGL ES2 2013-05-28 6:23 ` Bastiaan de Nooij @ 2013-05-28 7:04 ` Eric Bénard 2013-05-28 14:38 ` Bastiaan de Nooij 0 siblings, 1 reply; 15+ messages in thread From: Eric Bénard @ 2013-05-28 7:04 UTC (permalink / raw) To: Bastiaan de Nooij; +Cc: meta-freescale@yoctoproject.org, Otavio Salvador Le Tue, 28 May 2013 08:23:14 +0200, Bastiaan de Nooij <nooijb.hotraco@gmail.com> a écrit : > On 05/22/2013 05:02 PM, Eric Bénard wrote: > > Hi Bastiaan, > > > > Le Wed, 22 May 2013 16:46:42 +0200, > > Bastiaan de Nooij <nooijb.hotraco@gmail.com> a écrit : > >> Qt-embedded builds fine. > >> However running actual opengl ES2 code results in a segmentation fault. > >> Also qtdemo results in a segmentation fault. > >> > >> I would like to give you more detailed information, however I'm a little > >> short on time to work on this. > >> I will try to make a stacktrace tomorrow. > >> > > FWIW : I have a working (runtime tested with hellogl_es2 -platform > > eglfs) bbappend for meta-qt5 and eglfs platform on i.MX6. I'll try to > > send it by friday. > > > > Eric > > Hi Eric, Otavio, > > at this point I'm convinced I need QT 5 for the project I'm working on, > it delivers far better performance for QML (according to various > internet sources). > > I'm still very much interested in testing your QT5 patches/bbappends, > to see if I can achieve decent performance on the IMX6S. > patches sent this night, please check the ML Eric ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: QT4.8 or 5.0 on wandboard-solo (I.MX6S) with OPENGL ES2 2013-05-28 7:04 ` Eric Bénard @ 2013-05-28 14:38 ` Bastiaan de Nooij 2013-05-28 14:56 ` Eric Bénard 0 siblings, 1 reply; 15+ messages in thread From: Bastiaan de Nooij @ 2013-05-28 14:38 UTC (permalink / raw) To: Eric Bénard; +Cc: meta-freescale@yoctoproject.org, Otavio Salvador [-- Attachment #1: Type: text/plain, Size: 2637 bytes --] On 05/28/2013 09:04 AM, Eric Bénard wrote: > Le Tue, 28 May 2013 08:23:14 +0200, > Bastiaan de Nooij <nooijb.hotraco@gmail.com> a écrit : > >> On 05/22/2013 05:02 PM, Eric Bénard wrote: >>> Hi Bastiaan, >>> >>> Le Wed, 22 May 2013 16:46:42 +0200, >>> Bastiaan de Nooij <nooijb.hotraco@gmail.com> a écrit : >>>> Qt-embedded builds fine. >>>> However running actual opengl ES2 code results in a segmentation fault. >>>> Also qtdemo results in a segmentation fault. >>>> >>>> I would like to give you more detailed information, however I'm a little >>>> short on time to work on this. >>>> I will try to make a stacktrace tomorrow. >>>> >>> FWIW : I have a working (runtime tested with hellogl_es2 -platform >>> eglfs) bbappend for meta-qt5 and eglfs platform on i.MX6. I'll try to >>> send it by friday. >>> >>> Eric >> Hi Eric, Otavio, >> >> at this point I'm convinced I need QT 5 for the project I'm working on, >> it delivers far better performance for QML (according to various >> internet sources). >> >> I'm still very much interested in testing your QT5 patches/bbappends, >> to see if I can achieve decent performance on the IMX6S. >> > patches sent this night, please check the ML > > Eric Hi Eric, Otavio, I'm afraid I need a little more help.... I'm quite new to yocto and as a result I find it difficult to get results. what I've done so far: I set-up the fsl-community-bsp-base <https://github.com/Freescale/fsl-community-bsp-base> repo for my wandboard-solo. I added the meta-qt5 layer from the github repository (and adjusted my bblayers.conf). I applied the patch of Vol 77 of the ML on meta-fsl-arm. I modified a core-image-minimal recepe to build qtbase qtbase-tools and qtbase-plugins. when I build this image, the build proceeds fine, however the resulting image contains version 5.0.1 of QT for opengl Desktop (!?) (according to the do_configure logfile for qtbase) In volume 78 of the ML, Eric mentions "cherry-pick e7a477a" I 'm afraid don't know how. I tried 'git cherry-pick e7a477a' on the meta-qt5 repo, but this results in: fatal: ambiguous argument 'e7a477a': unknown revision or path not in the working tree. According to the same mail I also should apply the patches from http://lists.openembedded.org/pipermail/openembedded-devel/2013-May/090861.html ? Then, after setting QT version 5.0.2 in conf/distro/include/qt5-versions.inc I should be able to build a eglfs supporting version of qt5? If I get the last part right, the only thing I need help with is the cherry-picking part... Regards, Bastiaan. [-- Attachment #2: Type: text/html, Size: 4381 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: QT4.8 or 5.0 on wandboard-solo (I.MX6S) with OPENGL ES2 2013-05-28 14:38 ` Bastiaan de Nooij @ 2013-05-28 14:56 ` Eric Bénard 2013-05-29 15:00 ` Bastiaan de Nooij 0 siblings, 1 reply; 15+ messages in thread From: Eric Bénard @ 2013-05-28 14:56 UTC (permalink / raw) To: Bastiaan de Nooij; +Cc: meta-freescale@yoctoproject.org, Otavio Salvador Le Tue, 28 May 2013 16:38:14 +0200, Bastiaan de Nooij <nooijb.hotraco@gmail.com> a écrit : > On 05/28/2013 09:04 AM, Eric Bénard wrote: > > Le Tue, 28 May 2013 08:23:14 +0200, > > Bastiaan de Nooij <nooijb.hotraco@gmail.com> a écrit : > > > >> On 05/22/2013 05:02 PM, Eric Bénard wrote: > >>> Hi Bastiaan, > >>> > >>> Le Wed, 22 May 2013 16:46:42 +0200, > >>> Bastiaan de Nooij <nooijb.hotraco@gmail.com> a écrit : > >>>> Qt-embedded builds fine. > >>>> However running actual opengl ES2 code results in a segmentation fault. > >>>> Also qtdemo results in a segmentation fault. > >>>> > >>>> I would like to give you more detailed information, however I'm a little > >>>> short on time to work on this. > >>>> I will try to make a stacktrace tomorrow. > >>>> > >>> FWIW : I have a working (runtime tested with hellogl_es2 -platform > >>> eglfs) bbappend for meta-qt5 and eglfs platform on i.MX6. I'll try to > >>> send it by friday. > >>> > >>> Eric > >> Hi Eric, Otavio, > >> > >> at this point I'm convinced I need QT 5 for the project I'm working on, > >> it delivers far better performance for QML (according to various > >> internet sources). > >> > >> I'm still very much interested in testing your QT5 patches/bbappends, > >> to see if I can achieve decent performance on the IMX6S. > >> > > patches sent this night, please check the ML > > > > Eric > Hi Eric, Otavio, > I'm afraid I need a little more help.... > I'm quite new to yocto and as a result I find it difficult to get results. > > what I've done so far: > > I set-up the fsl-community-bsp-base > <https://github.com/Freescale/fsl-community-bsp-base> repo for my > wandboard-solo. > I added the meta-qt5 layer from the github repository (and adjusted my > bblayers.conf). > I applied the patch of Vol 77 of the ML on meta-fsl-arm. > I modified a core-image-minimal recepe to build qtbase qtbase-tools and > qtbase-plugins. > > when I build this image, the build proceeds fine, however the resulting > image contains version 5.0.1 of QT for opengl Desktop (!?) > (according to the do_configure logfile for qtbase) > > In volume 78 of the ML, Eric mentions "cherry-pick e7a477a" > I 'm afraid don't know how. I tried 'git cherry-pick e7a477a' on the > meta-qt5 repo, but this results in: > fatal: ambiguous argument 'e7a477a': unknown revision or path not in the > working tree. > > According to the same mail I also should apply the patches from > http://lists.openembedded.org/pipermail/openembedded-devel/2013-May/090861.html > ? > Then, after setting QT version 5.0.2 in conf/distro/include/qt5-versions.inc > I should be able to build a eglfs supporting version of qt5? > > If I get the last part right, the only thing I need help with is the > cherry-picking part... > try getting in meta-qt5 the branch origin/newer-versions Eric ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: QT4.8 or 5.0 on wandboard-solo (I.MX6S) with OPENGL ES2 2013-05-28 14:56 ` Eric Bénard @ 2013-05-29 15:00 ` Bastiaan de Nooij 2013-05-29 15:02 ` Eric Bénard 2013-05-29 15:03 ` Eric Bénard 0 siblings, 2 replies; 15+ messages in thread From: Bastiaan de Nooij @ 2013-05-29 15:00 UTC (permalink / raw) To: Eric Bénard; +Cc: meta-freescale@yoctoproject.org, Otavio Salvador [-- Attachment #1: Type: text/plain, Size: 3955 bytes --] On 05/28/2013 04:56 PM, Eric Bénard wrote: > Le Tue, 28 May 2013 16:38:14 +0200, > Bastiaan de Nooij <nooijb.hotraco@gmail.com> a écrit : > >> On 05/28/2013 09:04 AM, Eric Bénard wrote: >>> Le Tue, 28 May 2013 08:23:14 +0200, >>> Bastiaan de Nooij <nooijb.hotraco@gmail.com> a écrit : >>> >>>> On 05/22/2013 05:02 PM, Eric Bénard wrote: >>>>> Hi Bastiaan, >>>>> >>>>> Le Wed, 22 May 2013 16:46:42 +0200, >>>>> Bastiaan de Nooij <nooijb.hotraco@gmail.com> a écrit : >>>>>> Qt-embedded builds fine. >>>>>> However running actual opengl ES2 code results in a segmentation fault. >>>>>> Also qtdemo results in a segmentation fault. >>>>>> >>>>>> I would like to give you more detailed information, however I'm a little >>>>>> short on time to work on this. >>>>>> I will try to make a stacktrace tomorrow. >>>>>> >>>>> FWIW : I have a working (runtime tested with hellogl_es2 -platform >>>>> eglfs) bbappend for meta-qt5 and eglfs platform on i.MX6. I'll try to >>>>> send it by friday. >>>>> >>>>> Eric >>>> Hi Eric, Otavio, >>>> >>>> at this point I'm convinced I need QT 5 for the project I'm working on, >>>> it delivers far better performance for QML (according to various >>>> internet sources). >>>> >>>> I'm still very much interested in testing your QT5 patches/bbappends, >>>> to see if I can achieve decent performance on the IMX6S. >>>> >>> patches sent this night, please check the ML >>> >>> Eric >> Hi Eric, Otavio, >> I'm afraid I need a little more help.... >> I'm quite new to yocto and as a result I find it difficult to get results. >> >> what I've done so far: >> >> I set-up the fsl-community-bsp-base >> <https://github.com/Freescale/fsl-community-bsp-base> repo for my >> wandboard-solo. >> I added the meta-qt5 layer from the github repository (and adjusted my >> bblayers.conf). >> I applied the patch of Vol 77 of the ML on meta-fsl-arm. >> I modified a core-image-minimal recepe to build qtbase qtbase-tools and >> qtbase-plugins. >> >> when I build this image, the build proceeds fine, however the resulting >> image contains version 5.0.1 of QT for opengl Desktop (!?) >> (according to the do_configure logfile for qtbase) >> >> In volume 78 of the ML, Eric mentions "cherry-pick e7a477a" >> I 'm afraid don't know how. I tried 'git cherry-pick e7a477a' on the >> meta-qt5 repo, but this results in: >> fatal: ambiguous argument 'e7a477a': unknown revision or path not in the >> working tree. >> >> According to the same mail I also should apply the patches from >> http://lists.openembedded.org/pipermail/openembedded-devel/2013-May/090861.html >> ? >> Then, after setting QT version 5.0.2 in conf/distro/include/qt5-versions.inc >> I should be able to build a eglfs supporting version of qt5? >> >> If I get the last part right, the only thing I need help with is the >> cherry-picking part... >> > try getting in meta-qt5 the branch > origin/newer-versions > > Eric OK, I switched to the origin/newer-versions branch for QT5. now building fails on missing binaries (vivante?): make[3]: Leaving directory `/home/jenkins/git/fsl/build3/tmp/work/wandboard_solo-poky-linux-gnueabi/qtbase/5.0.2-r1.0/build/src/plugins/generic' .obj/release-shared/qeglfshooks_imx6.o: In function `QEglFSImx6Hooks::destroyNativeWindow(_FBWindow*)': /home/jenkins/git/fsl/build3/tmp/work/wandboard_solo-poky-linux-gnueabi/qtbase/5.0.2-r1.0/qtbase-opensource-src-5.0.2/mkspecs/linux-oe-g++/qeglfshooks_imx6.cpp:86: undefined reference to `fbDestroyWindow' .obj/release-shared/qeglfshooks_imx6.o: In function `QEglFSImx6Hooks::createNativeWindow(QSize const&, QSurfaceFormat const&)': /home/jenkins/git/fsl/build3/tmp/work/wandboard_solo-poky-linux-gnueabi/qtbase/5.0.2-r1.0/qtbase-opensource-src-5.0.2/mkspecs/linux-oe-g++/qeglfshooks_imx6.cpp:79: undefined reference to `fbCreateWindow' ... How do I get the missing libraries? Regards, Bastiaan [-- Attachment #2: Type: text/html, Size: 5284 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: QT4.8 or 5.0 on wandboard-solo (I.MX6S) with OPENGL ES2 2013-05-29 15:00 ` Bastiaan de Nooij @ 2013-05-29 15:02 ` Eric Bénard 2013-05-31 6:38 ` Bastiaan de Nooij 2013-05-29 15:03 ` Eric Bénard 1 sibling, 1 reply; 15+ messages in thread From: Eric Bénard @ 2013-05-29 15:02 UTC (permalink / raw) To: Bastiaan de Nooij; +Cc: meta-freescale@yoctoproject.org, Otavio Salvador Le Wed, 29 May 2013 17:00:56 +0200, Bastiaan de Nooij <nooijb.hotraco@gmail.com> a écrit : > On 05/28/2013 04:56 PM, Eric Bénard wrote: > > Le Tue, 28 May 2013 16:38:14 +0200, > > Bastiaan de Nooij <nooijb.hotraco@gmail.com> a écrit : > > > >> On 05/28/2013 09:04 AM, Eric Bénard wrote: > >>> Le Tue, 28 May 2013 08:23:14 +0200, > >>> Bastiaan de Nooij <nooijb.hotraco@gmail.com> a écrit : > >>> > >>>> On 05/22/2013 05:02 PM, Eric Bénard wrote: > >>>>> Hi Bastiaan, > >>>>> > >>>>> Le Wed, 22 May 2013 16:46:42 +0200, > >>>>> Bastiaan de Nooij <nooijb.hotraco@gmail.com> a écrit : > >>>>>> Qt-embedded builds fine. > >>>>>> However running actual opengl ES2 code results in a segmentation fault. > >>>>>> Also qtdemo results in a segmentation fault. > >>>>>> > >>>>>> I would like to give you more detailed information, however I'm a little > >>>>>> short on time to work on this. > >>>>>> I will try to make a stacktrace tomorrow. > >>>>>> > >>>>> FWIW : I have a working (runtime tested with hellogl_es2 -platform > >>>>> eglfs) bbappend for meta-qt5 and eglfs platform on i.MX6. I'll try to > >>>>> send it by friday. > >>>>> > >>>>> Eric > >>>> Hi Eric, Otavio, > >>>> > >>>> at this point I'm convinced I need QT 5 for the project I'm working on, > >>>> it delivers far better performance for QML (according to various > >>>> internet sources). > >>>> > >>>> I'm still very much interested in testing your QT5 patches/bbappends, > >>>> to see if I can achieve decent performance on the IMX6S. > >>>> > >>> patches sent this night, please check the ML > >>> > >>> Eric > >> Hi Eric, Otavio, > >> I'm afraid I need a little more help.... > >> I'm quite new to yocto and as a result I find it difficult to get results. > >> > >> what I've done so far: > >> > >> I set-up the fsl-community-bsp-base > >> <https://github.com/Freescale/fsl-community-bsp-base> repo for my > >> wandboard-solo. > >> I added the meta-qt5 layer from the github repository (and adjusted my > >> bblayers.conf). > >> I applied the patch of Vol 77 of the ML on meta-fsl-arm. > >> I modified a core-image-minimal recepe to build qtbase qtbase-tools and > >> qtbase-plugins. > >> > >> when I build this image, the build proceeds fine, however the resulting > >> image contains version 5.0.1 of QT for opengl Desktop (!?) > >> (according to the do_configure logfile for qtbase) > >> > >> In volume 78 of the ML, Eric mentions "cherry-pick e7a477a" > >> I 'm afraid don't know how. I tried 'git cherry-pick e7a477a' on the > >> meta-qt5 repo, but this results in: > >> fatal: ambiguous argument 'e7a477a': unknown revision or path not in the > >> working tree. > >> > >> According to the same mail I also should apply the patches from > >> http://lists.openembedded.org/pipermail/openembedded-devel/2013-May/090861.html > >> ? > >> Then, after setting QT version 5.0.2 in conf/distro/include/qt5-versions.inc > >> I should be able to build a eglfs supporting version of qt5? > >> > >> If I get the last part right, the only thing I need help with is the > >> cherry-picking part... > >> > > try getting in meta-qt5 the branch > > origin/newer-versions > > > > Eric > OK, I switched to the origin/newer-versions branch for QT5. > now building fails on missing binaries (vivante?): > make[3]: Leaving directory > `/home/jenkins/git/fsl/build3/tmp/work/wandboard_solo-poky-linux-gnueabi/qtbase/5.0.2-r1.0/build/src/plugins/generic' > .obj/release-shared/qeglfshooks_imx6.o: In function > `QEglFSImx6Hooks::destroyNativeWindow(_FBWindow*)': > /home/jenkins/git/fsl/build3/tmp/work/wandboard_solo-poky-linux-gnueabi/qtbase/5.0.2-r1.0/qtbase-opensource-src-5.0.2/mkspecs/linux-oe-g++/qeglfshooks_imx6.cpp:86: > undefined reference to `fbDestroyWindow' > .obj/release-shared/qeglfshooks_imx6.o: In function > `QEglFSImx6Hooks::createNativeWindow(QSize const&, QSurfaceFormat const&)': > /home/jenkins/git/fsl/build3/tmp/work/wandboard_solo-poky-linux-gnueabi/qtbase/5.0.2-r1.0/qtbase-opensource-src-5.0.2/mkspecs/linux-oe-g++/qeglfshooks_imx6.cpp:79: > undefined reference to `fbCreateWindow' > ... > How do I get the missing libraries? > you need to remove x11 from your DISTRO_FEATURES to link against the fb one. Eric ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: QT4.8 or 5.0 on wandboard-solo (I.MX6S) with OPENGL ES2 2013-05-29 15:02 ` Eric Bénard @ 2013-05-31 6:38 ` Bastiaan de Nooij 0 siblings, 0 replies; 15+ messages in thread From: Bastiaan de Nooij @ 2013-05-31 6:38 UTC (permalink / raw) To: Eric Bénard; +Cc: meta-freescale@yoctoproject.org, Otavio Salvador On 05/29/2013 05:02 PM, Eric Bénard wrote: > Le Wed, 29 May 2013 17:00:56 +0200, > Bastiaan de Nooij <nooijb.hotraco@gmail.com> a écrit : > >> On 05/28/2013 04:56 PM, Eric Bénard wrote: >>> Le Tue, 28 May 2013 16:38:14 +0200, >>> Bastiaan de Nooij <nooijb.hotraco@gmail.com> a écrit : >>> >>>> On 05/28/2013 09:04 AM, Eric Bénard wrote: >>>>> Le Tue, 28 May 2013 08:23:14 +0200, >>>>> Bastiaan de Nooij <nooijb.hotraco@gmail.com> a écrit : >>>>> >>>>>> On 05/22/2013 05:02 PM, Eric Bénard wrote: >>>>>>> Hi Bastiaan, >>>>>>> >>>>>>> Le Wed, 22 May 2013 16:46:42 +0200, >>>>>>> Bastiaan de Nooij <nooijb.hotraco@gmail.com> a écrit : >>>>>>>> Qt-embedded builds fine. >>>>>>>> However running actual opengl ES2 code results in a segmentation fault. >>>>>>>> Also qtdemo results in a segmentation fault. >>>>>>>> >>>>>>>> I would like to give you more detailed information, however I'm a little >>>>>>>> short on time to work on this. >>>>>>>> I will try to make a stacktrace tomorrow. >>>>>>>> >>>>>>> FWIW : I have a working (runtime tested with hellogl_es2 -platform >>>>>>> eglfs) bbappend for meta-qt5 and eglfs platform on i.MX6. I'll try to >>>>>>> send it by friday. >>>>>>> >>>>>>> Eric >>>>>> Hi Eric, Otavio, >>>>>> >>>>>> at this point I'm convinced I need QT 5 for the project I'm working on, >>>>>> it delivers far better performance for QML (according to various >>>>>> internet sources). >>>>>> >>>>>> I'm still very much interested in testing your QT5 patches/bbappends, >>>>>> to see if I can achieve decent performance on the IMX6S. >>>>>> >>>>> patches sent this night, please check the ML >>>>> >>>>> Eric >>>> Hi Eric, Otavio, >>>> I'm afraid I need a little more help.... >>>> I'm quite new to yocto and as a result I find it difficult to get results. >>>> >>>> what I've done so far: >>>> >>>> I set-up the fsl-community-bsp-base >>>> <https://github.com/Freescale/fsl-community-bsp-base> repo for my >>>> wandboard-solo. >>>> I added the meta-qt5 layer from the github repository (and adjusted my >>>> bblayers.conf). >>>> I applied the patch of Vol 77 of the ML on meta-fsl-arm. >>>> I modified a core-image-minimal recepe to build qtbase qtbase-tools and >>>> qtbase-plugins. >>>> >>>> when I build this image, the build proceeds fine, however the resulting >>>> image contains version 5.0.1 of QT for opengl Desktop (!?) >>>> (according to the do_configure logfile for qtbase) >>>> >>>> In volume 78 of the ML, Eric mentions "cherry-pick e7a477a" >>>> I 'm afraid don't know how. I tried 'git cherry-pick e7a477a' on the >>>> meta-qt5 repo, but this results in: >>>> fatal: ambiguous argument 'e7a477a': unknown revision or path not in the >>>> working tree. >>>> >>>> According to the same mail I also should apply the patches from >>>> http://lists.openembedded.org/pipermail/openembedded-devel/2013-May/090861.html >>>> ? >>>> Then, after setting QT version 5.0.2 in conf/distro/include/qt5-versions.inc >>>> I should be able to build a eglfs supporting version of qt5? >>>> >>>> If I get the last part right, the only thing I need help with is the >>>> cherry-picking part... >>>> >>> try getting in meta-qt5 the branch >>> origin/newer-versions >>> >>> Eric >> OK, I switched to the origin/newer-versions branch for QT5. >> now building fails on missing binaries (vivante?): >> make[3]: Leaving directory >> `/home/jenkins/git/fsl/build3/tmp/work/wandboard_solo-poky-linux-gnueabi/qtbase/5.0.2-r1.0/build/src/plugins/generic' >> .obj/release-shared/qeglfshooks_imx6.o: In function >> `QEglFSImx6Hooks::destroyNativeWindow(_FBWindow*)': >> /home/jenkins/git/fsl/build3/tmp/work/wandboard_solo-poky-linux-gnueabi/qtbase/5.0.2-r1.0/qtbase-opensource-src-5.0.2/mkspecs/linux-oe-g++/qeglfshooks_imx6.cpp:86: >> undefined reference to `fbDestroyWindow' >> .obj/release-shared/qeglfshooks_imx6.o: In function >> `QEglFSImx6Hooks::createNativeWindow(QSize const&, QSurfaceFormat const&)': >> /home/jenkins/git/fsl/build3/tmp/work/wandboard_solo-poky-linux-gnueabi/qtbase/5.0.2-r1.0/qtbase-opensource-src-5.0.2/mkspecs/linux-oe-g++/qeglfshooks_imx6.cpp:79: >> undefined reference to `fbCreateWindow' >> ... >> How do I get the missing libraries? >> > you need to remove x11 from your DISTRO_FEATURES to link against the fb > one. > > Eric YES, I got it working now, more or less... I switched back to master branch for meta-qt5 as I think the newer-versions branch got merged? Most examples give distorted results in the eglfs screen, but I guess that's in the nature of eglfs as it does not support all features used by the examples. I'm now trying to get QT quick working and tool up my development environment for developing QT quick applications on the wandboard. Thanks so far! Bastiaan. ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: QT4.8 or 5.0 on wandboard-solo (I.MX6S) with OPENGL ES2 2013-05-29 15:00 ` Bastiaan de Nooij 2013-05-29 15:02 ` Eric Bénard @ 2013-05-29 15:03 ` Eric Bénard 2014-04-02 13:50 ` jigar chokshi 1 sibling, 1 reply; 15+ messages in thread From: Eric Bénard @ 2013-05-29 15:03 UTC (permalink / raw) To: Bastiaan de Nooij; +Cc: meta-freescale@yoctoproject.org, Otavio Salvador Le Wed, 29 May 2013 17:00:56 +0200, Bastiaan de Nooij <nooijb.hotraco@gmail.com> a écrit : > On 05/28/2013 04:56 PM, Eric Bénard wrote: > > Le Tue, 28 May 2013 16:38:14 +0200, > > Bastiaan de Nooij <nooijb.hotraco@gmail.com> a écrit : > > > >> On 05/28/2013 09:04 AM, Eric Bénard wrote: > >>> Le Tue, 28 May 2013 08:23:14 +0200, > >>> Bastiaan de Nooij <nooijb.hotraco@gmail.com> a écrit : > >>> > >>>> On 05/22/2013 05:02 PM, Eric Bénard wrote: > >>>>> Hi Bastiaan, > >>>>> > >>>>> Le Wed, 22 May 2013 16:46:42 +0200, > >>>>> Bastiaan de Nooij <nooijb.hotraco@gmail.com> a écrit : > >>>>>> Qt-embedded builds fine. > >>>>>> However running actual opengl ES2 code results in a segmentation fault. > >>>>>> Also qtdemo results in a segmentation fault. > >>>>>> > >>>>>> I would like to give you more detailed information, however I'm a little > >>>>>> short on time to work on this. > >>>>>> I will try to make a stacktrace tomorrow. > >>>>>> > >>>>> FWIW : I have a working (runtime tested with hellogl_es2 -platform > >>>>> eglfs) bbappend for meta-qt5 and eglfs platform on i.MX6. I'll try to > >>>>> send it by friday. > >>>>> > >>>>> Eric > >>>> Hi Eric, Otavio, > >>>> > >>>> at this point I'm convinced I need QT 5 for the project I'm working on, > >>>> it delivers far better performance for QML (according to various > >>>> internet sources). > >>>> > >>>> I'm still very much interested in testing your QT5 patches/bbappends, > >>>> to see if I can achieve decent performance on the IMX6S. > >>>> > >>> patches sent this night, please check the ML > >>> > >>> Eric > >> Hi Eric, Otavio, > >> I'm afraid I need a little more help.... > >> I'm quite new to yocto and as a result I find it difficult to get results. > >> > >> what I've done so far: > >> > >> I set-up the fsl-community-bsp-base > >> <https://github.com/Freescale/fsl-community-bsp-base> repo for my > >> wandboard-solo. > >> I added the meta-qt5 layer from the github repository (and adjusted my > >> bblayers.conf). > >> I applied the patch of Vol 77 of the ML on meta-fsl-arm. > >> I modified a core-image-minimal recepe to build qtbase qtbase-tools and > >> qtbase-plugins. > >> > >> when I build this image, the build proceeds fine, however the resulting > >> image contains version 5.0.1 of QT for opengl Desktop (!?) > >> (according to the do_configure logfile for qtbase) > >> > >> In volume 78 of the ML, Eric mentions "cherry-pick e7a477a" > >> I 'm afraid don't know how. I tried 'git cherry-pick e7a477a' on the > >> meta-qt5 repo, but this results in: > >> fatal: ambiguous argument 'e7a477a': unknown revision or path not in the > >> working tree. > >> > >> According to the same mail I also should apply the patches from > >> http://lists.openembedded.org/pipermail/openembedded-devel/2013-May/090861.html > >> ? > >> Then, after setting QT version 5.0.2 in conf/distro/include/qt5-versions.inc > >> I should be able to build a eglfs supporting version of qt5? > >> > >> If I get the last part right, the only thing I need help with is the > >> cherry-picking part... > >> > > try getting in meta-qt5 the branch > > origin/newer-versions > > > > Eric > OK, I switched to the origin/newer-versions branch for QT5. > now building fails on missing binaries (vivante?): > make[3]: Leaving directory > `/home/jenkins/git/fsl/build3/tmp/work/wandboard_solo-poky-linux-gnueabi/qtbase/5.0.2-r1.0/build/src/plugins/generic' > .obj/release-shared/qeglfshooks_imx6.o: In function > `QEglFSImx6Hooks::destroyNativeWindow(_FBWindow*)': > /home/jenkins/git/fsl/build3/tmp/work/wandboard_solo-poky-linux-gnueabi/qtbase/5.0.2-r1.0/qtbase-opensource-src-5.0.2/mkspecs/linux-oe-g++/qeglfshooks_imx6.cpp:86: > undefined reference to `fbDestroyWindow' > .obj/release-shared/qeglfshooks_imx6.o: In function > `QEglFSImx6Hooks::createNativeWindow(QSize const&, QSurfaceFormat const&)': > /home/jenkins/git/fsl/build3/tmp/work/wandboard_solo-poky-linux-gnueabi/qtbase/5.0.2-r1.0/qtbase-opensource-src-5.0.2/mkspecs/linux-oe-g++/qeglfshooks_imx6.cpp:79: > undefined reference to `fbCreateWindow' > ... > How do I get the missing libraries? ok quick dirty hack in gpu recipe : USE_X11 = "no" USE_DFB = "no" Eric ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: QT4.8 or 5.0 on wandboard-solo (I.MX6S) with OPENGL ES2 2013-05-29 15:03 ` Eric Bénard @ 2014-04-02 13:50 ` jigar chokshi 2014-04-04 9:16 ` Carlos Rafael Giani 0 siblings, 1 reply; 15+ messages in thread From: jigar chokshi @ 2014-04-02 13:50 UTC (permalink / raw) To: meta-freescale Hello Eric, i have same issue related to libraries fbCreateWindow, fbDestroywindows. as you told to remove x11 from your DISTRO_FEATURES to link against the fb one. I dont get it exactly how to do this? as you later described USE_X11 = no USE_DFB = no but i dont know where should i write this. can you tell me briefly? Thank you, Jigar Chokshi ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: QT4.8 or 5.0 on wandboard-solo (I.MX6S) with OPENGL ES2 2014-04-02 13:50 ` jigar chokshi @ 2014-04-04 9:16 ` Carlos Rafael Giani 0 siblings, 0 replies; 15+ messages in thread From: Carlos Rafael Giani @ 2014-04-04 9:16 UTC (permalink / raw) To: meta-freescale On 2014-04-02 15:50, jigar chokshi wrote: > Hello Eric, > i have same issue related to libraries fbCreateWindow, fbDestroywindows. > as you told to remove x11 from your DISTRO_FEATURES to link against the fb > one. > I dont get it exactly how to do this? as you later described USE_X11 = no > USE_DFB = no but i dont know where should i write this. > can you tell me briefly? > > Thank you, > Jigar Chokshi > > > Just add DISTRO_FEATURES_remove = "x11" to your conf/local.conf file. ^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2014-04-04 9:16 UTC | newest] Thread overview: 15+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2013-05-20 20:10 QT4.8 or 5.0 on wandboard-solo (I.MX6S) with OPENGL ES2 Bastiaan de Nooij 2013-05-20 20:30 ` Otavio Salvador 2013-05-21 18:59 ` Bastiaan de Nooij 2013-05-22 14:46 ` Bastiaan de Nooij 2013-05-22 15:02 ` Eric Bénard 2013-05-28 6:23 ` Bastiaan de Nooij 2013-05-28 7:04 ` Eric Bénard 2013-05-28 14:38 ` Bastiaan de Nooij 2013-05-28 14:56 ` Eric Bénard 2013-05-29 15:00 ` Bastiaan de Nooij 2013-05-29 15:02 ` Eric Bénard 2013-05-31 6:38 ` Bastiaan de Nooij 2013-05-29 15:03 ` Eric Bénard 2014-04-02 13:50 ` jigar chokshi 2014-04-04 9:16 ` Carlos Rafael Giani
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.