Re: [gentoo-user] libvdpau (?)

2010-03-28 Thread Neil Bothwick
On Fri, 26 Mar 2010 15:29:06 -0300, Alex Kuster wrote:

> you can use the variable EXTRA_ECONF to pass parameters to ./configure
> and manually add vdpau, but I don't know if there's an option to modify
> that on a package basis (like /etc/portage/package.use ) .. instead of
> a global var ... without touching ebuilds ...

Put EXTRA_ECONF+"blah" in /etc/portage/env/CAT/PKG


-- 
Neil Bothwick

If you got the words it does not mean you got the knowledge.


signature.asc
Description: PGP signature


Re: [gentoo-user] libvdpau (?)

2010-03-26 Thread Paul Hartman
On Fri, Mar 26, 2010 at 10:18 AM, 7v5w7go9ub0o <7v5w7go9u...@gmail.com> wrote:
> I'd like to compile ffmpeg with vdpau - direct NVidia hardware
> acceleration. This is a configuration flag for ffmpeg.
>
> Setting the "vdpau" use flag seems to set the configuration flag, but
> also brings in the "x11-libs/libvdpau" libraries which I think I do not
> want, as my NVidia proprietary driver provides these libraries.

AFAIK Nvidia split the vdpau off into libvdpau late last year
sometime. On my system I use both nvidia-drivers and libvdpau without
issue. libvdpau provides libvdpau.so while nvidia-drivers provides
libvdpau_nvidia.so

Here are my versions:

x11-libs/libvdpau-0.3-r2
x11-drivers/nvidia-drivers-195.36.15

Are you using older versions? I use ~amd64 so maybe if you run stable
it has the older versions.



Re: [gentoo-user] libvdpau (?)

2010-03-26 Thread Alex Kuster
yes, because ffmpeg compiles against the shared library called vdpau to do the 
hardware acceleration ...
so, the dependency IS necessary ...

the driver installed externally also provides it

the USE variable modifies the configuration of the package, so, if you remove 
vdpau, you won't compile with vdpau support ...

you can use the variable EXTRA_ECONF to pass parameters to ./configure and  
manually add vdpau, but I don't know if there's an option to modify that on a 
package basis (like /etc/portage/package.use ) .. instead of a global var ... 
without touching ebuilds ...

¿ any hint about that?

Alex ~


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] libvdpau (?)

2010-03-26 Thread Kaddeh
do you have VIDEO_CARDS set in your make.conf?

On Fri, Mar 26, 2010 at 8:18 AM, 7v5w7go9ub0o <7v5w7go9u...@gmail.com>wrote:

> I'd like to compile ffmpeg with vdpau - direct NVidia hardware
> acceleration. This is a configuration flag for ffmpeg.
>
> Setting the "vdpau" use flag seems to set the configuration flag, but
> also brings in the "x11-libs/libvdpau" libraries which I think I do not
> want, as my NVidia proprietary driver provides these libraries.
>
> 1. How do I enable the "vdpau" configuration flag for compiling ffmpeg,
> without bringing in "x11-libs/libvdpau"? (Sigh.. I suppose one work
> around is to bring them in, then reinstall the proprietary driver
>  )
>
> TIA
>
>