Re: [meta-freescale] Chromium acceleration

2014-12-01 Thread Becue Paul
Hello I am working on a device with an iMX6 Solo processor for making a kind of web-kiosk with touch interface on Yocto. To learn Yocto I bought your book a month ago. It helped me a lot. Not too long and to the point. Thank you for it. I am building it with Yocto Linux - X11 - chromium.I added

Re: [meta-freescale] Chromium acceleration

2014-12-01 Thread Daiane Angolini
On Thu, Nov 27, 2014 at 8:14 AM, Becue Paul p.be...@televic.com wrote: Hello I am working on a device with an iMX6 Solo processor for making a kind of web-kiosk with touch interface on Yocto. To learn Yocto I bought your book a month ago. It helped me a lot. Not too long and to the point.

Re: [meta-freescale] Chromium acceleration

2014-12-01 Thread Otavio Salvador
On Mon, Dec 1, 2014 at 12:34 PM, Daiane Angolini daiane.l...@gmail.com wrote: On Thu, Nov 27, 2014 at 8:14 AM, Becue Paul p.be...@televic.com wrote: I am working on a device with an iMX6 Solo processor for making a kind of web-kiosk with touch interface on Yocto. To learn Yocto I bought your

[meta-freescale] Chromium acceleration on fsl-yocto-3.10.31-1.1.0_beta BSP?

2014-09-22 Thread Gerard Bucas
and how do we learn more about it? Thanks! Gerard Bucas TekMagic --- Lauren Post Lauren.Post at freescale.com Thu Mar 20 05:47:33 PDT 2014 . Previous message: [meta-freescale] Chromium acceleration . Next message: [meta-freescale] Chromium

Re: [meta-freescale] Chromium acceleration

2014-04-04 Thread Boszormenyi Zoltan
2014-04-02 14:28 keltezéssel, Carlos Rafael Giani írta: On 2014-04-02 14:02, Christian Betz wrote: The VPU part could be because of missing firmware. Check if the vpu files are present in /lib/firmware. As for MP4, this is a known problem. You are building Chromium, not

Re: [meta-freescale] Chromium acceleration

2014-04-02 Thread Carlos Rafael Giani
Keep in mind what I wrote. This version of VPU acceleration is very basic (it will copy frames with the CPU), and fulfilled the customer's immediate needs back then, but can be done much better. I am currently looking into a better approach. On 2014-04-01 21:22, Eric Nelson wrote: Thanks

Re: [meta-freescale] Chromium acceleration

2014-04-02 Thread Carlos Rafael Giani
On 2014-04-02 12:21, Boszormenyi Zoltan wrote: Hi, 2014-04-01 21:22 keltezéssel, Eric Nelson írta: Mahyar updated these patches to apply against the chromium-35.0.1883.0 build currently in meta-browser. Additional notes to follow, but this appears to achieve HTML5 video against Webm/Ogg

Re: [meta-freescale] Chromium acceleration

2014-04-02 Thread Gary Thomas
On 2014-04-02 04:21, Carlos Rafael Giani wrote: Keep in mind what I wrote. This version of VPU acceleration is very basic (it will copy frames with the CPU), and fulfilled the customer's immediate needs back then, but can be done much better. I am currently looking into a better approach.

Re: [meta-freescale] Chromium acceleration

2014-04-02 Thread Carlos Rafael Giani
On 2014-04-02 12:28, Gary Thomas wrote: On 2014-04-02 04:21, Carlos Rafael Giani wrote: Keep in mind what I wrote. This version of VPU acceleration is very basic (it will copy frames with the CPU), and fulfilled the customer's immediate needs back then, but can be done much better. I am

Re: [meta-freescale] Chromium acceleration

2014-04-02 Thread Boszormenyi Zoltan
2014-04-02 12:23 keltezéssel, Carlos Rafael Giani írta: On 2014-04-02 12:21, Boszormenyi Zoltan wrote: Hi, 2014-04-01 21:22 keltezéssel, Eric Nelson írta: Mahyar updated these patches to apply against the chromium-35.0.1883.0 build currently in meta-browser. Additional notes to follow, but

Re: [meta-freescale] Chromium acceleration

2014-04-02 Thread Christian Betz
The VPU part could be because of missing firmware. Check if the vpu files are present in /lib/firmware. As for MP4, this is a known problem. You are building Chromium, not Chrome. MP4 support is part of the restricted feature set, which is included in Chrome but not Chromium. Try a WebM

Re: [meta-freescale] Chromium acceleration

2014-04-02 Thread Eric Nelson
Hi Zoltan, On 04/02/2014 03:29 AM, Boszormenyi Zoltan wrote: Hi, 2014-04-01 21:22 keltezéssel, Eric Nelson írta: Mahyar updated these patches to apply against the chromium-35.0.1883.0 build currently in meta-browser. Additional notes to follow, but this appears to achieve HTML5 video

Re: [meta-freescale] Chromium acceleration

2014-04-01 Thread Eric Nelson
Thanks again Carlos, On 03/20/2014 04:19 PM, Carlos Rafael Giani wrote: snip Back then we needed some hw decoding quickly, so we did not look further into this, since we had spent a lot of time getting the 2D acceleration stable already. I could only briefly look at the exynos accelerator

Re: [meta-freescale] Chromium acceleration

2014-03-25 Thread zboszor
Hi, how can I add the meta-browser tree to the set of recipes? I did: $ cd fsl-community-bsp/sources $ git clone https://github.com/OSSystems/meta-browser.git $ cd .. $ . ./setup-environment build-master-next/ $ bitbake chromium Loading cache: 100%

Re: [meta-freescale] Chromium acceleration

2014-03-25 Thread Eric Bénard
Hi Zoltán, Le Tue, 25 Mar 2014 10:32:22 +0100, zbos...@pr.hu a écrit : Hi, how can I add the meta-browser tree to the set of recipes? I did: $ cd fsl-community-bsp/sources $ git clone https://github.com/OSSystems/meta-browser.git $ cd .. $ . ./setup-environment build-master-next/ $

Re: [meta-freescale] Chromium acceleration

2014-03-25 Thread Marco Trillo
Hi, On 03/25/2014 10:32 AM, zbos...@pr.hu wrote: Hi, how can I add the meta-browser tree to the set of recipes? I did: $ cd fsl-community-bsp/sources $ git clone https://github.com/OSSystems/meta-browser.git $ cd .. $ . ./setup-environment build-master-next/ $ bitbake chromium Loading cache:

Re: [meta-freescale] Chromium acceleration

2014-03-25 Thread Boszormenyi Zoltan
2014-03-25 10:46 keltezéssel, Marco Trillo írta: Hi, On 03/25/2014 10:32 AM, zbos...@pr.hu wrote: Hi, how can I add the meta-browser tree to the set of recipes? I did: $ cd fsl-community-bsp/sources $ git clone https://github.com/OSSystems/meta-browser.git $ cd .. $ . ./setup-environment

Re: [meta-freescale] Chromium acceleration

2014-03-21 Thread Diego
Otavio Salvador wrote: Eric Nelson wrote: A simplistic test shows that it's really straightforward to add both Chromium and Firefox into fsl-image-gui by pulling in meta-browser. The biggest problem adding more stuff is maintenance. This increases build time and tests needed for a good

Re: [meta-freescale] Chromium acceleration

2014-03-20 Thread Carlos Rafael Giani
Hi Eric and Christian, I wanted to avoid _any_ copy involving the CPU, including any texture upload. The Vivante GLES direct texture extension can color-convert, yes, but it can also read pixels directly from a DMA buffer, without any copy. This is what I use for the GLES-based sink in my

Re: [meta-freescale] Chromium acceleration

2014-03-20 Thread Otavio Salvador
On Thu, Mar 20, 2014 at 5:30 AM, Carlos Rafael Giani d...@pseudoterminal.org wrote: Hi Eric and Christian, I wanted to avoid _any_ copy involving the CPU, including any texture upload. The Vivante GLES direct texture extension can color-convert, yes, but it can also read pixels directly from

Re: [meta-freescale] Chromium acceleration

2014-03-20 Thread Lauren Post
My original statement about acceleration was for webGL in the browser. ffmpeg-mt is not hardware accelerated with the VPU although it is possible to update it to integrate with VPU. As other emails have mentioned removing data movement and the CSC conversion is the key to improving

Re: [meta-freescale] Chromium acceleration

2014-03-20 Thread Christian Betz
As for the decoder itself: I implemented it in the Chromium media framework, in media/ . I simply took the vpx decoder code, copied it, and modified it to use the VPU. I had VP8, MPEG2, MPEG4, and h264 decoding working. It wasnt much code, but unfortunately, the interfaces tend to change

Re: [meta-freescale] Chromium acceleration

2014-03-20 Thread Eric Nelson
Thanks Lauren, On 03/20/2014 05:47 AM, Lauren Post wrote: My original statement about acceleration was for webGL in the browser. Are you working in the context of OSSystems/meta-browser (i.e. Otavio's push of Chromium 35)? -- ___ meta-freescale

Re: [meta-freescale] Chromium acceleration

2014-03-20 Thread Lauren Post
Yes we are using that version for our chromium. -Original Message- From: Eric Nelson [mailto:eric.nel...@boundarydevices.com] Sent: Thursday, March 20, 2014 9:25 AM To: Post Lauren-RAA013; meta-freescale@yoctoproject.org Subject: Re: Chromium acceleration Thanks Lauren, On 03/20/2014

Re: [meta-freescale] Chromium acceleration

2014-03-20 Thread Eric Nelson
Thanks Otavio, On 03/20/2014 05:22 AM, Otavio Salvador wrote: On Thu, Mar 20, 2014 at 5:30 AM, Carlos Rafael Giani d...@pseudoterminal.org wrote: Hi Eric and Christian, snip As for the decoder itself: I implemented it in the Chromium media framework, in media/ . I simply took the vpx

Re: [meta-freescale] Chromium acceleration

2014-03-20 Thread Otavio Salvador
On Thu, Mar 20, 2014 at 11:29 AM, Eric Nelson eric.nel...@boundarydevices.com wrote: Thanks Otavio, On 03/20/2014 05:22 AM, Otavio Salvador wrote: On Thu, Mar 20, 2014 at 5:30 AM, Carlos Rafael Giani d...@pseudoterminal.org wrote: Hi Eric and Christian, snip As for the decoder

Re: [meta-freescale] Chromium acceleration

2014-03-20 Thread Otavio Salvador
On Thu, Mar 20, 2014 at 11:07 AM, Christian Betz christian.b...@gmail.com wrote: \m/ bear on mind I pushed Chromium 35 in meta-browser ;-) this is great news. with any luck we'll let you know how it builds and works for us sometime next week. thank you! i assume you got it built

Re: [meta-freescale] Chromium acceleration

2014-03-20 Thread Carlos Rafael Giani
On 2014-03-20 14:46, Christian Betz wrote: As for the decoder itself: I implemented it in the Chromium media framework, in media/ . I simply took the vpx decoder code, copied it, and modified it to use the VPU. I had VP8, MPEG2, MPEG4, and h264 decoding working. It wasnt much

[meta-freescale] Chromium acceleration

2014-03-19 Thread Eric Nelson
Hi Lauren, A while back, you mentioned that 3.10.17-ga would help provide support for Chromium acceleration but didn't provide details. Did you mean WebGL support (i.e. GPU acceleration), or video acceleration (VPU support)? My understanding is that Chromium is using ffmpeg-mt as the basis for

Re: [meta-freescale] Chromium acceleration

2014-03-19 Thread Carlos Rafael Giani
Hello, I wrote a patch for VPU acceleration in Chromium months ago for a company project. I got the OK from the customer to cleanup and eventually opensource the patches, but didn't have the time yet. Together with other colleagues we also got HW-accelerated WebGL to work, though some other

Re: [meta-freescale] Chromium acceleration

2014-03-19 Thread Eric Nelson
Hi Carlos, On 03/19/2014 02:00 PM, Carlos Rafael Giani wrote: Hello, I wrote a patch for VPU acceleration in Chromium months ago for a company project. I got the OK from the customer to cleanup and eventually opensource the patches, but didn't have the time yet. You're the man! What can we

Re: [meta-freescale] Chromium acceleration

2014-03-19 Thread Christian Betz
The Vivante libraries can map the physical buffers produced by the VPU directly, so they could do format conversion on their way to the graphics stack if the Chromium bindings have access to that (the single copy I referred to above). in my experience zero-copy really means zero memcpy()

Re: [meta-freescale] Chromium acceleration

2014-03-19 Thread Eric Nelson
Thanks Christian, On 03/19/2014 06:29 PM, Christian Betz wrote: The Vivante libraries can map the physical buffers produced by the VPU directly, so they could do format conversion on their way to the graphics stack if the Chromium bindings have access to that (the single copy I