public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Mysterious library access...
@ 2015-06-21  8:27 Meino.Cramer
  2015-06-21  8:40 ` Franz Fellner
  2015-06-21  8:43 ` bitlord
  0 siblings, 2 replies; 5+ messages in thread
From: Meino.Cramer @ 2015-06-21  8:27 UTC (permalink / raw
  To: Gentoo

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?

Best regards,
Meino






^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [gentoo-user] Mysterious library access...
  2015-06-21  8:27 [gentoo-user] Mysterious library access Meino.Cramer
@ 2015-06-21  8:40 ` Franz Fellner
  2015-06-21  8:43 ` bitlord
  1 sibling, 0 replies; 5+ messages in thread
From: Franz Fellner @ 2015-06-21  8:40 UTC (permalink / raw
  To: gentoo-user; +Cc: Gentoo

Meino.Cramer@ 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

That's just debug output. In order to make dev's live easier alsa-lib uses __FILE__ and __LINE__ macros to point to the exact place where the debug output happened. As portage compiles in /var/tmp/portage/... the debug output mentions that file (note the ".c" suffix - not .so so it's not a library ;))

To fix your actual problem (no audio) we need to know how you configured audio (pure alsa/pulseaudio/...) and which USE-Flags you have enabled for mpv and ffmpeg.

>     [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?
> 
> Best regards,
> Meino
> 
> 
> 
> 
> 




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Mysterious library access...
  2015-06-21  8:27 [gentoo-user] Mysterious library access Meino.Cramer
  2015-06-21  8:40 ` Franz Fellner
@ 2015-06-21  8:43 ` bitlord
  2015-06-21  9:04   ` Meino.Cramer
  2015-06-21  9:06   ` Meino.Cramer
  1 sibling, 2 replies; 5+ messages in thread
From: bitlord @ 2015-06-21  8:43 UTC (permalink / raw
  To: gentoo-user

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'?



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Mysterious library access...
  2015-06-21  8:43 ` bitlord
@ 2015-06-21  9:04   ` Meino.Cramer
  2015-06-21  9:06   ` Meino.Cramer
  1 sibling, 0 replies; 5+ messages in thread
From: Meino.Cramer @ 2015-06-21  9:04 UTC (permalink / raw
  To: gentoo-user

bitlord <bitlord0xff@gmail.com> [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






^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Mysterious library access...
  2015-06-21  8:43 ` bitlord
  2015-06-21  9:04   ` Meino.Cramer
@ 2015-06-21  9:06   ` Meino.Cramer
  1 sibling, 0 replies; 5+ messages in thread
From: Meino.Cramer @ 2015-06-21  9:06 UTC (permalink / raw
  To: gentoo-user

bitlord <bitlord0xff@gmail.com> [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'?
> 
> 

sorry...

This happens before:
Exiting... (Errors when loading file)
[1]    23147 exit 2     mpv -ao jack Track_01.flac
solfire:mccramer/Unknown_Disc>sudo mpv -ao jack Track_01.flac
Playing: Track_01.flac
 (+) Audio --aid=1 (flac)
File tags:
 Artist: Unknown
 Album: Unknown Disc
 Genre: Alternative
 Title: Track 01
 Track: 1
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
[ao] Failed to initialize audio driver 'jack'
Could not open/initialize audio device -> no sound.
Audio: no audio


(work with any track...)

Best regards,
Meino




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-06-21  9:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-21  8:27 [gentoo-user] Mysterious library access Meino.Cramer
2015-06-21  8:40 ` Franz Fellner
2015-06-21  8:43 ` bitlord
2015-06-21  9:04   ` Meino.Cramer
2015-06-21  9:06   ` Meino.Cramer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox