Hi,
Around the forums, I've seen that some people have been successful in running the lima driver on Amlogic or Allwinner hardware:
https://forum.armbian.com/topic/14180-bananapro-lima-driver-problems/
https://forum.armbian.com/topic/11424-playing-with-limamesa-mali-drivers/
However, I couldn't seem to find any posts with Rockchip hardware, specifically the ROCK64. I tried to enable it myself by doing the following, but was unsuccessful so far.
enable kernel module lima via "sudo modprobe lima"
update /etc/X11/xorg.conf.d/01-armbian-defaults.conf as below per the lima wiki instructions (also tried w/o the "Device" section)
Section "Monitor"
Identifier "Monitor0"
Option "DPMS" "false"
EndSection
Section "ServerFlags"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
EndSection
Section "ServerFlags"
Option "AutoAddGPU" "off"
Option "Debug" "dmabuf_capable"
EndSection
Section "Device"
Identifier "Lima"
Driver "modesetting"
Option "AccelMethod" "glamor"
EndSection
Section "OutputClass"
Identifier "Lima"
MatchDriver "rockchip"
Driver "modesetting"
Option "PrimaryGPU" "true"
EndSection
Install kodi from the standard repo
install updated graphics drivers from Oibaf's PPA
start kodi, Armbian desktop (XFCE), or weston (can't confirm if weston was running lima actually)
However, no matter what I do, I always get output via llvmpipe as opposed to lima, as also seen in my Xorg.0.log.
A couple things I also noticed:
other boards also have an armsoc video driver like xserver-xorg-video-armsoc-sun4i, but there isn't one for Rockchip. However, I'm also not sure if this is for the proprietary blobs as opposed to lima.
there is a rockchipdrm module loaded in my kernel. I tried to blacklist it and load lima in /etc/modules-load.d, but it seems that it didn't work (rockchipdrm still loaded, lima not) when I booted. I guess it's baked into the kernel?
So, can anyone point me in the right direction of where to go from here? My goal is to run kodi via lima so that I can use mainline kernels + mesa with minimum/no patches (vpu might still be tricky).