Re: via82cxxx_audio driver bug?

Paul Jakma (paulj@alphyra.ie)
Mon, 13 Aug 2001 18:46:38 +0100 (IST)


On Mon, 13 Aug 2001, Nicholas Knight wrote:

> and if they've seen XMMS or other audio applications with access to
> /dev/mixer have strange, temporarily lockups when not in root/realtime
> priority. I've yet to be able to test this with other audio applications
> besides XMMS.

yes.. i see this too with the via82cxxx_audio driver on my Tyan
AMD751+Via southbridge board.

/anything/ that accesses /dev/mixer or /dev/dsp while sound is being
played is locked. Eg, play an mp3 with xmms. while playing, xmms and
things like the gnome and WM mixer applets are all unresponsive. they
respond to UI interaction maybe only every 30 seconds or longer.

xmms with real-time priority does not suffer from this
unresponsiveness.

from the haze of my memory i think this behaviour started with the
mmap support that Jeff brought in 1.1.13 or 1.1.14. but i can't be
sure.

I've tried playing with the size of the buffers
(VIA_MAX_BUFFER_DMA_PAGES) and the _TIME and FRAG_ defines. best
result was that perioid of the unresponsiveness was reduced slightly,
but not eliminated (by reducing the buffering times and number of
fragments).

> Thanks.

regards,

--paulj

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/