Radxa, get us the Mali Linux GPU driver, please

1,285 views
Skip to first unread message

Alex

unread,
Feb 15, 2014, 12:37:10 PM2/15/14
to ra...@googlegroups.com
There are parts of a MALI 400 open source driver here

http://malideveloper.arm.com/develop-for-mali/drivers/open-source-mali-gpus-linux-exadri2-and-x11-display-drivers/


I built the modules "mali.ko." and "ump.ko" found there, and "insmod"
succeeded on RR. However, there was no notable difference other than a
more unstable system. :-) There comes the Note from the above mentioned
malideveloper page into mind:


"Note that these components are not a complete driver stack. To build a
functional OpenGL ES or OpenVG driver you need access to the full source
code of the Mali GPU DDK, which is provided under the standard ARM
commercial licence to all Mali GPU customers."


As I see it, ARM's customer is Rockchip, and Radxa is theirs. So it
should be possible to provide us the Mali 400 Linux driver - even if for
a price and closed source.

Thanks!
Alex


admi...@gmail.com

unread,
Feb 23, 2014, 8:28:50 AM2/23/14
to ra...@googlegroups.com, le...@arcor.de
W dniu sobota, 15 lutego 2014 18:37:10 UTC+1 użytkownik Alex napisał:
> There are parts of a MALI 400 open source driver here
>
>
>
> http://malideveloper.arm.com/develop-for-mali/drivers/open-source-mali-gpus-linux-exadri2-and-x11-display-drivers/
>
>
>
>
>
> I built the modules "mali.ko." and "ump.ko" found there, and "insmod"
>
> succeeded on RR. However, there was no notable difference other than a
>
> more unstable system. :-) There comes the Note from the above mentioned
>
> malideveloper page into mind:
>
> Thanks!
>
> Alex


Hi Alex
Could you post detailed instruction how build modules step by step ?

thanks in advance

Alex

unread,
Feb 23, 2014, 4:08:46 PM2/23/14
to ra...@googlegroups.com, le...@arcor.de
>
>

Hi Alex  
Could you  post detailed instruction how build modules  step by step ?

thanks in advance



When you unpack the downloaded files from the link above, the build instructions are in two readme.txt under DX910-SW-99002-r4p0-00rel0/driver/src/devicedrv/mali and ../ump
I just followed the steps, but I cannot recommend it.


Alex

Андрей Панов

unread,
Feb 24, 2014, 1:27:15 AM2/24/14
to ra...@googlegroups.com, le...@arcor.de
Did you get it work in ES2 mode?
I had build Mali (r3p2-01rel1) and with Sunxi userland binaries ES1 mode seems to work, but ES2 shows just empty window.
What platform parameters did you use?
I'd tried with Turbofb and Mali Xorg drivers with varying success in each.

My platform code is at https://github.com/apxii/linux-work/blob/rr-3.0-dev/drivers/gpu/mali/mali/platform/rk3188-rr/rk3188.c
And also in that tree is changes in framebuffer driver for ump ioctls support.

Xorg log is at http://pastebin.com/MtwR9gzD

понедельник, 24 февраля 2014 г., 1:08:46 UTC+4 пользователь Alex написал:

Tom Cubie

unread,
Feb 24, 2014, 8:36:02 AM2/24/14
to Андрей Панов, ra...@googlegroups.com, Alex
On Mon, Feb 24, 2014 at 2:27 PM, Андрей Панов <andrey...@gmail.com> wrote:
> Did you get it work in ES2 mode?
> I had build Mali (r3p2-01rel1) and with Sunxi userland binaries ES1 mode
> seems to work, but ES2 shows just empty window.
> What platform parameters did you use?
> I'd tried with Turbofb and Mali Xorg drivers with varying success in each.
>
> My platform code is at
> https://github.com/apxii/linux-work/blob/rr-3.0-dev/drivers/gpu/mali/mali/platform/rk3188-rr/rk3188.c
> And also in that tree is changes in framebuffer driver for ump ioctls
> support.

Hi,

I think the direction is right.

