Jump to content

Recommended Posts

Posted

On some devices (mostly headless) like Pine A64 LTS and other SBCs with Allwinner SoCs is Lima blacklisted by default or not supported by distribution.

For getting Lima work, you need to use distribution, which have already Mesa with Lima support (Mesa 20.1+) (or compile latest Mesa from sources, but this is not included in this tutorial).

At the moment of writing, it's Ubuntu Focal and Debian Bullseye. I personally prefer Debian more, so in my case, download Debian Bullseye image for your SBC and burn it into the board.

 

After booting into your board, find file named /etc/modprobe.d/blacklist-NAMEOFYOURSBC.conf (for me it's blacklist-pinea64-lts.conf),

find line with:

blacklist lima

and comment it by adding # at begin of this line, so it will look like this:

# blacklist lima

 

Reboot the device and Lima should work finely.

 

If you will have any questions or issues, let me know :)

 

- gamiee

Posted
On 7/8/2020 at 10:17 PM, gamelaster said:

At the moment of writing, it's only Debian Bullseye.

For other distributions you can always install mesa from source. Also there is a PPA from oibaf which though does not seem to cut it with its the prebuild debs. Had more success with doing the first variant.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines