help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libvdpau: cannot open shared object


From: Ludovic Courtès
Subject: Re: libvdpau: cannot open shared object
Date: Thu, 14 Dec 2017 10:07:20 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hi!

Efraim Flashner <address@hidden> skribis:

> On Tue, Dec 12, 2017 at 05:44:43PM +0100, Ludovic Courtès wrote:

[...]

>> I searched for “libvdpau_i965.so” on the intertubes and it seems to be a
>> problem “everyone has.”  For instance:
>> 
>>   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869815
>> 
>> So it seems that we lack a driver package.
>> 
>> Ludo’.
>
> here's a patch for libvdpau-va-gl. after setting 'VDPAU_DRIVER=va_gl'
> and running 'guix environment --ad-hoc libvdpau-va-gl vdpauinfo -- vdpauinfo'
> I get:
> display: :0.0   screen: 0
> Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object 
> file: No such file or directory
> Error creating VDPAU device: 1
> so it still needs some more work

What if you point LD_LIBRARY_PATH to libvdpau-va-gl?

> From da659401a0116d0810f003769c933253f5b18f4c Mon Sep 17 00:00:00 2001
> From: Efraim Flashner <address@hidden>
> Date: Tue, 12 Dec 2017 21:44:49 +0200
> Subject: [PATCH] gnu: Add libvdpau-va-gl.
>
> * gnu/packages/video.scm (libvdpau-va-gl): New variable.
> * gnu/packages/patches/libvdpau-va-gl-unbundle.patch: New file.
> * gnu/local.mk (dist_patch_DATA): Register it.

[...]

> +    (native-inputs
> +     `(("libvdpau" ,libvdpau)

Should move to ‘inputs’ I guess?

Otherwise LGTM, thanks for acting this fast!

When we have that, we can at least arrange for things to work
out-of-the-box on GuixSD.  It’s better if we can do that without setting
LD_LIBRARY_PATH, we’ll have to investigate how this can be done.  At
least, we’ll have to set VDPAU_DRIVER=va_gl I presume?

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]