>
> Xorg log is at http://pastebin.com/MtwR9gzD
> Full dmesg at http://pastebin.com/CtrJMxG0
>
> понедельник, 24 февраля 2014 г., 1:08:46 UTC+4 пользователь Alex написал:
>>
>>
>> >
>> >
>> >
>> > http://malideveloper.arm.com/develop-for-mali/drivers/open-source-mali-gpus-linux-exadri2-and-x11-display-drivers/
>> >
>> >
>>
>> Hi Alex
>> Could you post detailed instruction how build modules step by step ?
>>
>> thanks in advance
>>
>>
>>
>> When you unpack the downloaded files from the link above, the build
>> instructions are in two readme.txt under
>> DX910-SW-99002-r4p0-00rel0/driver/src/devicedrv/mali and ../ump
>> I just followed the steps, but I cannot recommend it.
>>
>>
>> Alex
>
> --
> You received this message because you are subscribed to the Google Groups
> "radxa" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to radxa+un...@googlegroups.com.
> To post to this group, send email to ra...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.



--
radxa rock - quad core arm computer that rocks

radxa.com

Alex

unread,
Feb 25, 2014, 3:57:35 PM2/25/14
to ra...@googlegroups.com, Андрей Панов, Alex, t...@radxa.com



>I think the direction is right. 


But as I understand the information from ARM, if our compiling of the open source driver succeeds, we will just have 2D/3D acceleration but no Video Processing Unit (VPU) driver. For this we need the closed source driver distributed by ARM under commercial license.

Alex

Tom Cubie

unread,
Feb 26, 2014, 7:44:18 AM2/26/14
to Alex, ra...@googlegroups.com, Андрей Панов, Alex
No, the VPU is another thing. It has nothing todo with ARM. The VPU do
the video hardware decoding inside rockchip is another IP which should
be licensed from a third company. The GPU do the 2D/3D acceleration,
not the video processing.

petri....@gmail.com

unread,
Feb 26, 2014, 8:49:05 AM2/26/14
to ra...@googlegroups.com, Alex, Андрей Панов, Alex, t...@radxa.com
keskiviikko, 26. helmikuuta 2014 14.44.18 UTC+2 Tom Cubie kirjoitti:
>
> No, the VPU is another thing. It has nothing todo with ARM. The VPU do
>
> the video hardware decoding inside rockchip is another IP which should
>
> be licensed from a third company. The GPU do the 2D/3D acceleration,
>
> not the video processing.
>
> --
> radxa rock - quad core arm computer that rocks
>
> radxa.com

Is RR using the same VPU as here?
http://www.cnx-software.com/2013/08/30/preliminary-reverse-engineered-vpu-driver-cedarx-for-allwinner-a10-plays-h-264-videos

-- PJR

petri....@gmail.com

unread,
Feb 26, 2014, 9:01:01 AM2/26/14
to ra...@googlegroups.com, Alex, Андрей Панов, Alex, t...@radxa.com, petri....@gmail.com

So looks like its not based on what I found from web:
> CedarX is only used by Allwinner SoCs, not by Rockchip.
> Rockchip uses Stagefright API (libstagefright) on Android.
> And I do not think Rockchip officially supports Linux.

Yectli Huerta

unread,
Mar 24, 2014, 1:44:00 PM3/24/14
to Alex, ra...@googlegroups.com
so i asked in the arm community board about the gpu drivers and below
is the response. so would it be possible to petition rockchip to give
us some support?

thanks,

yah

Hi Yah,



The open source part we provide is just the kernel driver part; the
user-space driver is also required and as per the message you quote,
is covered by a commercial license.



Your chipset provider should be able to provide a binary build of the
user space driver and the matching kernel source.



Kind regards,

Jean-Luc Aufranc

unread,
Mar 24, 2014, 10:26:57 PM3/24/14
to ra...@googlegroups.com
In case you just want OpenGL ES support, it's already available (in
binary format):
http://www.cnx-software.com/2014/03/14/mali-400-gpu-is-now-working-in-linux-for-rockchip-rk3188-devices/

And there's already an image for Radxa Rock:
http://radxa.com/2014/03/18/ubuntu-desktop-release-update-enabling-opengl-es-acceleration/
Reply all
Reply to author
Forward
0 new messages