打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
Mali
Tweet
Accelerated 3D graphics in Linux with Mali-400 via OpenGL ES has been possible for nearly a year on RK3066 devices,  but there was no such support for RK3188. This week however, bothNaoki FUKAUMI andomegamoon have reported OpenGL ES to work in in their respective RK3188 devices. I don’t know which device omegamoon used, but Naoki did so inRadxa Rock, and evenposted instructions to build it yourself.
es2gears OpenGL ES demo on Rockchip RK3188
They’ve mostly followed the work done byolegk0 for Rockchip, andMali drivers build instructions provided in linux-sunxi community, and it can be summarize in 3 main steps:
Cross-compile drm.ko, mali_drm.ko, ump.ko, mali.ko in a Linux machine
Copy and load the four modules to your RK3188 based board or device.
Install dependencies and binary Mali drivers from sunxi-linux in your Rockchip device
Once this is done you can try some OpenGL ES demos such as esgears2 or glmark2-es to test it with the framebuffer. es2gears can be installed with “sudo apt-get install mesa-utils-extra” and glmark2-es2 with “sudo apt-get install glmark2-es2“.
I had a quick try this morning, and the building worked, the four modules could load, but es2gears still rendered by software:
libEGL warning: DRI2: failed to authenticate                                    XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"         after 184 requests (171 known processed) with 0 events remaining.         EGL_VERSION = 1.4 (DRI2)
I used a different toolchain, and kernel source, so this may be the reason. TBC. A successful es2gears output should look like:
EGL_VERSION = 1.4 Linux-r3p2-01rel2 vertex shader info: fragment shader info: info: 2064 frames in 5.0 seconds = 412.635 FPS 2129 frames in 5.0 seconds = 425.630 FPS
and glmark2-es2:
======================================================= glmark2 2012.08======================================================= OpenGL Information GL_VENDOR: ARM GL_RENDERER: Mali-400 MP GL_VERSION: OpenGL ES 2.0=======================================================
Further steps would be to enable X11 to use Mali, but I’m not sure this has been tried just yet.
Nevertheless, that should mean you can soon expect Linux images with support for accelerated 3D graphics for your Rockchip RK3188. This does not mean however that hardware video decoding will be possible, asMali-400 GPU is not a VPU and does not support decoding/encoding. There is, however, aseparate effort to brings hardware video decoding support in RK3188, but this should take much more time.
In other news, linux-rochip community has just started amailing list, so you may want to join if you are interested in software development on Rockchip devices for Linux and Android.
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
关于OPENGL与OPENGL ES的区别
Mali GPU: 抽象机器,第一部分 – 帧管线化
Android中用OpenGL ES Tracer分析绘制过程
【Android OpenGL ES】阅读hello
openGL ES 2.0 笔记 6
fedora23 安装OpenGL
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服