jaelpark / chamferwm

A tiling X11 window manager with Vulkan compositor.
https://jaelpark.github.io/chamferwm-docs/
BSD 3-Clause "New" or "Revised" License
249 stars 11 forks source link

VK_KHR_incremental_present (VK_KHR_INCREMENTAL_PRESENT_EXTENSION_NAME) does not seem to be available with NVIDIA #29

Open kwand opened 2 years ago

kwand commented 2 years ago

As titled. I got the exception thrown at line 492 in compositor.cpp while trying to start it up. It looks like it detected all the extensions except for VK_KHR_incremental_present.

(Also, as a suggestion, it is possible to also list which extensions chamfer is looking for before the listing of detected ones? Just so I don't need to go back to the code to figure out what was missing)


By "detected all the extensions" I mean, everything here except VK_KHR_incremental_present from line 467.

        VK_KHR_SWAPCHAIN_EXTENSION_NAME,
        VK_KHR_INCREMENTAL_PRESENT_EXTENSION_NAME,
        VK_KHR_EXTERNAL_MEMORY_EXTENSION_NAME,
        VK_EXT_EXTERNAL_MEMORY_HOST_EXTENSION_NAME,
        VK_KHR_EXTERNAL_MEMORY_FD_EXTENSION_NAME,
        VK_EXT_EXTERNAL_MEMORY_DMA_BUF_EXTENSION_NAME
jaelpark commented 1 year ago

Very late reply, but I will make the incremental present optional, since it's not strictly necessary. Listing all the extensions is also a good suggestion, I will implement something for that. Got a bit more time to work on this again. Thank you for your report.