I noticed that watching a video on YouTube in HD takes one processor core to render. Wondering what was going wrong here, I googled and tested the program vainfo:
Code: Select all
libva: VA-API version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva error: /usr/lib64/va/drivers/i965_drv_video.so init failed
libva: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
Code: Select all
$ /usr/sbin/lspci -k | grep 'i915' -n2
5-00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
6- Subsystem: ASUSTeK Computer Inc. Device 11cd
7: Kernel driver in use: i915
8-00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
9- Subsystem: Intel Corporation Device 2010
Code: Select all
$ emerge --ask libva-intel-driver
This action requires superuser access...
Would you like to add --pretend to options? [Yes/No] Yes
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] x11-libs/libva-intel-driver-1.0.17
And this is what I did:
Code: Select all
if (IS_G4X(i965->intel.device_id))
i965->codec_info = &g4x_hw_codec_info;
else if (IS_IRONLAKE(i965->intel.device_id))
i965->codec_info = &ironlake_hw_codec_info;
else if (IS_GEN6(i965->intel.device_id))
i965->codec_info = &gen6_hw_codec_info;
else if (IS_GEN7(i965->intel.device_id))
i965->codec_info = &gen7_hw_codec_info;
else
return VA_STATUS_ERROR_UNKNOWN;
Code: Select all
if (IS_HASWELL(i965->intel.device_id))
Code: Select all
# ebuild libva-intel-driver-1.3.0.ebuild configure
[...]
checking pkg-config is at least version 0.9.0... yes
checking for DRM... yes
checking for GEN4ASM... no
configure: error: Package requirements (libdrm >= 2.4.45) were not met:
No package 'libdrm' found
Code: Select all
* ERROR: x11-libs/libva-intel-driver-1.3.0::gentoo failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
Code: Select all
checking for intel-gen4asm... no
checking for LIBVA_DEPS... no
configure: error: Package requirements (libva >= 0.35) were not met:
Requested 'libva >= 0.35' but version of libva is 0.32.0
Code: Select all
# emerge --ask libdrm
* IMPORTANT: 6 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] x11-libs/libdrm-2.4.52
Code: Select all
[...]
libdrm 2.4.52 will be compiled with:
libkms no
Intel API yes
vmwgfx API no
Radeon API no
Nouveau API no
OMAP API no
EXYNOS API no
Freedreno API no
[...]
libtool: install: /usr/bin/install -c .libs/libdrm.so.2.4.0 /var/tmp/portage/x11-libs/libdrm-2.4.52/image//usr/lib64/libdrm.so.2.4.0
libtool: install: (cd /var/tmp/portage/x11-libs/libdrm-2.4.52/image//usr/lib64 && { ln -s -f libdrm.so.2.4.0 libdrm.so.2 || { rm -f libdrm.so.2 && ln -s libdrm.so.2.4.0 libdrm.so.2; };[libtool: install: (cd /var/tmp/portage/x11-libs/libdrm-2.4.52/image//usr/lib64 && { ln -s -f libdrm.so.2.4.0 libdrm.so || { rm -f libdrm.so && ln -s libdrm.so.2.4.0 libdrm.so; }; })[
[...]
>>> Installing (1 of 1) x11-libs/libdrm-2.4.52
>>> Recording x11-libs/libdrm in "world" favorites file...
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
Code: Select all
#ebuild libva-intel-driver-1.3.0.ebuild configure
[...]
configure: error: Package requirements (libdrm >= 2.4.45) were not met:
No package 'libdrm' found
[...]
So, is it just me, or did I find a bug?


