AVHWDeviceContext: Failed to query surface attributes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ffmpeg (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
intel-media-driver (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
intel-media-driver-non-free (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
mpv (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi,
using mpv to view a h264 video displays the following error message:
$ mpv foo.mkv
(+) Video --vid=1 (*) (h264 1440x924 25.000fps)
[ffmpeg] AVHWDeviceContext: Failed to query surface attributes: 20 (the requested function is not implemented).
[vo/gpu/vaapi-egl] failed to retrieve libavutil frame constraints
Using hardware decoding (vaapi).
[...]
The video is correctly displayed, though.
There are 2 drivers, a free (i915) and a non-free (iHD):
-rw-r--r-- 1 root root 8098968 Feb 6 2020 /usr/lib/
-rw-r--r-- 1 root root 35102696 Apr 21 08:50 /usr/lib/
Using the free driver with
LIBVA_
gives no error, whereas using the non-free driver with
LIBVA_
leads to the above error.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: intel-media-
Uname: Linux 5.8.15-
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: KDE
Date: Thu Oct 15 14:11:45 2020
SourcePackage: intel-media-
UpgradeStatus: No upgrade log present (probably fresh install)
The error message still exists in groovy in version 20.2.0+ds1-1.