SDL audio performance?

I have a performance problem. Can anybody advise me what to do?
I have K6 233MHz CPU, 64MB RAM…
Linux-2.2.14, XFREE86 3.3.6, glibc-2.1.2, latest GNOME, …, esound-0.2.17
SDL-1.0.8.

When I am running quake-sdl (quakeforge) and some other apps and games
(ampheta$UNDER X the sounds are coming late after events or sound is
fragmentary.
I have tried to set up SDL to use SDL_AUDIODRIVER=esd, dma, dsp - it does not
h$I have tried to kill esd and use only dsp - no improvements.

Is my CPU so slow (…when X running…) or something can be done?
Does anybody else faced this kind of problems (performance?) ?

Thanks …____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.

I have a performance problem. Can anybody advise me what to do?
I have K6 233MHz CPU, 64MB RAM…
Linux-2.2.14, XFREE86 3.3.6, glibc-2.1.2, latest GNOME, …, esound-0.2.17
SDL-1.0.8.

When I am running quake-sdl (quakeforge) and some other apps and games
(ampheta$UNDER X the sounds are coming late after events or sound is
fragmentary.
I have tried to set up SDL to use SDL_AUDIODRIVER=esd, dma, dsp - it does not
h$I have tried to kill esd and use only dsp - no improvements.

Is my CPU so slow (…when X running…) or something can be done?
Does anybody else faced this kind of problems (performance?) ?

If you run top in the background, can you see how much of the CPU is idle,
and how much is being used by the various processes? You shouldn’t be
having this kind of trouble if ESD is really off.

See ya!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Hello Sam !

Here is output from top:
PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME
COMMAND
2017 Mic 18 0 11108 10M 1988 R 0 74.0 16.9 1:46
quake-sdl
59 root 6 0 14648 13M 2556 S 0 24.3 22.1 4:51 X
2018 Mic 2 0 1040 1040 852 R 0 1.1 1.6 0:01 top
1997 Mic 0 0 3364 3364 2644 S 0 0.3 5.3 0:01
gnome-termin
1 root 0 0 96 48 36 S 0 0.0 0.0 0:04 init
2 root 0 0 0 0 0 SW 0 0.0 0.0 0:00
kflushd
3 root 0 0 0 0 0 SW 0 0.0 0.0 0:00
kupdate
4 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kpiod
5 root 0 0 0 0 0 SW 0 0.0 0.0 0:00
kswapd
28 root 0 0 232 152 96 S 0 0.0 0.2 0:00
syslogd
31 root 0 0 352 0 0 SW 0 0.0 0.0 0:00 klogd
42 root 0 0 224 168 132 S 0 0.0 0.2 0:00 crond
45 uucp 0 0 64 0 0 SW 0 0.0 0.0 0:00
portmap
48 root 0 0 96 56 36 S 0 0.0 0.0 0:00 gpm
50 root 0 0 116 0 0 SW 0 0.0 0.0 0:00 xfstt
52 root 0 0 60 4 0 SW 0 0.0 0.0 0:00
agetty
53 root 0 0 60 4 0 SW 0 0.0 0.0 0:00
agetty
58 root 0 0 204 0 0 SW 0 0.0 0.0 0:00 gdm
69 Mic 0 0 580 0 0 SW 0 0.0 0.0 0:00
gnome-sessio

Esd is not running (I have killed it), SDL_AUDIODRIVER=dma.
I want to emphasize that all my problems are happening WHEN X IS
RUNNING and
together with X
.
The things are fine when I am running quake-sdl on fbcon (on another
VT), even if
X is running and I am logged in to gnome-session.
Also interesting is that sdlquake is fine with X, but amphetamine has
slight problems
on console also (slight fragmentation of sounds).

Thanks.