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]

2

Threads

21

Posts

86

Credits

Registered member

Rank: 2

Credits
86
Post time 2015-11-21 23:50:37 | Show all posts
magicse replied at 2015-11-21 16:31
This error is 100% due to the fact that the driver does not find [mali_param] in script.bin! So ag ...

Indeed, in my case I discovered that the issue was caused by using glmark2-es2 as root.
No problem occurred as soon as I run it as normal user.
Good to know!

2

Threads

21

Posts

86

Credits

Registered member

Rank: 2

Credits
86
Post time 2015-11-21 23:59:23 | Show all posts
I finally succeeded to enable 2D/3D hw accel. following your suggestion: thank you all guys (glmark2-es2 run ok).Nevertheless, looking at /var/log/Xorg.0.log I realized G2D accel. is not enabled.
If I remember right, I read somewhere that this is normal in H3 board since g2d driver is not supported.
Somebody can confirm that, please ?
I finally succeeded to enable 2D/3D hw accel. following your suggestion: thank you all guys (glmark2-es2 run ok).Nevertheless, looking at /var/log/Xorg.0.log I realized G2D accel. is not enabled.
If I remember right, I read somewhere that this is normal in H3 board since g2d driver is not supported.
Somebody can confirm that, please ?
[    20.116] (II) FBTURBO(0): can't load 'g2d_23' kernel module
[    20.116] (II) FBTURBO(0): failed to enable the use of sunxi display controller
[    20.116] (II) FBTURBO(0): No sunxi-g2d hardware detected (check /dev/disp and /dev/g2d)
[    20.116] (II) FBTURBO(0): G2D hardware acceleration can't be enabled

18

Threads

200

Posts

