[Libre-soc-dev] Loading Vulkan Driver

vivek pandya vivekvpandya at gmail.com
Fri Aug 28 11:00:20 BST 2020


On Fri, Aug 28, 2020 at 2:18 PM Luke Kenneth Casson Leighton <lkcl at lkcl.net>
wrote:

> 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
>
please take some rest :)

>
>
> > and soon I will push the same code on libre-soc git repo.
>
>
> (remember to email me an id_rsa.pub)
>
sure

>
>
> > 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?
>
yes but that is full path i.e /home/vivek/install/

>
> 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.
>
> Agreed, please do not install no default location.

> (unless they VM everything)
>
> l.
>
>
>
> --
> ---
> crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68
> _______________________________________________
> Libre-soc-dev mailing list
> Libre-soc-dev at lists.libre-soc.org
> http://lists.libre-soc.org/mailman/listinfo/libre-soc-dev
>


More information about the Libre-soc-dev mailing list