[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1027455: Unsupported hwdec: vaapi-egl



Package: mpv
Version: 0.35.0-4
Severity: normal

Hi,

I'm running mpv on the IMX8MQ under wayland. The problem was introduced
in 0.35. I can restore mpv to a working state by downloading 0.34.1-1+b5
from snapshot.debian.org. Essentially, the problem is, that with 0.35, I
cannot anymore watch 1080p h264 video on this platform. I diffed the
output of `mpv -v` with 0.34.1-1+b5 as well as with 0.35.0-4 and
attached the diff. If I'm reading the log correctly, then with
0.34.1-1+b5, vaapi-egl is used and with 0.35.0-4 it is not? Indeed, if I
run 0.35.0-4 with --hwdec=vaapi-egl, I get:

    Unsupported hwdec: vaapi-egl

And when I run 0.34.1-1+b5 with the same option, the message does not appear
and playback is smooth.

Is this a red herring?

Please advice what other debugging info I can post to get to the bottom of
this.

Thanks!

cheers, josch



-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: arm64 (aarch64)
Foreign Architectures: amd64

Kernel: Linux 6.1.0-reform2-arm64 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mpv depends on:
ii  libarchive13                      3.6.2-1
ii  libasound2                        1.2.8-1
ii  libass9                           1:0.17.0-2
ii  libavcodec59                      7:5.1.2-1
ii  libavdevice59                     7:5.1.2-1
ii  libavfilter8                      7:5.1.2-1
ii  libavformat59                     7:5.1.2-1
ii  libavutil57                       7:5.1.2-1
ii  libbluray2                        1:1.3.4-1
ii  libc6                             2.36-7
ii  libcaca0                          0.99.beta20-3
ii  libcdio-cdda2                     10.2+2.0.1-1
ii  libcdio-paranoia2                 10.2+2.0.1-1
ii  libcdio19                         2.1.0-4
ii  libdrm2                           2.4.114-1
ii  libdvdnav4                        6.1.1-1
ii  libegl1                           1.5.0-1
ii  libgbm1                           22.3.1-1
ii  libjack-jackd2-0 [libjack-0.125]  1.9.21~dfsg-1
ii  libjpeg62-turbo                   1:2.1.2-1+b1
ii  liblcms2-2                        2.13.1-1+b1
ii  liblua5.2-0                       5.2.4-3
ii  libmujs2                          1.3.2-1
ii  libpipewire-0.3-0                 0.3.63-1
ii  libplacebo208                     4.208.0-3
ii  libpulse0                         16.1+dfsg1-2+b1
ii  librubberband2                    3.1.2+dfsg0-1
ii  libsdl2-2.0-0                     2.26.1+dfsg-1
ii  libsixel1                         1.10.3-3
ii  libswresample4                    7:5.1.2-1
ii  libswscale6                       7:5.1.2-1
ii  libuchardet0                      0.0.7-1
ii  libva-drm2                        2.17.0-1
ii  libva-wayland2                    2.17.0-1
ii  libva-x11-2                       2.17.0-1
ii  libva2                            2.17.0-1
ii  libvdpau1                         1.5-1
ii  libvulkan1                        1.3.231.1-1
ii  libwayland-client0                1.21.0-1
ii  libwayland-cursor0                1.21.0-1
ii  libwayland-egl1                   1.21.0-1
ii  libx11-6                          2:1.8.3-3
ii  libxext6                          2:1.3.4-1+b1
ii  libxinerama1                      2:1.1.4-3
ii  libxkbcommon0                     1.4.1-1
ii  libxpresent1                      1.0.0-2+b10
ii  libxrandr2                        2:1.5.2-2+b1
ii  libxss1                           1:1.2.3-1
ii  libxv1                            2:1.0.11-1.1
ii  libzimg2                          3.0.4+ds1-1
ii  zlib1g                            1:1.2.13.dfsg-1

Versions of packages mpv recommends:
ii  xdg-utils  1.1.3-4.1
ii  yt-dlp     2022.11.11-1

Versions of packages mpv suggests:
pn  libcuda1  <none>

-- no debconf information
--- log.old	2022-12-31 20:09:40.429554316 +0100
+++ log.new	2022-12-31 20:09:04.854354442 +0100
@@ -1,5 +1,5 @@
 [cplayer] Command line options: '-v' '/home/josch/Desktop/[Erai-raws] Neon Genesis Evangelion - 01 ~ 26 (v2) [1080p][Multiple Subtitle]/[Erai-raws] Neon Genesis Evangelion - 05 [1080p][Multiple Subtitle].mkv'
-[cplayer] mpv 0.34.1 Copyright © 2000-2021 mpv/MPlayer/mplayer2 projects
+[cplayer] mpv 0.35.0 Copyright © 2000-2022 mpv/MPlayer/mplayer2 projects
 [cplayer]  built on UNKNOWN
 [cplayer] FFmpeg library versions:
 [cplayer]    libavutil       57.28.100
@@ -10,8 +10,8 @@
 [cplayer]    libswresample   4.7.100
 [cplayer] FFmpeg version: 5.1.2-1
 [cplayer] 
-[cplayer] Configuration: ./waf configure --prefix=/usr --libdir=/usr/lib/aarch64-linux-gnu --confdir=/etc/mpv --zshdir=/usr/share/zsh/vendor-completions --enable-cdda --enable-dvdnav --enable-libmpv-shared --enable-sdl2 --disable-build-date --enable-dvbin
-[cplayer] List of enabled features: alsa asm caca cdda cplayer cplugins cuda-hwaccel cuda-interop debug-build drm dvbin dvdnav egl egl-drm egl-helpers egl-x11 ffmpeg ffmpeg-aviocontext-bytes-read ffnvcodec gbm gbm.h gl gl-wayland glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg lcms2 libarchive libass libavdevice libbluray libdl libm libmpv-shared libplacebo librt linux-fstatfs linux-input-event-codes lua lua52 memfd_create optimize plain-gl posix posix-or-mingw pthreads pulse rubberband sdl2 sdl2-audio sdl2-gamepad sdl2-video sixel spirv-cross spirv-cross-shared stdatomic uchardet vaapi vaapi-drm vaapi-egl vaapi-vulkan vaapi-wayland vaapi-x-egl vaapi-x11 vdpau vector vt.h vulkan wayland wayland-protocols x11 xv zimg zlib
+[cplayer] Configuration: meson configure build -Dprefix=/usr -Dbuildtype=plain -Doptimization=plain
+[cplayer] List of enabled features: alsa av-channel-layout caca cdda cplayer cplugins cuda-hwaccel cuda-interop dmabuf-interop-gl dmabuf-interop-pl dmabuf-wayland drm drm-is-kms dvdnav egl egl-drm egl-helpers egl-x11 ffmpeg ffnvcodec gbm gl gl-wayland glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg jpegxl lcms2 libarchive libass libavdevice libbluray libdl libm libmpv-shared libplacebo libplacebo-next librt linux-fstatfs lua52 manpage-build memfd_create noexecstack pipewire plain-gl posix pulse rubberband rubberband-3 sdl2 sdl2-audio sdl2-gamepad sdl2-video sixel spirv-cross stdatomic threads uchardet vaapi vaapi-drm vaapi-egl vaapi-libplacebo vaapi-wayland vaapi-x-egl vaapi-x11 vdpau vector vt.h vulkan wayland wayland_protocols_1_24 x11 xv zimg zlib
 [cplayer] Reading config file /etc/mpv/encoding-profiles.conf
 [cplayer] Applying profile 'default'...
 [cplayer] Reading config file /home/josch/.config/mpv/mpv.conf
@@ -38,8 +38,8 @@
 [demux] Trying demuxers for level=normal.
 [mkv] Seeking to 1218933839 to read header element 0x1c53bb6b.
 [file] stream level seek from 131072 to 1218933839
-[cplayer] Set property: shared-script-properties -> 1
 [mkv] Parsing cues...
+[cplayer] Set property: shared-script-properties -> 1
 [osd/libass] libass API version: 0x1700000
 [osd/libass] libass source: tarball: 0.17.0
 [osd/libass] Shaper: FriBidi 1.0.8 (SIMPLE) HarfBuzz-ng 6.0.0 (COMPLEX)
@@ -88,14 +88,23 @@
 [vo/gpu] Probing for best GPU context.
 [vo/gpu/opengl] Initializing GPU context 'wayland'
 [vo/gpu/wayland] Registered for protocol wl_shm
+[vo/gpu/wayland] Registered for protocol zwp_linux_dmabuf_v1
 [vo/gpu/wayland] Registered for protocol wl_compositor
+[vo/gpu/wayland] Registered for protocol wl_subcompositor
 [vo/gpu/wayland] Registered for protocol wl_data_device_manager
 [vo/gpu/wayland] Registered for protocol zwp_idle_inhibit_manager_v1
 [vo/gpu/wayland] Registered for protocol xdg_wm_base
 [vo/gpu/wayland] Registered for protocol zxdg_decoration_manager_v1
 [vo/gpu/wayland] Registered for protocol wp_presentation
+[vo/gpu/wayland] Registered for protocol wp_viewporter
 [vo/gpu/wayland] Registered for protocol wl_seat
 [vo/gpu/wayland] Registered for protocol wl_output
+[vo/gpu/wayland] Registered output <Unknown> <Unknown> (0x2a):
+[vo/gpu/wayland] 	x: 0px, y: 0px
+[vo/gpu/wayland] 	w: 1920px (276mm), h: 1080px (155mm)
+[vo/gpu/wayland] 	scale: 1
+[vo/gpu/wayland] 	Hz: 70.040000
+[vo/gpu/wayland] Enabling server decorations
 [vo/gpu/opengl] EGL_VERSION=1.4
 [vo/gpu/opengl] EGL_VENDOR=Mesa Project
 [vo/gpu/opengl] EGL_CLIENT_APIS=OpenGL OpenGL_ES 
@@ -110,18 +119,15 @@
 [vo/gpu/wayland] Loaded extension GL_ARB_vertex_array_object.
 [vo/gpu/wayland] Loaded extension GL_ARB_texture_rg.
 [vo/gpu/wayland] Loaded extension GL_ARB_sync.
+[vo/gpu/wayland] Loaded extension GL_ARB_invalidate_subdata.
 [vo/gpu/wayland] Loaded extension GL_ARB_get_program_binary.
 [vo/gpu/wayland] Loaded extension GL_ARB_buffer_storage.
 [vo/gpu/wayland] Loaded extension GL_ARB_uniform_buffer_object.
 [vo/gpu/wayland] Loaded extension GL_ARB_debug_output.
+[vo/gpu/wayland] Loaded extension GL_KHR_debug.
 [vo/gpu/opengl] 16 bit UNORM textures not available.
 [vo/gpu] Disabling HDR peak computation (one or more of the following is not supported: compute shaders=0, SSBO=0).
 [vo/gpu] No advanced processing required. Enabling dumb mode.
-[vo/gpu/wayland] Registered output <Unknown> <Unknown> (0x2a):
-[vo/gpu/wayland] 	x: 0px, y: 0px
-[vo/gpu/wayland] 	w: 1920px (276mm), h: 1080px (155mm)
-[vo/gpu/wayland] 	scale: 1
-[vo/gpu/wayland] 	Hz: 70.040000
 [vd] Container reported FPS: 23.976024
 [vd] Codec list:
 [vd]     h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
@@ -129,21 +135,21 @@
 [vd]     h264_cuvid (h264) - Nvidia CUVID H264 decoder
 [vd] Opening decoder h264
 [vd] Looking at hwdec h264-nvdec...
-[vo/gpu] Loading hwdec driver 'vaapi-egl'
-[vo/gpu/vaapi-egl] using VAAPI EGL interop
-[vo/gpu/vaapi-egl] Trying to open a x11 VA display...
-[vo/gpu/vaapi-egl] Trying to open a wayland VA display...
-[vo/gpu] Loading failed.
-[vo/gpu] Loading hwdec driver 'cuda-nvdec'
-[vo/gpu/cuda-nvdec] Failed to load CUDA symbols
-[vo/gpu] Loading failed.
-[vo/gpu] Loading hwdec driver 'drmprime-drm'
-[vo/gpu/drmprime-drm] Failed to retrieve DRM fd from native display.
+[vo/gpu] Loading hwdec drivers for format: 'cuda'
+[vo/gpu] Loading hwdec driver 'cuda'
+[vo/gpu/cuda] Failed to load CUDA symbols
 [vo/gpu] Loading failed.
 [vd] Could not create device.
 [vd] Looking at hwdec h264-vaapi...
+[vo/gpu] Loading hwdec drivers for format: 'vaapi'
+[vo/gpu] Loading hwdec driver 'vaapi'
+[vo/gpu/vaapi] using EGL dmabuf interop
+[vo/gpu/vaapi] Trying to open a x11 VA display...
+[vo/gpu/vaapi] Trying to open a wayland VA display...
+[vo/gpu] Loading failed.
 [vd] Could not create device.
 [vd] Looking at hwdec h264-vdpau...
+[vo/gpu] Loading hwdec drivers for format: 'vdpau'
 [vd] Could not create device.
 [vd] Looking at hwdec h264-nvdec-copy...
 [ffmpeg] AVHWDeviceContext: Cannot load libcuda.so.1
@@ -155,6 +161,10 @@
 [vd] Error when calling vdp_device_create_x11: 1
 [vd] Could not create device.
 [vd] Looking at hwdec h264_cuvid-cuda...
+[vo/gpu] Loading hwdec drivers for format: 'cuda'
+[vo/gpu] Loading hwdec driver 'cuda'
+[vo/gpu/cuda] Failed to load CUDA symbols
+[vo/gpu] Loading failed.
 [vd] Could not create device.
 [vd] Looking at hwdec h264_v4l2m2m-v4l2m2m-copy...
 [vd] Trying hardware decoding via h264_v4l2m2m-v4l2m2m-copy.
@@ -165,7 +175,6 @@
 [vd] Falling back to software decoding.
 [vd] Detected 4 logical cores.
 [vd] Requesting 5 threads for decoding.
-[vd] DR failed - disabling.
 [vd] Selected codec: h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
 [vf] User filter list:
 [vf]   (empty)
@@ -199,6 +208,8 @@
 [af] [userspeed] 48000Hz 5.1(side) 6ch floatp
 [af] [userspeed] (disabled)
 [af] [convert] 48000Hz 5.1(side) 6ch floatp
+[ao] Trying audio driver 'pipewire'
+[ao/pipewire] requested format: 48000 Hz, 5.1(side) channels, floatp
 [ao] Trying audio driver 'pulse'
 [ao/pulse] requested format: 48000 Hz, 5.1(side) channels, floatp
 [ao/pulse] Library version: 16.1.0
@@ -236,7 +247,6 @@
 [cplayer] VO: Description: Shader-based GPU Renderer
 [vo/gpu] reconfig to 1440x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
 [vo/gpu/wayland] Reconfiguring!
-[vo/gpu/wayland] Enabling server decorations
 [vo/gpu] Resize: 1440x1080
 [vo/gpu] Window size: 1440x1080 (Borders: l=0 t=0 r=0 b=0)
 [vo/gpu] Video source: 1440x1080 (1:1)
@@ -257,8 +267,10 @@
 [vo/gpu] OSD borders: l=0 t=0 r=0 b=0
 [vo/gpu] Video borders: l=0 t=0 r=0 b=0
 [vo/gpu] Reported display depth: 10
+[vo/gpu] DR enabled: yes
 [cplayer] first video frame after restart shown
 [vo/gpu/wayland] Given DND offer with mime type text/plain;charset=utf-8
+[vo/gpu/wayland] Received a new DND offer. Releasing the previous offer.
 [vo/gpu/wayland] Resizing due to xdg from 1440x1080 to 959x1046
 [vo/gpu] Resize: 1440x1080
 [vo/gpu] Window size: 1440x1080 (Borders: l=0 t=0 r=0 b=0)
@@ -277,28 +289,32 @@
 [vo/gpu] OSD borders: l=0 t=163 r=0 b=164
 [vo/gpu] Video borders: l=0 t=163 r=0 b=164
 [vo/gpu] Reported display depth: 10
+[cplayer] Set property: shared-script-properties -> 1
 [cplayer] audio ready
 [cplayer] starting audio playback
 [cplayer] playback restart complete @ 0.000000, audio=playing, video=playing
 [ao/pulse] starting AO
-[cplayer] Set property: shared-script-properties -> 1
 [vo/gpu/wayland] Enabling idle inhibitor
 [cplayer] Set property: shared-script-properties -> 1
 [vo/gpu/wayland] Surface entered output <Unknown> <Unknown> (0x2a), scale = 1
 [vo/gpu] Assuming 70.040000 FPS for display sync.
+[cplayer] 
+[cplayer] Audio/Video desynchronisation detected! Possible reasons include too slow
+[cplayer] hardware, temporary CPU spikes, broken drivers, and broken files. Audio
+[cplayer] position will not match to the video (see A-V status field).
+[cplayer] 
 [cplayer] Set property: shared-script-properties -> 1
 [osd/libass] fontselect: (sans-serif, 400, 0) -> /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf, 0, DejaVuSans
 [osd/libass] fontselect: (mpv-osd-symbols, 400, 0) -> mpv-osd-symbols-Regular, 0, mpv-osd-symbols-Regular
 [vo/gpu] Reallocating OSD texture to 1024x256.
+[cplayer] Set property: shared-script-properties -> 1
 [sub/ass] fontselect: (Open Sans Semibold, 700, 0) -> /usr/share/fonts/truetype/open-sans/OpenSans-Semibold.ttf, 0, OpenSans-Semibold
 [sub/ass] fontselect: (Open Sans Semibold, 700, 100) -> /usr/share/fonts/truetype/open-sans/OpenSans-SemiboldItalic.ttf, 0, OpenSans-SemiboldItalic
 [sub/ass] mangling colors like vsfilter: RGB -> bt.601 limited -> bt.709 bt.601 -> RGB
 [vo/gpu] Reallocating OSD texture to 512x128.
-[cplayer] Set property: shared-script-properties -> 1
-[cplayer] Set property: shared-script-properties -> 1
-[cplayer] Set property: shared-script-properties -> 1
 [cplayer] EOF code: 5  
 [vo/gpu/wayland] Disabling the idle inhibitor
+[vf] dropping frame due to pin disconnect
 [cplayer] finished playback, success (reason 3)
 [cplayer] 
 [cplayer] Exiting... (Quit)

Reply to: