[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SV: Problems with sound on thin clients (Was: Unidentified subject!)



save the asound file, and try another approuch to this, (im sorry to say, that pulseaudio is not my best friend)

put this in the asound file restart client and se if that works. (remeber to save the old asound so you can put it back if this not work)

#/etc/asound.conf start:
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
        rate 44100   #many new cards are 48000 only
    }
    bindings {
        0 0
        1 1
    }
}

ctl.dmixer {
    type hw
    card 0
}

#end.

Regards Alf Tonny Bätz
2012/3/21 George <joje47@yahoo.se>
Hi,

Yes, I get a popup from the notifier in kicker that says something like
"Alsa output device is not working", but in swedish. But when sound is working for some time after logging in, then that message does not popup. It pops up if sound gets broken almost immediately after logging in.

I just played around and played some videoclips from swedish television at svt.se booted as a thinclient and it worked for some minutes. In syslog I get some notifications about events being surpressed. It starts from when I start playing a videoclip until I close Iceweasel. (Even though Im not playing anything anymore.)

From syslog;
Mar 21 14:25:46 ltsp24 pulseaudio[2662]: ratelimit.c: 331 events suppressed
Mar 21 14:25:46 ltsp24 pulseaudio[2662]: ratelimit.c: 331 events suppressed
Mar 21 14:25:51 ltsp24 pulseaudio[2662]: ratelimit.c: 257 events suppressed
Mar 21 14:25:51 ltsp24 pulseaudio[2662]: ratelimit.c: 257 events suppressed
Mar 21 14:25:56 ltsp24 pulseaudio[2662]: ratelimit.c: 234 events suppressed
Mar 21 14:25:56 ltsp24 pulseaudio[2662]: ratelimit.c: 234 events suppressed
Mar 21 14:26:01 ltsp24 pulseaudio[2662]: ratelimit.c: 234 events suppressed
Mar 21 14:26:01 ltsp24 pulseaudio[2662]: ratelimit.c: 234 events suppressed
Mar 21 14:26:06 ltsp24 pulseaudio[2662]: ratelimit.c: 234 events suppressed
Mar 21 14:26:06 ltsp24 pulseaudio[2662]: ratelimit.c: 234 events suppressed
Mar 21 14:26:11 ltsp24 pulseaudio[2662]: ratelimit.c: 234 events suppressed
Mar 21 14:26:11 ltsp24 pulseaudio[2662]: ratelimit.c: 234 events suppressed
Mar 21 14:26:16 ltsp24 pulseaudio[2662]: ratelimit.c: 234 events suppressed

When sound stops working I can see this in syslog;
Mar 21 14:28:56 ltsp24 pulseaudio[2662]: alsa-source.c: snd_pcm_avail: Enhet eller resurs upptagen
Mar 21 14:28:56 ltsp24 pulseaudio[2662]: alsa-source.c: snd_pcm_avail: Enhet eller resurs upptagen
(Enhet eller resurs upptagen=resource busy)





--- Den ons 2012-03-21 skrev Steven Chamberlain <steven@pyro.eu.org>:

Från: Steven Chamberlain <steven@pyro.eu.org>
Ämne: Re: SV: Problems with sound on thin clients (Was: Unidentified subject!)
Till: "George" <joje47@yahoo.se>
Kopia: debian-edu@lists.debian.org
Datum: onsdag 21 mars 2012 14:17


On 21/03/12 13:05, George wrote:
> "Alsa output device is not working" (translated from swedish)
> It pops up right after login or after some time when running as
> thinclient. Not if you run the same client as diskless workstation though.

pulseaudio emulates an 'alsa output device' (called pulse).  The
/etc/asound.conf should tell applications to use that as their 'alsa
output device'.

So it could still be a problem with pulseaudio.  You could check syslog
for any errors from pulseaudio.

Regards,
--
Steven Chamberlain
steven@pyro.eu.org


Reply to: