Closed vanfanel closed 9 years ago
i got it to build also, but when it try to launch it i get: unable to load driver : mali_drm_dri.so ti show with lsmod. Any idea what is going on here? By the way, the only distro that let me compile out of the box was cubieez. The most recent version at this time.
Hi,
I just got RetroArch to build in Cubian (Debian) on a CubieBoard2. The same distro is shared among the three boards mentioned, so having it working would bring three more platforms in a row.
In order to make it build, I had to copy over /usr/include/GLES2 headers directory from my desktop x86 machine running Lubuntu 13.10 with mesa-based GLES2 to my cubie2, because installing the MALI400 binary drivers from sunxi-mali git installs old gles2.h and gles2ext.h versions, wich lack GLchar definition. Note that the MALI driver isn't a mesa implementation, but a binary blob. It should, however, build with the newer gles2 header files, and it does.
This is how I configure RetroArch:
Note that, even if egl and glesv2 packages aren't found (I suppose it looks for mesa implementations) it founds -lGLESv2 and -lEGL. In fact, it builds fine.
After building, these are the features I got:
The relevant parts in the cfg file I'm using look like this:
(I'm omitting input options, etc, as the problem is unrelated to input)
However, running with a core and a ROM results in this error:
Note that the MALI driver installation instructions here: http://linux-sunxi.org/Binary_drivers include a EGL/GLES test, wich I can run without problems.