Re: [yocto] [meta-raspberrypi] gles2 on raspi3

2017-04-20 Thread Gary Thomas
On 2017-04-20 18:55, Khem Raj wrote: On Thu, Apr 20, 2017 at 12:13 AM, Trevor Woerner wrote: On Thu 2017-04-20 @ 05:41:44 AM, Herve Jourdain wrote: Yes, VC4 indeed works for both 32bits and 64bits. It was first introduced . for 32bits, actually Regarding why still using userland: at this poin

Re: [yocto] [meta-raspberrypi] gles2 on raspi3

2017-04-20 Thread Khem Raj
On Thu, Apr 20, 2017 at 12:13 AM, Trevor Woerner wrote: > On Thu 2017-04-20 @ 05:41:44 AM, Herve Jourdain wrote: >> Yes, VC4 indeed works for both 32bits and 64bits. It was first introduced . >> for 32bits, actually Regarding why still using userland: at this point in . >> time, we have accelera

Re: [yocto] [meta-raspberrypi] gles2 on raspi3

2017-04-20 Thread Andreas Müller
On Thu, Apr 20, 2017 at 1:56 PM, Herve Jourdain wrote: > Hi Trevor, > > I agree with you that VC4 is easier to work with - and can be patched if > there are issues. > But normally you lose the H.264 and MPEG2 HW decoders, and a bunch of audio > codecs, provided by the userland/omx. > Depending o

Re: [yocto] [meta-raspberrypi] gles2 on raspi3

2017-04-20 Thread Herve Jourdain
: 'Andreas Müller' ; 'Yocto Project' Subject: Re: [yocto] [meta-raspberrypi] gles2 on raspi3 On Thu 2017-04-20 @ 05:41:44 AM, Herve Jourdain wrote: > Yes, VC4 indeed works for both 32bits and 64bits. It was first introduced . > for 32bits, actually Regarding why still us

Re: [yocto] [meta-raspberrypi] gles2 on raspi3

2017-04-20 Thread Trevor Woerner
On Thu 2017-04-20 @ 05:41:44 AM, Herve Jourdain wrote: > Yes, VC4 indeed works for both 32bits and 64bits. It was first introduced . > for 32bits, actually Regarding why still using userland: at this point in . > time, we have accelerated HW codec (H.264, MPEG2, some audio) only if using. > userl

Re: [yocto] [meta-raspberrypi] gles2 on raspi3

2017-04-17 Thread Changhyeok Bae
FYI If you are using morty branch, mesa version should be upgraded to v12.0.3 for vc4 bug fix. There is some vc4 patches between v12.0.1 and v12.0.3 of mesa. Thanks Changhyeok 2017-04-17 10:11 GMT+09:00 Andreas Müller : > On Mon, Apr 17, 2017 at 2:27 AM, Trevor Woerner > wrote: > > On Mon 2017

Re: [yocto] [meta-raspberrypi] gles2 on raspi3

2017-04-16 Thread Andreas Müller
On Mon, Apr 17, 2017 at 2:27 AM, Trevor Woerner wrote: > On Mon 2017-04-17 @ 01:52:57 AM, Andreas Müller wrote: >> On Sun, Apr 16, 2017 at 1:16 AM, Trevor Woerner wrote: >> > w00T! \O/ >> > >> > Swapping out meta-raspberrypi for your meta-raspi-light works!!! I now have >> > accelerated glmark2-e

Re: [yocto] [meta-raspberrypi] gles2 on raspi3

2017-04-16 Thread Andreas Müller
On Mon, Apr 17, 2017 at 2:30 AM, Trevor Woerner wrote: > On Mon 2017-04-17 @ 01:23:25 AM, Andreas Müller wrote: >> > Thank you very much for your explanations, they really cleared up a lot of >> > stuff in my head. Already I'm 10x smarter on this stuff (which doesn't say >> > much about where I st

Re: [yocto] [meta-raspberrypi] gles2 on raspi3

2017-04-16 Thread Trevor Woerner
On Mon 2017-04-17 @ 01:23:25 AM, Andreas Müller wrote: > > I got chromium building with it (it was a simple DEPENDS) and on the image I > > just built sound is already working! > * You have chromium building (and running?). This is on my endless > TODO-list (have firefox on my image but that crashe

Re: [yocto] [meta-raspberrypi] gles2 on raspi3

2017-04-16 Thread Trevor Woerner
On Mon 2017-04-17 @ 01:23:25 AM, Andreas Müller wrote: > > Thank you very much for your explanations, they really cleared up a lot of > > stuff in my head. Already I'm 10x smarter on this stuff (which doesn't say > > much about where I started!) ;-) It was probably a good thing I spent the > > las

Re: [yocto] [meta-raspberrypi] gles2 on raspi3

2017-04-16 Thread Trevor Woerner
On Mon 2017-04-17 @ 01:52:57 AM, Andreas Müller wrote: > On Sun, Apr 16, 2017 at 1:16 AM, Trevor Woerner wrote: > > w00T! \O/ > > > > Swapping out meta-raspberrypi for your meta-raspi-light works!!! I now have > > accelerated glmark2-es2 ~40FPS :-D > 40fps for glmark-es2 (did you mean glxgears)? T

Re: [yocto] [meta-raspberrypi] gles2 on raspi3

2017-04-16 Thread Andreas Müller
On Sun, Apr 16, 2017 at 1:16 AM, Trevor Woerner wrote: > w00T! \O/ > > Swapping out meta-raspberrypi for your meta-raspi-light works!!! I now have > accelerated glmark2-es2 ~40FPS :-D 40fps for glmark-es2 (did you mean glxgears)? The total result I get for Pi3 on X11 (xfce) is ~105-117 depending o

Re: [yocto] [meta-raspberrypi] gles2 on raspi3

2017-04-16 Thread Andreas Müller
On Sun, Apr 16, 2017 at 1:16 AM, Trevor Woerner wrote: > w00T! \O/ > > Swapping out meta-raspberrypi for your meta-raspi-light works!!! I now have > accelerated glmark2-es2 ~40FPS :-D > > Now I have to figure out why... > > Also, chromium wouldn't build with meta-raspi2-light, but that's probably

Re: [yocto] [meta-raspberrypi] gles2 on raspi3

2017-04-16 Thread Trevor Woerner
On Sat 2017-04-15 @ 08:09:02 PM, Andreas Müller wrote: > You can have > accelerated X11 + wayland in one image without any trouble with proper > working modesetting (and HDMI sound is on it's way). I got chromium building with it (it was a simple DEPENDS) and on the image I just built sound is alr

Re: [yocto] [meta-raspberrypi] gles2 on raspi3

2017-04-15 Thread Trevor Woerner
w00T! \O/ Swapping out meta-raspberrypi for your meta-raspi-light works!!! I now have accelerated glmark2-es2 ~40FPS :-D Now I have to figure out why... Also, chromium wouldn't build with meta-raspi2-light, but that's probably a quick fix, GL/glx.h was missing. Adding 'MACHINE_FEATURES_append =

Re: [yocto] [meta-raspberrypi] gles2 on raspi3

2017-04-15 Thread Andreas Müller
On Sat, Apr 15, 2017 at 6:35 PM, Trevor Woerner wrote: > On Sat 2017-04-15 @ 04:46:14 PM, Andreas Müller wrote: >> > Does anyone have any of these (or something else?) working? >> > >> Ehm userland gles2 on X11? I would not expect that to work. Experts >> correct me but userland acceleration works

Re: [yocto] [meta-raspberrypi] gles2 on raspi3

2017-04-15 Thread Trevor Woerner
On Sat 2017-04-15 @ 04:46:14 PM, Andreas Müller wrote: > > Does anyone have any of these (or something else?) working? > > > Ehm userland gles2 on X11? I would not expect that to work. Experts > correct me but userland acceleration works for fullscreen apps only. I have made this work before (whic

Re: [yocto] [meta-raspberrypi] gles2 on raspi3

2017-04-15 Thread Andreas Müller
On Sat, Apr 15, 2017 at 3:39 PM, Trevor Woerner wrote: > Hi, > > I seem to have all the pieces in place, but can't get gles2 to work on the > raspberry pi. Specifically I'm using the raspberry pi 3, but the 32-bit armv7 > build. > > gles2 is provided by userland, and I've compiled up a couple gles

[yocto] [meta-raspberrypi] gles2 on raspi3

2017-04-15 Thread Trevor Woerner
Hi, I seem to have all the pieces in place, but can't get gles2 to work on the raspberry pi. Specifically I'm using the raspberry pi 3, but the 32-bit armv7 build. gles2 is provided by userland, and I've compiled up a couple gles2 programs. Compiling succeeds without issue, but running is another