ffmpeg depends on libmfx-gen1.2 on Alder Lake for Intel QSV support
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
intel-mediasdk (Ubuntu) |
Confirmed
|
Undecided
|
Luís Infante da Câmara |
Bug Description
On Intel 12th gen CPUs (Alder Lake), ffmpeg requires package libmfx-gen1.2 to use QSV hardware decoding/encoding, but it's not marked as a dependency and therefore not installed with ffmpeg.
As stated on https:/
Error initializing an internal MFX session: unsupported (-3)
This is because the libmfx.so.1 dispatcher wants to dispatch to libmfx-gen.so.1.2 for the Intel Quick Sync Video support, but can't due to the missing shared library.
When libmfx-gen1.2 is installed, the dispatcher succeeds and the QSV usage occurs.
It seems to me that libmfx-gen1.2 should be marked as a dependency (possibly as a dependency of libavutil56, of which ffmpeg depends) to ensure QSV hardware can be used on Alder Lake architectures, and beyond, without users figuring this out themselves.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ffmpeg 7:4.4.1-3ubuntu5
Uname: Linux 5.17.0-
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckR
Date: Wed Apr 27 16:08:12 2022
InstallationDate: Installed on 2022-04-22 (5 days ago)
InstallationMedia: Ubuntu-Server 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220421)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ffmpeg
UpgradeStatus: No upgrade log present (probably fresh install)
description: | updated |
Changed in intel-mediasdk (Ubuntu): | |
assignee: | nobody → Luís Infante da Câmara (luis220413) |
Status changed to 'Confirmed' because the bug affects multiple users.