Getting started with Lavapipe

Sarthak Bhatt sarthakbhatt at gmail.com
Fri Feb 9 04:41:33 UTC 2024


Hello Ashwin,

Hope you are doing well. I think the error that you mentioned is related 
to the Clang version mismatch. You can use the following command to 
configure desired clang version:

     wget https://apt.llvm.org/llvm.sh
     chmod u+x llvm.sh
     ./llvm.sh <xx>

here 'xx' should be the required version.

--
Sincerely,
Sarthak

------------------------------------------------------------------------
*From:* mesa-dev <mesa-dev-bounces at lists.freedesktop.org> on behalf of 
Ashwin Bhat <ashwin.bhat at autodesk.com>
*Sent:* Thursday, February 8, 2024 8:31:01 PM
*To:* mesa-dev at lists.freedesktop.org <mesa-dev at lists.freedesktop.org>
*Subject:* Getting started with Lavapipe
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 
<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.

Thanks
Ashwin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20240208/b55a35a8/attachment-0001.htm>


More information about the mesa-dev mailing list