You are not logged in.
Pages: 1
I got tired of not being able to play multiple sounds so I looked at the wiki:
http://wiki.archlinux.org/index.php/All … nd_at_once
My sound-card wasn't detected with dmix at first so I put this in /etc/asound.conf (as in the wiki:)
#/etc/asound.conf start:
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.dsp0 {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 8192
rate 44100 #many new cards are 48000 only
}
bindings {
0 0
1 1
}
}
ctl.dmixer {
type hw
card 0
}
#end.
So if I have mpd running (as my user) and try to run mpg123 X.mp3 I get:
ALSA lib pcm_dmix.c:866:(snd_pcm_dmix_open) unable to open slave
[alsa.c:146] error: cannot open device default
[audio.c:517] error: failed to open audio device
[mpg123.c:709] error: Failed to initialize output, goodbye.
So obviously there is some problem with the slave, and I have no idea on how to continue. I guess I need to change something in /etc/asound.conf, but I don't know what. lspci gives:
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
So what do I do now? I'm not sure how to continue, the only file that has dmix in it is /usr/share/alsa/pcm/dmix.conf so I don't know howto. I suppose I'm missing some kind of module(?)
Last edited by Jedimind (2008-03-24 18:16:14)
Offline
Try updating alsa-lib to 1.0.16, I have an ICH7 based chip and it solved all my problems (I had constant system freezes when playing sound with mpd and youtube at the same time). Strangely, alsa-lib on extra hasn't been updated yet, so you'll have to build 1.0.16 by yourself:
pkgname=alsa-lib
pkgver=1.0.16
pkgrel=0
pkgdesc="An alternative implementation of Linux sound support"
arch=(i686 x86_64)
url="http://www.alsa-project.org"
depends=('glibc')
makedepends=('python')
license=('GPL')
options=(!libtool)
source=(ftp://ftp.alsa-project.org/pub/lib/$pkgname-1.0.16.tar.bz2)
md5sums=('73b0986758bb762648a5fafc93e287c1')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
}
Offline
Try updating alsa-lib to 1.0.16, I have an ICH7 based chip and it solved all my problems (I had constant system freezes when playing sound with mpd and youtube at the same time). Strangely, alsa-lib on extra hasn't been updated yet, so you'll have to build 1.0.16 by yourself:
Thank you very much! This solves my problem, I didn't have lock ups and things like you did but I was having problems. Now it's solved!
Offline
I used to have this working, but did a fresh install for various reasons. I'm having the same problem as the OP and alsa-lib got upgraded to 1.0.16 and it still isn't working. What else would cause it?
Offline
I'm in the same boat as Reasons. Fresh install, and no multisound.
Offline
just did a fresh install and had the same problem with mpd mainly. After messing around got a working asound.conf
edit
well working with the asound.conf found in the wiki so guess im no help, all i needed was to put dmixer in the device section of mpd.conf
Last edited by droog (2008-05-29 05:58:10)
Offline
Pages: 1