Re: Performance issues with Lavapipe in Windows (?)

2023-04-07 Thread George Karpathios
Ok, with the workaround I can see the scene and the frame times are absolutely fantastic. Thank you so much once again for this find! Now I can close all 110 of my Chrome tabs :) Best regards, George On Fri, Apr 7, 2023 at 5:34 PM Mike Blumenkrantz < michael.blumenkra...@gmail.com> wrote: > You

Re: Performance issues with Lavapipe in Windows (?)

2023-04-07 Thread Mike Blumenkrantz
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! > > Well now I indeed get *very* nice frame

Re: Performance issues with Lavapipe in Windows (?)

2023-04-07 Thread George Karpathios
Awesome, thanks for the tip! Well now I indeed get *very* nice frame times. Great catch, thank you! But I don't see anything on the viewport, I guess due to the early return. How should I proceed? Best regards, George On Fri, Apr 7, 2023 at 4:56 PM Mike Blumenkrantz <

Re: Performance issues with Lavapipe in Windows (?)

2023-04-07 Thread Mike Blumenkrantz
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: > Hi again, thank you Adam & Marek for your feedback! I appreciate it.

Re: Performance issues with Lavapipe in Windows (?)

2023-04-07 Thread George Karpathios
Hi again, thank you Adam & Marek for your feedback! I appreciate it. Unfortunately It's the same amount of time even if I skip the swapchain. I have profiled some seconds of the execution using Visual Studio's profiler (with the swapchain, normally) while panning an almost empty scene, and it's

Re: Performance issues with Lavapipe in Windows (?)

2023-04-04 Thread Adam Jackson
My first 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. > > I would like to ask if there are any known

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