Re: Lavapipe performance

2025-01-30 Thread George Karpathios
Thank you all, for the tips. Using a smaller window doesn't change anything, neither does tweaking LP_NUM_THREADS (between 8/12/16). I am also not using MSAA. I'll have to dig some more regarding your other suggestions. I've shared a screenshot of what is being rendered at https://imgur.com/a/6P6OA

Lavapipe performance

2025-01-30 Thread George Karpathios
Hi, I'm using Lavapipe (24.2.2, Windows 10) and trying to evaluate its performance, but I don't know if I can get more performance out of it or if I'm hitting its expected limits. For example, rendering a scene with ~300k triangles and ~150k lines, I get 5 fps on an i7 11800H (8 cores). Of cours

Lavapipe license

2024-02-13 Thread George Karpathios
Hi everyone, I'd like to bundle Lavapipe's binary that I've built (also contains LLVM thanks to static linking) with a commercial application and I'm confused regarding which licenses I should include into the product. Reading in https://docs.mesa3d.org/license.html, "Different copyrights and lice

Re: Lavapipe performance question during interactive drawing

2023-05-08 Thread George Karpathios
the confusion and the hassle. :/ Best regards, George On Fri, May 5, 2023 at 11:14 PM Dave Airlie wrote: > On Fri, 5 May 2023 at 21:30, George Karpathios wrote: > > > > Hi list, > > > > I'm using Lavapipe for Vulkan software rendering support in a modeling

Re: Lavapipe performance question during interactive drawing

2023-05-05 Thread George Karpathios
f the scenario? > > On Fri, May 5, 2023 at 10:32 AM George Karpathios > wrote: > >> Hi Mike, >> >> Thanks for responding. I commented the call >> to lvp_find_inlinable_uniforms() in lvp_pipeline.c but unfortunately it >> didn't help this time. It may ha

Re: Lavapipe performance question during interactive drawing

2023-05-05 Thread George Karpathios
mail.com> wrote: > Hi, > > Can you try commenting out the same lines from last time and see whether > that affects anything? > > > Mike > > On Fri, May 5, 2023 at 7:30 AM George Karpathios > wrote: > >> Hi list, >> >> I'm using Lavapipe fo

Lavapipe performance question during interactive drawing

2023-05-05 Thread George Karpathios
Hi list, I'm using Lavapipe for Vulkan software rendering support in a modeling application. I notice a large performance hit (with any Mesa version) in the following scenario: The user clicks & drags the mouse in order to create a simple shape (e.g. plane, cube, sphere) dynamically and the result

Increase memory size of Lavapipe device?

2023-04-11 Thread George Karpathios
Hi list, I'd like to ask how I can increase the memory of the Lavapipe device over 2GB that vulkaninfo reports. I didn't find any configuration options or environment variables available. Should I just manually change the size property at lvp_device.c:1441 and rebuild or is it more complicated? Th

Re: Performance issues with Lavapipe in Windows (?)

2023-04-07 Thread George Karpathios
> You can try deleting the lvp_find_inlinable_uniforms() call from > lvp_pipeline.c as a temporary workaround. I'll try something on my end to > make this less stupid. > > On Fri, Apr 7, 2023 at 10:22 AM George Karpathios > wrote: > >> Awesome, thanks for the tip! &

Re: Performance issues with Lavapipe in Windows (?)

2023-04-07 Thread George Karpathios
lumenkra...@gmail.com> wrote: > Looks like it's compiling a lot of shader variants. > > You could try adding a return at the top of update_inline_shader_state() > to see if it's trying too hard to inline. > > On Fri, Apr 7, 2023 at 9:53 AM George Karpathios > wrote: >

Re: Performance issues with Lavapipe in Windows (?)

2023-04-07 Thread George Karpathios
irst suspicion would be to rule out window system interaction. If you > render to your own VkImage instead of to a swapchain, how fast can you go? > > - ajax > > > On Tue, Apr 4, 2023 at 12:56 PM George Karpathios > wrote: > >> Hi list, I hope all is well. >> >&g

Performance issues with Lavapipe in Windows (?)

2023-04-04 Thread George Karpathios
Hi list, I hope all is well. I would like to ask if there are any known issues regarding the performance of Lavapipe in Windows 10. I'm trying to add support for Vulkan software rendering into a relatively large 3d modeling/rendering application, so I opted to try Mesa and Lavapipe. I built LLVM

Performance issues with Lavapipe in Windows (?)

2023-04-03 Thread George Karpathios
Hi list, I hope all is well. I would like to ask if there are any known issues regarding the performance of Lavapipe in Windows 10. I'm trying to add support for Vulkan software rendering into a relatively large 3d modeling/rendering application, so I opted to try Mesa and Lavapipe. I built LLVM