FS#8948 - kernel26 2.6.23.11-1 : snd-hda-intel stopped working
Attached to Project:
Arch Linux
Opened by Xavier (shining) - Sunday, 16 December 2007, 18:58 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 22 December 2007, 13:31 GMT
Opened by Xavier (shining) - Sunday, 16 December 2007, 18:58 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 22 December 2007, 13:31 GMT
|
Details
Description:
I just upgraded to the 2.6.23.11-1 kernel in testing, and alsa doesn't work anymore. I first noticed it in cmus. Then tried mplayer, and here are the errors : [AO_ALSA] alsa-lib: pcm_hw.c:983:(snd_pcm_hw_open_fd) TSTAMP failed [AO_ALSA] alsa-lib: pcm_dmix.c:866:(snd_pcm_dmix_open) unable to open slave [AO_ALSA] Playback open error: Inappropriate ioctl for device Could not open/initialize audio device -> no sound. Audio: no sound Additional info: * kernel26 2.6.23.11-1 package * hda intel chipset (snd-hda-intel module) |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Saturday, 22 December 2007, 13:31 GMT
Reason for closing: Fixed
Additional comments about closing: 2.6.23.12-3
Saturday, 22 December 2007, 13:31 GMT
Reason for closing: Fixed
Additional comments about closing: 2.6.23.12-3
But my sb still plays sounds. Perhaps this is related to hw/sw mixing?
[AO_ALSA] alsa-lib: pcm_hw.c:1099:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy
[AO_ALSA] Playback open error: Device or resource busy
Could not open/initialize audio device -> no sound.
Audio: no sound
I tried the last (unofficial snapshot) : ftp://ftp.suse.com/pub/projects/alsa/snapshot/driver/alsa-driver-hg20071215.tar.bz2
It still had the same problem.
I then tried the stable release : ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.15.tar.bz2
And it works perfectly.
I couldn't find anything about this issue on the alsa bugtracker, but maybe my search skills just suck.
Error running pipeline 'ALSA - Advanced Linux Sound Architecture': Resource busy or not available. [gstalsasink.c(622): gst_alsasink_open (): /pipeline1/alsasink4:
Device 'default' is busy]
Also using snd_via82xx driver as CiHO
$ cat /proc/asound/cards
0 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xfbdf0000 irq 17
1 [AV710 ]: ICE1724 - Chaintech AV-710
Chaintech AV-710 at 0xec00, irq 20
2 [CS46xx ]: CS46xx - Sound Fusion CS46xx
Sound Fusion CS46xx at 0xfbfff000/0xfbe00000, irq 21
Looks like the new ALSA snapshot is broken.
I agree with Greg Meyer. It looks like the new alsa snapshot is broken.
I get this error message:
$ aplay something
ALSA lib pcm_dmix.c:866:(snd_pcm_dmix_open) unable to open slave
kernel26-2.6.23.9-1 works fine
01:08.0 Multimedia audio controller: Creative Labs SB Audigy LS
A guy on alsa irc channel said hg alsa was indeed broken, and also:
17:54 mranostay_work >> DarkMac: you could apply my patch to hg alsa-lib repo for a quick hack
here is the patch:
http://mailman.alsa-project.org/pipermail/alsa-devel/2007-December/004745.html
But it's probably not a good idea to apply this hack.
The alsa kernel patch should rather be reverted to the previous one. Or even to the stable alsa version.
Does the 2.6.23.11 vanilla kernel contain alsa 1.0.15 ? That version works perfectly here.
But even if it contains an older version, it probably works as well.
I can't open 2 or more softwares that use sound.
When i revert back to the core kernel everything work fine.
Downgraded to 2.6.23.9 and solved.
I have soundcard with Realtek ALC660-VD chipset.
Thank you :-)
(mrunion is my user ID). I went back to 9-1 and got sound back.
And since the kernel is the only thing that made a difference in having sound and not, and I know this as a fact, if you guys need me to look at something on my system, or send a particular file or setting, let me know. I'll do my absolute best to get it to you.
Brief system specs:
HP dv9000 Laptop (dv9650us)
nVidia 7600
2GB RAM
ICH8 (hda-intel) sound (I think it's a realtek card)
Using the latest updates from core/extra/community but NOT using the testing archive.
Thanx guys!
The question is which breakage is less, using up to date alsa from development tree ,
then the whole subsystem needs to be used or use kernel inside provided alsa.
The last snapshots were not really good and a lot bugs were opened,
so i decided to step back to kernel alsa.
I cannot help you much on this because this is an upstream issue which is hopefully solved in the future.
Here is the .24rc6 kernel if you wanna give that alsa version a shot:
http://www.archlinux.org/~tpowa/2.6.24/
using development version contains the risk of breakage.
using old kernel alsa contains the risk of not having the latest hardware support.
It seems I have to downgrade... grrr
I think this is something deeper than I can figure out. but neither ALSA nor OSS gives sound with the newer kernel. Does anyone think it'll ever come back?
2.6.23 contains Alsa 1.0.14, which is older than the alsa-lib that we ship, and supports less drivers than alsa 1.0.15.
We have some choices here:
- leave alsa like it is in kernel 2.6.23 and hope 2.6.24 will be better
- continue to use snapshots (bad idea)
- upgrade alsa to last stable, which is 1.0.15
I would opt for the last one. This can be done by either removing alsa support and building it out of tree with an alsa release, or patch it using the patch from 2.6.23-mm: ftp://ftp.de.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23/2.6.23-mm1/broken-out/git-alsa.patch
If we're switching to snapshots, please consider using the official alsa kernel git repository instead of the alsa-kernel mercurial repository: http://git.kernel.org/?p=linux/kernel/git/perex/alsa.git
it's the same state as kernel .24 series