[Libre-soc-dev] Loading Vulkan Driver

Luke Kenneth Casson Leighton lkcl at lkcl.net
Fri Aug 28 09:48:19 BST 2020

On Friday, August 28, 2020, vivek pandya <vivekvpandya at gmail.com> wrote:

>  Thanks Cole for putting things together.  I believe my setup is more or
> less the same and I feel that the instructions you have shared on the doc
> is enough for building mesa.
> The problem you see while using `-Dvulkan-drivers=libre-soc` is because
> upstream mesa git repo does not have libre-soc related source code.
> It lives here
> https://gitlab.freedesktop.org/vivekvpandya/mesa/-/tree/libresoc_dev/

i worked this out when i was no longer trying to think of solutions at 4am

> and soon I will push the same code on libre-soc git repo.

(remember to email me an id_rsa.pub)

> So please give above source a build try with `-Dvulkan-drivers=libre-soc`
> in meson configuration command
> on successful build and install you should see a json file for libresoc
> vulkan driver in <install_dir>/share/vulkan/icd.d path like following:
> vivek at vivek-VirtualBox:~/install/share/vulkan/icd.d$ ls
> libresoc_icd.x86_64.json
> and libvulkan_libresoc.so file in <install_dir>/lib/<folder_
> name_basedon_OS
> _and_arch> like following:
> vivek at vivek-VirtualBox:~/install/lib/x86_64-linux-gnu$ ls
> dri              libglapi.so.0.0.0      libGL.so.1.2.0
> libEGL.so        libGLESv1_CM.so        libvulkan_libresoc.so

did you specify --prefix=~/install to get things installed there?

we do not want people to put things into /usr/local (the default) because
it will interfere with the graphical desktop they are developing on.

(unless they VM everything)


crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68

More information about the Libre-soc-dev mailing list