From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: libvdpau: cannot open shared object Date: Thu, 14 Dec 2017 10:07:20 +0100 Message-ID: <876099u187.fsf@gnu.org> References: <20171210151453.3a1ad3fe@jasniac.instanton> <20171210200852.GG23558@macbook41> <87mv2nopz8.fsf@gnu.org> <20171212195826.GC1873@macbook41> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43155) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePPUF-0005MP-UG for help-guix@gnu.org; Thu, 14 Dec 2017 04:07:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePPUC-0005le-AS for help-guix@gnu.org; Thu, 14 Dec 2017 04:07:28 -0500 Received: from hera.aquilenet.fr ([141.255.128.1]:60773) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ePPUC-0005ju-3Z for help-guix@gnu.org; Thu, 14 Dec 2017 04:07:24 -0500 In-Reply-To: <20171212195826.GC1873@macbook41> (Efraim Flashner's message of "Tue, 12 Dec 2017 21:58:26 +0200") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Efraim Flashner Cc: help-guix@gnu.org Hi! Efraim Flashner skribis: > On Tue, Dec 12, 2017 at 05:44:43PM +0100, Ludovic Court=C3=A8s wrote: [...] >> I searched for =E2=80=9Clibvdpau_i965.so=E2=80=9D on the intertubes and = it seems to be a >> problem =E2=80=9Ceveryone has.=E2=80=9D For instance: >>=20 >> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D869815 >>=20 >> So it seems that we lack a driver package. >>=20 >> Ludo=E2=80=99. > > here's a patch for libvdpau-va-gl. after setting 'VDPAU_DRIVER=3Dva_gl' > and running 'guix environment --ad-hoc libvdpau-va-gl vdpauinfo -- vdpaui= nfo' > 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 > 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 =E2=80=98inputs=E2=80=99 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=E2=80=99s better if we can do that without se= tting LD_LIBRARY_PATH, we=E2=80=99ll have to investigate how this can be done. At least, we=E2=80=99ll have to set VDPAU_DRIVER=3Dva_gl I presume? Thanks, Ludo=E2=80=99.