x11-libs/libva-intel-driver does not support Tiger Lake, and probably other new Intel GPUs, per https://github.com/intel/intel-vaapi-driver/issues/531 x11-libs/libva-intel-media-driver should be used instead But there is no keyword to instruct libva-2.11.0.ebuild to depend on libva-intel-media-driver There is iris VIDEO_CARDS keyword, I'm not sure if it should be used to make libva depend on media-driver, or there should be a new keyword. But either way libva should be able to switch between intel and media drivers based on a keyword
CCing Evgeny in case he has input (add yourself to the packages!)
Yes, that's correct. libva-intel-driver supports up to Gen9 (with limited support for Gen9.5 and Gen10), while libva-intel-media-driver supports Gen8 and later, including all the latest intel chips. As we now have first stable version of libva-intel-media-driver, we may add the dependency, however I suggest to re-think all USE EXPAND intel video flags. Currently it use unclear and partially broken combinations of "intel i965 iris", but actually i915 is used as well. See https://wiki.gentoo.org/wiki/Intel This produce unclear and complicated dependencies in packages, see https://gitweb.gentoo.org/repo/gentoo.git/tree/x11-base/xorg-drivers/xorg-drivers-1.20-r2.ebuild for example. I suggest to replace these flags with 'intel_old', 'i_gen4', 'i_gen5', 'i_gen6', 'i_gen7', 'i_gen8', 'i_gen9', 'i_gen95', 'i_gen10', 'i_gen11', 'i_gen12'. This will enable the clear support for required hardware and simplify dependencies.
I think this one can be closed, starting with x11-libs/libva-2.13.0 the explicit dependency has been dropped and instead you get a message which does mention using x11-libs/libva-intel-media-driver
commit 564e4e3d1b14e0b5e88278c2cade94228af9a79c Author: Jason A. Donenfeld <zx2c4@gentoo.org> Date: Tue Nov 9 00:34:29 2021 +0100 x11-libs/libva: use optfeatures instead of VIDEO_CARDS VIDEO_CARDS is ill suited for this because the situation with Intel GPUs is complicated. Discussed-with: Matt Turner <mattst88@gentoo.org> Discussed-with: Sam James <sam@gentoo.org> Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>