Ipotrick / Daxa

Daxa is a convenient, simple and modern gpu abstraction built on vulkan
MIT License
381 stars 28 forks source link

VSync on Linux #67

Open GabeRundlett opened 11 months ago

GabeRundlett commented 11 months ago

VSync (present mode FIFO) and even MAILBOX seem to not work on Linux. Using FIFO results in a fine app, until one tries to resize the window and it eventually hangs and reports a device lost. If anyone has Linux experience, let us know what should be done. https://github.com/Ipotrick/Daxa/blob/55182fae5687005da642452724db921a922a4fec/src/impl_swapchain.cpp#L276C43-L276C43

tunis4 commented 1 week ago

Does this issue still exist? Both FIFO and mailbox work fine for me after removing the workaround. I'm guessing this was a driver bug that got fixed at some point. I'm on AMD so idk if this still happens on Nvidia.

GabeRundlett commented 1 week ago

it is likely an NVIDIA thing then, because I have not been able to test on Linux with AMD. The last time I checked, it is still an issue with NVIDIA GPUs