Gentoo Archives: gentoo-user

From: Franz Fellner <alpine.art.de@×××××.com>
To: gentoo-user@l.g.o
Cc: Gentoo <gentoo-user@l.g.o>
Subject: RE: [gentoo-user] Mysterious library access...
Date: Sun, 21 Jun 2015 08:39:18
Message-Id: 558678667ada1_6d3af33310f5@TP_L520.notmuch
In Reply to: [gentoo-user] Mysterious library access... by Meino.Cramer@gmx.de
1 Meino.Cramer@ wrote:
2 > Hi,
3 >
4 > After trying to play a flac-file with mpv I got this error message:
5 > Playing: Track_01.flac
6 > (+) Audio --aid=1 (flac)
7 > File tags:
8 > Artist: Unknown
9 > Album: Unknown Disc
10 > Genre: Alternative
11 > Title: Track 01
12 > Track: 1
13 > 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
14
15 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 ;))
16
17 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.
18
19 > [ao/alsa] Playback open error: Device or resource busy
20 > connect(2) call to /dev/shm/jack-0/default/jack_0 failed (err=No such file or directory)
21 > attempt to connect to server failed
22 > [ao/jack] cannot open server
23 > 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
24 > Could not open/initialize audio device -> no sound.
25 > Audio: no audio
26 > : 00:00:00 / 00:05:56 (0%)
27 >
28 > I reinstalled alsa-lib and mpv but the problem remains:
29 > Why does alsa tries to load a library which is meant to be found under /var/tmp/portage?
30 >
31 > Best regards,
32 > Meino
33 >
34 >
35 >
36 >
37 >