You are not logged in.

#1 2004-04-14 17:48:33

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Sound Died

Strange... I upgraded to kernel 2.6.5  (from 2.4.24) the other day and my sound kept working without any complaints. However, after I upgraded alsa-lib and alsa-util, removing alsa-driver (as it shouldn't be necessary on 2.6, right), my sound isn't working. The channels are unmuted. I can still play cds. lsmod shows the modules as loaded:

snd_pcm_oss            50724  0
snd_mixer_oss          18176  1 snd_pcm_oss
snd_via82xx            23968  3
snd_pcm                90784  4 snd_pcm_oss,snd_via82xx
snd_timer              23428  1 snd_pcm
snd_ac97_codec         63236  1 snd_via82xx
snd_page_alloc          9476  2 snd_via82xx,snd_pcm
gameport                4224  1 snd_via82xx
snd_mpu401_uart         7040  1 snd_via82xx
snd_rawmidi            21280  1 snd_mpu401_uart
snd_seq_device          6920  1 snd_rawmidi
snd                    49124  14 snd_pcm_oss,snd_mixer_oss,snd_via82xx,snd_pcm,snd_timer,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore               8160  1 snd

I've rebooted my computer since the upgrade, so I don't think it could be some sort of init failure. Can't find any errors anywhere.

When I try to play a sound with aplay, it doesn't throw an error, but doesn't close until I ctrl-c. xmms seems to crash on ogg files (only closes with ctrl-c), but doesn't print any errors either.

Must be something simple I forgot, right? what then?

Dusty

Offline

#2 2004-04-14 17:52:33

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,751

Re: Sound Died

Does it work as root ?

Mr Green


Mr Green

Offline

#3 2004-04-14 17:57:58

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,262

Re: Sound Died

have you tried to disable 3D sound and such sings?
what's in your modprobe.conf?
try to reconfigure with alsaconf
mine looks like this:
# --- ALSACONF verion 1.0.3 ---
alias snd-card-0 snd-via82xx
alias sound-slot-0 snd-via82xx
# --- END: Generated by ALSACONF, do not edit. ---
not more needed

and in rc.conf i loaded snd-card-0 and snd-pcm-oss

Offline

#4 2004-04-14 18:17:04

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Sound Died

no, doesn't work as root. I have nothing in modprobe.conf (only nvidia), but the modules seem to be loading all right, according to lsmod.  I haven't fiddled with volume, but I'm pretty sure that isn't the problem because it isn't pretending to play the sound; it just stops after running a sound command.  So it isn't just muted; its not playing at all.

additional info:

[root@localhost dusty]# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: V8233A [VIA 8233A], device 0: VIA 8233A [VIA 8233A]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: V8233A [VIA 8233A], device 1: VIA 8233A [VIA 8233A]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Nothing unusual there, eh?

I tried running alsaconf, no changes, but maybe if I reboot...

Anywhere I could look for errors or logs?

Dusty

Offline

#5 2004-04-14 23:34:03

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Sound Died

This is strange as hell. I rebooted and it worked, now it doesn't work. Perhaps the device is being used, but I'm not getting any error?

It worked both as root and as user. Now its sticking again. Maybe there is an app stealing the device somehow... anyway to check that?

Dusty

Offline

#6 2004-04-15 01:22:50

wakeupbomb
Member
From: Liverpool, UK
Registered: 2004-02-15
Posts: 164

Re: Sound Died

fuser /dev/dsp
or is that for OSS?
either way it'll give you the number of anything that's using /dev/dsp...then you can kill the bugger
dunno if that helps?

Offline

#7 2004-04-15 02:24:32

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Sound Died

I've narrowed it down some. Seems to be in Mozilla-thunderbird's mail notification. I can play other files until I receive mail in thunderbird.  Then nothing, until I close thunderbird.

Easy fix is to turn off audio notification on thunderbird, I suppose, but that's more of a workaround... I hate not having things because they don't work.

Dusty

Offline

#8 2004-04-15 06:37:08

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,262

Re: Sound Died

are you using kde?
disable arts
or
perhaps a artsdsp "yourprogram" helps

Offline

#9 2004-04-15 07:01:39

punkass
Member
Registered: 2004-03-25
Posts: 23

Re: Sound Died

I had some problems with xmms and other programs fighting over sound, Xentac pointed me to dmix for alsa.

http://alsa.opensrc.org/index.php?page=DmixPlugin

so i created a file called  ~/.asoundrc

and stuck this in it:

pcm.!default {
    type plug
    slave.pcm "dmixer"
}
 
pcm.dsp0 {
    type plug
    slave.pcm "dmixer"
}
 
pcm.dmixer  {
    type dmix
    ipc_key 1024
    slave {
        pcm "hw:0,0"
        period_time 0
        period_size 1024
        buffer_size 8192
        #periods 128
        rate 44100
    }
    bindings {
        0 0
        1 1
    }
}
 
ctl.mixer0 {
    type hw
    card 0
}

and now stuff seems to work better.

Maybe that will help you out.

Offline

#10 2004-04-15 15:42:55

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Sound Died

tpowa wrote:

are you using kde?
disable arts
or
perhaps a artsdsp "yourprogram" helps

Nope, fluxbox.

punkass: I don't think miking is the problem here, but I'll try that later vhen  have time.

I tried running thunderbird from the command-line. When the sound is played, it seems to be output to stdout somehow:

dusty:dusty $ mozilla-thunderbird
RIFF´ºWAVEfmt "VD¬datadºÿÿÿÿþýüúø÷õóòðîíìëêêêêêëíîñóöùý &),.023444321.,)&#      úõñìèãßÜØÕÓÐÏÍÌÌÌÌÍÏÐÓÕØÜßãçìðõúÿ  *-/124455431/-*'#       úöñìèäàÜÙÖÓÑÏÎÍÌÌÍÎÏÑÓÖÙÜàäèíñöû         #'*-/134555431/-*'#       úõñìèäàÜ .....................

Also, after I close thunderbird, any programs waiting to play sounds seem to be freed up.

Dusty

Offline

Board footer

Powered by FluxBB