Bug#901023: vlc: Hadware decoding does not work with 3.0.2

Vincas Dargis vindrg at gmail.com
Fri Jun 8 08:06:36 BST 2018


Package: src:vlc
Version: 3.0.2-0+deb9u1
Severity: normal

Dear Maintainer,

It seems that hardware decoding no longer works after Stretch got
VLC v3.

This is example from Debian Jessia VLC, when playing RTSP stream
(acceleration works):

```
[00007f372800e0a8] avcodec decoder debug: available hardware decoder
output format 53 (vaapi_vld)
[00007f372800e0a8] avcodec decoder debug: available hardware decoder
output format 109 (vdpau)
[00007f372800e0a8] avcodec decoder debug: available software decoder
output format 12 (yuvj420p)
[00007f370c001168] core generic debug: looking for hw decoder module
matching "vaapi": 4 candidates
[00007f37300009b8] core input debug: Buffering 28% 
libva info: VA-API version 0.36.0
libva info: va_getDriverName() returns 0
libva info: Trying to open
/usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_36
[00007f37300009b8] core input debug: Buffering 32% 
libva info: va_openDriver() returns 0
[00007f370c001168] core generic debug: using hw decoder module
"vaapi_x11"
[00007f372800e0a8] avcodec decoder: Using Intel i965 driver for Intel(R)
Ivybridge Mobile - 1.4.1 for hardware decoding.
```

Meanwhile, on Debian Stretch with VLC 3.0.2:

```
[00007fc9680898f0] avcodec decoder debug: available hardware decoder
output format 109 (vdpau)
[00007fc9680898f0] avcodec decoder debug: available hardware decoder
output format 53 (vaapi_vld)
[00007fc9680898f0] avcodec decoder debug: available software decoder
output format 12 (yuvj420p)
[00007fc9680898f0] avcodec decoder warning: thread type 1: disabling
hardware acceleration
```

It's also visible from CPU usage, and the fact that most time spent in 
libavcodec library, ant not libvaapi_x11_plugin.so as in VLC v2 case
when monitoring with `perf top`.



-- System Information:
Debian Release: 9.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.16.0-0.bpo.1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages vlc depends on:
ii  dpkg                     1.18.24
ii  vlc-bin                  3.0.2-0+deb9u1
ii  vlc-l10n                 3.0.2-0+deb9u1
ii  vlc-plugin-base          3.0.2-0+deb9u1
ii  vlc-plugin-qt            3.0.2-0+deb9u1
ii  vlc-plugin-video-output  3.0.2-0+deb9u1

Versions of packages vlc recommends:
ii  vlc-plugin-notify          3.0.2-0+deb9u1
ii  vlc-plugin-samba           3.0.2-0+deb9u1
ii  vlc-plugin-skins2          3.0.2-0+deb9u1
ii  vlc-plugin-video-splitter  3.0.2-0+deb9u1
ii  vlc-plugin-visualization   3.0.2-0+deb9u1

vlc suggests no packages.

Versions of packages libvlc-bin depends on:
ii  libc6    2.24-11+deb9u3
ii  libvlc5  3.0.2-0+deb9u1

Versions of packages libvlc5 depends on:
ii  dpkg         1.18.24
ii  libc6        2.24-11+deb9u3
ii  libvlccore9  3.0.2-0+deb9u1

Versions of packages libvlc5 recommends:
ii  libvlc-bin  3.0.2-0+deb9u1

Versions of packages vlc-bin depends on:
ii  libc6       2.24-11+deb9u3
ii  libvlc-bin  3.0.2-0+deb9u1
ii  libvlc5     3.0.2-0+deb9u1

