|
Posted at 11/19/2015 03:56:50
Only Author
6#
Mali driver is needed for sure. Some more stuff too.
To give you a complete picture to get hardware accelerated X11 running for RK3288 devices like firefly, following is needed:
MALI DRIVERS (based on reusing a chromeos/rk3288 mali driver)
Kernel should be compiled with rockchip mali driver. This kernel mali driver is included in mmind github kernel for rockchip. This should give some mali.so file.
Besides that you need a matching user space mali driver that supports X11 and that is not (yet) provided by ARM for firefly - and it will probably never come. However mmind states that for debian/ubuntu you can use one from ChromeOS that is used in another ChromeOS/RK3288 device - veyron. See https://community.arm.com/message/26755#26755 He has provided code at github to get this veyron mali driver that should work in newer linux kernels like 4.2 (firefly's 3.10 is too old). See https://github.com/mmind/mali-driver. This will give a libmali.so file with egl/glesv2 ABI.
Note that kernel and user-space mali drivers must have matching versions (seems r5p0 in latest veyron's user space driver).
X11 DRIVERS
For X11 support you also need to build rockchip drm kernel driver that is provided in mminds github: https://github.com/mmind/linux-r ... vel/somewhat-stable. This gives some drm.ko file that offers a generic GPU rendering interface needed by X.
You also need a X11 user-space display driver specific for that GPU, and this is provided in mminds github: https://github.com/mmind/xf86-vi ... ts/packaging/debian. X11 server will load this driver to do the accelerated display stuff.
Besides these 4 drivers, maybe some generic X11 components need to be rebuild.
Basically, that's all ;-)
Actually I was hoping this was already included in your release... Now hope that someone has a bit of skills and spare time to get this working... He or she would be a hero!
Next step would be to get decent VPU support using v4l2, also doable with similar steps.
|
|