Re: Getting started with Lavapipe

Dave Airlie <[email protected]>
Newsgroups gmane.comp.video.mesa3d.devel
Message-ID <CAPM=9txHk7Ek_xAVE3V1mFC95ayYAjrGrzZCZzW5yh4SQQtd8Q@mail.gmail.com>
On Fri, 9 Feb 2024 at 14:38, Ashwin Bhat <[email protected]> wrote:
>
> Hello,
>
> During  Vulkanised 2024 I was super excited to hear and learn about Lavapipe
> https://vulkan.org/user/pages/09.events/vulkanised-2024/Vulkanised-2024-faith-ekstrand-collabora-Iago-toral-igalia.pdf
>
> Are there some basic tutorials on how to get started with setting up Lavapipe swrast on Windows?
>
> I've installed LLVM and ensured it's in path. I have been trying to build using meson but haven't had much success. Any pointers appreciated. Please let me know if it's preferred to move this discussion/thread to issues.
>
> Here is the command I'm trying to run:
> meson setup -D llvm=true --prefix=%CD%/build/install build/  --buildtype=release -Dgallium-drivers=swrast -Dvulkan-drivers=swrast
>
> But I get this error:
> llvm-config found: NO need ['>= 5.0.0']
> Run-time dependency LLVM found: NO (tried cmake and config-tool)
> Looking for a fallback subproject for the dependency llvm (modules: bitwriter, engine, mcdisassembler, mcjit, core, executionengine, scalaropts, transformutils, instcombine, native)
> Building fallback subproject with default_library=static
>
> meson.build:1748:13: ERROR: Neither a subproject directory nor a llvm.wrap file was found.

I haven't used it on Windows in a long time, but there are prebuilds

https://github.com/pal1000/mesa-dist-win

They might also help start off but also figure out what is missing in
llvm builds.

Dave.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.