1 |
On Tue, Mar 01, 2016 at 09:08:45AM +0300, Ярослав wrote: |
2 |
> upgrading packeges all libs from /usr/lib64/vdpau got |
3 |
> deleted, except for libvdpau_trace.so. So I still didn't |
4 |
> get the libvdpau_i965.so. |
5 |
> |
6 |
|
7 |
There is no libvdapu_965.so. |
8 |
|
9 |
On Tue, Mar 01, 2016 at 09:52:57AM -0600, Corbin wrote: |
10 |
> Searching for VDPAU support on an Intel i695 GPU ... "libvdpau-va-gl" is |
11 |
> required. |
12 |
> That library may not be in the Gentoo Repository. |
13 |
|
14 |
It's part of the x11 overlay in layman |
15 |
|
16 |
layman --add x11 |
17 |
|
18 |
Let's clear this up: vdpau and vaapi are two APIs for hardware video |
19 |
acceleration. The package x11-libs/libvdpau-va-gl implements the VDPAU api |
20 |
using VAAPI+OPENGL library calls, the package x11-libs/libva-vdpau-driver |
21 |
implements the VAAPI api using VDPAU library calls. So these two are |
22 |
effectively opposites. I was once wondering if it would be possible to |
23 |
bring these two to recurse... |
24 |
|
25 |
But let's get back on topic: VAAPI is pretty much only implemented on |
26 |
intel cards, and only on newer ones supported by the i965 driver. So you |
27 |
will definitely need VIDEO_CARDS="i965 intel" set. |
28 |
|
29 |
Next you need to install x11-libs/libva which will also pull in |
30 |
x11-libs/libva-intel-driver. Check with vainfo that this works. |
31 |
|
32 |
After that you can install x11-libs/libvdpau-va-gl and x11-misc/vdpauinfo. |
33 |
You also need to have the environment variable VDPAU_DRIVER=va_gl set |
34 |
somewhere. Drop this in /etc/profile.d/vdpau.sh: |
35 |
|
36 |
export VDPAU_DRIVER=va_gl |
37 |
|
38 |
Do the usual env-update && source /etc/profile, and then check with |
39 |
vdpauinfo that everything works. |
40 |
|
41 |
Now you can build all the packages you need with the vdpau USE flag. |