Versions of packages vlc-plugin-base depends on:
ii  dpkg                                 1.18.24
ii  liba52-0.7.4                         0.7.4-19
ii  libarchive13                         3.2.2-2
ii  libasound2                           1.1.3-5
ii  libass5                              1:0.13.4-2
ii  libavahi-client3                     0.6.32-2
ii  libavahi-common3                     0.6.32-2
ii  libavc1394-0                         0.5.4-4+b1
ii  libavcodec57                         7:3.2.10-1~deb9u1
ii  libavformat57                        7:3.2.10-1~deb9u1
ii  libavutil55                          7:3.2.10-1~deb9u1
ii  libbasicusageenvironment1            2016.11.28-1
ii  libbluray1                           1:0.9.3-3
ii  libc6                                2.24-11+deb9u3
ii  libcairo2                            1.14.8-1
ii  libcddb2                             1.3.2-5
ii  libchromaprint1                      1.4.2-1
ii  libcrystalhd3                        1:0.0~git20110715.fdd2f19-12
ii  libdbus-1-3                          1.10.26-0+deb9u1
ii  libdc1394-22                         2.2.5-1
ii  libdca0                              0.0.5-10
ii  libdvbpsi10                          1.3.0-5
ii  libdvdnav4                           5.0.3-3
ii  libdvdread4                          5.0.3-2
ii  libebml4v5                           1.3.4-1
ii  libfaad2                             2.8.0~cvs20161113-1
ii  libflac8                             1.3.2-1
ii  libfontconfig1                       2.11.0-6.7+b1
ii  libfreetype6                         2.6.3-3.2
ii  libfribidi0                          0.19.7-1+b1
ii  libgcc1                              1:6.3.0-18+deb9u1
ii  libgcrypt20                          1.7.6-2+deb9u2
ii  libglib2.0-0                         2.50.3-2
ii  libgnutls30                          3.5.8-5+deb9u3
ii  libgpg-error0                        1.26-2
ii  libgroupsock8                        2016.11.28-1
ii  libharfbuzz0b                        1.4.2-1
ii  libjpeg62-turbo                      1:1.5.1-2
ii  libkate1                             0.4.1-7+b1
ii  liblirc-client0                      0.9.4c-9
ii  liblivemedia57                       2016.11.28-1
ii  liblua5.2-0                          5.2.4-1.1+b2
ii  libmad0                              0.15.1b-8+deb9u1
ii  libmatroska6v5                       1.4.5-2
ii  libmicrodns0                         0.0.3-3
ii  libmpcdec6                           2:0.1~r495-1+b1
ii  libmpeg2-4                           0.5.1-7+b2
ii  libmpg123-0                          1.23.8-1+b1
ii  libmtp9                              1.1.13-1
ii  libncursesw5                         6.0+20161126-1+deb9u2
ii  libnfs8                              1.11.0-2
ii  libogg0                              1.3.2-1
ii  libopenmpt-modplug1                  0.2.7386~beta20.3-3+deb9u2
ii  libopus0                             1.2~alpha2-1
ii  libpng16-16                          1.6.28-1
ii  libpostproc54                        7:3.2.10-1~deb9u1
ii  libprotobuf-lite10                   3.0.0-9
ii  libpulse0                            10.0-1+deb9u1
ii  libraw1394-11                        2.1.2-1+b1
ii  libresid-builder0c2a                 2.1.1-15
ii  librsvg2-2                           2.40.16-1+b1
ii  libsamplerate0                       0.1.8-8+b2
ii  libsdl-image1.2                      1.2.12-5+deb9u1
ii  libsdl1.2debian                      1.2.15+dfsg1-4
ii  libsecret-1-0                        0.18.5-3.1
ii  libshine3                            3.1.0-5
ii  libshout3                            2.3.1-3
ii  libsidplay2                          2.1.1-15
ii  libsndio6.1                          1.1.0-3
ii  libsoxr0                             0.1.2-2
ii  libspeex1                            1.2~rc1.2-1+b2
ii  libspeexdsp1                         1.2~rc1.2-1+b2
ii  libssh2-1                            1.7.0-1
ii  libstdc++6                           6.3.0-18+deb9u1
ii  libswscale4                          7:3.2.10-1~deb9u1
ii  libsystemd0                          232-25+deb9u3
ii  libtag1v5                            1.11.1+dfsg.1-0.1
ii  libtheora0                           1.1.1+dfsg.1-14+b1
ii  libtinfo5                            6.0+20161126-1+deb9u2
ii  libtwolame0                          0.3.13-2
ii  libudev1                             232-25+deb9u3
ii  libupnp6                             1:1.6.19+git20160116-1.2
ii  libusageenvironment3                 2016.11.28-1
ii  libva-drm1                           1.7.3-2
ii  libva1                               1.7.3-2
ii  libvlccore9 [vlc-plugin-abi-3-0-0f]  3.0.2-0+deb9u1
ii  libvorbis0a                          1.3.5-4+deb9u2
ii  libvorbisenc2                        1.3.5-4+deb9u2
ii  libx264-148                          2:0.148.2748+git97eaef2-1
ii  libx265-95                           2.1-2+b2
ii  libxcb-keysyms1                      0.4.0-1+b2
ii  libxcb1                              1.12-1
ii  libxml2                              2.9.4+dfsg1-2.2+deb9u2
ii  libzvbi0                             0.2.35-13
ii  vlc-data                             3.0.2-0+deb9u1
ii  zlib1g                               1:1.2.8.dfsg-5

Versions of packages vlc-plugin-base recommends:
ii  xdg-utils  1.1.1-1+deb9u1

