please choosego to mobile | Continue to access the PC version
Author: gaara

Mali GPU driver

[Copy link]

18

threads

200

posts

868

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
868
Published in 2015-9-20 00:45:44 | Show all floors
xandey replied at 2015-9-19 17:46
I was able to get r3p2-01rel2 working with out x11.

I compiled the r3p2-01rel2 ump and mali kernel  ...

Which compiler You used ? Which OS image and where are you get symver.modules and .config?
Orange PI 2
www.orangepi.pp.ua

0

threads

4

posts

86

credits

Registered member

Rank: 2

credits
86
Published in 2015-9-20 04:05:03 | Show all floors
My original testing was done with pretty much what loboris is using (compiler and sdk from h3-lychee-1.0 sdk), but I used the config from: http://moinejf.free.fr/opi2/ I think I applied the patch from there too.

I'm now using an hf compiler now though. I'm not sure why they don't use the hf compiler in the sdk.

I did this using the ubuntu minimal from loboris just copying the moduels and kernel from the above.

symver modules comes from the kernel compilation I think (I compiled my own kernel).

0

threads

4

posts

86

credits

Registered member

Rank: 2

credits
86
Published in 2015-9-20 04:15:15 | Show all floors
Oh, i also had to add these lines to my .fex file

[mali_para]
mali_used = 1
mali_clkdiv = 1
mali_extreme_freq = 600
mali_extreme_vol = 1400

0

threads

10

posts

246

credits

Intermediate member

Rank: 3Rank: 3

credits
246
Published in 2015-9-20 15:48:45 from mobile | Show all floors
Edited by chillman90 at 2015-9-20 16:07

Hey xandey!

Congratulations to your success!
As I'm not a developer: Is what you compiled the whole driver? If so, did you test it and where do you see improvements?
I'm aiming to build a retro-console on the Orange Pi PC and want to use emulationstation for emulators like the Gameboy Classic up to N64. Do you think, this will work with your driver or can you imagine what has still to be done?

@loboris:
Will you test this and possibly integrate it into your images?

Friendly greetings

Chillman90

0

threads

4

posts

86

credits

Registered member

Rank: 2

credits
86
Published in 2015-9-20 20:50:22 from mobile | Show all floors
Edited by xandey at 2015-9-20 21:07

Chillman,
You will probably need the x11 driver for this. This is only the framebuffer driver. Loboris or Steven may know more about that than me. It seems that the start of this post showed rendering inside x11.

Also, I'm not sure how many console emulators use GLES as opposed to OpenGL, but that may be another stumbling block.

0

threads

10

posts

246

credits

Intermediate member

Rank: 3Rank: 3

credits
246
Published in 2015-9-22 17:09:52 | Show all floors
xandey replied at 2015-9-20 20:50
Chillman,
You will probably need the x11 driver for this. This is only the framebuffer driver. Lobo ...

Thank you for your answer, xandey,

maybe Steven or Loboris will read this and answer so I guess at the moment I just have to wait.

Thanks again and have a nice day!

10

threads

448

posts

4679

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4679
Published in 2015-9-22 20:56:27 | Show all floors
chillman90 replied at 2015-9-22 10:09
Thank you for your answer, xandey,

maybe Steven or Loboris will read this and answer so I guess at ...

Sorry, but I'm no expert in video&gpu drivers, I don't have any need for video and graphics acceleration on this kind of boards.
I'll try to do something about mali drivers when I'll have some more free time (hoping someone else will do it before me) ...

0

threads

6

posts

210

credits

Intermediate member

Rank: 3Rank: 3

credits
210
Published in 2015-9-25 17:37:44 | Show all floors
@stevenzhao, any news of the GPU drivers ???
The OPi Plus performs well in non graphical applications, but applications that require GPU performance drops a lot. waiting anxiously for news. Thank you.

4

threads

52

posts

284

credits

Intermediate member

Rank: 3Rank: 3

credits
284
Published in 2015-9-26 21:57:34 | Show all floors
A lot of people are waiting for the Mali Drivers. Don't expect too much, but it definitely speeds up the desktop. I do have another A20 based board with a Mali400 (pcduino3 nano) where the Mali400 actually works under Linux. So it is possible!. I have tried dozens compile-actions, but for some reason it always fails.

Sadly nobody currently is actually working on it to my knowledge, so we have to keep on stalking Steven....

18

threads

200

posts

868

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
868
Published in 2015-9-27 20:53:10 | Show all floors
Edited by magicse at 2015-9-28 09:21
makama80 replied at 2015-9-26 15:57
A lot of people are waiting for the Mali Drivers. Don't expect too much, but it definitely speeds up ...

Worked Mali modules r4p0 for Lubuntu 1404 0.9.0
Dont forget unpack lib_mali_r4p0.tar.gz in /usr/lib and folder "include" in usr/include
In script.fex add next :

[mali_para]
mali_used = 1
mali_clkdiv = 1
mali_extreme_freq = 600
mali_extreme_vol = 1400


In file /etc/modules add records for ump and mali modules.

This thread contains more resources

You need to Log in to download or view,No account?    Register

x
Orange PI 2
www.orangepi.pp.ua
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list