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

Mali GPU driver

[Copy link]

2

threads

11

posts

188

credits

Registered member

Rank: 2

credits
188
Published in 2015-10-1 04:11:04 | Show all floors
magicse replied at 2015-10-1 01:13
I have it on google drive but for Orange Pi 2
Download with jdownloader work on Baidu or ask users  ...

If you want you can download it from my mega (I reuploaded it also copied loboris versions), but keep in mind this is the version for Orange PI 2.https://mega.nz/#F!nVFnlKgY!oLFUjRrff2_bYRs53_vCdg

Also he is right I had the same problem, couldn't download anything from Baidu, but then I tried using JDownloader and worked pretty good.

4

threads

52

posts

284

credits

Intermediate member

Rank: 3Rank: 3

credits
284
Published in 2015-10-1 15:13:38 | Show all floors
Edited by makama80 at 2015-10-1 15:16

Thank you, but sadly this is not the version I am looking for. I went wrong with downloading the 0.8.0 version from google, while the orange pi site reports 0.9.0. Jdownloader is running now to try to download 0.9.0 from Baidu for the OPI+.

I will drop Steven a message to correct the Google version. I hope to be able to check the Mali drivers next week. Maybe I will publish the image / provide it to orange pi itself. It will definitely contribute to the popularity of the H3 board(s).


11

threads

286

posts

1901

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
1901
Published in 2015-10-1 18:30:40 | Show all floors
This driver doesn't work because is for x11,ans xserver after start crash on orangepi.

4

threads

52

posts

284

credits

Intermediate member

Rank: 3Rank: 3

credits
284
Published in 2015-10-1 18:35:19 | Show all floors
Can you please let us now what board you mean? A20 or H3 based?

11

threads

286

posts

1901

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
1901
Published in 2015-10-1 19:22:15 | Show all floors
H3 orangepi2

18

threads

200

posts

868

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
868
Published in 2015-10-2 13:48:24 | Show all floors
Orange PI 2
www.orangepi.pp.ua

18

threads

200

posts

868

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
868
Published in 2015-10-2 16:42:29 | Show all floors
Edited by magicse at 2015-10-2 13:37

How install kernel part of drivers https://drive.google.com/open?id=0B2ZvWXG-omrARWx5U2x0Q2hQX3c
(Game start)
LEVEL 1
Add to script.fex (without this recods You'll get error message in syslog) :
[mali_para]
mali_used = 1
mali_clkdiv = 1
mali_extreme_freq = 600
mali_extreme_vol = 1400

Copy modules ump.ko mali.ko drm.ko and mali_drm.ko to /lib/modules/3.4.39/
Copy Libs (libGLES* libGLES* LibUmp LibMali) to /usr/lib
Copy include to /usr/include
Create rules for dev
sudo cat <<eof>/etc/udev/rules.d/50-mali.rules
KERNEL=="mali", MODE="0666", GROUP="video"
KERNEL=="ump", MODE="0666", GROUP="video"
KERNEL=="cedar_dev", MODE="0666", GROUP="video"
EOF

To allow hardware acceleration without root privileges, you have to give write permissions to following device files:
sudo chmod 666 /dev/mali /dev/ump /dev/cedar_dev
sudo chown root:video /dev/mali
sudo chown root:video /dev/ump
sudo chown root:video /dev/cedar_dev

You must have to assign the group to the user:
sudo usermod -aG video [$USER] for me user ->orangepi

Modify /etc/modules to add the following lines:
ump
mali
drm
mali_drm

Say "Hi !" to kernel about new friends, type in a terminal "depmod -a" so it will parse the new modules.
reboot
Check syslog
grep -i "mali" /var/log/syslog
Level 1 done
LEVEL 2
Need to build xf86-video-fbturbo or xf86-video-mali
and configure X.11 xorg
May be someone make it.

Orange PI 2
www.orangepi.pp.ua

10

threads

448

posts

4679

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4679
Published in 2015-10-2 17:27:36 | Show all floors
magicse replied at 2015-10-2 09:42
How install kernel part of drivers https://drive.google.com/open?id=0B2ZvWXG-omrARWx5U2x0Q2hQX3c
(Ga ...

Thanks for your work.
I cannot load the kernel modules on OPI H3 boards.
I can compile ump and mali mudules but not the mali_drm.
Can you give me more detailes about how exactly you've compiled them? Thanks.

4

threads

52

posts

284

credits

Intermediate member

Rank: 3Rank: 3

credits
284
Published in 2015-10-2 17:48:00 | Show all floors
Just a suggestion: can we pick the fbturbo / xf86-video-mali (whatever is there) from the linux distro which runs on my pcduino 3 nano? This is a board based on the A20, but with Mali400 working in linux (dualcore Mali as well, so I suggest it's the same)

18

threads

200

posts

868

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
868
Published in 2015-10-2 18:11:24 | Show all floors
Edited by magicse at 2015-10-2 12:52
loboris replied at 2015-10-2 11:27
Thanks for your work.
I cannot load the kernel modules on OPI H3 boards.
I can compile ump and mal ...

First You need compile drm.ko by enabling it support in kernel .config and rebuild modules
before compiling copy drm_sman.c to  lichee/linux-3.4/drivers/gpu/drm
and drm_sman.h to /lichee/linux-3.4/include/drm


Source of mali_drm was changed by me, because original ver. has not  been successfully compiled under kernel 3.4.39
But now it in testing phase.

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