[meta-freescale] Qt5 issue

andrea at perpic.it andrea at perpic.it
Thu Jan 29 08:18:03 PST 2015


Hello Marco,

well... I think that I already did it. 
On VGA:
If I run df_andi, or other tools that directly uses the framebuffer I
can see the graphic.
If I run Qt5 Application I can see them.

On NTSC:
If I run df_andi, or other tools that directly uses the framebuffer I
can see the graphic.
If I run Qt5 Application the screen is screwed up
If I run simple_draw app it's screwed up
If I run tiger* apps they are correctly drawed.

As you can see I think that the problem is when the app try to use some
feature like the graphic acceleration. Directfb on this hardware is
software rendered.

best regards
Andrea

Il giorno gio, 29/01/2015 alle 09.31 +0100, Marco Cavallini ha scritto:
> Hi Andrea
> I would suggest you to split the problem in two parts.
> First of all I would try to see the framebuffer running properly and
> then moving to the Qt app.
> 
> Ciao
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Marco Cavallini | KOAN sas | Bergamo - Italia
>  embedded and real-time software engineering
> Phone:+39-035-255.235 - Fax:+39-178-22.39.748
>       http://www.KoanSoftware.com
> Upcoming Yocto training: http://goo.gl/0iHGDL
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> 
> 2015-01-28 11:52 GMT+01:00  <andrea at perpic.it>:
> > Hello Marco,
> > we are from the same town :)
> >
> > I'm using Dizzy and I'm building from a Ubuntu 14.10 desktop.
> >
> > Here's the output of bitbake as requested:
> > NOTE: Started PRServer with
> > DBfile: /home/andrea/FSL/build/cache/prserv.sqlite3, IP: 127.0.0.1,
> > PORT: 40670, PID: 18257
> > WARNING: Host distribution "Ubuntu-14.10" has not been validated with
> > this version of the build system; you may possibly experience unexpected
> > failures. It is recommended that you use a tested distribution.
> > Loading cache: 100% |
> > ##############################################################################################################################################################################| ETA:  00:00:00
> > Loaded 2078 entries from dependency cache.
> > Parsing recipes: 100% |
> > ############################################################################################################################################################################| Time: 00:00:00
> > Parsing of 1618 .bb files complete (1616 cached, 2 parsed). 2079
> > targets, 207 skipped, 0 masked, 0 errors.
> > NOTE: Resolving any missing task queue dependencies
> > NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)
> > NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg
> >
> > Build Configuration:
> > BB_VERSION        = "1.24.0"
> > BUILD_SYS         = "x86_64-linux"
> > NATIVELSBSTRING   = "Ubuntu-14.10"
> > TARGET_SYS        = "arm-poky-linux-gnueabi"
> > MACHINE           = "av_imx"
> > DISTRO            = "poky"
> > DISTRO_VERSION    = "1.7.1"
> > TUNE_FEATURES     = "arm armv7a vfp neon"
> > TARGET_FPU        = "vfp-neon"
> > meta
> > meta-yocto        =
> > "(nobranch):9fc095a439c36014c73b3a8f240afba09fe0e4d7"
> > meta-oe
> > meta-multimedia   = "dizzy:200f6cafc878d4c26871fc56d21ecc8eaa9aa61b"
> > meta-fsl-arm      =
> > "(nobranch):64752fbb49b16cad881a7b4d35fef3f8315a673f"
> > meta-fsl-arm-extra =
> > "(nobranch):b32528c10caac5e85f2b5efe0e5b95322dd68ace"
> > meta-fsl-demos    =
> > "(nobranch):48cb0bcdd226d2e7eee1fdc222713e1dff93342c"
> > meta-changes      = "master:c852b025f311b18d74351f7413efce91330e03fe"
> > meta-qt5          = "dizzy:41c5daa84af4466bfc9aa61f6f772c68470a628b"
> > meta-ruby
> > meta-multimedia   = "dizzy:200f6cafc878d4c26871fc56d21ecc8eaa9aa61b"
> >
> > NOTE: Preparing runqueue
> > NOTE: Executing SetScene Tasks
> > NOTE: Executing RunQueue Tasks
> > NOTE: Tasks Summary: Attempted 3477 tasks of which 3477 didn't need to
> > be rerun and all succeeded.
> >
> > Summary: There was 1 WARNING message shown.
> >
> > meta-changes is a repo I made where there I inserted the machine av_imx,
> > it's a copy of IMX53QSB. And a kernel patch for changing u-boot env with
> > NTSC output.
> >
> > Any suggestion is apreciated
> > best regards
> > Andrea
> >
> >
> > Il giorno mar, 27/01/2015 alle 18.27 +0100, Marco Cavallini ha scritto:
> >> Hi Andrea,
> >> could you please provide more details about your build?
> >> For example which Yocto version are you using (the log msg shown
> >> launching bitbake)?
> >>
> >> Ciao
> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> Marco Cavallini | KOAN sas | Bergamo - Italia
> >>  embedded and real-time software engineering
> >> Phone:+39-035-255.235 - Fax:+39-178-22.39.748
> >>       http://www.KoanSoftware.com
> >> Upcoming Yocto training: http://goo.gl/0iHGDL
> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >>
> >> 2015-01-26 16:11 GMT+01:00  <andrea at perpic.it>:
> >> > Hello again,
> >> >
> >> > at the end I was able to correctly compile qt5. I just changed the
> >> > branch in the bb file to reflect the change in the master branch as
> >> > suggested in the topic I linked before.
> >> >
> >> > Actually I am facing the fact that usign eglfs I have a corrupted screen
> >> > on the tve module of the micro. My setup is:
> >> > NTSC framebuffer: Working, I can use df_andi and other directfb demo, I
> >> > can see the character terminal.
> >> > If I start some program like qglinfo --platform eglfs I have a corrupted
> >> > screen, the images are all wrong. If I leave enable the cursor blinking
> >> > it appear correct and I can type characters and I can see them during
> >> > the demo, so I think that just the graphic part of the buffer is screwed
> >> > up. The same happen if I use the program simple_draw.
> >> >
> >> > I made the same tests disabling the NTSC output and re-enabling the VGA
> >> > output and everything work as expected.
> >> >
> >> > Any hints on where I need to stick my hands for have the graphics
> >> > programs working at NTSC framerate and not at VGA?
> >> > Thank you for reading
> >> >
> >> > Andrea
> >> >
> >> > Il giorno ven, 23/01/2015 alle 14.45 +0100, Andrea ha scritto:
> >> >> Hello Gianluca,
> >> >>
> >> >> thank you for your reply.
> >> >> yes, I have DISTRO_FEATURES_remove = "x11 wayland" in my local.conf.
> >> >>
> >> >> I found on the freescale website some guide, all for IMX6 and I'm trying
> >> >> to get the same result on a IMX53.
> >> >> for reference like:
> >> >> https://community.freescale.com/docs/DOC-100419
> >> >> https://community.freescale.com/docs/DOC-101118
> >> >>
> >> >> the only problem is that I'm stuck with the same error reported in the
> >> >> link in my previous mail.
> >> >>
> >> >> best regards
> >> >> Andrea
> >> >>
> >> >> Il giorno ven, 23/01/2015 alle 14.20 +0100, Gianluca Cinci ha scritto:
> >> >> > Hi Andrea,
> >> >> > are you building image with X11 ?
> >> >> >
> >> >> > Have you try to disable it with :
> >> >> >
> >> >> > DISTRO_FEATURES_remove = "x11 wayland"
> >> >> >
> >> >> > in your local.conf?
> >> >> >
> >> >> > note : you can start another full compilation in another path by run (eg.)
> >> >> >
> >> >> > source ./setup-environment new-build-folder
> >> >> >
> >> >> > Best Regards
> >> >> > Gianluca
> >> >> >
> >> >> >
> >> >> > ________________________________________
> >> >> > Da: meta-freescale-bounces at yoctoproject.org <meta-freescale-bounces at yoctoproject.org> per conto di andrea at perpic.it <andrea at perpic.it>
> >> >> > Inviato: venerdì 23 gennaio 2015 14.03
> >> >> > A: meta-freescale at yoctoproject.org
> >> >> > Oggetto: [meta-freescale]  Qt5 issue
> >> >> >
> >> >> > Hello,
> >> >> > I subscribed to the list after this mail:
> >> >> > https://lists.yoctoproject.org/pipermail/meta-freescale/2015-January/012383.html
> >> >> >
> >> >> > I'm trying to accomplish the same, installing Qt5 on my board. It's a
> >> >> > IMX53QSB.
> >> >> > I have the same error, if I try to switch the meta-qt5 to master it
> >> >> > tries to compile Qt5.4 but it exits with an error while compiling
> >> >> > qtbase:
> >> >> > ...qtbase/5.4.0-r0/qtbase-opensource-src-5.4.0/src/gui/opengl/qopengltexturehelper.cpp:173:16: error: invalid conversion from 'void (*)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLenum, GLenum, const void*) {aka void (*)(unsigned int, int, unsigned int, int, int, int, unsigned int, unsigned int, const void*)}' to 'void (*)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid*) {aka void (*)(unsigned int, int, int, int, int, int, unsigned int, unsigned int, const void*)}' [-fpermissive]
> >> >> > |      TexImage2D = ::glTexImage2D;
> >> >> > |                 ^
> >> >> >
> >> >> > I don't think that putting meta-qt5 to master is a big idea but I don't
> >> >> > know how to face to the first problem. Can someone give me some hint?
> >> >> >
> >> >> > Thank you
> >> >> > Andrea
> >> >> > --
> >> >> > _______________________________________________
> >> >> > meta-freescale mailing list
> >> >> > meta-freescale at yoctoproject.org
> >> >> > https://lists.yoctoproject.org/listinfo/meta-freescale
> >> >>
> >> >
> >> > --
> >> >
> >> > Andrea Innocenti
> >> > Research & Innovation Dept.
> >> >
> >> > PER.PIC. TECHNIK KABEL s.r.l.
> >> > Via  Don Gnocchi, 11
> >> > 24030  Presezzo (BG) – ITALY
> >> > C.F.-P.IVA: IT 02032500163
> >> >
> >> > Phone: +(39) 035 461770
> >> > Fax: +(39) 035 460359
> >> > Web: www.perpic.it
> >> > Email: :andrea at perpic.it
> >> >
> >> > P Please consider the environment before printing this email.
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > _______________________________________________
> >> > meta-freescale mailing list
> >> > meta-freescale at yoctoproject.org
> >> > https://lists.yoctoproject.org/listinfo/meta-freescale
> >
> > --
> >
> > Andrea Innocenti
> > Research & Innovation Dept.
> >
> > PER.PIC. TECHNIK KABEL s.r.l.
> > Via  Don Gnocchi, 11
> > 24030  Presezzo (BG) – ITALY
> > C.F.-P.IVA: IT 02032500163
> >
> > Phone: +(39) 035 461770
> > Fax: +(39) 035 460359
> > Web: www.perpic.it
> > Email: :andrea at perpic.it
> >
> > P Please consider the environment before printing this email.
> >
> >
> >
> >
> >
> >
> >
> >

-- 

Andrea Innocenti
Research & Innovation Dept.

PER.PIC. TECHNIK KABEL s.r.l.
Via  Don Gnocchi, 11  
24030  Presezzo (BG) – ITALY
C.F.-P.IVA: IT 02032500163

Phone: +(39) 035 461770
Fax: +(39) 035 460359
Web: www.perpic.it
Email: :andrea at perpic.it

P Please consider the environment before printing this email.

 








More information about the meta-freescale mailing list