Author Topic: Chromium GPU and VPU acceleration  (Read 6315 times)

albi90

  • Guest
Chromium GPU and VPU acceleration
« on: August 22, 2013, 11:02:48 pm »
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

  • Guest
Re: Chromium GPU and VPU acceleration
« Reply #1 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?

Offline patwood

  • Linux geek
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1660
  • Karma: +129/-0
    • View Profile
Re: Chromium GPU and VPU acceleration
« Reply #2 on: August 23, 2013, 11:16:17 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

  • Guest
Re: Chromium GPU and VPU acceleration
« Reply #3 on: September 01, 2013, 11:19:41 pm »
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