You are not logged in.

#1 2026-02-08 15:41:09

Strangiato
Member
Registered: 2020-01-10
Posts: 499

Many dropped frames playing 4k h264 video with mpv

Hello

Many frames are dropped when mpv plays a 4k h264 video (30 or 60fps) on my Arch.
"intel_gpu_top" command indicates that hardware acceleration is working - its "Video" bar goes up to 40% during playback.
Weirdly mpv-based players Celluloid and SMPlayer do not drop frames, or drop much less than mpv; the same videos are watchable with them.

My system:

Operating System: Arch Linux 
KDE Plasma Version: 6.5.91
KDE Frameworks Version: 6.22.0
Qt Version: 6.11.0
Kernel Version: 6.18.8-arch2-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-4790 CPU @ 3.60GHz
Memory: 32 GiB of RAM (31,2 GiB usable)
Graphics Processor: Intel® HD Graphics 4600

The /etc/mpv/mpv.conf file:

hwdec=auto-safe
vo=gpu-next
#--hwdec=vaapi
#keepaspect=no
save-position-on-quit

Any idea on how to solve the problem with mpv on my system?

Thanks for reading.

Offline

#2 2026-02-08 20:41:22

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 72,968

Re: Many dropped frames playing 4k h264 video with mpv

What's the output of

mpv -v /path/to/some/4k/porn.mp4

The /etc/mpv/mpv.conf file

Tried vaapi & gpu ?
Any change between

mpv --gpu-context=wayland yeahsure.mp4

and

mpv --gpu-context=waylandvk everybodyknowsitsporn.mp4

Offline

#3 2026-02-08 21:05:36

Strangiato
Member
Registered: 2020-01-10
Posts: 499

Re: Many dropped frames playing 4k h264 video with mpv

vaapi and gpu produce the same result. Your alternatives too.

