You are not logged in.

#1 2009-11-29 01:09:14

beatbreaker
Member
Registered: 2009-07-13
Posts: 46

[SOLVED] Sound dies during session - WTF?!

I don't know where to start with this one, I've been having ALSA problems for about a month now, i changed to OSS and that didn't work with several of my programs so i went back to ALSA.

I managed to get it to run ALSA in the daemons again, and I get the Gnome start up sound, I can watch youtube with sound, blah blah it all seems fine.

BUT something is making it conk out after a few hours use, and i've got no idea what it might be, I restart ALSA and that doesn't help (/etc/rc.d/alsa restart)


I just don't understand why it's not working. Any help much appreciated.

Last edited by beatbreaker (2009-12-08 21:49:50)

Offline

#2 2009-11-29 02:48:51

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Sound dies during session - WTF?!

More details please.

> BUT something is making it conk
What "it" are you referring to - sound on YT?

Have you read this - http://wiki.archlinux.org/index.php/All … nd_at_once ?

Last edited by karol (2009-11-29 02:54:24)

Offline

#3 2009-11-29 03:37:55

beatbreaker
Member
Registered: 2009-07-13
Posts: 46

Re: [SOLVED] Sound dies during session - WTF?!

The "it" is ALSA

something is making ALSA conk out mid session.

It will work in my virtual box and in Arch at the same time but then it stops working in Arch and will continue to work in my virtual box

for example if i try to play sound i'll get something like this in Arch:

ALSA lib pcm_dmix.c:1010:(snd_pcm_dmix_open) unable to open slave
aplay: main:608: audio open error: Device or resource busy

I've read lots of stuff on this, and it used to work perfectly, never a problem with sound until now.

Offline

#4 2009-11-29 04:02:12

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Offline

#5 2009-11-29 05:07:40

beatbreaker
Member
Registered: 2009-07-13
Posts: 46

Re: [SOLVED] Sound dies during session - WTF?!

thanks, ok here's some more output i got from that link you gave me:

$   lsmod | grep snd 
snd_seq_dummy           2720  0 
snd_seq_oss            31232  0 
snd_seq_midi_event      7036  1 snd_seq_oss
snd_seq                53808  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_intel8x0           30616  2 
snd_ac97_codec        106112  1 snd_intel8x0
ac97_bus                1564  1 snd_ac97_codec
snd_seq_device          6792  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            40320  2 
snd_mixer_oss          17564  1 snd_pcm_oss
snd_pcm                74464  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              21156  2 snd_seq,snd_pcm
snd                    58820  9 snd_seq_oss,snd_seq,snd_intel8x0,snd_ac97_codec,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore               6944  3 snd
snd_page_alloc          8900  2 snd_intel8x0,snd_pcm
$  cat /etc/modprobe.d/modprobe.conf 
#
# /etc/modprobe.d/modprobe.conf (for v2.6 kernels)
#
#options snd_ac97_codec index=0
#options snd_usb_audio index=1
#options snd-pcsp index=2
$  cat /proc/asound/cards 
 0 [CK8S           ]: NFORCE - NVidia CK8S
                      NVidia CK8S with ALC850 at irq 21
$  cat /proc/asound/version 
Advanced Linux Sound Architecture Driver Version 1.0.20.



$  lspci -vv | grep -i audio -A 14 
00:06.0 Multimedia audio controller: nVidia Corporation nForce3 250Gb AC'97 Audio Controller (rev a1)
    Subsystem: Giga-byte Technology Device a002
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0 (500ns min, 1250ns max)
    Interrupt: pin A routed to IRQ 21
    Region 0: I/O ports at bc00 [size=256]
    Region 1: I/O ports at c000 [size=128]
    Region 2: Memory at f7001000 (32-bit, non-prefetchable) [size=4K]
    Capabilities: <access denied>
    Kernel driver in use: Intel ICH
    Kernel modules: snd-intel8x0

00:08.0 IDE interface: nVidia Corporation CK8S Parallel ATA Controller (v2.5) (rev a2) (prog-if 8a [Master SecP PriP])
    Subsystem: Giga-byte Technology Device 5002

Offline

#6 2009-11-29 15:44:18

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Sound dies during session - WTF?!

Are you sure that sth doesn't mute your channels? Have you checked your settings - 'alsamixer'? All the right channels are 100% up but you still get no sound?
If uninstalling and installing back ALSA didn't help and you've checked the links I posted and still nothing I don't think I can help you.

Offline

#7 2009-11-29 16:33:18

fphillips
Member
From: Austin, TX
Registered: 2009-01-24
Posts: 202

Re: [SOLVED] Sound dies during session - WTF?!

You don't think it's related to the VM using sound? Have you tried killing the VM while you have this problem to see if it releases the soundcard?

You can see if this gives a clue when you have the problem: fuser -v /dev/snd/*

It's probably a program (could be a background zombie) or another sound daemon you've installed.

Do you get any error messages like a panic in dmesg, other than the alsa message above?

Last edited by fphillips (2009-11-29 16:34:39)

Offline

#8 2009-11-29 18:02:23

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED] Sound dies during session - WTF?!

Most likely you are running an app that is either using a spesific alsa hw sink, or the horrible oss emulation. run lsof /dev/snd/* and lsof /dev/dsp  and see if gives you a hint.

Edit: it's generally a good idea to blacklist the oss emulation devices, and use aoss instead if needed.

Last edited by Mr.Elendig (2009-11-29 18:03:36)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#9 2009-12-08 12:14:48

beatbreaker
Member
Registered: 2009-07-13
Posts: 46

Re: [SOLVED] Sound dies during session - WTF?!

Ok I think most of the people here put the puzzle together well.

I had a setting in Virtual Box to use OSS sound. So the OSS was clashing with the newly again working ALSA.

For some reason it would confuse it enough not to initialise ALSA on boot which made things very confusing, but on second boot it would work.

sound seems to work ok now again. Will report back if I run into problems again but thanks for your help until then.

Offline

#10 2009-12-08 14:28:41

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED] Sound dies during session - WTF?!


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB