November 24, 2020, 09:17:46 pm

News:

Have you visited the Allwinner Chipset wiki? - http://linux-sunxi.org/


Chromium GPU and VPU acceleration

Started by albi90, August 22, 2013, 11:02:48 pm

Previous topic - Next topic

albi90

Hi Guys

I have a project im trying to port to the cubie, it uses node-webkit which is build from the chromium source but i cant seem to get any video or GPU acceleration working.  Has anyone been able to get chromium to use hardware acceleration on the cubieboard i would have thought it would just work with the Mali drivers and CedarX installed.

Thanks
Jaason

albi90

I Have got GPU acceleration working in chromium by enabling it in chrome://flags but i still cant get it to utilize the VPU while processing video is this even possible?

patwood

Quote from: albi90 on August 23, 2013, 08:24:09 am
I Have got GPU acceleration working in chromium by enabling it in chrome://flags but i still cant get it to utilize the VPU while processing video is this even possible?

Probably not.  GPU acceleration works because the Mali drivers support OpenGL ES 2.0, which is what WebGL is based on: http://www.khronos.org/webgl; however, VPU acceleration on Allwinner chips is done via custom hardware with a custom SW driver called CedarX.  This prevents it from being used in browsers or pretty much any X application: http://linux-sunxi.org/CedarX#Disadvantages_Allwinner.27s_CedarX_technology_and_libraries.

albi90

Thanks Pat

Further testing on chromium leads me to believe its not really hardware accelerated, i cant run even the simplest of CSS animations, so sad that such an awesome device has such poor driver support.

Thanks