You are not logged in.

#1 2008-04-18 19:57:11

Frem
Member
From: Longview, TX
Registered: 2005-02-27
Posts: 56
Website

Sound dies

I have a problem. When I first boot up, all my sound will work fine. The trouble is, I'll inevitably do something CPU intensive like resize a window or click on a link to a flash video, and the sound will cut out. It sounds like a broken record, looping the last millisecond or so over and over again.

When I close everything, kill random processes, and eventually make the loop stop before I go insane, the sound won't come back. The flash plugin will freeze whenever it encounters something that requires sound, Rhythmbox won't play at all, and aplay does the whole broken record thing until I Ctrl-C it.
None of them output anything helpful to the command line.

Audacious will play stuff (!!!), but if I pause it, it goes into the broken record thing. Completing the playing of the track makes it silent, though.

My documentation informs me that in this Toshiba M55-S139 laptop, I have Realtek ALC250 16-bit stereo software sound.

So! I really don't have any clue where to begin to start trying to fix this. I've attached the output of several commands that seemed like they'd be helpful.

Nothing useful shows up in dmesg.


Help?

speaker-test -c 2 -t wav

speaker-test 1.0.16

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
ALSA lib pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
Playback open error: -16,Device or resource busy
ALSA lib pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
Playback open error: -16,Device or resource busy
ALSA lib pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
Playback open error: -16,Device or resource busy

lsmod

Module                  Size  Used by
usb_storage            83648  0 
wlan_tkip              11776  0 
wlan_ccmp               7808  0 
ipv6                  253764  8 
nls_cp437               5888  1 
vfat                   10752  1 
fat                    46876  1 vfat
joydev                 10048  0 
pcmcia                 33324  0 
pcspkr                  2944  0 
psmouse                37136  0 
serio_raw               5636  0 
yenta_socket           23564  1 
rsrc_nonstatic         11392  1 yenta_socket
pcmcia_core            33304  3 pcmcia,yenta_socket,rsrc_nonstatic
usbhid                 42560  0 
i2c_piix4               7948  0 
hid                    38272  1 usbhid
ff_memless              5128  1 usbhid
i2c_core               19584  1 i2c_piix4
shpchp                 29716  0 
video                  16016  0 
pci_hotplug            26272  1 shpchp
output                  3200  1 video
ati_agp                 7180  0 
container               3840  0 
sg                     26896  0 
thermal                12956  0 
processor              29144  2 thermal
evdev                   9344  6 
fan                     3844  0 
button                  6544  0 
battery                10756  0 
ac                      4612  0 
fuse                   42644  4 
fglrx                1546828  31 
agpgart                28120  2 ati_agp,fglrx
snd_atiixp             15756  2 
snd_atiixp_modem       12168  0 
snd_ac97_codec         97828  2 snd_atiixp,snd_atiixp_modem
snd_seq_oss            30336  0 
snd_seq_midi_event      6656  1 snd_seq_oss
snd_seq                48464  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          6796  2 snd_seq_oss,snd_seq
snd_pcm_oss            38432  1 
snd_pcm                70404  4 snd_atiixp,snd_atiixp_modem,snd_ac97_codec,snd_pcm_oss
snd_timer              19588  2 snd_seq,snd_pcm
snd_page_alloc          8072  3 snd_atiixp,snd_atiixp_modem,snd_pcm
snd_mixer_oss          14848  1 snd_pcm_oss
snd                    46436  12 snd_atiixp,snd_atiixp_modem,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               6496  2 snd
ac97_bus                2304  1 snd_ac97_codec
wlan_scan_sta          12800  1 
ath_rate_sample        14336  1 
ath_pci               183724  0 
wlan                  238448  6 wlan_tkip,wlan_ccmp,wlan_scan_sta,ath_rate_sample,ath_pci
ath_hal               231136  3 ath_rate_sample,ath_pci
8139too                22912  0 
8139cp                 19840  0 
mii                     4992  2 8139too,8139cp
rtc_cmos                7712  0 
rtc_core               15752  1 rtc_cmos
rtc_lib                 3072  1 rtc_core
ext3                  124040  1 
jbd                    44308  1 ext3
mbcache                 7168  1 ext3
sd_mod                 23168  5 
sr_mod                 15268  0 
cdrom                  34080  1 sr_mod
ehci_hcd               33804  0 
ohci_hcd               22020  0 
pata_acpi               5248  0 
usbcore               128620  5 usb_storage,usbhid,ehci_hcd,ohci_hcd
ata_generic             5380  0 
pata_atiixp             5888  4 
libata                141424  3 pata_acpi,ata_generic,pata_atiixp

