Gentoo Archives: gentoo-user

From: Meino.Cramer@×××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Mysterious library access...
Date: Sun, 21 Jun 2015 09:06:22
Message-Id: 20150621090608.GE4308@solfire
In Reply to: Re: [gentoo-user] Mysterious library access... by bitlord
1 bitlord <bitlord0xff@×××××.com> [15-06-21 10:48]:
2 > On Sun, 21 Jun 2015 10:27:33 +0200
3 > Meino.Cramer@×××.de wrote:
4 >
5 > > Hi,
6 > >
7 > > After trying to play a flac-file with mpv I got this error message:
8 > > Playing: Track_01.flac
9 > > (+) Audio --aid=1 (flac)
10 > > File tags:
11 > > Artist: Unknown
12 > > Album: Unknown Disc
13 > > Genre: Alternative
14 > > Title: Track 01
15 > > Track: 1
16 > > ALSA
17 > > 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)
18 > > unable to open slave [ao/alsa] Playback open error: Device or
19 > > resource busy connect(2) call to /dev/shm/jack-0/default/jack_0
20 > > failed (err=No such file or directory) attempt to connect to server
21 > > failed [ao/jack] cannot open server ALSA
22 > > 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)
23 > > unable to open slave Could not open/initialize audio device -> no
24 > > sound. Audio: no audio : 00:00:00 / 00:05:56 (0%)
25 > >
26 > > I reinstalled alsa-lib and mpv but the problem remains:
27 > > Why does alsa tries to load a library which is meant to be found
28 > > under /var/tmp/portage?
29 > >
30 >
31 > That probably means some debug message from alsa-lib where for example
32 > pcm_dmix.c:1024 is a source file 'pcm_dmix.c' and :1024 is a line
33 > where the "falling" function call is.
34 > It probably tries to open '/dev/shm/jack-0/default/jack_0'
35 > maybe your alsa configuration is a problem, or missing some kernel
36 > functionallity (just guessing). Using 'jack-audio-connection-kit'?
37 >
38 >
39
40 sorry...
41
42 This happens before:
43 Exiting... (Errors when loading file)
44 [1] 23147 exit 2 mpv -ao jack Track_01.flac
45 solfire:mccramer/Unknown_Disc>sudo mpv -ao jack Track_01.flac
46 Playing: Track_01.flac
47 (+) Audio --aid=1 (flac)
48 File tags:
49 Artist: Unknown
50 Album: Unknown Disc
51 Genre: Alternative
52 Title: Track 01
53 Track: 1
54 connect(2) call to /dev/shm/jack-0/default/jack_0 failed (err=No such file or directory)
55 attempt to connect to server failed
56 [ao/jack] cannot open server
57 [ao] Failed to initialize audio driver 'jack'
58 Could not open/initialize audio device -> no sound.
59 Audio: no audio
60
61
62 (work with any track...)
63
64 Best regards,
65 Meino