PINE64

Full Version: GPU support?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I'm using longsleep's latest kernel (as of 5/22), and wondering how I can check if SDL and/or SFML are using the GPU.
I'm drawing three 300x300 sprites, and rotating 2 of them.

This takes 94% of the CPU, and only updates around 1 fps.
I've tried both SDL and SFML, with similar results.
If the GPU were being utilized, I'd think the performance would be much better.

One clue I've found is that SFML complains that "setting vertical sync" is not supported.

Any ideas on:
- how I can check if the GPU is being used?
- how to enable if it's not?

Thanks for your support
(05-23-2016, 06:33 AM)adamw Wrote: [ -> ]I'm using longsleep's latest kernel (as of 5/22), and wondering how I can check if SDL and/or SFML are using the GPU.
I'm drawing three 300x300 sprites, and rotating 2 of them.

This takes 94% of the CPU, and only updates around 1 fps.
I've tried both SDL and SFML, with similar results.
If the GPU were being utilized, I'd think the performance would be much better.

One clue I've found is that SFML complains that "setting vertical sync" is not supported.

Any ideas on:
- how I can check if the GPU is being used?
- how to enable if it's not?

Thanks for your support

No mali binaries so probably no support.
the only way to get the required 2d/3d acceleration is to wait for the binaries or to use libhybris and utilize the android drivers (which is twitchy to say the least)
Understood.
Does anyone know if getting those binaries is in the plan, or are we waiting in vain?
Anyone try http://limadriver.org/?

Man...I really hate to have to switch to a Pi 3, but this could be a show stopper for me.
(05-23-2016, 07:48 AM)adamw Wrote: [ -> ]Understood.
Does anyone know if getting those binaries is in the plan, or are we waiting in vain?
Anyone try http://limadriver.org/?

Man...I really hate to have to switch to a Pi 3, but this could be a show stopper for me.

I am currently working with Allwinner on the 64-bit Mali-400 driver and collaborating with Lenny on his build. Hopefully, there will be some results in 2-3 weeks time. Please note that this is the first 64 bit Mali-400 driver and not available from limadriver.org.
Thanks, TL...please keep us posted.
I have a LOT of other development that can keep me busy for 2-3 weeks :-)
(05-23-2016, 11:17 AM)adamw Wrote: [ -> ]Thanks, TL...please keep us posted.
I have a LOT of other development that can keep me busy for 2-3 weeks :-)

Please noted that this is a new collaboration, hopefully we will get good result but still some fail risk.
(05-23-2016, 12:52 PM)tllim Wrote: [ -> ]
(05-23-2016, 11:17 AM)adamw Wrote: [ -> ]Thanks, TL...please keep us posted.
I have a LOT of other development that can keep me busy for 2-3 weeks :-)

Please noted that this is a new collaboration, hopefully we will get good result but still some fail risk.

Fingers crossed, I think a large number of projects are waiting for 2d/3d acceleration
(05-24-2016, 12:38 AM)frewind Wrote: [ -> ]
(05-23-2016, 12:52 PM)tllim Wrote: [ -> ]
(05-23-2016, 11:17 AM)adamw Wrote: [ -> ]Thanks, TL...please keep us posted.
I have a LOT of other development that can keep me busy for 2-3 weeks :-)

Please noted that this is a new collaboration, hopefully we will get good result but still some fail risk.

Fingers crossed, I think a large number of projects are waiting for 2d/3d acceleration

There may be some developments in this area in the not too distant future.
It's essential that we have 2D/3D acceleration in linux, it'll open a lot of possibilites related to media and desktop use on Pine.
Pages: 1 2