How to add support for OpenGL with the vivante libraries on imx6 sabrelite (boundary devices board) using Yocto?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to add support for OpenGL with the vivante libraries on imx6 sabrelite (boundary devices board) using Yocto?

Jump to solution
3,536 Views
mariorodriguez
Contributor II

Hello,

I am trying to add support for OpenGL for the imx6 sabre lite. Until now I havent being able to follow the steps needed to do this. I am using Yocto (dylan) to build my image. Do I need to change to dora?

What would be the easiest way to quickly test OpenGL on my board? Installing a full ubuntu Linaro 13.08 and then including support for the gstream? I've tried to follow the following steps:

http://boundarydevices.com/mx6-video-acceleration-raring-debian/

I am able to play the video but I get a CPU load of around 20% is that normal? or how could I test that I am actually using the GPU?

My objective is to be able to use QT4 together with OpenGL.

Thanks!

Mario

Labels (3)
0 Kudos
1 Solution
1,032 Views
EricNelson
Senior Contributor II

Thanks for your answer. Then on the Ubuntu example no GPU is used? (http://boundarydevices.com/rapping-raring/)

The GPU is used to accelerate X, and things like glmark-es2 work great on this image, but Qt4 is not accelerated.

This image is based on Jas's work, which also doesn't address Qt.

If you want Accelerated Qt, the easy button is Yocto Dora.

View solution in original post

0 Kudos
4 Replies
1,032 Views
EricNelson
Senior Contributor II

Hi Mario,

Your message mixes two completely different things: GPU (Graphics processor, used to support OpenGL), and VPU (Video Processing unit, used to support video en/decode).

There are a number of easy ways to test both OpenGL and Video processing on the SABRE Lite board.

Ubuntu:

     http://boundarydevices.com/rapping-raring/

Android:

     http://boundarydevices.com/jb-4-3-ga-mx6/

Yocto Dora release:

     http://boundarydevices.com/yocto-dora-release-mx6/


Qt4 with OpenGL on X is supported in Yocto Dora.


The 20% CPU utilization (20% of one core) is a bit higher than normal for 1080P30 video. We normally see around 15/16%, but this may differ based on the bit rate and number of audio channels.

1,032 Views
mariorodriguez
Contributor II

Hi Eric,

Thanks for your answer. Then on the Ubuntu example no GPU is used? (http://boundarydevices.com/rapping-raring/)

I found also another link to test this using the X system I think I will give it a try (Jas Hacks: I.MX6 Ubuntu 13.04 Debugging GPU Acceleration) I want to make a quick test on my Sabre lite with QT an openGL. I need to check out how do I provide the right kernel with the correct patch. Do you know where can I find more info about how to do this?

Regards,

Mario

0 Kudos
1,033 Views
EricNelson
Senior Contributor II

Thanks for your answer. Then on the Ubuntu example no GPU is used? (http://boundarydevices.com/rapping-raring/)

The GPU is used to accelerate X, and things like glmark-es2 work great on this image, but Qt4 is not accelerated.

This image is based on Jas's work, which also doesn't address Qt.

If you want Accelerated Qt, the easy button is Yocto Dora.

0 Kudos
1,032 Views
mariorodriguez
Contributor II

Hello Eric,

I download the yocto dora image from boundary devices from here:

http://boundarydevices.com/yocto-dora-release-mx6/

I download it to my sabrelite board but the Qt Open GL demos are not running... Do I have to rebuild this image with an special setup?

I will appreciate any hint...

Regards,

Mario

0 Kudos