Bug#1021601: vlc: VAAPI hardware acceleration no more available

2023-09-10 Thread Viktor Horvath
With a fresh config, my VLC in bookworm would play the file with a bit
less than 1 frame per second... console output:

$ VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)
[55d9bd39e550] main libvlc: Running vlc with the default interface. Use 
'cvlc' to use vlc without interface.
[55d9bd43f4b0] main playlist: playlist is empty
[7fbcd4004d30] gl gl: Initialized libplacebo v4.208.0 (API v208)
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva info: va_openDriver() returns 0
[7fbcd4004d30] gl gl: Initialized libplacebo v4.208.0 (API v208)
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva info: va_openDriver() returns 0
[7fbcf000e340] avcodec decoder: Using OpenGL/VAAPI backend for VDPAU for 
hardware decoding

The system here is a Intel Pentium Silver J5005 with built-in "UHD
Graphics 605" (Gemini Lake).

My workarounds: one of

* explicitly configure VLC for XVideo output - no GPU acceleration but
at least an acceptable picture;  (this would have been what I expected
VLC to do out-of-the-box)

* use "mpv --hwdec=vaapi"

* use the Flatpak VLC version ("org.videolan.VLC") - though that pulls
in more than 1 GB of platform data, if you didn't use flatpak before.

Best regards,
Viktor.


signature.asc
Description: This is a digitally signed message part


Bug#1021601: vlc: VAAPI hardware acceleration no more available

2023-05-02 Thread Fabien Motta
On Sun, 05 Mar 2023 15:31:01 + bob_smith_1337 
 wrote:
> This is also the case for me with VLC 3.0.18-2 (current debian 
bookworm version)

> Is there any workaround ?

> Thanks a lot

I recovered VAAPI acceleration by downloading ffmpeg 4.4 on the ffmpeg 
website, and then compiling and installing it in /usr/local. Then I 
compiled VLC and it worked.


Loss of VAAPI hw acceleration with ffmpeg 5.x has been reported to VLC 
devs, and it will _not_ be corrected in the 3.x branch.


Cf. https://code.videolan.org/videolan/vlc/-/issues/26772

Have a good day.

FM


Bug#1021601: vlc: VAAPI hardware acceleration no more available

2023-03-05 Thread bob_smith_1337
This is also the case for me with VLC 3.0.18-2 (current debian bookworm version)
Is there any workaround ?
Thanks a lot

Bug#1021601: vlc: VAAPI hardware acceleration no more available

2022-10-11 Thread Fabien Motta
Package: vlc
Version: 3.0.17.4-4+b1
Severity: normal

Dear Maintainer,

With vlc version 3.0.17, VA-API hardware acceleration seems lost. 
It is not shown in the menu Tools/Preferences/Codecs/Hardware Decoding, only 
"Auto / VDPAU / Disable" are available. 
Moreover it is not used when "Auto" is selected: there is no "using VAAPI" 
message with vlc -vv with an h264 video,  
which my intel hd graphics module can handle, and intel_gpu_top shows no 
"video" activity.

Command "vlc -vv" shows no --enable-vaapi or disable-vaapi option.

On another machine under debian bullseye, the vlc version is 3.0.16 and VAAPI 
acceleration is available. 

When I tried to compile vlc from source, ./configure warned that it did not 
find libavcodec/vaapi.h. I looked at the libavcodec
versions: on debian bullseye it is 4.4, on sid it is 5.1. I did not investigate 
further.

Have a good day.  

FM

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: bookworm/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.19.0-2-rt-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CPU_OUT_OF_SPEC, TAINT_USER
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.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 vlc depends on:
ii  vlc-bin  3.0.17.4-4+b1
ii  vlc-plugin-base  3.0.17.4-4+b1
ii  vlc-plugin-qt3.0.17.4-4+b1
ii  vlc-plugin-video-output  3.0.17.4-4+b1

Versions of packages vlc recommends:
ii  vlc-l10n   3.0.17.4-4
ii  vlc-plugin-access-extra3.0.17.4-4+b1
ii  vlc-plugin-notify  3.0.17.4-4+b1
ii  vlc-plugin-samba   3.0.17.4-4+b1
ii  vlc-plugin-skins2  3.0.17.4-4+b1
ii  vlc-plugin-video-splitter  3.0.17.4-4+b1
ii  vlc-plugin-visualization   3.0.17.4-4+b1

Versions of packages vlc suggests:
pn  vlc-plugin-fluidsynth  
ii  vlc-plugin-jack3.0.17.4-4+b1
pn  vlc-plugin-pipewire
pn  vlc-plugin-svg 

Versions of packages libvlc-bin depends on:
ii  libc62.35-1
ii  libvlc5  3.0.17.4-4+b1

Versions of packages libvlc5 depends on:
ii  libc62.35-1
ii  libvlccore9  3.0.17.4-4+b1

Versions of packages libvlc5 recommends:
ii  libvlc-bin  3.0.17.4-4+b1

Versions of packages vlc-bin depends on:
ii  libc6   2.35-1
ii  libvlc-bin  3.0.17.4-4+b1
ii  libvlc5 3.0.17.4-4+b1

Versions of packages vlc-plugin-access-extra depends on:
ii  libc62.35-1
ii  libsrt1.5-gnutls 1.5.1-1
ii  libvlccore9 [vlc-plugin-abi-3-0-0f]  3.0.17.4-4+b1
ii  libvncclient10.9.13+dfsg-4
ii  libxcb-composite01.15-1
ii  libxcb-shm0  1.15-1
ii  libxcb1  1.15-1

Versions of packages vlc-plugin-base depends on:
ii  liba52-0.7.4 0.7.4-20
ii  libarchive13 3.6.0-1
ii  libaribb24-0 1.0.3-2
ii  libasound2   1.2.7.2-1
ii  libass9  1:0.16.0-1
ii  libavahi-client3 0.8-6
ii  libavahi-common3 0.8-6
ii  libavc1394-0 0.5.4-5
ii  libavcodec59 7:5.1.2-1
ii  libavformat-extra59 [libavformat59]  7:5.1.2-1
ii  libavutil57  7:5.1.2-1
ii  libbluray2   1:1.3.3-1
ii  libc62.35-1
ii  libcairo21.16.0-6
ii  libcddb2 1.3.2-7
ii  libchromaprint1  1.5.1-2+b1
ii  libdav1d61.0.0-2
ii  libdbus-1-3  1.14.2-1
ii  libdc1394-25 2.2.6-4
ii  libdca0  0.0.7-2
ii  libdvbpsi10  1.3.3-1
ii  libdvdnav4   6.1.1-1
ii  libdvdread8  6.1.3-1
ii  libebml5 1.4.2-2
ii  libfaad2 2.10.0-2
ii  libflac8 1.3.4-2
ii  libfontconfig1   2.13.1-4.5
ii  libfreetype6 2.12.1+dfsg-3
ii  libfribidi0  1.0.8-2.1
ii  libgcc-s112.2.0-3
ii  libgcrypt20  1.10.1-2
ii  libglib2.0-0 2.74.0-1
ii  libgnutls30  3.7.7-2
ii  libgpg-error01.45-2
ii  libharfbuzz0b5.2.0-2
ii  libixml101:1.8.4-2
ii  libjpeg62-turbo  1:2.1.2-1
ii  libkate1 0.4.1-11
ii  liblirc-client0  0.10.1-7
ii  liblua5.2-0