841

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
841
Post time 2015-11-22 05:48:08 | Show all posts
barban replied at 2015-11-21 17:59
I finally succeeded to enable 2D/3D hw accel. following your suggestion: thank you all guys (glmark2 ...

Yes you are right

Orange PI 2
www.orangepi.pp.ua

18

Threads

303

Posts

7954

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
7954
Post time 2015-11-24 12:06:06 | Show all posts

Is this normal? Using Debian mali used 0.
  1. orangepi@OrangePI:~/glmark2-2011.09$ lsmod
  2. Module                  Size  Used by
  3. btusb                  10324  0
  4. 8189es                901572  0
  5. mali_drm                6634  1
  6. drm                   180399  2 mali_drm
  7. mali                  213192  0
  8. ump                    41069  3 mali
Copy the Code

glmark2 score 98 720P.
  1. orangepi@OrangePI:~/glmark2-2011.09$ glmark2-es2
  2. =======================================================
  3.     glmark2 2011.09
  4. =======================================================
  5.     OpenGL Information
  6.     GL_VENDOR:     ARM
  7.     GL_RENDERER:   Mali-400 MP
  8.     GL_VERSION:    OpenGL ES 2.0
  9. =======================================================
  10. [build] use-vbo=false:  FPS: 111
  11. [build] use-vbo=true:  FPS: 124
  12. [texture] texture-filter=nearest:  FPS: 135
  13. [texture] texture-filter=linear:  FPS: 133
  14. [texture] texture-filter=mipmap:  FPS: 141
  15. [shading] shading=gouraud:  FPS: 109
  16. [shading] shading=blinn-phong-inf:  FPS: 110
  17. [shading] shading=phong:  FPS: 91
  18. [bump] bump-render=high-poly:  FPS: 72
  19. [bump] bump-render=normals:  FPS: 119
  20. [effect2d] kernel=0,1,0;1,-4,1;0,1,0;:  FPS: 66
  21. [effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;:  FPS: 46
  22. [pulsar] light=false:quads=5:texture=false:  FPS: 114
  23. [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4:  FPS: 38
  24. [conditionals] fragment-steps=0:vertex-steps=0:  FPS: 114
  25. [conditionals] fragment-steps=5:vertex-steps=0:  FPS: 88
  26. [conditionals] fragment-steps=0:vertex-steps=5:  FPS: 113
  27. [function] fragment-complexity=low:fragment-steps=5:  FPS: 96
  28. [function] fragment-complexity=medium:fragment-steps=5:  FPS: 71
  29. [loop] fragment-loop=false:fragment-steps=5:vertex-steps=5:  FPS: 85
  30. [loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5:  FPS: 96
  31. [loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5:  FPS: 94
  32. =======================================================
  33.                                   glmark2 Score: 98
  34. =======================================================
Copy the Code

No mesa-egl in  /usr/lib/arm-linux-gnueabihf.

18

Threads

303

Posts

7954

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
7954
Post time 2015-11-24 12:07:11 | Show all posts
Edited by jacer at 2015-11-24 12:08

Check this tutorial for installing glmark2 on Debian.http://www.orangepi.cn/orangepib ... &extra=page%3D1

0

Threads

10

Posts

54

Credits

Registered member

Rank: 2

Credits
54
Post time 2015-11-28 17:44:25 | Show all posts
I don't get it. you provide 4 kernel modules that should work with libMali.so but they don't work with my kernel version.
so which kernel I should use in order to get these 4 modules to work?

18

Threads

200

Posts

841

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
841
Post time 2015-12-2 04:09:21 | Show all posts
Edited by magicse at 2015-12-1 22:23

Lubuntu 1404 0.9.0 with GPU mali drivers

Orange PI 2
www.orangepi.pp.ua

18

Threads

303

Posts

7954

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
7954
Post time 2015-12-2 20:55:21 | Show all posts
My new score is 109 with Lubuntu Vivid.
  1. root@OrangePI:/usr/lib# glmark2-es2
  2. =======================================================
  3.     glmark2 2011.09
  4. =======================================================
  5.     OpenGL Information
  6.     GL_VENDOR:     ARM
  7.     GL_RENDERER:   Mali-400 MP
  8.     GL_VERSION:    OpenGL ES 2.0
  9. =======================================================
  10. [build] use-vbo=false:  FPS: 114
  11. [build] use-vbo=true:  FPS: 127
  12. [texture] texture-filter=nearest:  FPS: 133
  13. [texture] texture-filter=linear:  FPS: 132
  14. [texture] texture-filter=mipmap:  FPS: 141
  15. [shading] shading=gouraud:  FPS: 109
  16. [shading] shading=blinn-phong-inf:  FPS: 110
  17. [shading] shading=phong:  FPS: 91
  18. [bump] bump-render=high-poly:  FPS: 74
  19. [bump] bump-render=normals:  FPS: 134
  20. [effect2d] kernel=0,1,0;1,-4,1;0,1,0;:  FPS: 86
  21. [effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;:  FPS: 54
  22. [pulsar] light=false:quads=5:texture=false:  FPS: 141
  23. [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4:  FPS: 45
  24. [conditionals] fragment-steps=0:vertex-steps=0:  FPS: 137
  25. [conditionals] fragment-steps=5:vertex-steps=0:  FPS: 106
  26. [conditionals] fragment-steps=0:vertex-steps=5:  FPS: 133
  27. [function] fragment-complexity=low:fragment-steps=5:  FPS: 118
  28. [function] fragment-complexity=medium:fragment-steps=5:  FPS: 92
  29. [loop] fragment-loop=false:fragment-steps=5:vertex-steps=5:  FPS: 113
  30. [loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5:  FPS: 112
  31. [loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5:  FPS: 113
  32. =======================================================
  33.                                   glmark2 Score: 109
  34. =======================================================
Copy the Code

0

Threads

3

Posts

16

Credits

Novice

Rank: 1

Credits
16
Post time 2015-12-4 01:52:35 | Show all posts
Edited by ergodyn at 2015-12-4 01:55
magicse replied at 2015-12-2 04:09
Lubuntu 1404 0.9.0 with GPU mali drivers

Does this system work with HDMI/DVI adapter? I can access orange pi PC (via ssh) but my display does't show antything :/

0

Threads

10

Posts

54

Credits

Registered member

Rank: 2

Credits
54
Post time 2015-12-4 05:04:27 | Show all posts
you need to apply a small fix to script.bin in order to get dvi working through hdmi. loboris made a collection of script.bin's that you can get on his Mega directory.
You have to log in before you can reply Login | Register

Points Rules

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

2020-7-12 17:45 GMT+8 , Processed in 0.033418 second(s), 20 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list