Versions of packages vlc-plugin-base suggests:
pn  libdvdcss2  <none>

Versions of packages vlc-plugin-notify depends on:
ii  dpkg                                 1.18.24
ii  libc6                                2.24-11+deb9u3
ii  libgdk-pixbuf2.0-0                   2.36.5-2+deb9u2
ii  libglib2.0-0                         2.50.3-2
ii  libgtk-3-0                           3.22.11-1
ii  libnotify4                           0.7.7-2
ii  libvlccore9 [vlc-plugin-abi-3-0-0f]  3.0.2-0+deb9u1

Versions of packages vlc-plugin-qt depends on:
ii  dpkg                                 1.18.24
ii  libc6                                2.24-11+deb9u3
ii  libgcc1                              1:6.3.0-18+deb9u1
ii  libqt5core5a                         5.7.1+dfsg-3+b1
ii  libqt5gui5                           5.7.1+dfsg-3+b1
ii  libqt5svg5                           5.7.1~20161021-2+b2
ii  libqt5widgets5                       5.7.1+dfsg-3+b1
ii  libqt5x11extras5                     5.7.1~20161021-2
ii  libstdc++6                           6.3.0-18+deb9u1
ii  libvlccore9 [vlc-plugin-abi-3-0-0f]  3.0.2-0+deb9u1
ii  libwayland-client0                   1.12.0-1
ii  libx11-6                             2:1.6.4-3

Versions of packages vlc-plugin-qt recommends:
ii  vlc-bin  3.0.2-0+deb9u1

Versions of packages vlc-plugin-skins2 depends on:
ii  dpkg                                 1.18.24
ii  fonts-freefont-ttf                   20120503-6
ii  libc6                                2.24-11+deb9u3
ii  libfreetype6                         2.6.3-3.2
ii  libfribidi0                          0.19.7-1+b1
ii  libgcc1                              1:6.3.0-18+deb9u1
ii  libstdc++6                           6.3.0-18+deb9u1
ii  libvlccore9 [vlc-plugin-abi-3-0-0f]  3.0.2-0+deb9u1
ii  libx11-6                             2:1.6.4-3
ii  libxext6                             2:1.3.3-1+b2
ii  libxinerama1                         2:1.1.3-1+b3
ii  libxpm4                              1:3.5.12-1
ii  vlc-plugin-qt                        3.0.2-0+deb9u1

Versions of packages vlc-plugin-skins2 recommends:
ii  vlc-bin  3.0.2-0+deb9u1

Versions of packages vlc-plugin-video-output depends on:
ii  dpkg                                    1.18.24
ii  libaa1                                  1.4p5-44+b1
ii  libavcodec57                            7:3.2.10-1~deb9u1
ii  libavutil55                             7:3.2.10-1~deb9u1
ii  libc6                                   2.24-11+deb9u3
ii  libcaca0                                0.99.beta19-2+b2
ii  libegl1-mesa [libegl1-x11]              13.0.6-1+b2
ii  libgl1-mesa-glx [libgl1]                13.0.6-1+b2
ii  libgles2-mesa [libgles2]                13.0.6-1+b2
ii  libva-drm1                              1.7.3-2
ii  libva-wayland1                          1.7.3-2
ii  libva-x11-1                             1.7.3-2
ii  libva1                                  1.7.3-2
ii  libvlccore9 [vlc-plugin-abi-3-0-0f]     3.0.2-0+deb9u1
ii  libwayland-client0                      1.12.0-1
ii  libwayland-egl1-mesa [libwayland-egl1]  13.0.6-1+b2
ii  libx11-6                                2:1.6.4-3
ii  libxcb-keysyms1                         0.4.0-1+b2
ii  libxcb-shm0                             1.12-1
ii  libxcb-xv0                              1.12-1
ii  libxcb1                                 1.12-1

Versions of packages vlc-plugin-video-splitter depends on:
ii  dpkg                                 1.18.24
ii  libc6                                2.24-11+deb9u3
ii  libvlccore9 [vlc-plugin-abi-3-0-0f]  3.0.2-0+deb9u1
ii  libxcb-randr0                        1.12-1
ii  libxcb1                              1.12-1

Versions of packages vlc-plugin-visualization depends on:
ii  dpkg                                 1.18.24
ii  libc6                                2.24-11+deb9u3
ii  libgl1-mesa-glx [libgl1]             13.0.6-1+b2
ii  libvlccore9 [vlc-plugin-abi-3-0-0f]  3.0.2-0+deb9u1

-- no debconf information



More information about the pkg-multimedia-maintainers mailing list