lspci

00:00.0 Host bridge: ATI Technologies Inc Unknown device 5a31 (rev 01)
00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:04.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80)
00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80)
00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller (rev 80)
00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 81)
00:14.1 IDE interface: ATI Technologies Inc IXP SB400 IDE Controller (rev 80)
00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge (rev 80)
00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge (rev 80)
00:14.5 Multimedia audio controller: ATI Technologies Inc IXP SB400 AC'97 Audio Controller (rev 80)
00:14.6 Modem: ATI Technologies Inc SB400 AC'97 Modem Controller (rev 80)
01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon Xpress 200M]
04:02.0 Ethernet controller: Atheros Communications, Inc. AR2413 802.11bg NIC (rev 01)
04:04.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01)
04:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

Offline

#2 2008-05-11 06:56:32

Frem
Member
From: Longview, TX
Registered: 2005-02-27
Posts: 56
Website

Re: Sound dies

Sorry to bump, but it's been three weeks and I still have this issue. The firefox Flash Block extension helps cut down on random flash ads with noise triggering it, but it's still there.

Another user, apparently with the same problem (and no forum account?) also emailed me asking if I'd found a solution.

So, yes. Anyone?

Offline

#3 2008-05-12 12:54:47

dabski
Member
Registered: 2008-02-07
Posts: 101
Website

Re: Sound dies

Never seen anything like this before, did you follow the arch wiki on how to get sound working? Not sure if this will work but back in the ubuntu days when I was having sound problems I used:

fuser -v /dev/dsp*

to track down the process then kill it rather than stabbing around in the dark.

Last edited by dabski (2008-05-12 12:59:31)

Offline

#4 2008-05-15 18:13:23

Frem
Member
From: Longview, TX
Registered: 2005-02-27
Posts: 56
Website

Re: Sound dies

But see, after I kill the offending process, the broken record thing might (or might not) stop, but sound isn't fixed. Next time I try to use Rhythmbox or Totem, they'll crash. If I use Google's Music Manager, more broken record noises.

fuser -v /dev/dsp*
shows no processes using the sound card. I've killed the Gnome volume control widget on the taskbar, but that doesn't seem to have helped. Neither does logging out and in again.

Last edited by Frem (2008-05-15 18:17:48)

Offline

#5 2008-05-16 02:20:33

dabski
Member
Registered: 2008-02-07
Posts: 101
Website

Re: Sound dies

If your using alsa use:

sudo fuser -v /dev/snd/*

instead.

I honestly have no idea what could be causing this though you could try restarting the alsa sound daemon

sudo /etc/rc.d/alsa restart

.

Last edited by dabski (2008-05-16 02:21:31)

Offline

#6 2008-05-18 02:05:13

Frem
Member
From: Longview, TX
Registered: 2005-02-27
Posts: 56
Website

Re: Sound dies

I dunno either. Running that first command and killing everything using the sound card has no effect, neither does restarting alsa.

I hope this isn't a kernel-level issue.

Offline

#7 2008-05-20 06:16:13

Frem
Member
From: Longview, TX
Registered: 2005-02-27
Posts: 56
Website

Re: Sound dies

Thanks to some cool fellows on IRC, it's fixed! (sort of)

The problem is apparently because of some sort of IRQ conflict with the onboard sound card.
adding

irqpoll pci=routeirq

to my kernel's boot line in /boot/grub/menu.lst appears to have fixed it. The sound no longer dies.

However, it will skip something fierce when I click a link on a website, scroll, move a window, type too fast...

Any ideas?

Last edited by Frem (2008-05-20 06:16:51)

Offline

Board footer

Powered by FluxBB