Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32721 - SDL games (snipe2d, tuxracer) run poorly with libsdl-1.2.6-r2 (and r1)
Summary: SDL games (snipe2d, tuxracer) run poorly with libsdl-1.2.6-r2 (and r1)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-04 08:45 UTC by Philip Allison
Modified: 2004-03-18 19:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Allison 2003-11-04 08:45:44 UTC
With libsdl-1.2.5-r2, frozen-bubble, orbital-eunuchs-sniper and tuxracer run
perfectly well - I'm using XFree 4.3 with ATI's proprietary drivers on a Radeon
Mobility 9000, and other games/OpenGL apps never cause problems.
Under libsdl-1.2.6-r1, snipe2d and tuxracer give incredibly jerky framerates,
and frozen-bubble crashes when you try to start a game. With r2 of the same
package, frozen-bubble appears to work again, but the problems with snipe2d and
tuxracer remain.

SDL speed & stability is quite important to me, as I develop graphics
applications based on SDL myself...

Reproducible: Always
Steps to Reproduce:
1.Emerge libsdl-1.2.6-r2 (or r1)
2.run snipe2d or tuxracer
3.erm....observe the results
Actual Results:  
poor performance in both games (possibly others that use SDL; of the 3 I have
installed, these two demonstrate the problem).

Expected Results:  
No problems, as when using libsdl-1.2.5-r2

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test6)
=================================================================
System uname: 2.6.0-test6 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -funroll-loops -fomit-frame-pointer
-fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -funroll-loops -fomit-frame-pointer
-fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 crypt cups encode foomaticdb libg++ libwww mad pdflib spell xml2 xmms
gdbm berkdb slang tcltk sdl tcpd pam perl imlib gtk mng openal -oss dga cscope X
gtk2 gnome alsa -qt -kde -debug mmx sse -3dnow acpi -apm -arts avi cdr dvd -esd
-fbcon gif gpm gstreamer imap joystick jpeg mikmod mozilla mpeg ncurses
oggvorbis opengl png quicktime readline samba ssl tiff truetype wmf xv zlib -nls
-python java -svgalib -svga -motif moznocompose moznoirc mozsvg"
Comment 1 Mike Jing 2003-11-10 21:42:35 UTC
I have the same problem with libsdl-1.2.6-r2 and pydance.  The game runs
fine with libsdl-1.2.5-r2, but slows down to unplayable when using libsdl-1.2.6-r2.
 This should be considered a major bug.

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test9-mm2)
=================================================================
System uname: 2.6.0-test9-mm2 i686 Intel(R) Celeron(TM) CPU             
  1100MHz
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo http://gentoo.noved.org/ ftp://gentoo.noved.org/
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif gpm jpeg libg++ libwww
mad mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib
alsa gdbm berkdb slang readline arts svga java guile mysql X sdl tcpd pam
ssl perl python esd imlib oggvorbis qt kde opengl mozilla cdr 3dfx cjk dvd
emacs icc leim moznocompose moznoirc moznomail plotutils sse usb -gnome -mikmod
-gtkhtml -bonobo -gtk -motif"
Comment 2 Mike Jing 2003-12-11 18:19:11 UTC
Just tried libsdl-1.2.6-r3 and this bug is still present.  Has anyone looked into it?
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2003-12-11 19:00:26 UTC
I've never been able to reproduce the symptoms described by the original
bug submitter so I for one haven't looked into it.
Comment 4 Daniel Pierce 2003-12-18 12:55:59 UTC
The alsa driver in SDL is having problems it seems.
USE="oss -alsa" emerge libsdl
should resolve the performance issues until libsdl gets itself straightened out.
Comment 5 Philip Allison 2003-12-22 11:34:50 UTC
It would seem to make sense that it's audio related - it was a while ago, but I seem to remember that my own SDL apps (two of them, one using OpenGL, neither using sound) ran fine. I'm kicking myself for not having thought of that.

I'm glad a solution's been found, and I might try it out some time on my machine, but currently I'm trying to avoid using OSS except where absolutely necessary (same for GTK 1, trying to keep my install 'legacy free'); since there's no pressing reason for me to update SDL immediately, I'll probably just wait for future versions and see if it sorts itself out.
Comment 6 François MASSON 2003-12-25 15:20:53 UTC
Still having this bug with libsdl-1.2.6-r3
Comment 7 Fernando Serboncini (RETIRED) gentoo-dev 2004-02-17 20:08:09 UTC
same here, just to add....
I'm running kernel 2.6.2's alsa
Comment 8 SpanKY gentoo-dev 2004-02-24 08:07:12 UTC
try out 1.2.7 for us please
Comment 9 Philip Allison 2004-03-01 06:05:55 UTC
Much better! I only had a brief look, but sinpe2d, frozen-bubble and tuxracer all run, and the stuttering is gone.  I haven't updated my kernel or switched from ALSA to OSS, so if anyone else having the problem would like to try out 1.2.7, pending their results I'd say the problem's gone.
Comment 10 Mr. Bones. (RETIRED) gentoo-dev 2004-03-18 19:06:29 UTC
Ok, we havn't heard any complaints about 1.2.7 so I'm marking this bug
as FIXED.