From alsa-user-owner@alsa.jcu.cz  Mon Jan  4 16:55:20 1999
Received: from sunny.bahnhof.se (sunny.bahnhof.se [193.44.91.1])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id QAA32401
	for <alsa-user@jcu.cz>; Mon, 4 Jan 1999 16:49:09 +0100
Received: from scode.noreva.se (pm1-56.bahnhof.se [195.178.166.69])
	by sunny.bahnhof.se (8.8.8+Sun/8.8.8) with ESMTP id QAA18916
	for <alsa-user@jcu.cz>; Mon, 4 Jan 1999 16:47:48 +0100 (MET)
Message-ID: <XFMail.990104174806.scode_ufp@usa.net>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
Date: Mon, 04 Jan 1999 17:48:06 +0100 (CET)
From: Peter Schuller <scode_ufp@usa.net>
To: alsa-user@jcu.cz
Subject: ALSA and GUS MAX, on kernel 2.0.34 / Debian 2.0
Reply-To: alsa-user@alsa.jcu.cz
Sender: alsa-user-owner@alsa.jcu.cz
Precedence: list

Hi!

I've actually posted a question about this in the past, but I've got some more
stuff to say now, and maybe more people are subscribed now, so the chances of
someone knowing what's wrong is hopefully a bit higher :)

ALSA used to work fine on my old Linux install (kernel 2.0.30 + teardrop path.
Dist. was RH 4.0). After I installed Debian 2.0, which uses kernel 2.0.34, I'm
having problems. Basically, nothing works except Quake 2. Yes, that's right; a
game is the only thing that works :)

When using apps like wine, xanim, mtvp, aplay, mpg123, splay, mikmod, I always
have the same problem: the application can play the first second or so (how
long varies a little), and then the sound "restarts", as if it was a broken
record. 

AFAIK, there is no hardware conflict. I'm using the same interrupts and such as
before, and I never had any problems then. Here's /proc/interrupts:

0:   42134055   timer
 1:     513544   keyboard
 2:          0   cascade
 4:    2323033 + serial
 5:          0 + GUS MAX
11:    1026318   eepro
12:       7600   aic7xxx
13:          1   math error
14:    9024650 + ide0
15:     364928 + ide1        


and here's /proc/dma:

 4: cascade
 5: GF1/CS4231 record
 6: CS4231 playback 

Currenly, the only way I can play a .wav file, is by using the "play" command
in Quake 2, hehe :)

Does anyone have a clue as to what might be wrong? I'm using the latest
version of alsa, but I've tried at least 3 I think, all of them "new" ones.

And what's Quake 2 doing different from all other apps? They're all using
/dev/dsp AFAIK, with the possible exception of aplay.

And btw, Quake 2 doesn't work flawlessly either. Sometimes I get the same
phenomenon in Q2 - every sound suddenly starts "echoing" or "jerking", and I
have to restart it for it to go back to normal.

Thanks!

/ Peter Schuller
----------------
E-Mail: scode_ufp@usa.net
Web: http://hem.passagen.se/petersch