$ mpv -v bbb_sunflower_2160p_60fps_normal.mp4 
[cplayer] Command line options: '-v' 'bbb_sunflower_2160p_60fps_normal.mp4'
[cplayer] mpv v0.41.0 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
[cplayer]  built on Dec 22 2025 14:58:51
[cplayer] libplacebo version: v7.351.0
[cplayer] FFmpeg version: n8.0.1
[cplayer] FFmpeg library versions:
[cplayer]    libavcodec      62.11.100
[cplayer]    libavdevice     62.1.100
[cplayer]    libavfilter     11.4.100
[cplayer]    libavformat     62.3.100
[cplayer]    libavutil       60.8.100
[cplayer]    libswresample   6.1.100
[cplayer]    libswscale      9.1.100
[cplayer] Configuration: -Db_pie=true -Dpython.bytecompile=1 -Dlibmpv=true -Dgl-x11=enabled -Dcaca=disabled -Dcdda=enabled -Ddrm=enabled -Ddvbin=enabled -Ddvdnav=enabled -Dlibarchive=enabled -Dopenal=enabled -Dsdl2-audio=enabled -Dsdl2-video=enabled -Dsdl2-gamepad=enabled -Dprefix=/usr -Dlibexecdir=lib -Dsbindir=bin -Dauto_features=auto -Dbuildtype=plain -Dwrap_mode=nodownload
[cplayer] List of enabled features: alsa build-date cdda cplugins cuda-hwaccel cuda-interop dmabuf-interop-gl dmabuf-wayland drm dvbin dvdnav egl egl-drm egl-wayland egl-x11 ffmpeg ffnvcodec gbm gl gl-x11 glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg lcms2 libarchive libass libavdevice libbluray libdl libplacebo linux-fstatfs luajit memfd-create memrchr openal pipewire posix posix-shm ppoll pthread-condattr-setclock pulse rubberband rubberband-3 sdl2-audio sdl2-gamepad sdl2-video sixel uchardet vaapi vaapi-drm vaapi-wayland vaapi-x11 vapoursynth vdpau vdpau-gl-x11 vector vk-khr-display vt.h vulkan wayland wayland-protocols-1-32 wayland-protocols-1-38 wayland-protocols-1-39 wayland-protocols-1-41 wayland-protocols-1-44 wayland-protocols-1-47 x11 x11-clipboard xv zimg zimg-st428 zlib
[cplayer] Reading config file /etc/mpv/mpv.conf
[ifo_dvdnav] Opening /etc/mpv/mpv.conf
[bdmv/bluray] Opening /etc/mpv/mpv.conf
[file] Opening /etc/mpv/mpv.conf
[cplayer] Applying profile 'default'...
[cplayer] Setting option 'hwdec' = 'auto-safe' (flags = 4)
[cplayer] Setting option 'vo' = 'gpu-next' (flags = 4)
[cplayer] Setting option 'save-position-on-quit' = '' (flags = 4)
[cplayer] Setting option 'v' = '' (flags = 8)
[clipboard/wayland] Registered interface wl_seat at version 8
[clipboard/wayland] Registered interface ext_data_control_manager_v1 at version 1
[clipboard] Initialized wayland clipboard backend.
[clipboard/wayland] Read 27 bytes from the data offer fd
[clipboard/wayland] Read 27 bytes from the data offer fd
[cplayer] Waiting for scripts...
[cplayer] Set property: user-data/osc/visibility="auto" -> 1
[cplayer] Set property: user-data/osc/margins={"t":0,"l":0,"r":0,"b":0} -> 1
[cplayer] Set property: user-data/osc/margins={"t":0,"l":0,"r":0,"b":0} -> 1
[cplayer] Set property: user-data/osc/margins={"t":0,"l":0,"r":0,"b":0} -> 1
[osd/libass] libass API version: 0x1704000
[osd/libass] libass source: commit: 0.17.4-0-gbbb3c7f1570a4a021e52683f3fbdf74fe492ae84
[osd/libass] Shaper: FriBidi 1.0.16 (SIMPLE) HarfBuzz-ng 12.3.2 (COMPLEX)
[osd/libass] Setting up fonts...
[osd/libass] Using font provider fontconfig
[osd/libass] Done.
[cplayer] Done loading scripts.
[cplayer] Running hook: auto_profiles/on_before_start_file
[cplayer] client removed during hook handling
[cplayer] Resuming playback. This behavior can be disabled with --no-resume-playback.
[cplayer] Loading config '/home/stalker/.local/state/mpv/watch_later/B5F67B0DDA1D8EC20EBDD4A4B715A5BD'
[cplayer] Reading config file /home/stalker/.local/state/mpv/watch_later/B5F67B0DDA1D8EC20EBDD4A4B715A5BD
[ifo_dvdnav] Opening /home/stalker/.local/state/mpv/watch_later/B5F67B0DDA1D8EC20EBDD4A4B715A5BD
[bdmv/bluray] Opening /home/stalker/.local/state/mpv/watch_later/B5F67B0DDA1D8EC20EBDD4A4B715A5BD
[file] Opening /home/stalker/.local/state/mpv/watch_later/B5F67B0DDA1D8EC20EBDD4A4B715A5BD
[cplayer] Applying profile 'default'...
[cplayer] Setting option 'start' = '285.316667' (flags = 36)
[cplayer] Running hook: auto_profiles/on_load
[cplayer] Failed sending hook command auto_profiles/on_load. Removing hook.
[cplayer] Running hook: ytdl_hook/on_load
[cplayer] Running hook: ytdl_hook/on_load
[ytdl_hook] playlist hook
[ifo_dvdnav] Opening bbb_sunflower_2160p_60fps_normal.mp4
[bdmv/bluray] Opening bbb_sunflower_2160p_60fps_normal.mp4
[file] Opening bbb_sunflower_2160p_60fps_normal.mp4
[demux] Trying demuxers for level=normal.
[lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.
[cplayer] Set property: user-data/osc/margins={"t":0,"l":0,"r":0,"b":0} -> 1
[file] stream level seek from 544492 to 673223804
[demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)
[cplayer] Opening done: bbb_sunflower_2160p_60fps_normal.mp4
[find_files] Loading external files in .
[cplayer] Running hook: auto_profiles/on_preloaded
[cplayer] Failed sending hook command auto_profiles/on_preloaded. Removing hook.
[cplayer] Running hook: ytdl_hook/on_preloaded
[lavf] select track 0
[lavf] select track 1
[cplayer] ● Video  --vid=1  (h264 3840x2160 60 fps) [default]
[cplayer] ● Audio  --aid=1  (mp3 2ch 48000 Hz 160 kbps) [default]
[cplayer] ○ Audio  --aid=2  (ac3 6ch 48000 Hz 320 kbps) [default]
[display-tags] File tags:
[display-tags]  Artist: Blender Foundation 2008, Janus Bager Kristensen 2013
[display-tags]  Comment: Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net
[display-tags]  Composer: Sacha Goedegebure
[display-tags]  Genre: Animation
[display-tags]  Title: Big Buck Bunny, Sunflower version
[vo/gpu-next] Probing for best GPU context.
[vo/gpu-next/auto] Initializing GPU context 'auto'
[vo/gpu-next/vulkan] Initializing GPU context 'waylandvk'
[vo/gpu-next/libplacebo] Initialized libplacebo v7.351.0 (API v351)
[vo/gpu-next/libplacebo] Creating vulkan instance with extensions:
[vo/gpu-next/libplacebo]     VK_KHR_surface
[vo/gpu-next/libplacebo]     VK_EXT_swapchain_colorspace
[vo/gpu-next/libplacebo]     VK_KHR_get_surface_capabilities2
[vo/gpu-next/libplacebo]     VK_KHR_portability_enumeration
[vo/gpu-next/libplacebo]     VK_KHR_surface
[vo/gpu-next/libplacebo]     VK_KHR_wayland_surface
[vo/gpu-next/wayland] Registered interface wl_compositor at version 6
[vo/gpu-next/wayland] Registered interface zwp_tablet_manager_v2 at version 1
[vo/gpu-next/wayland] Registered interface zxdg_decoration_manager_v1 at version 1
[vo/gpu-next/wayland] Registered interface wp_viewporter at version 1
[vo/gpu-next/wayland] Registered interface wp_fractional_scale_manager_v1 at version 1
[vo/gpu-next/wayland] Registered interface wl_shm at version 1
[vo/gpu-next/wayland] Registered interface wl_seat at version 8
[vo/gpu-next/wayland] Registered interface wl_data_device_manager at version 3
[vo/gpu-next/wayland] Registered interface wp_cursor_shape_manager_v1 at version 2
[vo/gpu-next/wayland] Registered interface zwp_idle_inhibit_manager_v1 at version 1
[vo/gpu-next/wayland] Registered interface wl_subcompositor at version 1
[vo/gpu-next/wayland] Registered interface xdg_activation_v1 at version 1
[vo/gpu-next/wayland] Registered interface wp_content_type_manager_v1 at version 1
[vo/gpu-next/wayland] Registered interface wp_presentation at version 2
[vo/gpu-next/wayland] Registered interface wp_color_manager_v1 at version 1
[vo/gpu-next/wayland] Registered interface wp_fifo_manager_v1 at version 1
[vo/gpu-next/wayland] Registered interface wp_single_pixel_buffer_manager_v1 at version 1
[vo/gpu-next/wayland] Registered interface wp_color_representation_manager_v1 at version 1
[vo/gpu-next/wayland] Registered interface zwp_linux_dmabuf_v1 at version 4
[vo/gpu-next/wayland] Registered interface xdg_wm_base at version 6
[vo/gpu-next/wayland] Registered interface wl_output at version 4
[vo/gpu-next/wayland] Registered interface zwp_text_input_manager_v3 at version 1
[vo/gpu-next/wayland] Compositor supports parametric image description creator.
[vo/gpu-next/wayland] Compositor supports setting mastering display primaries.
[vo/gpu-next/wayland] Registered output LG Electronics 23MP55 (HDMI-A-1) (0x40):
[vo/gpu-next/wayland]   x: 0px, y: 0px
[vo/gpu-next/wayland]   w: 1920px (510mm), h: 1080px (290mm)
[vo/gpu-next/wayland]   transform: 0
[vo/gpu-next/wayland]   scale: 1.000000
[vo/gpu-next/wayland]   Hz: 60.000000
[vo/gpu-next/wayland] Preferred surface feedback received:
[vo/gpu-next/wayland] transfer: gamma2.2, primaries: bt.709
[vo/gpu-next/wayland] transfer: min_luma=0.200000, max_luma=80.000000, ref_luma=80.000000
[vo/gpu-next/wayland] target: min_luma=0.200000, max_luma=80.000000, max_cll=80.000000, max_fall=80.000000
[vo/gpu-next/wayland]         raw prims: red.x=0.640000,   red.y=0.330000,
[vo/gpu-next/wayland]                    green.x=0.300000, green.y=0.600000,
[vo/gpu-next/wayland]                    blue.x=0.150000,  blue.y=0.060000,
[vo/gpu-next/wayland]                    white.x=0.312700, white.y=0.329000
[vo/gpu-next/wayland] Enabling server decorations
[vo/gpu-next/wayland] Obtained preferred fractional scale, 1.000000, from the compositor.
[vo/gpu-next/libplacebo] Probing for vulkan devices:
MESA-INTEL: warning: Haswell Vulkan support is incomplete
[vo/gpu-next/libplacebo] Spent 14.597 ms enumerating physical devices
[vo/gpu-next/libplacebo]     GPU 0: Intel(R) HD Graphics 4600 (HSW GT2) v1.2.328 (integrated)
[vo/gpu-next/libplacebo]            uuid: 86:80:12:04:06:00:00:00:00:02:00:00:00:00:00:00
[vo/gpu-next/libplacebo] Vulkan device properties:
[vo/gpu-next/libplacebo]     Device Name: Intel(R) HD Graphics 4600 (HSW GT2)
[vo/gpu-next/libplacebo]     Device ID: 8086:412
[vo/gpu-next/libplacebo]     Device UUID: 86:80:12:04:06:00:00:00:00:02:00:00:00:00:00:00
[vo/gpu-next/libplacebo]     Driver version: 6403005
[vo/gpu-next/libplacebo]     API version: 1.2.328
[vo/gpu-next/libplacebo]     Driver ID: VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA
[vo/gpu-next/libplacebo]     Driver name: Intel open-source Mesa driver
[vo/gpu-next/libplacebo]     Driver info: Mesa 25.3.5-arch1.1
[vo/gpu-next/libplacebo]     Conformance version: 0.0.0.0
[vo/gpu-next/libplacebo]     Driver UUID: 4E:4C:D4:56:4A:3E:95:9D:94:4E:43:12:13:8B:8F:07
[vo/gpu-next/libplacebo] Creating vulkan device with extensions:
[vo/gpu-next/libplacebo]     VK_KHR_swapchain
[vo/gpu-next/libplacebo]     VK_KHR_swapchain
[vo/gpu-next/libplacebo]     VK_KHR_push_descriptor
[vo/gpu-next/libplacebo]     VK_KHR_external_memory_fd
[vo/gpu-next/libplacebo]     VK_EXT_external_memory_dma_buf
[vo/gpu-next/libplacebo]     VK_EXT_external_memory_host
[vo/gpu-next/libplacebo]     VK_KHR_external_semaphore_fd
[vo/gpu-next/libplacebo]     VK_EXT_pci_bus_info
[vo/gpu-next/libplacebo]     VK_EXT_image_drm_format_modifier
[vo/gpu-next/libplacebo]     VK_KHR_synchronization2
[vo/gpu-next/libplacebo]     VK_EXT_shader_atomic_float
[vo/gpu-next/libplacebo]     VK_KHR_dynamic_rendering
[vo/gpu-next/libplacebo]     VK_KHR_zero_initialize_workgroup_memory
[vo/gpu-next/libplacebo]     VK_KHR_shader_expect_assume
[vo/gpu-next/libplacebo]     VK_KHR_shader_relaxed_extended_instruction
[vo/gpu-next/libplacebo] Memory heaps supported by device:
[vo/gpu-next/libplacebo]     0: flags 0x1 size 1536M
[vo/gpu-next/libplacebo] Memory summary:     0 used     0 res     0 alloc, efficiency 100.00%, utilization 100.00%, max page:   96M
[vo/gpu-next/libplacebo] shaderc SPIR-V version 1.6 rev 1
[vo/gpu-next/libplacebo] Initialized SPIR-V compiler 'shaderc'
MESA-INTEL: warning: ../mesa-25.3.5/src/intel/vulkan_hasvk/anv_formats.c:790: FINISHME: support more multi-planar formats with DRM modifiers
[vo/gpu-next/libplacebo] GPU information:
[vo/gpu-next/libplacebo]     GLSL version: 450 (vulkan)
[vo/gpu-next/libplacebo]       max_shmem_size:            65536
[vo/gpu-next/libplacebo]       max_group_threads:         1024
[vo/gpu-next/libplacebo]       max_group_size[0]:         1024
[vo/gpu-next/libplacebo]       max_group_size[1]:         1024
[vo/gpu-next/libplacebo]       max_group_size[2]:         1024
[vo/gpu-next/libplacebo]       subgroup_size:             0
[vo/gpu-next/libplacebo]       min_gather_offset:         -32
[vo/gpu-next/libplacebo]       max_gather_offset:         31
[vo/gpu-next/libplacebo]     Limits:
[vo/gpu-next/libplacebo]       thread_safe:               1
[vo/gpu-next/libplacebo]       callbacks:                 1
[vo/gpu-next/libplacebo]       max_buf_size:              1610612736
[vo/gpu-next/libplacebo]       max_ubo_size:              134217728
[vo/gpu-next/libplacebo]       max_ssbo_size:             1073741824
[vo/gpu-next/libplacebo]       max_vbo_size:              1610612736
[vo/gpu-next/libplacebo]       max_mapped_size:           1610612736
[vo/gpu-next/libplacebo]       max_buffer_texels:         134217728
[vo/gpu-next/libplacebo]       align_host_ptr:            4096
[vo/gpu-next/libplacebo]       host_cached:               1
[vo/gpu-next/libplacebo]       max_tex_1d_dim:            16384
[vo/gpu-next/libplacebo]       max_tex_2d_dim:            8192
[vo/gpu-next/libplacebo]       max_tex_3d_dim:            2048
[vo/gpu-next/libplacebo]       blittable_1d_3d:           1
[vo/gpu-next/libplacebo]       buf_transfer:              1
[vo/gpu-next/libplacebo]       align_tex_xfer_pitch:      128
[vo/gpu-next/libplacebo]       align_tex_xfer_offset:     128
[vo/gpu-next/libplacebo]       max_variable_comps:        0
[vo/gpu-next/libplacebo]       max_constants:             18446744073709551615
[vo/gpu-next/libplacebo]       max_pushc_size:            128
[vo/gpu-next/libplacebo]       align_vertex_stride:       1
[vo/gpu-next/libplacebo]       max_dispatch[0]:           65535
[vo/gpu-next/libplacebo]       max_dispatch[1]:           65535
[vo/gpu-next/libplacebo]       max_dispatch[2]:           65535
[vo/gpu-next/libplacebo]       fragment_queues:           1
[vo/gpu-next/libplacebo]       compute_queues:            1
[vo/gpu-next/libplacebo]     External API interop:
[vo/gpu-next/libplacebo]       UUID: 86:80:12:04:06:00:00:00:00:02:00:00:00:00:00:00
[vo/gpu-next/libplacebo]       PCI: 0000:00:02:0
[vo/gpu-next/libplacebo]       buf export caps: 0x9
[vo/gpu-next/libplacebo]       buf import caps: 0x19
[vo/gpu-next/libplacebo]       tex export caps: 0x9
[vo/gpu-next/libplacebo]       tex import caps: 0x9
[vo/gpu-next/libplacebo]       sync export caps: 0x1
[vo/gpu-next/libplacebo]       sync import caps: 0x0
[vo/gpu-next/libplacebo] Available surface configurations:
[vo/gpu-next/libplacebo]     0: VK_FORMAT_A2R10G10B10_UNORM_PACK32       VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
[vo/gpu-next/libplacebo]     1: VK_FORMAT_R8G8B8A8_SRGB                  VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
[vo/gpu-next/libplacebo]     2: VK_FORMAT_R8G8B8A8_UNORM                 VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
[vo/gpu-next/libplacebo]     3: VK_FORMAT_B8G8R8A8_SRGB                  VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
[vo/gpu-next/libplacebo]     4: VK_FORMAT_B8G8R8A8_UNORM                 VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
[vo/gpu-next/libplacebo]     5: VK_FORMAT_R16G16B16A16_UNORM             VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
[vo/gpu-next/libplacebo]     6: VK_FORMAT_R16G16B16A16_SFLOAT            VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
[vo/gpu-next/libplacebo]     7: VK_FORMAT_R5G6B5_UNORM_PACK16            VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
[vo/gpu-next/libplacebo]     8: VK_FORMAT_A2R10G10B10_UNORM_PACK32       VK_COLOR_SPACE_PASS_THROUGH_EXT
[vo/gpu-next/libplacebo]     9: VK_FORMAT_R8G8B8A8_SRGB                  VK_COLOR_SPACE_PASS_THROUGH_EXT
[vo/gpu-next/libplacebo]     10: VK_FORMAT_R8G8B8A8_UNORM                 VK_COLOR_SPACE_PASS_THROUGH_EXT
[vo/gpu-next/libplacebo]     11: VK_FORMAT_B8G8R8A8_SRGB                  VK_COLOR_SPACE_PASS_THROUGH_EXT
[vo/gpu-next/libplacebo]     12: VK_FORMAT_B8G8R8A8_UNORM                 VK_COLOR_SPACE_PASS_THROUGH_EXT
[vo/gpu-next/libplacebo]     13: VK_FORMAT_R16G16B16A16_UNORM             VK_COLOR_SPACE_PASS_THROUGH_EXT
[vo/gpu-next/libplacebo]     14: VK_FORMAT_R16G16B16A16_SFLOAT            VK_COLOR_SPACE_PASS_THROUGH_EXT
[vo/gpu-next/libplacebo]     15: VK_FORMAT_R5G6B5_UNORM_PACK16            VK_COLOR_SPACE_PASS_THROUGH_EXT
[vo/gpu-next/libplacebo]     16: VK_FORMAT_A2R10G10B10_UNORM_PACK32       VK_COLOR_SPACE_EXTENDED_SRGB_LINEAR_EXT
[vo/gpu-next/libplacebo]     17: VK_FORMAT_R8G8B8A8_SRGB                  VK_COLOR_SPACE_EXTENDED_SRGB_LINEAR_EXT
[vo/gpu-next/libplacebo]     18: VK_FORMAT_R8G8B8A8_UNORM                 VK_COLOR_SPACE_EXTENDED_SRGB_LINEAR_EXT
[vo/gpu-next/libplacebo]     19: VK_FORMAT_B8G8R8A8_SRGB                  VK_COLOR_SPACE_EXTENDED_SRGB_LINEAR_EXT
[vo/gpu-next/libplacebo]     20: VK_FORMAT_B8G8R8A8_UNORM                 VK_COLOR_SPACE_EXTENDED_SRGB_LINEAR_EXT
[vo/gpu-next/libplacebo]     21: VK_FORMAT_R16G16B16A16_UNORM             VK_COLOR_SPACE_EXTENDED_SRGB_LINEAR_EXT
[vo/gpu-next/libplacebo]     22: VK_FORMAT_R16G16B16A16_SFLOAT            VK_COLOR_SPACE_EXTENDED_SRGB_LINEAR_EXT
[vo/gpu-next/libplacebo]     23: VK_FORMAT_R5G6B5_UNORM_PACK16            VK_COLOR_SPACE_EXTENDED_SRGB_LINEAR_EXT
[vo/gpu-next/libplacebo]     24: VK_FORMAT_A2R10G10B10_UNORM_PACK32       VK_COLOR_SPACE_DISPLAY_P3_LINEAR_EXT
[vo/gpu-next/libplacebo]     25: VK_FORMAT_R8G8B8A8_SRGB                  VK_COLOR_SPACE_DISPLAY_P3_LINEAR_EXT
[vo/gpu-next/libplacebo]     26: VK_FORMAT_R8G8B8A8_UNORM                 VK_COLOR_SPACE_DISPLAY_P3_LINEAR_EXT
[vo/gpu-next/libplacebo]     27: VK_FORMAT_B8G8R8A8_SRGB                  VK_COLOR_SPACE_DISPLAY_P3_LINEAR_EXT
[vo/gpu-next/libplacebo]     28: VK_FORMAT_B8G8R8A8_UNORM                 VK_COLOR_SPACE_DISPLAY_P3_LINEAR_EXT
[vo/gpu-next/libplacebo]     29: VK_FORMAT_R16G16B16A16_UNORM             VK_COLOR_SPACE_DISPLAY_P3_LINEAR_EXT
[vo/gpu-next/libplacebo]     30: VK_FORMAT_R16G16B16A16_SFLOAT            VK_COLOR_SPACE_DISPLAY_P3_LINEAR_EXT
[vo/gpu-next/libplacebo]     31: VK_FORMAT_R5G6B5_UNORM_PACK16            VK_COLOR_SPACE_DISPLAY_P3_LINEAR_EXT
[vo/gpu-next/libplacebo]     32: VK_FORMAT_A2R10G10B10_UNORM_PACK32       VK_COLOR_SPACE_BT709_LINEAR_EXT
[vo/gpu-next/libplacebo]     33: VK_FORMAT_R8G8B8A8_SRGB                  VK_COLOR_SPACE_BT709_LINEAR_EXT
[vo/gpu-next/libplacebo]     34: VK_FORMAT_R8G8B8A8_UNORM                 VK_COLOR_SPACE_BT709_LINEAR_EXT
[vo/gpu-next/libplacebo]     35: VK_FORMAT_B8G8R8A8_SRGB                  VK_COLOR_SPACE_BT709_LINEAR_EXT
[vo/gpu-next/libplacebo]     36: VK_FORMAT_B8G8R8A8_UNORM                 VK_COLOR_SPACE_BT709_LINEAR_EXT
[vo/gpu-next/libplacebo]     37: VK_FORMAT_R16G16B16A16_UNORM             VK_COLOR_SPACE_BT709_LINEAR_EXT
[vo/gpu-next/libplacebo]     38: VK_FORMAT_R16G16B16A16_SFLOAT            VK_COLOR_SPACE_BT709_LINEAR_EXT
[vo/gpu-next/libplacebo]     39: VK_FORMAT_R5G6B5_UNORM_PACK16            VK_COLOR_SPACE_BT709_LINEAR_EXT
[vo/gpu-next/libplacebo]     40: VK_FORMAT_A2R10G10B10_UNORM_PACK32       VK_COLOR_SPACE_BT709_NONLINEAR_EXT
[vo/gpu-next/libplacebo]     41: VK_FORMAT_R8G8B8A8_SRGB                  VK_COLOR_SPACE_BT709_NONLINEAR_EXT
[vo/gpu-next/libplacebo]     42: VK_FORMAT_R8G8B8A8_UNORM                 VK_COLOR_SPACE_BT709_NONLINEAR_EXT
[vo/gpu-next/libplacebo]     43: VK_FORMAT_B8G8R8A8_SRGB                  VK_COLOR_SPACE_BT709_NONLINEAR_EXT
[vo/gpu-next/libplacebo]     44: VK_FORMAT_B8G8R8A8_UNORM                 VK_COLOR_SPACE_BT709_NONLINEAR_EXT
[vo/gpu-next/libplacebo]     45: VK_FORMAT_R16G16B16A16_UNORM             VK_COLOR_SPACE_BT709_NONLINEAR_EXT
[vo/gpu-next/libplacebo]     46: VK_FORMAT_R16G16B16A16_SFLOAT            VK_COLOR_SPACE_BT709_NONLINEAR_EXT
[vo/gpu-next/libplacebo]     47: VK_FORMAT_R5G6B5_UNORM_PACK16            VK_COLOR_SPACE_BT709_NONLINEAR_EXT
[vo/gpu-next/libplacebo]     48: VK_FORMAT_A2R10G10B10_UNORM_PACK32       VK_COLOR_SPACE_BT2020_LINEAR_EXT
[vo/gpu-next/libplacebo]     49: VK_FORMAT_R8G8B8A8_SRGB                  VK_COLOR_SPACE_BT2020_LINEAR_EXT
[vo/gpu-next/libplacebo]     50: VK_FORMAT_R8G8B8A8_UNORM                 VK_COLOR_SPACE_BT2020_LINEAR_EXT
[vo/gpu-next/libplacebo]     51: VK_FORMAT_B8G8R8A8_SRGB                  VK_COLOR_SPACE_BT2020_LINEAR_EXT
[vo/gpu-next/libplacebo]     52: VK_FORMAT_B8G8R8A8_UNORM                 VK_COLOR_SPACE_BT2020_LINEAR_EXT
[vo/gpu-next/libplacebo]     53: VK_FORMAT_R16G16B16A16_UNORM             VK_COLOR_SPACE_BT2020_LINEAR_EXT
[vo/gpu-next/libplacebo]     54: VK_FORMAT_R16G16B16A16_SFLOAT            VK_COLOR_SPACE_BT2020_LINEAR_EXT
[vo/gpu-next/libplacebo]     55: VK_FORMAT_R5G6B5_UNORM_PACK16            VK_COLOR_SPACE_BT2020_LINEAR_EXT
[vo/gpu-next/libplacebo]     56: VK_FORMAT_A2R10G10B10_UNORM_PACK32       VK_COLOR_SPACE_HDR10_ST2084_EXT
[vo/gpu-next/libplacebo]     57: VK_FORMAT_R8G8B8A8_SRGB                  VK_COLOR_SPACE_HDR10_ST2084_EXT
[vo/gpu-next/libplacebo]     58: VK_FORMAT_R8G8B8A8_UNORM                 VK_COLOR_SPACE_HDR10_ST2084_EXT
[vo/gpu-next/libplacebo]     59: VK_FORMAT_B8G8R8A8_SRGB                  VK_COLOR_SPACE_HDR10_ST2084_EXT
[vo/gpu-next/libplacebo]     60: VK_FORMAT_B8G8R8A8_UNORM                 VK_COLOR_SPACE_HDR10_ST2084_EXT
[vo/gpu-next/libplacebo]     61: VK_FORMAT_R16G16B16A16_UNORM             VK_COLOR_SPACE_HDR10_ST2084_EXT
[vo/gpu-next/libplacebo]     62: VK_FORMAT_R16G16B16A16_SFLOAT            VK_COLOR_SPACE_HDR10_ST2084_EXT
[vo/gpu-next/libplacebo]     63: VK_FORMAT_R5G6B5_UNORM_PACK16            VK_COLOR_SPACE_HDR10_ST2084_EXT
[vo/gpu-next/libplacebo]     64: VK_FORMAT_A2R10G10B10_UNORM_PACK32       VK_COLOR_SPACE_ADOBERGB_LINEAR_EXT
[vo/gpu-next/libplacebo]     65: VK_FORMAT_R8G8B8A8_SRGB                  VK_COLOR_SPACE_ADOBERGB_LINEAR_EXT
[vo/gpu-next/libplacebo]     66: VK_FORMAT_R8G8B8A8_UNORM                 VK_COLOR_SPACE_ADOBERGB_LINEAR_EXT
[vo/gpu-next/libplacebo]     67: VK_FORMAT_B8G8R8A8_SRGB                  VK_COLOR_SPACE_ADOBERGB_LINEAR_EXT
[vo/gpu-next/libplacebo]     68: VK_FORMAT_B8G8R8A8_UNORM                 VK_COLOR_SPACE_ADOBERGB_LINEAR_EXT
[vo/gpu-next/libplacebo]     69: VK_FORMAT_R16G16B16A16_UNORM             VK_COLOR_SPACE_ADOBERGB_LINEAR_EXT
[vo/gpu-next/libplacebo]     70: VK_FORMAT_R16G16B16A16_SFLOAT            VK_COLOR_SPACE_ADOBERGB_LINEAR_EXT
[vo/gpu-next/libplacebo]     71: VK_FORMAT_R5G6B5_UNORM_PACK16            VK_COLOR_SPACE_ADOBERGB_LINEAR_EXT
[vo/gpu-next/libplacebo] Picked surface configuration 13: VK_FORMAT_R16G16B16A16_UNORM + VK_COLOR_SPACE_PASS_THROUGH_EXT
[vo/gpu-next/wayland] Preferred surface feedback received:
[vo/gpu-next/wayland] transfer: gamma2.2, primaries: auto
[vo/gpu-next/wayland] transfer: min_luma=0.000000, max_luma=120.000000, ref_luma=107.000000
[vo/gpu-next/wayland] target: min_luma=0.000000, max_luma=107.000000, max_cll=107.000000, max_fall=107.000000
[vo/gpu-next/wayland]         raw prims: red.x=0.650052,   red.y=0.335541,
[vo/gpu-next/wayland]                    green.x=0.317446, green.y=0.606734,
[vo/gpu-next/wayland]                    blue.x=0.149800,  blue.y=0.065792,
[vo/gpu-next/wayland]                    white.x=0.331866, white.y=0.343190
[vo/gpu-next] Assuming 60.000000 FPS for display sync.
[vd] Container reported FPS: 60.000000
[vd] Codec list:
[vd]     h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[vd]     h264_v4l2m2m (h264) - V4L2 mem2mem H.264 decoder wrapper
[vd]     h264_qsv (h264) - H264 video (Intel Quick Sync Video acceleration)
[vd]     h264_amf (h264) - H264 AMD AMF video decoder
[vd]     h264_cuvid (h264) - Nvidia CUVID H264 decoder
[vd] Opening decoder h264
[vd] Looking at hwdec h264-vulkan...
[vo/gpu-next] Loading hwdec drivers for format: 'vulkan'
[vo/gpu-next] Loading hwdec driver 'vulkan'
[vd] Trying hardware decoding via h264-vulkan.
[vd] Requesting 4 threads for decoding.
[vd] Selected decoder: h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[vf] User filter list:
[vf]   (empty)
[ad] Codec list:
[ad]     mp3float (mp3) - MP3 (MPEG audio layer 3)
[ad]     mp3 - MP3 (MPEG audio layer 3)
[ad] Opening decoder mp3float
[ad] Requesting 1 threads for decoding.
[ad] Selected decoder: mp3float - MP3 (MPEG audio layer 3)
[af] User filter list:
[af]   (empty)
[cplayer] Starting playback...
[lavf] queuing seek to 285.316667
[lavf] execute seek (to 285.316667 flags 32)
[cplayer] hr-seek, skipping to 285.316667
[lavf] seek done
[file] stream level seek from 673223862 to 272590791
[osd/libass] libass API version: 0x1704000
[osd/libass] libass source: commit: 0.17.4-0-gbbb3c7f1570a4a021e52683f3fbdf74fe492ae84
[osd/libass] Shaper: FriBidi 1.0.16 (SIMPLE) HarfBuzz-ng 12.3.2 (COMPLEX)
[osd/libass] Setting up fonts...
[osd/libass] Using font provider fontconfig
[osd/libass] Done.
[af] [in] 48000Hz stereo 2ch floatp
[af] [userspeed] 48000Hz stereo 2ch floatp
[af] [userspeed] (disabled)
[af] [convert] 48000Hz stereo 2ch floatp
[vd] Pixel formats supported by decoder: vdpau vulkan cuda vaapi yuv420p
[vd] Codec profile: High (0x64)
[ffmpeg/video] h264: Device does not support the VK_KHR_video_decode_queue extension!
[vd] Hardware decoding of this stream is unsupported?
[vd] Requesting pixfmt '-' from decoder.
[ffmpeg/video] h264: no frame!
[vd] Pixel formats supported by decoder: vdpau vulkan cuda vaapi yuv420p
[vd] Codec profile: High (0x64)
[ffmpeg/video] h264: Device does not support the VK_KHR_video_decode_queue extension!
[vd] Hardware decoding of this stream is unsupported?
[vd] Requesting pixfmt '-' from decoder.
[ffmpeg/video] h264: no frame!
[vd] Attempting next decoding method after failure of h264-vulkan.
[vd] Looking at hwdec h264-nvdec...
[vo/gpu-next] Loading hwdec drivers for format: 'cuda'
[vo/gpu-next] Loading hwdec driver 'cuda'
Cannot load libcuda.so.1
[vo/gpu-next/cuda] Failed to load CUDA symbols
[vo/gpu-next] Loading failed.
[vd] Could not create device.
[vd] Looking at hwdec h264-vaapi...
[vo/gpu-next] Loading hwdec drivers for format: 'vaapi'
[vo/gpu-next] Loading hwdec driver 'vaapi'
[vo/gpu-next/vaapi] using libplacebo dmabuf interop
[vo/gpu-next/vaapi] Trying to open a x11 VA display...
[vo/gpu-next/vaapi] Trying to open a wayland VA display...
[vo/gpu-next/vaapi/vaapi] libva: VA-API version 1.22.0
[vo/gpu-next/vaapi/vaapi] libva: Trying to open /usr/lib/dri/iHD_drv_video.so
[vo/gpu-next/vaapi/vaapi] libva: Found init function __vaDriverInit_1_22
[vo/gpu-next/vaapi/vaapi] libva: /usr/lib/dri/iHD_drv_video.so init failed
[vo/gpu-next/vaapi/vaapi] libva: va_openDriver() returns 1
[vo/gpu-next/vaapi/vaapi] libva: Trying to open /usr/lib/dri/i965_drv_video.so
[vo/gpu-next/vaapi/vaapi] libva: Found init function __vaDriverInit_1_22
error: failed to resolve wl_drm_interface(): /usr/lib/libEGL_mesa.so.0: undefined symbol: wl_drm_interface
[vo/gpu-next/vaapi/vaapi] libva: /usr/lib/dri/i965_drv_video.so init failed
[vo/gpu-next/vaapi/vaapi] libva: va_openDriver() returns -1
[vo/gpu-next] Loading failed.
[vd] Could not create device.
[vd] Looking at hwdec h264-vulkan-copy...
MESA-INTEL: warning: Haswell Vulkan support is incomplete
[vd] Trying hardware decoding via h264-vulkan-copy.
[vd] Requesting 4 threads for decoding.
[vd] Pixel formats supported by decoder: vdpau vulkan cuda vaapi yuv420p
[vd] Codec profile: High (0x64)
[vd] Requesting pixfmt 'vulkan' from decoder.
[ffmpeg/video] h264: Device does not support the VK_KHR_video_decode_queue extension!
[ffmpeg/video] h264: Failed setup for format vulkan: hwaccel initialisation returned error.
[vd] Pixel formats supported by decoder: vdpau cuda vaapi yuv420p yuv420p
[vd] Codec profile: High (0x64)
[vd] Requesting pixfmt '-' from decoder.
[ffmpeg/video] h264: no frame!
[vd] Pixel formats supported by decoder: vdpau vulkan cuda vaapi yuv420p
[vd] Codec profile: High (0x64)
[vd] Requesting pixfmt 'vulkan' from decoder.
[ffmpeg/video] h264: Device does not support the VK_KHR_video_decode_queue extension!
[ffmpeg/video] h264: Failed setup for format vulkan: hwaccel initialisation returned error.
[vd] Pixel formats supported by decoder: vdpau cuda vaapi yuv420p yuv420p
[vd] Codec profile: High (0x64)
[vd] Requesting pixfmt '-' from decoder.
[ffmpeg/video] h264: no frame!
[vd] Attempting next decoding method after failure of h264-vulkan-copy.
[vd] Looking at hwdec h264-nvdec-copy...
[ffmpeg] CUDA: Cannot load libcuda.so.1
[ffmpeg] CUDA: Could not dynamically load CUDA
[vd] Could not create device.
[vd] Looking at hwdec h264-vaapi-copy...
[vaapi] libva: VA-API version 1.22.0
[vaapi] libva: Trying to open /usr/lib/dri/iHD_drv_video.so
[vaapi] libva: Found init function __vaDriverInit_1_22
[vaapi] libva: /usr/lib/dri/iHD_drv_video.so init failed
[vaapi] libva: va_openDriver() returns 1
[vaapi] libva: Trying to open /usr/lib/dri/i965_drv_video.so
[vaapi] libva: Found init function __vaDriverInit_1_22
[vaapi] libva: va_openDriver() returns 0
[vaapi] Initialized VAAPI: version 1.22
[vd] Trying hardware decoding via h264-vaapi-copy.
[vd] Requesting 4 threads for decoding.
[vd] Pixel formats supported by decoder: vdpau vulkan cuda vaapi yuv420p
[vd] Codec profile: High (0x64)
[vd] Requesting pixfmt 'vaapi' from decoder.
[vd] Using hardware decoding (vaapi-copy).
[vd] Decoder format: 3840x2160 nv12 auto/auto/auto/auto/auto CL=mpeg2/4/h264 crop=3840x2160+0+0 A=none
[vf] [in] 3840x2160 nv12 bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=3840x2160+0+0 A=none
[vf] [userdeint] 3840x2160 nv12 bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=3840x2160+0+0 A=none
[vf] [userdeint] (disabled)
[vf] [autovflip] 3840x2160 nv12 bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=3840x2160+0+0 A=none
[vf] [autovflip] (disabled)
[vf] [autorotate] 3840x2160 nv12 bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=3840x2160+0+0 A=none
[vf] [autorotate] (disabled)
[vf] [convert] 3840x2160 nv12 bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=3840x2160+0+0 A=none
[vf] [convert] (disabled)
[vf] [out] 3840x2160 nv12 bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=3840x2160+0+0 A=none
[ao] Trying audio driver 'pipewire'
[ao/pipewire] requested format: 48000 Hz, stereo channels, floatp
[ao/pipewire] Headers version: 1.4.9
[ao/pipewire] Library version: 1.4.10
[ao/pipewire] Core user: stalker
[ao/pipewire] Core host: Arch-PC
[ao/pipewire] Core version: 1.4.10
[ao/pipewire] Core name: pipewire-0
[ao/pipewire] using soft-buffer of 9600 samples.
[cplayer] AO: [pipewire] 48000Hz stereo 2ch floatp
[cplayer] AO: Description: PipeWire audio output
[af] [convert] (disabled)
[af] [out] 48000Hz stereo 2ch floatp
[cplayer] Set property: user-data/osc/margins={"t":0,"l":0,"r":0,"b":0} -> 1
[cplayer] Set property: user-data/osc/margins={"t":0,"l":0,"r":0,"b":0} -> 1
[cplayer] VO: [gpu-next] 3840x2160 nv12
[cplayer] VO: Description: Video output based on libplacebo
[vo/gpu-next] reconfig to 3840x2160 nv12 bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=3840x2160+0+0 A=none
[vo/gpu-next/wayland] Reconfiguring!
[vo/gpu-next] Window size: 3840x2160 (Borders: l=0 t=0 r=0 b=0)
[vo/gpu-next] Video source: 3840x2160 (1:1)
[vo/gpu-next] Video display: (0, 0) 3840x2160 -> (0, 0) 3840x2160
[vo/gpu-next] Video scale: 1.000000/1.000000
[vo/gpu-next] OSD borders: l=0 t=0 r=0 b=0
[vo/gpu-next] Video borders: l=0 t=0 r=0 b=0
[vo/gpu-next/wayland] Handling resize on the vk side
[vo/gpu-next] Window size: 1920x1080 (Borders: l=0 t=0 r=0 b=0)
[vo/gpu-next] Video source: 3840x2160 (1:1)
[vo/gpu-next] Video display: (0, 0) 3840x2160 -> (0, 0) 1920x1080
[vo/gpu-next] Video scale: 0.500000/0.500000
[vo/gpu-next] OSD borders: l=0 t=0 r=0 b=0
[vo/gpu-next] Video borders: l=0 t=0 r=0 b=0
[vo/gpu-next/libplacebo] Picked surface configuration 53: VK_FORMAT_R16G16B16A16_UNORM + VK_COLOR_SPACE_BT2020_LINEAR_EXT
[vo/gpu-next/libplacebo] Dithering to 8 bit depth
[cplayer] first video frame after restart shown
[vo/gpu-next/wayland] Surface entered output LG Electronics 23MP55 (HDMI-A-1) (0x40), scale = 1.000000, refresh rate = 60.000000 Hz
[vo/gpu-next/wayland] Given data offer with mime type text/plain
[vo/gpu-next/wayland] Given data offer with mime type text/plain;charset=utf-8
[vo/gpu-next/wayland] Handling resize on the vk side
[vo/gpu-next] Window size: 1920x1080 (Borders: l=0 t=0 r=0 b=0)
[vo/gpu-next] Video source: 3840x2160 (1:1)
[vo/gpu-next] Video display: (0, 0) 3840x2160 -> (0, 0) 1920x1080
[vo/gpu-next] Video scale: 0.500000/0.500000
[vo/gpu-next] OSD borders: l=0 t=0 r=0 b=0
[vo/gpu-next] Video borders: l=0 t=0 r=0 b=0
[vo/gpu-next/wayland] Read 27 bytes from the data offer fd
[cplayer] audio ready
[cplayer] starting audio playback
[cplayer] playback restart complete @ 285.316667, audio=playing, video=playing
[vo/gpu-next/wayland] Enabling idle inhibitor
[cplayer] Set property: user-data/osc/margins={"t":0,"l":0,"r":0,"b":0} -> 1
[vo/gpu-next/libplacebo] Detected fps ratio 0.0000 below threshold 0.0100, disabling interpolation
[vo/gpu-next/libplacebo] Estimated source FPS: 60.000, display FPS: 60.000
[vo/gpu-next/libplacebo] Estimated source FPS: 60.000, display FPS: 7.742
[ao/pipewire] Headers version: 1.4.9
[ao/pipewire] Library version: 1.4.10
[ao/pipewire] Core user: stalker
[ao/pipewire] Core host: Arch-PC
[ao/pipewire] Core version: 1.4.10
[ao/pipewire] Core name: pipewire-0
[ao/pipewire] Headers version: 1.4.9
[ao/pipewire] Library version: 1.4.10
[ao/pipewire] Core user: stalker
[ao/pipewire] Core host: Arch-PC
[ao/pipewire] Core version: 1.4.10
[ao/pipewire] Core name: pipewire-0
[ao/pulse] Library version: 17.0.0
[ao/pulse] Proto: 35
[ao/pulse] Server proto: 35
[osd/libass] libass API version: 0x1704000
[osd/libass] libass source: commit: 0.17.4-0-gbbb3c7f1570a4a021e52683f3fbdf74fe492ae84
[osd/libass] Shaper: FriBidi 1.0.16 (SIMPLE) HarfBuzz-ng 12.3.2 (COMPLEX)
[osd/libass] Setting up fonts...
[osd/libass] Using font provider fontconfig
[osd/libass] Done.
[osd/libass] fontselect: (sans-serif, 400, 0) -> /usr/share/fonts/Adwaita/AdwaitaMono-Regular.ttf, 0, Adwaita-Mono
[osd/libass] fontselect: (sans-serif, 700, 0) -> /usr/share/fonts/Adwaita/AdwaitaMono-Bold.ttf, 0, Adwaita-Mono-Bold
[osd/libass] fontselect: (monospace, 400, 0) -> /usr/share/fonts/Adwaita/AdwaitaMono-Regular.ttf, 0, Adwaita-Mono
[ao/pipewire] Headers version: 1.4.9
[ao/pipewire] Library version: 1.4.10
[ao/pipewire] Core user: stalker
[ao/pipewire] Core host: Arch-PC
[ao/pipewire] Core version: 1.4.10
[ao/pipewire] Core name: pipewire-0
[ao/pulse] Library version: 17.0.0
[ao/pulse] Proto: 35
[ao/pulse] Server proto: 35
[vo/gpu-next/libplacebo] Detected fps ratio 0.8095 exceeds threshold 0.0100, re-enabling interpolation
[vo/gpu-next/libplacebo] Estimated source FPS: 60.000, display FPS: 11.429
[cplayer] Set property: user-data/osc/margins={"t":0,"l":0,"r":0,"b":0} -> 1
[osd/libass] fontselect: (sans-serif, 400, 0) -> /usr/share/fonts/Adwaita/AdwaitaMono-Regular.ttf, 0, Adwaita-Mono
[osd/libass] fontselect: (mpv-osd-symbols, 400, 0) -> mpv-osd-symbols-Regular, 0, mpv-osd-symbols-Regular
[cplayer] Set property: user-data/osc/margins={"t":0,"l":0,"r":0,"b":0} -> 1
[cplayer] Saving state.
[cplayer] EOF code: 5  
[vo/gpu-next/wayland] Disabling the idle inhibitor
[statusline] AV: 00:05:01 / 00:10:34 (48%) A-V:  0.076 Dropped: 781
[cplayer] finished playback, success (reason 3)
[cplayer] Running hook: ytdl_hook/on_after_end_file
[cplayer] Exiting... (Quit)
[vo/gpu-next/wayland] Deregistering output LG Electronics 23MP55 (HDMI-A-1) (0x40)
[vo/gpu-next/wayland] Deregistering seat 0xa
[clipboard/wayland] Deregistering seat 0xa

Offline

#4 2026-02-08 21:16:13

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 72,968

Re: Many dropped frames playing 4k h264 video with mpv

[vo/gpu-next/libplacebo] Detected fps ratio 0.0000 below threshold 0.0100, disabling interpolation
[vo/gpu-next/libplacebo] Estimated source FPS: 60.000, display FPS: 60.000
[vo/gpu-next/libplacebo] Estimated source FPS: 60.000, display FPS: 7.742
[vo/gpu-next/libplacebo] Detected fps ratio 0.8095 exceeds threshold 0.0100, re-enabling interpolation
[vo/gpu-next/libplacebo] Estimated source FPS: 60.000, display FPS: 11.429
[vo/gpu-next/wayland] Surface entered output LG Electronics 23MP55 (HDMI-A-1) (0x40), scale = 1.000000, refresh rate = 60.000000 Hz

Is at least one CPU core completely maxed out?
Is this a hybrid graphics system?
Can you try the behavior on kde on X11?

Also test

mpv --ao=null --hwdec=vaapi --vo=gpu --gpu-context=wayland bbb_sunflower_2160p_60fps_normal.mp4

Offline

#5 2026-02-08 21:29:40

Strangiato
Member
Registered: 2020-01-10
Posts: 499

Re: Many dropped frames playing 4k h264 video with mpv

No cpu core is completely maxed out.
This pc only has an intel iGPU.
Tested on X11 right now; much less dropped frames on it.

Still many dropped frames with

mpv --ao=null --hwdec=vaapi --vo=gpu --gpu-context=wayland bbb_sunflower_2160p_60fps_normal.mp4

Offline

#6 2026-02-08 21:32:32

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 72,968

Re: Many dropped frames playing 4k h264 video with mpv

You should be able to inspect the command lines smplayer (and probably celluloid) build for mpv, also make sure they don't end up just turning it into an xwayland client…
https://wiki.archlinux.org/title/Waylan … plications

Offline

#7 2026-02-08 21:49:12

Strangiato
Member
Registered: 2020-01-10
Posts: 499

Re: Many dropped frames playing 4k h264 video with mpv

SMPlayer is running on Xwayland, Celluloid runs natively on Wayland.

Offline

#8 2026-02-08 21:51:21

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 72,968

Re: Many dropped frames playing 4k h264 video with mpv

Aha!
Ok, can you see the mpv commandline built by celluloid?

Offline

#9 2026-02-08 21:57:41

Strangiato
Member
Registered: 2020-01-10
Posts: 499

Re: Many dropped frames playing 4k h264 video with mpv

The "Command" column of System Monitor just says "celluloid bbb_sunflower_2160p_60fps_normal.mp4"

Offline

#10 2026-02-08 21:58:44

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 72,968

Re: Many dropped frames playing 4k h264 video with mpv

ps aux | grep mpv

Offline

#11 2026-02-08 22:00:26

Strangiato
Member
Registered: 2020-01-10
Posts: 499

Re: Many dropped frames playing 4k h264 video with mpv

$ ps aux | grep mpv
stalker    10177 43.8  1.3 2894712 443804 ?      SLsl 18:59   0:01 /usr/bin/mpv --player-operation-mode=pseudo-gui -- /mnt/2TB/bbb_sunflower/bbb_sunflower_2160p_60fps_normal.mp4
stalker    10223  0.0  0.0   6612  4224 pts/2    S+   18:59   0:00 grep mpv

Offline

#12 2026-02-08 22:04:37

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 72,968

Re: Many dropped frames playing 4k h264 video with mpv

So actually hardly anything, either it reconfigures it through a socket (though none defined there) or stdin (me) or maybe this is also secrectly X11 (while the hosting GUI isn't)
Does xrestop list mpv or do you get output from xprop or xwininfo?

Offline

#13 2026-02-08 22:12:17

Strangiato
Member
Registered: 2020-01-10
Posts: 499

Re: Many dropped frames playing 4k h264 video with mpv

xrestop does not list mpv, and I don't get any output from xprop and xwininfo.

Offline

#14 2026-02-08 22:16:14

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 72,968

Re: Many dropped frames playing 4k h264 video with mpv

So smplayer runs on X11, celluloid just runs a regular mpv client (in pseudo-gui mode) on wayland and neither result in frame drops, nor does mpv on X11 but does on wayland… great.
How do any of

mpv --gpu-context=x11
mpv --gpu-context=x11egl
mpv --gpu-context=x11vk

perform?

Offline

#15 2026-02-08 22:31:59

Strangiato
Member
Registered: 2020-01-10
Posts: 499

Re: Many dropped frames playing 4k h264 video with mpv

According to info shown by pressing shift+i, mpv drops frames on X11 too, just less than on Wayland.

shift+i of mpv is still reporting many dropped frames with all your 3 commands; but the video playback is satisfactory with the 2nd and 3rd commands.

Last edited by Strangiato (2026-02-08 22:32:46)

Offline

#16 2026-02-08 22:54:40

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 72,968

Re: Many dropped frames playing 4k h264 video with mpv

Occasional framedrops might be AV sync related.
Does native wayland playback behave nicer on other compositors (weston)?

Are there other differences between the celluloid/normal invocation (fullscreen, window decoration, layer)?

Offline

#17 2026-02-08 23:15:14

Strangiato
Member
Registered: 2020-01-10
Posts: 499

Re: Many dropped frames playing 4k h264 video with mpv

There is no significant difference between Celluloid playing in windowed mode and fullscreen mode on Plasma Wayland.
I have just tried Celluloid and mpv under Weston and gotten the same results; MPV drops ~50 frames per second according to info provided by MPV itself by pressing shift+i.

Offline

#18 2026-02-09 10:46:35

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 72,968

Re: Many dropped frames playing 4k h264 video with mpv

Do you run into this w/ https://download.blender.org/demo/movie … al.mp4.zip or https://download.blender.org/demo/movie … al.mp4.zip ?
Dropping frames w/o resource limits seems a vblank related issue (esp. since this is only on wayland)

Offline

#19 2026-02-09 10:52:17

digitalone
Member
Registered: 2011-08-19
Posts: 355

Re: Many dropped frames playing 4k h264 video with mpv

Try to report this behavior on Github. Anyway, a workaround to have the smoothest playback possible on wayland is using `vo=dmabuf-wayland`. But, as the documentation says, it's not the same quality as the standard video output (even if I did not notice a big drop in the quality of the images).

Last edited by digitalone (2026-02-09 10:54:01)

Offline

#20 2026-02-09 10:55:50

Strangiato
Member
Registered: 2020-01-10
Posts: 499

Re: Many dropped frames playing 4k h264 video with mpv

seth wrote:

Do you run into this w/ https://download.blender.org/demo/movie … al.mp4.zip or https://download.blender.org/demo/movie … al.mp4.zip ?
Dropping frames w/o resource limits seems a vblank related issue (esp. since this is only on wayland)

Tried the video from the first link; no dropped frame.

Still dropped frames with "vo=dmabuf-wayland".

Edit:
Sorry. "vo=dmabuf-wayland" does not work at all. MPV no even appears on the screen.

Last edited by Strangiato (2026-02-09 11:01:47)

Offline

#21 2026-02-09 11:02:08

digitalone
Member
Registered: 2011-08-19
Posts: 355

Re: Many dropped frames playing 4k h264 video with mpv

I have a laptop with an integrated AMD VGA and a less powerful CPU than yours and I got no dropped frames on H264 2160p60 videos using `vo=dmabuf-wayland` (the only vo that doesn't drop frames on my system, Gnome Wayland).

Offline

#22 2026-02-09 11:15:09

Strangiato
Member
Registered: 2020-01-10
Posts: 499

Re: Many dropped frames playing 4k h264 video with mpv

Well, one more bizarre problem on my system then. I have a laptop with i5 13420h cpu running another OS with Plasma Wayland (neon unstable, based on ubuntu 24.04) and mpv from flathub plays the same 4k video (with vaapi acceleration) smoothly on it.

Offline

#23 2026-02-09 14:37:31

digitalone
Member
Registered: 2011-08-19
Posts: 355

Re: Many dropped frames playing 4k h264 video with mpv

Strangiato wrote:

Well, one more bizarre problem on my system then. I have a laptop with i5 13420h cpu running another OS with Plasma Wayland (neon unstable, based on ubuntu 24.04) and mpv from flathub plays the same 4k video (with vaapi acceleration) smoothly on it.

It could be an older version of mpv which is making the difference. You have to report this behaviour to mpv devs on https://github.com/mpv-player/mpv/issues

Offline

#24 2026-02-09 14:38:58

Strangiato
Member
Registered: 2020-01-10
Posts: 499

Re: Many dropped frames playing 4k h264 video with mpv

I have also tested mpv from flathub on my Arch; it drops frames too.

Last edited by Strangiato (2026-02-09 14:39:29)

Offline

#25 2026-02-09 15:43:24

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 72,968

Re: Many dropped frames playing 4k h264 video with mpv

I have a laptop with i5 13420h cpu

That's a raptor-lake w/ UHD graphics - several generations advanced to the HD4600/Haswell and when it's not rotting away (you're aware of the raptor lake debacle and have the microcode patches?!) quite some faster.

How does the 4k/30fps video perform?
It's not impossible that decoding + scaling + wayland compositor overhead is ultimately too much for the elderly IGP
Since you're losing 5/6 of the frames you'd not be able to decode and play 4k @30fps either in that case - but the magic question is why this doesn't affect
a) xwayland
b) mpv wrapped by celluloid

Does celluloid allow you to configure mpv aspects (decoder/output)?

Offline

Board footer

Powered by FluxBB