Bugzilla – Bug 117048
no sound with via driver
Last modified: 2008-07-16 15:46:45 UTC
ALSA lib pcm_dmix.c:789:(snd_pcm_dmix_open) unable to create IPC semaphore alsaconf loads the correct drivers, but aplay shows this error. People reported that sound worked ok in beta3 or 4 on pegasos2.
Which driver? Show /proc/asound/cards. Try to clean up unused semaphores via ipcrm? Also strace would be helpful.
f55:~ # lsmod Module Size Used by snd_pcm_oss 73056 0 snd_mixer_oss 23168 1 snd_pcm_oss snd_seq 68568 0 snd_via82xx 35076 0 snd_ac97_codec 114016 1 snd_via82xx snd_ac97_bus 2688 1 snd_ac97_codec snd_pcm 112900 3 snd_pcm_oss,snd_via82xx,snd_ac97_codec snd_timer 28644 2 snd_seq,snd_pcm snd_page_alloc 11976 2 snd_via82xx,snd_pcm snd_mpu401_uart 9536 1 snd_via82xx snd_rawmidi 30560 1 snd_mpu401_uart snd_seq_device 10380 2 snd_seq,snd_rawmidi snd 75584 10 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device soundcore 11108 1 snd joydev 11488 0 sg 33916 0 st 41984 0 sd_mod 21808 0 sr_mod 20388 0 scsi_mod 161160 4 sg,st,sd_mod,sr_mod lp 13708 0 parport_pc 52476 1 radeon 88836 1 drm 75576 2 radeon agpgart 37276 1 drm autofs4 22180 3 ipv6 284872 14 via_rhine 26084 0 mii 6432 1 via_rhine ehci_hcd 36072 0 ohci1394 39668 0 uhci_hcd 44016 0 ieee1394 113712 1 ohci1394 parport 42992 2 lp,parport_pc dm_mod 63252 0 ide_cd 47556 0 cdrom 43292 2 sr_mod,ide_cd psmouse 35876 0 via82cxxx 15420 0 [permanent] f55:~ # cat /proc/asound/cards 0 [rev40 ]: VIA686A - VIA 82C686A/B rev40 VIA 82C686A/B rev40 with STAC9766,67 at 0x1100, irq 9
Created attachment 49933 [details] aplay_trace.txt
Hmm, the relevant part hasn't been changed since beta4. Possibly the compiler was changed... Can you try the package on bari-tiwai-12?
f55:~ # aplay /usr/share/sounds/alsa/test.wav ALSA lib pcm_direct.c:806:(snd_pcm_direct_initialize_slave) requested or auto-format is not available ALSA lib pcm_dmix.c:830:(snd_pcm_dmix_open) unable to initialize slave aplay: main:540: audio open error: Invalid argument
Try to copy the following to /usr/share/alsa/cards.
Created attachment 49938 [details] VIA686 config
doesnt help.
How about the one on bari-tiwai-13? (Don't use the file in commment #7.)
I can bring it in your office if you want, its a very small box. sound works ok with 2.6.11 debian kernel, only with the plug on the backside, not on the frontpanel.
It's no driver bug just a problem regarding dmix plugin with ppc. Writing the following to ~/.asoundrc would fix, but you lose the soft mixing, too: pcm.!default "plughw" And, no, please don't bring it to me. I have no time at all.
yes, that works.
Also let me know whether bari-tiwai-13 works. If not, please attach the errors again.
just using the new alsa.rpm fixes it.
The package was submitted to STABLE.