From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH 0/2] vdpau and vdpauinfo Date: Mon, 28 Dec 2015 21:40:46 -0500 Message-ID: <20151229024046.GA867@jasmine> References: <1450709107-16450-1-git-send-email-efraim@flashner.co.il> <20151226055134.GA28761@jasmine> <20151226222724.6a1fe8f4@debian-netbook> <20151228195929.GA25455@jasmine> <20151228230102.GA15315@debian.fritz.box> <20151229000411.GA3825@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50469) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDkDZ-0003rL-Jb for guix-devel@gnu.org; Mon, 28 Dec 2015 21:40:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDkDV-0003fm-JC for guix-devel@gnu.org; Mon, 28 Dec 2015 21:40:57 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:42438) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDkDV-0003fT-FJ for guix-devel@gnu.org; Mon, 28 Dec 2015 21:40:53 -0500 Content-Disposition: inline In-Reply-To: <20151229000411.GA3825@jasmine> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Andreas Enge Cc: guix-devel@gnu.org On Mon, Dec 28, 2015 at 07:04:11PM -0500, Leo Famulari wrote: > On Tue, Dec 29, 2015 at 12:01:02AM +0100, Andreas Enge wrote: > > > I added libvdpau as a native-input to each and they build, but I don't > > > know how to test if the compilation is using libvdpau and using it > > > correctly. > > > > You could search for it in the build log, in particular during the configure > > phase. And you could run "ldd" on the resulting binary and check whether > > the libraries appear. > > Okay, I'll try that. I added libvdpau as an input to mpv, mplayer, and vlc. Here are the results. It seems to have worked for mpv, with ldd reporting a link to the VDPAU library in the store. It also seems to work for vlc, although it appears as a plugin in vlc's store directory rather than a dynamic link. The mplayer build while compiling the "mencoder" output like this: libmpcodecs/vd_ffmpeg.o: In function `set_format_params': vd_ffmpeg.c:(.text+0x601): undefined reference to `av_alloc_vdpaucontext' libmpcodecs/vd_ffmpeg.o: In function `update_configuration.isra.2': vd_ffmpeg.c:(.text+0xcf9): undefined reference to `av_alloc_vdpaucontext' collect2: error: ld returned 1 exit status Makefile:750: recipe for target 'mencoder' failed make: *** [mencoder] Error 1 make: *** Waiting for unfinished jobs.... libmpcodecs/vd_ffmpeg.o: In function `set_format_params': vd_ffmpeg.c:(.text+0x601): undefined reference to `av_alloc_vdpaucontext' libmpcodecs/vd_ffmpeg.o: In function `update_configuration.isra.2': vd_ffmpeg.c:(.text+0xcf9): undefined reference to `av_alloc_vdpaucontext' collect2: error: ld returned 1 exit status Makefile:750: recipe for target 'mplayer' failed make: *** [mplayer] Error 1 phase `build' failed after 32.3 seconds I can't truly test mpv or vlc because I don't have any hardware that supports VDPAU. I guess the error message I read a few days wasn't relevant.