All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Prakash K. Cheemplavam" <PrakashKC@gmx.de>
To: alsa-devel@lists.sourceforge.net
Subject: quake3 and alsa trouble: resampler probably doesn't work properly?
Date: Sun, 04 Jan 2004 19:06:33 +0100	[thread overview]
Message-ID: <3FF85629.5070507@gmx.de> (raw)

Hi all,

I am using nforce2 with intel8x0 compiled into 2.6.1-rc1-mm1 based kernel.

if you just start quake3 then you will have no sound. If you apply the 
famous cat "bla direct" > /bla/pcm/bla (and the other disable for 
capture), then sound reappears. Ok. But as soon as I load a map (except 
the very first one) quake will "soft freeze" ie you will hear a portion 
of sound getting repeated and quake3 as such seems to be frozen. But you 
can simple kill it and the rest of the system is not affected. I then 
compiled debug into alsa and got this assert error in the "soft freeze":

ALSA sound/core/pcm_lib.c:61: BUG? (runtime->silence_filled <= 
runtime->buffer_size) (called from c030c7ad)

(I got this error with alsa0.9.8, which can be provoked if you set 
soundspeed to something high in the quake config, setting it to 0 quake 
works with alsa 0.9.8, but not with latest alsa)

I treid setting the other alsa-oss options (read in the alsa 
Documentation about alsa-oss) , as well, but didn't help. I noticed that 
the "whole-frag" option didn't appear, even if I cat it into the proc 
setting. might that be the problem? I looked into the source and this 
option isn't there, so docs are not up to date.



So, I have an idea, what is wrong with alsa1.x. When using alsa 0.9.8:

------- sound initialization -------
------------------------------------
----- Sound Info -----
sound system is muted
1 stereo
32768 samples
16 samplebits
1 submission_chunk
22050 speed
0x46a0c000 dma buffer
No background file.


and quake3 works. Whereas with alsa1.x speed is set to 48000, no matter 
what I set in the config file. Furthermore *if* I set sndspeed to 48000 
then quake3 hangs also with alsa 0.9.8.

So my conclusion: There is something wrong with alsa resampler. This 
also can be seen in other instances and reports users have filed in. I 
hope this gets fixed soon.

Thanx,

Prakash


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

             reply	other threads:[~2004-01-04 18:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-04 18:06 Prakash K. Cheemplavam [this message]
2004-01-05  9:54 ` quake3 and alsa trouble: resampler probably doesn't work properly? Jaroslav Kysela
2004-01-05 11:53   ` Prakash K. Cheemplavam
2004-01-08 19:47     ` Prakash K. Cheemplavam
2004-01-15 16:23 ` Prakash K. Cheemplavam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3FF85629.5070507@gmx.de \
    --to=prakashkc@gmx.de \
    --cc=alsa-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.