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-10-23 04:04:31 | Show all floors
Edited by magicse at 2015-10-22 22:08

glmark2-es2 and other test app (like trinagle or gears)  segfault after first frame.
After debug I found that It crash in the eglSwapBuffers() call.
Now looking for resolving this issue.
For example if run glmark2-es2 with key --off-screen Render.... it's work normal and give about 150 frames
Orange PI 2
www.orangepi.pp.ua

11

threads

286

posts

1901

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
1901
Published in 2015-10-23 08:50:52 | Show all floors
magicse replied at 2015-10-23 04:04
glmark2-es2 and other test app (like trinagle or gears)  segfault after first frame.
After debug I f ...

working and you able to see horse??

18

threads

200

posts

868

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
868
Published in 2015-10-23 14:09:14 | Show all floors
Edited by magicse at 2015-10-23 08:14
melanrz replied at 2015-10-23 02:50
working and you able to see horse??

Of course not, because its off-screen render

Orange PI 2
www.orangepi.pp.ua

11

threads

286

posts

1901

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
1901
Published in 2015-10-23 16:56:32 | Show all floors
magicse replied at 2015-10-23 14:09
Of course not, because its off-screen render

how did you compiled lib egl??Can you post the source??

18

threads

200

posts

868

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
868
Published in 2015-10-23 17:06:27 | Show all floors
melanrz replied at 2015-10-23 10:56
how did you compiled lib egl??Can you post the source??

LibEGL its only protietry blobs (MaliLib.so) from Allwinner.

Orange PI 2
www.orangepi.pp.ua

18

threads

200

posts

868

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
868
Published in 2015-10-23 18:20:52 | Show all floors
melanrz replied at 2015-10-23 10:56
how did you compiled lib egl??Can you post the source??

Could you help me with little test?
1 In script.fex file section [disp_init] add fb0_framebuffer_num      = 3
2 mv /usr/share/X11/xorg.conf.d/99-sunxifb.conf /home
3 reboot
4 run glmark2-es2

Orange PI 2
www.orangepi.pp.ua

11

threads

286

posts

1901

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
1901
Published in 2015-10-23 18:41:30 | Show all floors
magicse replied at 2015-10-23 18:20
Could you help me with little test?
1 In script.fex file section [disp_init] add fb0_framebuffer_nu ...

same error,i have on fex memory alocation = 3.Now i try android driver on linux but will take all day for build android so we update later.

11

threads

286

posts

1901

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
1901
Published in 2015-10-23 18:56:56 | Show all floors
Edited by melanrz at 2015-10-23 19:01

Maybe tomorrow,if you want try use this link

http://linux-rockchip.info/mw/index.php?title=LibHybris

libhybris from ubuntu repository working,when i put system (android but no pathed ,must build) on root linux file system getting lib from there.So no need to be compiled,only android build and path with this file.

This thread contains more resources

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

x

11

threads

286

posts

1901

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
1901
Published in 2015-10-23 19:02:17 | Show all floors
For me this is last what we can do it ,after this need support from mali.

18

threads

200

posts

868

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
868
Published in 2015-10-26 20:44:31 | Show all floors
For testing use xf86-video-fbturbo driver, because native mali driver xf86-video-mali crashed with error
[ 14.097] (EE) MALI(0): [maliModifyPixmapHeader:184] Error: GET_UMP_SECURE_ID_BUF1 returned 0xffffffff offset: 0 virt addre

ss: 0xb63c6000 fb_virt: 0xb63c6000


[ 14.097] (EE) MALI(0): [maliModifyPixmapHeader:196] Error: UMP failed to retrieve secure id
[ 14.097] (II) MALI(0): Setting screen physical size to 190 x 152
[ 14.097] (II) MALI(0): fbdev_crtc_config_resize: width = 720 height = 576


[ 14.097] (EE)
[ 14.097] (EE) Backtrace:
[ 14.097] (EE)
[ 14.097] (EE) Segmentation fault at address 0x20

due to the fact that the ump support is not implemented in the kernel.
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