From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 41E95138CDC for ; Sun, 21 Jun 2015 09:04:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2F4781401E; Sun, 21 Jun 2015 09:04:16 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CD5D4E0762 for ; Sun, 21 Jun 2015 09:04:14 +0000 (UTC) Received: from localhost ([84.133.135.13]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MI5Ve-1Z78Ko3Syk-003xzZ for ; Sun, 21 Jun 2015 11:04:13 +0200 Date: Sun, 21 Jun 2015 11:04:11 +0200 From: Meino.Cramer@gmx.de To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Mysterious library access... Message-ID: <20150621090411.GD4308@solfire> References: <20150621082733.GC4308@solfire> <20150621104328.4567305b@gen2ws.local> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150621104328.4567305b@gen2ws.local> User-Agent: mutt-ng/devel-r804 (Linux) X-Provags-ID: V03:K0:yjl4X667PUlKs9xBN5NzyN9InoEuj6j+N8QxSaukAHTky58h7Eo xGjZKTUsYeHfIL4fZKaTJDpOEwKcXHoMdDCekKgzFdYVNubCOVh/3nMpkh+OcEg/2f2uRjP HeVqQpvba9DXhtdblBev21BVgNsCrtcK+lxQD5kYQgW8p9XmCdpdF5wOoIzJgF0TUVchpJF zN7jedyyIoxnsfkIYPDEA== X-UI-Out-Filterresults: notjunk:1; X-Archives-Salt: cf42078a-b196-42bd-95d2-89a28c9cd886 X-Archives-Hash: ecf0546778a3c75e0648f01ecfb4320d bitlord [15-06-21 10:48]: > On Sun, 21 Jun 2015 10:27:33 +0200 > Meino.Cramer@gmx.de wrote: > > > Hi, > > > > After trying to play a flac-file with mpv I got this error message: > > Playing: Track_01.flac > > (+) Audio --aid=1 (flac) > > File tags: > > Artist: Unknown > > Album: Unknown Disc > > Genre: Alternative > > Title: Track 01 > > Track: 1 > > ALSA > > lib /var/tmp/portage/media-libs/alsa-lib-1.0.29/work/alsa-lib-1.0.29/src/pcm/pcm_dmix.c:1024:(snd_pcm_dmix_open) > > unable to open slave [ao/alsa] Playback open error: Device or > > resource busy connect(2) call to /dev/shm/jack-0/default/jack_0 > > failed (err=No such file or directory) attempt to connect to server > > failed [ao/jack] cannot open server ALSA > > lib /var/tmp/portage/media-libs/alsa-lib-1.0.29/work/alsa-lib-1.0.29/src/pcm/pcm_dmix.c:1024:(snd_pcm_dmix_open) > > unable to open slave Could not open/initialize audio device -> no > > sound. Audio: no audio : 00:00:00 / 00:05:56 (0%) > > > > I reinstalled alsa-lib and mpv but the problem remains: > > Why does alsa tries to load a library which is meant to be found > > under /var/tmp/portage? > > > > That probably means some debug message from alsa-lib where for example > pcm_dmix.c:1024 is a source file 'pcm_dmix.c' and :1024 is a line > where the "falling" function call is. > It probably tries to open '/dev/shm/jack-0/default/jack_0' > maybe your alsa configuration is a problem, or missing some kernel > functionallity (just guessing). Using 'jack-audio-connection-kit'? > > Hi, Ah!Oh! Yes...I see...sorry for my blurred view to this problem. Yes, I am trying to use jackd with mpv, whcih leads to this error. My setup is: jackd, alsa mpv After stopping jackd I can play the track with mpv...so alsa as such seem to be well and up running. Enabling jackd again shows this (this time I will post the whole thing ... so nothing is censored by me... ;) File tags: Artist: Unknown Album: Unknown Disc Genre: Alternative Title: Track 02 Track: 2 ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.29/work/alsa-lib-1.0.29/src/pcm/pcm_dmix.c:1024:(snd_pcm_dmix_open) unable to open slave [ao/alsa] Playback open error: Device or resource busy AO: [jack] 48000Hz stereo 2ch floatp A: 00:00:09 / 00:11:54 (1%) BUT it plays this time... Do I have kill jackd, play something with alsa, restart jackd and it "works" ... ? Sounds silly...but at least "it sounds". What's going on here? Best regards, Meino