Public bug reported:
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/x86_64-linux-gnu/dri/i965_drv_video.so
-rw-r--r-- 1 root root 35102696 Apr 21 08:50
/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
Using the free driver with
LIBVA_DRIVER_NAME=i965 mpv foo.mkv
gives no error, whereas using the non-free driver with
LIBVA_DRIVER_NAME=iHD mpv foo.mkv
leads to the above error.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: intel-media-va-driver-non-free 20.1.1+ds1-1build1
Uname: Linux 5.8.15-050815-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.10
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: KDE
Date: Thu Oct 15 14:11:45 2020
SourcePackage: intel-media-driver-non-free
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: intel-media-driver-non-free (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug focal groovy
--
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to intel-media-driver-non-free in Ubuntu.
https://bugs.launchpad.net/bugs/1899965
Title:
AVHWDeviceContext: Failed to query surface attributes
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-media-driver-non-free/+bug/1899965/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help : https://help.launchpad.net/ListHelp