UbuntuAsahi / ubuntu-asahi

Native Ubuntu installations for Apple silicon hardware

Home Page:https://ubuntuasahi.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question about GPU accelerated ubuntu docker container

space192 opened this issue · comments

So I've been playing around with docker on the fedora remix of asahi linux and wanted to make some test about docker gpu passthrough, but when running an ubuntu 22.04 based docker image I get that i'm missing:
/usr/lib/dri/apple_dri.so
then when I pasthrough the file it complains about missing libLLVM16-so
I did the exact same and I was missing yet another file
my question is what apt repo / package would I need in the docker to get the GPU to work ?

On Ubuntu we have /usr/lib/aarch64-linux-gnu/dri/apple_dri.so which is part of libgl1-mesa-dri. Does that help?

so is it a package that is already available in the standard ubuntu apt repository or do I need to add asahi specific repo to /etc/apt/sources.list ?

Ah right, it is part of the UbuntuAsahi ppa for now which is https://launchpad.net/~tobhe/+archive/ubuntu/asahi

perfect thanks, gonna try it out ! :D

image
Amazing it works !