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