Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
Author: gaara

Mali GPU driver

[Copy link]

18

Threads

200

Posts

838

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
838
Post time 2015-9-20 00:45:44 | Show all posts
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
Post time 2015-9-20 04:05:03 | Show all posts
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
Post time 2015-9-20 04:15:15 | Show all posts
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

226

Credits

Intermediate member

Rank: 3Rank: 3

Credits
226
Post time 2015-9-20 15:48:45 From the mobile phone | Show all posts
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
Post time 2015-9-20 20:50:22 From the mobile phone | Show all posts
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

226

Credits

Intermediate member

Rank: 3Rank: 3

Credits
226
Post time 2015-9-22 17:09:52 | Show all posts
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

3837

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
3837
Post time 2015-9-22 20:56:27 | Show all posts
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
Post time 2015-9-25 17:37:44 | Show all posts
@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
Post time 2015-9-26 21:57:34 | Show all posts
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

838

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
838
Post time 2015-9-27 20:53:10 | Show all posts
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 post contains more resources

You have to Login for download or view attachment(s). No Account? Register

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

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2019-8-18 09:42 GMT+8 , Processed in 0.029339 second(s), 20 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list