[oe] Antwort: Re: Antwort: Re: [meta-qt5] Building and running issues on Raspberry Pi

Stephen Arnold stephen.arnold42 at gmail.com
Fri May 30 07:18:46 UTC 2014


I haven't really played with this end of rpi graphics much, but here are a
couple of things to check.  The vc-graphics, vg-graphics-hardfp, and
userland packages are all involved in rpi graphics.  The first two conflict
with each other, and there appears to be init scripts involved.  It looks
like maybe both userland and one of the vc-graphics packages are required
and some initial load/init stuff has to happen?  That's about all I got,
please post if you get it working.  My rpi build has nice working audio but
it would be cool to have full graphics support...


On Tue, May 27, 2014 at 9:31 AM, Felix01 Fischer <felix01.fischer at iav.de>
wrote:

> openembedded-devel-bounces at lists.openembedded.org schrieb am 27.05.2014
> 14:58:27:
>
> > Von: Diego Sueiro <diego.sueiro at gmail.com>
> > An: openembedded-devel at lists.openembedded.org,
> > Kopie: openembedded-devel-bounces at lists.openembedded.org
> > Datum: 27.05.2014 15:28
> > Betreff: Re: [oe] Antwort: Re: [meta-qt5] Building and running
> > issues on Raspberry Pi
> > Gesendet von: openembedded-devel-bounces at lists.openembedded.org
> >
> > On Tue, May 27, 2014 at 9:54 AM, Felix01 Fischer
> > <felix01.fischer at iav.de>wrote:
> >
> > > First, thank you for your quick answer!
> > > Please find my comments inline.
> > >
> > >
> > > > Von: Diego Sueiro <diego.sueiro at gmail.com>
> > > > An: openembedded-devel at lists.openembedded.org,
> > > > Datum: 27.05.2014 12:41
> > > > Betreff: Re: [oe] [meta-qt5] Building and running issues on
> Raspberry Pi
> > > > Gesendet von: openembedded-devel-bounces at lists.openembedded.org
> > > >
> > > > On Tue, May 27, 2014 at 7:08 AM, Felix01 Fischer
> > > > <felix01.fischer at iav.de>wrote:
> > > >
> > > > > It's not possible to have hardware-accelerated QT on the raspberry
> pi
> > > when
> > > > > you are running an X11 environment, therefore I want to use eglfs
> > > > > directly.
> > > > >
> > > > > The raspberry pi doesn't have a mali graphics core, AFAIK.
> > > > >
> > > >
> > > > You are right. You should have to use userland package to get
> GLESv2:
> > > > http://git.yoctoproject.org/cgit.cgi/meta-raspberrypi/tree/recipes-
> > > > graphics/userland/userland_git.bb
> > > >
> > >
> > > I'm using this recipe and I think it's cooked into the image by
> default.
> > > Just to be sure I will do another image with userland added via
> local.conf
> > > I think if this would be missing I should get another error code, when
> > > trying to start a Qt Programm
> > >
> > >
> > > >
> > > > >
> > > > > Nevertheless, applying your patch gives me an error while
> compiling.
> > > > >
> > > > > "
> > > > > [...]/qeglfshooks_stub.cpp: In member function 'virtual void*
> > > > > QEglFSHooks::createNativeWindow(QPlatformWindow*, const QSize&,
> const
> > > > > QSurfaceFormat&)':
> > > > > [...]/qeglfshooks_stub.cpp:256:38: error: variable
> > > > > 'QEglFSHooks::createNativeWindow(QPlatformWindow*, const QSize&,
> const
> > > > > QSurfaceFormat&)::mali_native_window native_window' has
> initializer
> > > but
> > > > > incomplete type
> > > > >      static struct mali_native_window native_window = {
> > > > >                                       ^
> > > > > [...]/qeglfshooks_stub.cpp:261:1: warning: control reaches end of
> > > non-void
> > > > > function [-Wreturn-type]
> > > > >  }
> > > > >  ^
> > > > > make[4]: *** [.obj/qeglfshooks_stub.o] Error 1
> > > > > "
> > > > >
> > > > > Any suggestions?
> > > > >
> > > >
> > > > This patch just works for mali accelerated hardware.
> > > >
> > >
> > > I'm just desperate to get it working, I had no hope it would ;-)
> > >
> >
> > You can search for a similar struct on Rpi libGLESv2 headers.
>
>
> Till now I don't have any success.
> Reading through various forums it seems to me, that with raspbian it is
> possible to get eglfs running.
> But I haven't found any special patch or workaround they are maybe using.
> Is there somehting special bitbake or poky does I'm not aware of?
> Regards,
> Felix
>
>
>
>
> >
> >
> > Regards,
> >
> > --
> > *dS
> > Diego Sueiro
> >
> > Administrador do Embarcados
> > www.embarcados.com.br<http://www.embarcados.com.br/?
> > utm_source=assinatura_diego&utm_medium=e-
> > mail&utm_campaign=Assinatura%20Email%20Diego>
> >
> > /*long live rock 'n roll*/
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel at lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>



More information about the Openembedded-devel mailing list