You are not logged in.
Pages: 1
Hello,
since a few days my alsa seems to have a problem.
I get sound by oss but not by alsa anymore.
Output of
# /etc/rc.d/alsa start
:: Restoring ALSA Levels [BUSY]
/usr/sbin/alsactl: load_state:1625: No soundcards found...
But it seems like the sound card is detected.
# lspci |grep Audio
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)
Does anybody have an idea?
Thanks in advance.
Maxie
Last edited by maxie (2011-08-17 18:06:35)
Offline
Post the output of
lsmod | grep snd
Offline
Output is empty.
Last edited by maxie (2011-08-17 18:07:26)
Offline
i think you have to be root for that.
ezik
Offline
No, you don't have to.
Anyway, this means the sound modules aren't loaded.
I experienced the same behaviour some weeks ago. For me reinstalling the kernel helped, but I don't know what was wrong.
Offline
Post the output of
ls -1 /etc/modprobe.d/
What's the output of 'uname -r' and 'pacman -Q linux'?
Is your user in the 'audio' group'?
Last edited by karol (2011-08-20 10:01:48)
Offline
I get sound by oss but not by alsa anymore.
You should clarify that. Do you mean ALSA's emulation of OSS (which bypasses dmix)?
If yes, an app which opens OSS sound will block ALSA. ALSA *cannot* play via OSS & ALSA simultaneously.
This is a useful debugging command:
fuser -fv /dev/snd/* /dev/dsp*
It would be more useful, and far less tedious, to provide lots of information in one post, rather than drip-feeding it:
wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh
bash alsa-info.sh --upload
Then show us the URL that the script shows at the end.
Offline
maxie wrote:I get sound by oss but not by alsa anymore.
Isn't ALSA auto-removed during installation of OSS?
Offline
brebs wrote:maxie wrote:I get sound by oss but not by alsa anymore.
Isn't ALSA auto-removed during installation of OSS?
Nooo, and you even have http://www.archlinux.org/packages/extra/i686/alsa-oss/
Offline
Nooo, and you even have http://www.archlinux.org/packages/extra/i686/alsa-oss/
Two things:
The URL you pointed to is ALSA's emulation of OSS, rather than OpenSound. Which bypasses dmix.
Notice I use the word OpenSound to reduce confusion, and its own installer *removes* ALSA's kernel modules, last time I tried it (many months ago).
Offline
Nooo, and you even have http://www.archlinux.org/packages/extra/i686/alsa-oss/
Two things:
The URL you pointed to is ALSA's emulation of OSS, rather than OpenSound. Which bypasses dmix.
Incorrect. alsa-oss is a userspace library that inject itself before running an app. It is dmixed. What is not dmixed is alsa's kernel-level oss emulation (the snd-pcm-oss module).
Last edited by Gusar (2011-08-24 15:04:59)
Offline
Great, so now we have 3 types of opensound
Does alsa-oss i.e. actually *work*, i.e.
aoss ossplayer
With dmix (i.e. concurrectly with proper dmixed ALSA), for anyone?
I assume fuser -fv /dev/snd/* /dev/dsp* would show 2 in snd/ and nothing in dsp/
Offline
This might have something to do with the asynchronous loading of modules. I had the same issue of snd_usb_audio loading before snd_hda_intel and on some occasions my soundcard wasn't detected at all.
Have you tried
aplay -l
And if so, what are the contents?
---
If this is similar to your problem you can order the loading of specific modules by editing your /etc/modprobe.d/modprobe.conf file and adding:
options snd_hda_intel index=0
options snd_usb_audio index=1
Offline
Great, so now we have 3 types of opensound
Now? alsa-oss has been around since alsa existed. It's problem is though that it doesn't work for some apps. So people tend to use the in-kernel emulation (in the few cases where it's still necessary, which is actually rare nowadays). There is another method that came around recently, CUSE and ossp. Haven't tried that one yet.
Last edited by Gusar (2011-08-24 17:03:55)
Offline
Does alsa-oss i.e. actually *work*
Yes, with doom3 output via aoss, with "speaker-test" running - both outputs are via /dev/pcm/
Has a noticeable delay, though. But it actually works., which is better than ALA's dmix.
Offline
But it actually works., which is better than ALA's dmix.
Dmix has worked for me for years. And has so for many, many others.
Offline
Come on, I know this already. There are some weird problems with dmix, for people with more than 2 speakers.
Edit: Also, what I said was in the context of Doom3.
Last edited by brebs (2011-08-24 19:35:30)
Offline
Pages: 1