GPU support?
#1
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
  Reply
#2
(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.
You can find me on IRC, Discord and Twitter


  Reply
#3
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)
If you like my work be sure to check out my site or wish to donate to the cause

Cheers Big Grin
  Reply
#4
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.
  Reply
#5
(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.
  Reply
#6
Thanks, TL...please keep us posted.
I have a LOT of other development that can keep me busy for 2-3 weeks :-)
  Reply
#7
(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.
  Reply
#8
(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
  Reply
#9
(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.
You can find me on IRC, Discord and Twitter


  Reply
#10
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.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Ubuntu Xenial - Firefox add support for H264 and EAC3 klode 1 4,700 05-26-2017, 11:10 AM
Last Post: Gnx
  How to add support to strongSwan IPsec kingsing2 6 9,113 05-18-2017, 11:27 AM
Last Post: kingsing2

Forum Jump:


Users browsing this thread: 1 Guest(s)