While in fullscreen and hovered by the mouse cursor the video hangs with a bunch of swapchain errors on the terminal
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start with the attached output.txt and the repeated VK_ERROR_INITIALIZATION_FAILED messages from vo/gpu-next/libplacebo at swapchain.c:622. Reproduce the fullscreen, cursor-hover condition on the reported Fedora, NVIDIA, KDE, and mpv versions, then trace the swapchain recreation path and relevant Vulkan warnings. Done means the video no longer hangs under those conditions and the regression is covered by an appropriate verification.
Written by the indexing model from the issue text.
Description
mpv Information
mpv v0.40.0 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
libplacebo version: v7.351.0
FFmpeg version: 7.1.1 (runtime 7.1.2)
FFmpeg library versions:
libavcodec 61.19.101
libavdevice 61.3.100
libavfilter 10.4.100
libavformat 61.7.100
libavutil 59.39.100
libswresample 5.3.100
libswscale 8.3.100
Other Information
- Linux version: Fedora Linux
- Kernel Version: 6.18.2-cachyos1.fc43.x86_64
- GPU Model: NVIDIA Corporation GB203 [GeForce RTX 5070 Ti]
- Mesa/GPU Driver Version: 4.6.0 NVIDIA 580.119.02
- Window Manager and Version: KDE Plasma 6.5.4
- Source of mpv: Fedora's official rpm repository
- Latest known working version: I don't know
- Issue started after the following happened: A system reboot after an update
Reproduction Steps
Open a video file in mpv, then double-click to make it fullscreen. Now the video hangs while it's been hovered with the mouse cursor and the terminal spits out a lot of
[vo/gpu-next/libplacebo] vk->CreateSwapchainKHR(...): VK_ERROR_INITIALIZATION_FAILED (../src/vulkan/swapchain.c:622) [vo/gpu-next/libplacebo] Failed (re)creating swapchain!
written in red.
Moving the cursor away from the screen where mpv is playing or having another window in the foreground makes the video resume playing correctly.
I tried with all the suggested parameters like "--no-config" and nothing made the issue go away.
Something that concerns me is that the output of "vulkaninfo | grep driverinfo" gave me some warnings:
WARNING: [Loader Message] Code 0 : Path to given binary /usr/lib64/libGLX_nvidia.so.580.119.02 was found to differ from OS loaded path /usr/lib64/libGLX_nvidia.so.0 WARNING: [Loader Message] Code 0 : Layer VK_LAYER_hdr_wsi uses API version 1.3 which is older than the application specified API version of 1.4. May cause issues. WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Received return code -3 from call to vkCreateInstance in ICD /usr/lib64/libvulkan_dzn.so. Skipping this driver. [HDR Layer] Created HDR surface [HDR Layer] Enabling format: 64 colorspace: 1000104008 [HDR Layer] Enabling format: 58 colorspace: 1000104008 [HDR Layer] Enabling format: 97 colorspace: 1000104002 [HDR Layer] Enabling format: 97 colorspace: 1000104005 driverInfo = 580.119.02 driverInfo = Mesa 25.2.7 driverInfo = Mesa 25.2.7 (LLVM 21.1.5)
Expected Behavior
The video plays correctly, even when hovered with the mouse cursor in full-screen mode
Actual Behavior
The video hangs while the mouse cursor hovers the video in full-screen mode
Log File
Sample Files
https://www.mediafire.com/file/1lu17z5lyv3ixd0/2026-01-06+19-33-35.mp4/file
I carefully read all instruction and confirm that I did the following:
- I tested with the latest mpv version to validate that the issue is not already fixed.
- I provided all required information including system and mpv version.
- I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of
--log-file=output.txt. - I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
- I attached the full, untruncated log file.
- I attached the backtrace in the case of a crash.
- Dominant language
- C
- Stars
- 37k
- Forks
- 3.5k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 22
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.
More from mpv-player/mpv
-
meta:feature-request
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
mpv-player/mpv#18464 ·
-
meta:feature-request
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
mpv-player/mpv#17693 · 5 comments · 1 reaction ·
-
ao/pulse: ao_drain() hangs forever on LoongArch when PulseAudio underrun produces negative buf_diff Openos:linux
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
mpv-player/mpv#17651 · 1 comment ·
-
os:linux
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
mpv-player/mpv#16739 · 9 comments ·
-
os:win
Difficulty 4/5 3-5 days Newbie friendliness 48/100
mpv-player/mpv#18496 ·
Similar issues
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 comment ·
-
bug Self Built Image SNAPSHOT Supported Device target/ramips
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100