Conversation
|
does wayfire build with wlroots 0.20 already? |
Wayfire master doesn't quite yet but it's a very small patch and I expect we'll update to wlroots 0.20.x as soon as it's released. |
|
there is a small patch to make it build. but there is a need for some more patch to eliminate crash caused by this change: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/5107 it is not crashing immediately but after some use , i could not find the solution for this and right now use 20-rc4 with 5107 patched out. |
|
Tested further. The request is crashing because of this The second point - wobbly gives artifacts on transparent windows. Making window smaller makes artifacts less frequent, but as you see in video on 3.1K screen wobbly is totally unusable together with alfa under vulkan. wobbly-vulkan.mp4 |
|
This will reduce CPU usage. The patch still needs work which I wont touch it, I was just curious about the cpu usage, though, on output 1, dragged woobly view disappears. With this patch the view is likely being drawn off-screen, while output 2 works fine, the view takes only 12% cpu usage while dragged in a 75hz monitor, before was around 33% . This is exactly the gap descriptor heap closes in my theory: I must admit that I don't have the whole picture of how it would be, for me would be like this: So the normal usage would drop around 7% as good as gles2. You were correct that the descriptor set isn't the sole cause of the CPU usage, but I still believe there's additional overhead elsewhere based on these descriptors. |
As people following the Matrix channel likely already know, I have been working on custom Vulkan effects for Wayfire. Currently, this requires installing a wlroots 0.20 fork with minimal changes (it can be installed alongside any other wlroots release without conflicts): https://gitlab.freedesktop.org/ammen99/wlroots/-/tree/vulkan-effects?ref_type=heads
To enable vulkan effects, make sure that you:
-Dvulkan_effects=truewhen building WayfireCurrently supported are wobbly and view-3d, which means that plugins like wrot and switcher also are supposed to work, alongside wobbly. The entire vulkan effects support is currently guarded behind
#if WF_HAS_VULKANFXand is meant as experimental, i.e big breaking changes might be required in the future - though hopefully, this won't be the case ...Marking this as draft because this currently requires wlroots 0.20, so it will be mergeable after that. Feedback really welcome in case anyone wants to review and/or test this new functionality.