vulkan-swapchain option on wayland buggy (causes blocks in mesa?)
Open
Nobody has claimed this yet.
down-upstream:mesa
down-upstream:wayland
os:linux
- Dominant language
- C
- Stars
- 37k
- Forks
- 3.5k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 22
Description
Important Information
Provide following Information:
- mpv version version 0.34.0-365-g369168b9be
- Linux Distribution and Version 5.18.5-1-MANJARO
- Source of the mpv binary mpv-build
- Window Manager and version sway 1.8-dev-d726e506
- GPU driver and version amdgpu 22.0.0-1
Reproduction steps
--gpu-api=vulkan --vulkan-swap-mode=immediate --ao=pulse
or vulkan-swap-mode=fifo
Expected behavior
audio continues when mpv is backgrounded
Actual behavior
audio hangs
Log file
relevant output
[vo/gpu/vulkan/libplacebo] Requested swap mode unsupported by this device, falling back to VK_PRESENT_MODE_FIFO_KHR
AO: [pulse] 44100Hz stereo 2ch float
...
Audio device underrun detected.
Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with --gpu-api=vulkan, --vulkan-swap-mode=immediate or fifo, and --ao=pulse while backgrounding mpv; review the linked full log and the reported Vulkan and PulseAudio messages. Done means audio continues when mpv is backgrounded without an underrun or audio/video desynchronisation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, linux
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100