Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] vdpau with intel video card

142 views
Skip to first unread message

Ярослав

unread,
Mar 1, 2016, 1:10:03 AM3/1/16
to
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.

Corbin

unread,
Mar 1, 2016, 11:00:06 AM3/1/16
to
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.




Jeremi Piotrowski

unread,
Mar 1, 2016, 4:20:04 PM3/1/16
to
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.

Ярослав

unread,
Mar 10, 2016, 1:30:03 PM3/10/16
to
В письме от 1 марта 2016 22:19:23 пользователь Jeremi
Piotrowski написал:
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.
0 new messages