Re: [gentoo-user] vdpau with intel video card

2016-03-10 Thread Ярослав
В письме от 1 марта 2016 22:19:23 пользователь Jeremi 
Piotrowski написал:
> On Tue, Mar 01, 2016 at 09:08:45AM +0300, Ярослав 
wrote:
> > upgrading packeges all libs from /usr/lib64/vdpau 
got
> > deleted, except for libvdpau_trace.so. So I still 
didn't
> > get the libvdpau_i965.so.
> 
> There is no libvdapu_965.so.
> 
> On Tue, Mar 01, 2016 at 09:52:57AM -0600, Corbin 
wrote:
> > Searching for VDPAU support on an Intel i695 GPU ... 
"libvdpau-va-gl" is
> > required.
> > That library may not be in the Gentoo Repository.
> 
> It's part of the x11 overlay in layman
> 
> layman --add x11
> 
> Let's clear this up: vdpau and vaapi are two APIs for 
hardware video
> acceleration. The package x11-libs/libvdpau-va-gl 
implements the VDPAU api
> using VAAPI+OPENGL library calls, the package x11-
libs/libva-vdpau-driver
> implements the VAAPI api using VDPAU library calls. So 
these two are
> effectively opposites. I was once wondering if it 
would be possible to
> bring these two to recurse...
> 
> But let's get back on topic: VAAPI is pretty much only 
implemented on
> intel cards, and only on newer ones supported by the 
i965 driver. So you
> will definitely need VIDEO_CARDS="i965 intel" set.
> 
> Next you need to install x11-libs/libva which will 
also pull in
> x11-libs/libva-intel-driver. Check with vainfo that 
this works.
> 
> After that you can install x11-libs/libvdpau-va-gl and 
x11-misc/vdpauinfo.
> You also need to have the environment variable 
VDPAU_DRIVER=va_gl set
> somewhere. Drop this in /etc/profile.d/vdpau.sh:
> 
> export VDPAU_DRIVER=va_gl
> 
> Do the usual env-update && source /etc/profile, and 
then check with
> vdpauinfo that everything works.
> 
> Now you can build all the packages you need with the 
vdpau USE flag.

Hi, I only now managed to follow  your tips and it 
finally work now. Thanks guys! Just to make clear for 
others with such problem, the only one package that 
wasn't on my system - libvdpau-va-gl - is placed in 
overlay x11.



Re: [gentoo-user] vdpau with intel video card

2016-03-01 Thread Jeremi Piotrowski
On Tue, Mar 01, 2016 at 09:08:45AM +0300, Ярослав wrote:
> upgrading packeges all libs from /usr/lib64/vdpau got 
> deleted, except for libvdpau_trace.so. So I still didn't 
> get the libvdpau_i965.so.
> 

There is no libvdapu_965.so.

On Tue, Mar 01, 2016 at 09:52:57AM -0600, Corbin wrote:
> Searching for VDPAU support on an Intel i695 GPU ... "libvdpau-va-gl" is 
> required.
> That library may not be in the Gentoo Repository.

It's part of the x11 overlay in layman

layman --add x11

Let's clear this up: vdpau and vaapi are two APIs for hardware video
acceleration. The package x11-libs/libvdpau-va-gl implements the VDPAU api
using VAAPI+OPENGL library calls, the package x11-libs/libva-vdpau-driver
implements the VAAPI api using VDPAU library calls. So these two are
effectively opposites. I was once wondering if it would be possible to
bring these two to recurse...

But let's get back on topic: VAAPI is pretty much only implemented on
intel cards, and only on newer ones supported by the i965 driver. So you
will definitely need VIDEO_CARDS="i965 intel" set.

Next you need to install x11-libs/libva which will also pull in
x11-libs/libva-intel-driver. Check with vainfo that this works.

After that you can install x11-libs/libvdpau-va-gl and x11-misc/vdpauinfo.
You also need to have the environment variable VDPAU_DRIVER=va_gl set
somewhere. Drop this in /etc/profile.d/vdpau.sh:

export VDPAU_DRIVER=va_gl

Do the usual env-update && source /etc/profile, and then check with
vdpauinfo that everything works.

Now you can build all the packages you need with the vdpau USE flag. 




Re: [gentoo-user] vdpau with intel video card

2016-03-01 Thread Corbin


On 03/01/2016 12:08 AM, ??? wrote:

Hi, I've got problems with vdpau. My firefox crashes
sometimes (in the middle of work), because it can't found
it. I had in /usr/lib64/vdpau some libraries for radeon
and so on, but I need libvdpau_i965.so. How it can be
installed? I already got vdpau package installed, but
probably I have to do something with USE flags or set up
other options. From calculate-linux irc I was suggested to
put VIDEO_CARDS="intel i915 i965" into make.conf. After
upgrading packeges all libs from /usr/lib64/vdpau got
deleted, except for libvdpau_trace.so. So I still didn't
get the libvdpau_i965.so.

Searching for VDPAU support on an Intel i695 GPU ... "libvdpau-va-gl" is 
required.

That library may not be in the Gentoo Repository.
-
If you are using Calculate Linux, you are using "layman".
Not sure how that overlay works.

Intel seems to be bundling all the newer GPUs into the i915 driver OR 
the intel driver.


Be aware that "vaapi" and "vdpau" USE flags usually do not work together.
You will most likely have to spend some time resolving portage blockers 
and compiling.


This driver may have what you need : "x11-libs/libva-vdpau-driver"
---> Adding this in make.conf this is suggested :
---> USE=vdpau && VIDEO_CARDS="intel i915"
---> Emerge it, or re-emerge it with --newuse

---> Or try this if that does not work :
---> USE=vaapi && VIDEO_CARDS="intel i915"
---> Emerge it, or re-emerge it with --newuse

Another driver to try is the "x11-libs/libva-intel-driver"
---> Adding this in make.conf this is suggested :
---> USE=vdpau && VIDEO_CARDS="intel i915"
---> Emerge it, or re-emerge it with --newuse

---> Or try this if that does not work :
---> USE=vaapi && VIDEO_CARDS="intel i915"
---> Emerge it, or re-emerge it with --newuse

Hope this helps.






[gentoo-user] vdpau with intel video card

2016-02-29 Thread Ярослав
Hi, I've got problems with vdpau. My firefox crashes 
sometimes (in the middle of work), because it can't found 
it. I had in /usr/lib64/vdpau some libraries for radeon 
and so on, but I need libvdpau_i965.so. How it can be 
installed? I already got vdpau package installed, but 
probably I have to do something with USE flags or set up 
other options. From calculate-linux irc I was suggested to 
put VIDEO_CARDS="intel i915 i965" into make.conf. After 
upgrading packeges all libs from /usr/lib64/vdpau got 
deleted, except for libvdpau_trace.so. So I still didn't 
get the libvdpau_i965.so.