Mali400 DRI2 Render Xorg Acceleration

Started by Morzilla, May 04, 2013, 02:30:08 AM

Previous topic - Next topic

Morzilla

Hello Everybody! I want to enable hardware-accelerated driver for Xorg on Olinuxino A13 with the Mali400 GPU. For now, I've compiled different version of xf86-video-mali and xf86-video-sunxifb, but nothing of these version works (with xf86-video-mali i get this log: http://pastebin.com/93Vdvckw and with video-sunxifb i need the kernel module d2g_23 that is only for sun4i as i know).

The main problem is this line:

[  7767.093] (EE) AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/Mali DRI2_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/Mali DRI2_dri.so: cannot open shared object file: No such file or directory)
[  7767.093] (EE) AIGLX: reverting to software rendering

as reported, i miss this library "Mali DRI2_dri.so".
On other forums, a user suggest to remove the mesa-egl, but i haven't this library installed in my system.

Anyone can help me with this problem?

Thanks very much!

Morzilla

Ok, some updates: as I understood, g2d_23 is a driver only for sun4i (A10) platform for HDMI output, so I can ignore the error. The sunxifb driver is only 3d-accelerated, and the lack of DRI2 library is a common problem when you have AIGLX enabled in your X11 config (so I disabled it and the error disappear). Now, my Xorg log is this: http://pastebin.com/UmJ2W8iT

If I run glxgears, i reach the ~110FPS, so I think the 3D-accel is now fully-working, but how can I do to speed-up the rendering of 2D-programs such as a Web Browser?