Skip to content

While in fullscreen and hovered by the mouse cursor the video hangs with a bunch of swapchain errors on the terminal #17239

@Ericchi

Description

@Ericchi

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

output.txt

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions