I wanted to recompile my version of RetroArch because I use it as the main menu, kind of Lakka for clockworkpi (showing battery info, wifi, power off option…). The advantage is that I don’t need to run Xorg, and I reduced boot time. Retroarch is the only thing that I use.
The problem is that compiling RetroArch in the OS v0.5 with lima I get a black screen, so I decided to compile my lima mesa driver because probably some dev libraries were missing in the v0.5.
I compiled the mesa drivers, and I got my custom retroarch working together with my mesa driver (v 20.0) compiled with:
meson build/ --optimization s --buildtype release --prefix=/usr --libdir=lib/arm-linux-gnueabihf -Dgallium-drivers=lima,panfrost,kmsro,swrast -Dplatforms=x11,drm,surfaceless -Dvulkan-drivers= -Ddri-drivers= -Dllvm=false
like described here: https://linux-sunxi.org/Mali_Open_Source_Driver
Everything works fine except when I try to load a save state . My screen start to flicker and frezzes. I get this message if I run dmesg:
[ 176.939174] lima 1c40000.gpu: gp error irq state=400000 status=b
[ 176.945589] lima 1c40000.gpu: gp task error int_state=0 status=8a
Do you guys know what maybe I’m doing wrong when I compiled the mesa?
for retroarch compilation I used:
CFLAGS=-mfpu=neon ./configure --enable-udev --enable-floathard --enable-neon --disable-oss --disable-vulkan --disable-xmb --disable-ozone --disable-discord --disable-materialui --disable-qt --enable-pulse --disable-jack --disable-wayland --enable-opengles --enable-kms
I’m compiling retroarch v1.8.4, I tried a clean compilation (without my modifications) with the same results.
Thanks in advance