From owner-freebsd-multimedia@FreeBSD.ORG Tue Aug 14 19:26:10 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 154E9106564A; Tue, 14 Aug 2012 19:26:10 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 904398FC16; Tue, 14 Aug 2012 19:26:08 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 7AB941E00710; Tue, 14 Aug 2012 21:26:01 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.4) with ESMTP id q7EJOsR1008048; Tue, 14 Aug 2012 21:24:54 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id q7EJOrhA008047; Tue, 14 Aug 2012 21:24:53 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Tue, 14 Aug 2012 21:24:53 +0200 To: Rainer Hurling Message-ID: <20120814192453.GA8026@triton8.kn-bremen.de> References: <20120812231210.GA35081@triton8.kn-bremen.de> <502891F5.7080500@gwdg.de> <20120813174521.GA65208@triton8.kn-bremen.de> <50295485.3010706@gwdg.de> <50295B53.3020902@gwdg.de> <20120813211109.GA71682@triton8.kn-bremen.de> <20120813214651.GA72570@triton8.kn-bremen.de> <5029D6AE.4050205@gwdg.de> <20120814114214.GB94259@triton8.kn-bremen.de> <502A8206.4090505@gwdg.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <502A8206.4090505@gwdg.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-multimedia@FreeBSD.org, Juergen Lock , freebsd-ports@FreeBSD.org Subject: vlc 2.0.3 ProjectM path fix (was: Re: More rtld trouble) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2012 19:26:10 -0000 On Tue, Aug 14, 2012 at 06:51:18PM +0200, Rainer Hurling wrote: > On 14.08.2012 13:42 (UTC+2), Juergen Lock wrote: > > On Tue, Aug 14, 2012 at 06:40:14AM +0200, Rainer Hurling wrote: > >> > >> > >> Am 13.08.2012 23:46 (UTC+1) schrieb Juergen Lock: > >>> [removed kan and kib from Cc as this is now not about rtld in fact] > >>> > >>> On Mon, Aug 13, 2012 at 11:11:09PM +0200, Juergen Lock wrote: > >>>> Hi kib, kan, sorry to bother you again but... :) > >>>> > >>>> On Mon, Aug 13, 2012 at 09:53:55PM +0200, Rainer Hurling wrote: > >>>>> On 13.08.2012 21:24 (UTC+2), Rainer Hurling wrote: > >>>>>> On 13.08.2012 19:45 (UTC+2), Juergen Lock wrote: > >>>>>>> On Mon, Aug 13, 2012 at 07:34:45AM +0200, Rainer Hurling wrote: > >>>> [...] > >>>>>>> I just posted the workaround for that crash: > >>>>>>> > >>>>>>> http://people.freebsd.org/~nox/tmp/vlc-2.0.3-009.patch > >>>>>> > >>>>>> Thanks for the newest patch! The change from > >>>>>> sysconf(_SC_GETPW_R_SIZE_MAX) to LINE_MAX + 1 works nice here. No core > >>>>>> dumps any more and sound via pulseaudio is working again :) > >>>>>> > >>>>>>>>> I'll Cc the pulseaudio port maintainers (gnome@), maybe they have > >>>>>>>>> an idea? > >>>>>>>> > >>>>>>>> Did you forgot to Cc gnome@ (even on the other thread)? > >>>>>>>> > >>>>>>> Yeah, I manually forwarded the mail when I noticed. > >>>>>>>> > >>>>>>>> I tried out a little bit the build without pulseaudio enabled. It seems > >>>>>>>> to me, that the sound of vlc is somewhat noisy or dirty, especially for > >>>>>>>> parts with more dynamics. This scratchy noise grows up when gain control > >>>>>>>> comes over 100% (up to 200% is possible). Can anyone confirm this? > >>>>>>>> > >>>>>>> I haven't noticed that here, maybe your soundcard is clipping etc > >>>>>>> due to too high mixer levels? > >>>>>> > >>>>>> Hmm, possible, but unlikely. This worked pretty good with version 1.1.13 > >>>>>> and as I wrote, gain control was set in the middle (100%). But now, with > >>>>>> pulseaudio enabled again, there is not problem with damaged sound > >>>>>> quality any more. > >>>>>> > >>> Btw it's still possible that different mixer items cause different > >>> clipping etc, for example vol 100 and pcm low sounds worse than > >>> vol 75 and pcm higher, etc. (Maybe pulseaudio does that...?) > >> > >> OK, thanks for the hint. I will have a further look at mixer. There are > >> also some combinations like with kmix etc., that are not exactly > >> represented in mixer settings ... > >> > >>>>>>>> And last but not least: When I deinstall vlc I get the following > >>>>>>>> message: > >>>>>>>> pkg_delete: '/usr/local/lib/vlc/plugins/plugins.dat' fails original MD5 > >>>>>>>> checksum - deleted anyway. > >>>>>>>> > >>>>>>> That's the file whose generating crashed when building with the old > >>>>>>> vlc still installed, maybe it's regenerated at runtime otherwise? > >>>>>> > >>>>>> No, it also fails original MD5 checksum with deinstall/reinstall within > >>>>>> 2.0.3. > >>>>>> > >>>>>>>> Thanks again for your work on this port. > >>>>>>>> Rainer > >>>>>>> > >>>>>>> You're welcome! :) > >>>>>>> Juergen > >>>>> > >>>>> I just found two other problems, which at least occur on my system > >>>>> (10.0-CURRENT amd64): > >>>>> > >>>>> (1) With option NOTIFY enabled I am able to build, but not to install > >>>>> vlc. It gives me: > >>>>> > >>>> [...] > >>>>> > >>>>> (2) Option PROJM builds and installs, but crashes when I try to start it > >>>>> within vlc: > >>>>> > >>>>> No Textures Loaded from /usr/local/share/projectM/textures > >>>>> Segmentation fault (core dumped) > >>>>> > >>>>> As far as I can see, there is no path to projectM/textures (installed > >>>>> from libprojectM) on FreeBSD, but to projectM/presets? > >>>>> > >>>> I'll have to look at that next... > >>>>> > >>> Hmm, cannot seem to reproduce this one, sorry. (Or do I have to do > >>> something special in vlc to activate it? I just tried playing a > >>> video file...) > >> > >> I have the problem with ProjectM when playing audio files and turn the > >> ProjectM visualizations on. It immediately crashes. > >> > > Yes, I meanwhile found this too. Maybe our projectm port version > > is too old? > > I think I got it: It is only a problem of configuring in the running > vlc. You have to set the right path under > 'Settings','All','Audio','Visualizing','projectM'. That's all ;-) > Aah-haah! :) I've fixed the default paths and made a new patch: http://people.freebsd.org/~nox/tmp/vlc-2.0.3-010.patch Happy testing! Juergen