Some HEVC does not have hardware decoding.
Posted: 06 Nov 2022 13:52
My laptop has a core i3 1115g4 processor with integrated intel graphics and installed ubuntu 22.04.1 with ubuntu-restricted-extras and vlc player version 3.0.16 installed.
In general, hardware acceleration in the vlc player works fine in almost all hevc and h264 videos, the gpu is involved during playback and therefore the CPU is not heavily loaded, but still, sometimes there are such videos (hevc) in which hardware acceleration does not work.
1. I have enabled hardware acceleration in vlc player using vaapi. Settings--InputCodecs--HW accelerated decoding = VAAPI.
2. Ubuntu has free and non-free codec packages by default, the first ones were installed by default, and I replaced them with non-free, because only the non-free package has the VC1 codec.
3. I also checked for codecs.
In general, hardware acceleration in the vlc player works fine in almost all hevc and h264 videos, the gpu is involved during playback and therefore the CPU is not heavily loaded, but still, sometimes there are such videos (hevc) in which hardware acceleration does not work.
1. I have enabled hardware acceleration in vlc player using vaapi. Settings--InputCodecs--HW accelerated decoding = VAAPI.
2. Ubuntu has free and non-free codec packages by default, the first ones were installed by default, and I replaced them with non-free, because only the non-free package has the VC1 codec.
3. I also checked for codecs.
Code: Select all
user@Msi-Modern:~$vainfo
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so[/list]
libva info: Found init function __vaDriverInit_1_14[/logfile]
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.14 (libva 2.12.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 22.3.1 ()
vainfo: Supported profile and entrypoints
VAProfileNone : VAEntrypointVideoProc
VAProfileNone : VAEntrypointStats
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointFEI
VAProfileH264Main : VAEntrypointEncSliceLP
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointFEI
VAProfileH264High : VAEntrypointEncSliceLP
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointEncPicture
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointFEI
VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
VAProfileVP8Version0_3 : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointFEI
VAProfileHEVCMain : VAEntrypointEncSliceLP
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointEncSlice
VAProfileHEVCMain10 : VAEntrypointEncSliceLP
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile1 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
VAProfileVP9Profile3 : VAEntrypointVLD
VAProfileHEVCMain12 : VAEntrypointVLD
VAProfileHEVCMain12 : VAEntrypointEncSlice
VAProfileHEVCMain422_10 : VAEntrypointVLD
VAProfileHEVCMain422_10 : VAEntrypointEncSlice
VAProfileHEVCMain422_12 : VAEntrypointVLD
VAProfileHEVCMain422_12 : VAEntrypointEncSlice
VAProfileHEVCMain444 : VAEntrypointVLD
VAProfileHEVCMain444 : VAEntrypointEncSliceLP
VAProfileHEVCMain444_10 : VAEntrypointVLD
VAProfileHEVCMain444_10 : VAEntrypointEncSliceLP
VAProfileHEVCMain444_12 : VAEntrypointVLD
VAProfileHEVCSccMain : VAEntrypointVLD
VAProfileHEVCSccMain : VAEntrypointEncSliceLP
VAProfileHEVCSccMain10 : VAEntrypointVLD
VAProfileHEVCSccMain10 : VAEntrypointEncSliceLP
VAProfileHEVCSccMain444 : VAEntrypointVLD
VAProfileHEVCSccMain444 : VAEntrypointEncSliceLP
VAProfileAV1Profile0 : VAEntrypointVLD
VAProfileHEVCSccMain444_10 : VAEntrypointVLD
VAProfileHEVCSccMain444_10 : VAEntrypointEncSliceLP
Code: Select all
user@Msi-Modern:~$ sudo apt show intel-media-va-driver-non-free
Package: intel-media-va-driver-non-free
Version: 22.3.1+ds1-1
Priority: optional
Section: multiverse/video
Source: intel-media-driver-non-free
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 32,9 MB
Provides: va-driver
Depends: libva-driver-abi-1.14, libc6 (>= 2.34), libgcc-s1 (>= 3.3.1), libigdgmm12 (>= 22.1.2+ds1), libstdc++6 (>= 11)
Conflicts: intel-media-va-driver
Homepage: https://github.com/intel/media-driver
Download-Size: 5 611 kB
APT-Manual-Installed: yes
APT-Sources: http://ru.archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages
Description: VAAPI driver for the Intel GEN8+ Graphics family
The VA-API (Video Acceleration API) enables hardware accelerated video
decode/encode at various entry-points (VLD, IDCT, Motion Compensation
etc.) for the prevailing coding standards today (MPEG-2, MPEG-4
ASP/H.263, MPEG-4 AVC/H.264, and VC-1/WMV3). It provides an interface
to fully expose the video decode capabilities in today's GPUs.
.
This package contains the video decode and encode driver backend for the
Intel HD Graphics of the Intel Core processor family. The supported platforms
include:
* Broadwell
* Skylake
* Broxton
* Apollo Lake
* Kaby Lake
* Coffee Lake
* Whiskey Lake
* Cannon Lake
* Ice Lake