$this->bbcode_second_pass_quote('gdiscry', 'A')fter doing a fair bit of digging in the forum, AUR and
http://linux-sunxi.org/, I've managed to get X.org running.
It's probably the first time that I get my hands dirty with compiling X11 drivers and it wasn't really easy. I give no guarantees whatsoever, I've done a fair bit of testing and managed to run the test code that came with the different pieces. I also had to do some work-around mesa as we need some part of it but it conflicts with other stuff (GLES, EGL…).
So here it comes: $this->bbcode_list('1')
mali-udev: simple udev rules to allow users in the video group to access special devices in /devcubieboard-modules-load: interesting kernel modules to load for the cubieboard, especially for graphicslibdri2-git: this is required by the following packages and I couldn't find the necessary symbols in existing librariessunxi-mali-git (split package):
- sunxi-mali-headers-git: GLES, EGL… headers that replaces mesa's. Only useful when removing mesa and testing what works…
- sunxi-mali-libump-git: library used to access /dev/ump (required by the X11 driver)
- sunxi-mali-libmali-git: GLES, EGL… Mali implementation for version r3p0, armhf to be used by X11 (placed in /usr/lib/mali to avoid conflict with mesa, uses a file in /etc/ld.so.conf.d)
xf86-video-sunxifb-git: X11 drivers. GL and AIGLX issues are expected (as Mali does not provide a GL implementation)To use the sunxifb drivers, create a file
/etc/X11/xorg.conf.d/20-sunxifb.conf containing:
$this->bbcode_second_pass_code('', '
Section "Device"
Identifier "Mali-400"
Driver "sunxifb"
EndSection
')
You should install everything except for the headers. It probably won't work automatically with yaourt because of the split package and the way the dependencies are done. I tested the packages with makechrootpkg so it should compile without any problem. There are some demos in the source code of
sunxi-mali and
xf86-video-sunxifb, but the Makefile of the sunxi-mali one has to be patched to add
-lX11 if I remember correctly.
Feedback is welcomed as I'm a complete novice when it comes to hacking and packaging display drivers.
It works perfectly for me too without mali-udev and cubieboard-modules-load.