Open Celmor opened 2 years ago
Using an opengl swapinterval of 1 (or greater) would also cause the same thing. This is why internally the wayland context set vulkan to mailbox and opengl to swapinterval 0 (it's just a wayland limitation). Now, it would be nicer if mpv could prevent users from overwriting this, but the code for setting presentation modes/swapintervals is shared between all platforms. It's not that this is impossible or anything, but it becomes something that has to touch more than just the wayland-specific files which is ugly imo.
Just for reference, there's actually a pending MR in mesa that would alleviate this pain of indefinite blocking.
Important Information
Provide following Information:
Reproduction steps
--gpu-api=vulkan --vulkan-swap-mode=immediate --ao=pulse
orvulkan-swap-mode=fifo
Expected behavior
audio continues when mpv is backgrounded
Actual behavior
audio hangs
Log file
relevant output
full-log