Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1130984 > unrolled thread

Bug#1027455: Unsupported hwdec: vaapi-egl

Started byJohannes Schauer Marin Rodrigues <josch@debian.org>
First post2022-12-31 20:40 +0100
Last post2023-01-02 08:40 +0100
Articles 4 — 1 participant

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#1027455: Unsupported hwdec: vaapi-egl Johannes Schauer Marin Rodrigues <josch@debian.org> - 2022-12-31 20:40 +0100
    Bug#1027455: Unsupported hwdec: vaapi-egl Johannes Schauer Marin Rodrigues <josch@debian.org> - 2022-12-31 23:00 +0100
      Bug#1027455: Unsupported hwdec: vaapi-egl Johannes Schauer Marin Rodrigues <josch@debian.org> - 2023-01-01 07:10 +0100
        Bug#1027455: Unsupported hwdec: vaapi-egl Johannes Schauer Marin Rodrigues <josch@debian.org> - 2023-01-02 08:40 +0100

#1130984 — Bug#1027455: Unsupported hwdec: vaapi-egl

FromJohannes Schauer Marin Rodrigues <josch@debian.org>
Date2022-12-31 20:40 +0100
SubjectBug#1027455: Unsupported hwdec: vaapi-egl
Message-ID<FIPS1-eEPg-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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

[toc] | [next] | [standalone]


#1130992

FromJohannes Schauer Marin Rodrigues <josch@debian.org>
Date2022-12-31 23:00 +0100
Message-ID<FIS3w-eG4l-11@gated-at.bofh.it>
In reply to#1130984
Control: retitle -1 regression introduced by "vo_gpu: opengl: fix OpenGL ES version and extension handling"

Hi,

Quoting Johannes Schauer Marin Rodrigues (2022-12-31 20:29:53)
> Is this a red herring?

yes. I bisected upstream git and found that the following commit is responsible
for the slowdown on my platform:

commit 2fc327f2fdd48f0cd58a4d4382a7aa57f3fabd77
Author: Philip Langdale <philipl@overt.org>
Date:   Sat Dec 4 11:42:16 2021 -0800

    vo_gpu: opengl: fix OpenGL ES version and extension handling
    
    Some of the extension declarations did not include the ES version where
    they became core functionality, and in some of these cases, there was
    never actually an ES extension - it first appeared in core. We also had
    a number of buggy version checks where ES versions were compared
    against required desktop GL versions.


Reverting this commit in 0.35.0-4 (a clean revert without conflicts is
possible) makes mpv work fine for me again.

I am not familiar with mpv internals. Do you want to file an upstream bug
about this or should I?

Thanks!

cheers, josch

[toc] | [prev] | [next] | [standalone]


#1131005

FromJohannes Schauer Marin Rodrigues <josch@debian.org>
Date2023-01-01 07:10 +0100
Message-ID<FIZHH-eL8u-1@gated-at.bofh.it>
In reply to#1130992
Control: forwarded -1 https://github.com/mpv-player/mpv/issues/11073

Hi,

Quoting Johannes Schauer Marin Rodrigues (2022-12-31 22:56:12)
> Reverting this commit in 0.35.0-4 (a clean revert without conflicts is
> possible) makes mpv work fine for me again.

there is a more minimal patch to make things work again:

--- a/video/out/opengl/ra_gl.c
+++ b/video/out/opengl/ra_gl.c
@@ -590,7 +590,7 @@ static struct ra_buf *gl_buf_create(struct ra *ra,
 {
     GL *gl = ra_gl_get(ra);
 
-    if (params->host_mapped && !gl->BufferStorage)
+    if (params->host_mapped && gl->version < 440)
         return NULL;
 
     struct ra_buf *buf = talloc_zero(NULL, struct ra_buf);

> I am not familiar with mpv internals. Do you want to file an upstream bug
> about this or should I?

I filed it now as https://github.com/mpv-player/mpv/issues/11073.

Thanks!

cheers, josch

[toc] | [prev] | [next] | [standalone]


#1131209

FromJohannes Schauer Marin Rodrigues <josch@debian.org>
Date2023-01-02 08:40 +0100
Message-ID<FJnAm-f0Kx-3@gated-at.bofh.it>
In reply to#1131005
Control: forwarded -1 https://github.com/mpv-player/mpv/issues/10997

Hi,

the issue can be worked around without patching mpv by running it with

 * add option --vd-lavc-dr=no
 * add env variable MESA_EXTENSION_OVERRIDE=-GL_ARB_buffer_storage

I've updated the "forwarded" information as the issue was already tracked by
upstream elsewhere.

Thanks!

cheers, josch

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web