When using Wayland + Hyprland, my application hangs (I get a “application not responding prompt”) when it is on another workspace.
More precisely, the vkQueuePresentKHR hangs.
I’m using glfw 3.4-2.
When using Wayland + Hyprland, my application hangs (I get a “application not responding prompt”) when it is on another workspace.
More precisely, the vkQueuePresentKHR hangs.
I’m using glfw 3.4-2.
Hi @lmichaudel,
This seems somewhat similar to a recently reported issue: window "Not Responding" after switching between desktops within arch Linux Hyprland · Issue #2723 · glfw/glfw · GitHub
This was also with Hyprland.
If vkQueuePresentKHR
is hanging this isn’t something GLFW has any control over. Have you tried running with validation layers on to see if you get any errors reported (you should be able to see these in the terminal if you run your app from there)?
It seems the issue reported there is the same as mine.
Unfortunately vulkan layers don’t return anything, I did some bit of troubleshoot with the help of some folks from the vulkan discord without success.
Also the source code linked in the github issue suffers from the same issue on my side too.
Would be great if someone could try to reproduce it on another setup, like Sway.
Thanks for the info and added comment on the GLFW Github issue. I don’t currently have the time to investigate it but if anyone reading this is able to see if it can be reproduced (or not) on another Wayland compositor it would be interesting to have that info.