vkAcquireNextImageKHR() blocks forever when screen is off and then turn on again
Repo steps:
- ssh to the target machine
- Install vulkan-tools package
- DISPLAY=:0 vkcube # make sure A Xserver is running with :0
- lock screen
- unlock screen
- vkcube hangs
As my test, vkcube creates FIFO swapchain, and sends pixmaps to xserver for presenting. Seems when screen turns off, queued vblank request will lost and not be received forever.