fingolfin wrote:Though now that I think about it, the launcher GUI code should actually not have to wakeup that often. My guess would be that this is the TimerManager, which runs at a fixed millisecond wakeup interval. If that is true, we might be able to fix that particular part of the issue eventually. You could help by verifying whether this is the cause or not, by temporarily commenting out line 137 in backends/platform/sdl/sdl.cpp (i.e. the call to SDL_AddTimer). Does that help?
Hi, I have tried your suggestion with SVN revision 31106. I did the test using an Ubuntu 7.10 (my previuos post was done with a Fedora 8). Seems, however, that it's the same as before:
Original, in the launcher:
Code: Select all
61,3% (979,9) scummvm : do_nanosleep (hrtimer_wakeup)
Without the call to SDL_AddTimer in backends/platform/sdl/sdl.cpp :
Code: Select all
61,3% (974,9) scummvm : do_nanosleep (hrtimer_wakeup)
I'll also attach the output of my ./configure (in case this is relevant):
Code: Select all
$ ./configure
Running ScummVM configure...
Looking for C++ compiler... g++
Checking for compiler version... 4.1.3, ok
Checking endianness... little
Type with 1 byte... char
Type with 2 bytes... short
Type with 4 bytes... int
Running on x86... yes
Checking hosttype... linux-gnu
Alignment required... no
Checking whether building plugins was requested... no
Checking for Ogg Vorbis... yes
Checking for Tremor... no (Ogg Vorbis/Tremor support is mutually exclusive)
Checking for FLAC >= 1.0.1... no
Checking for MAD... no
Checking for ALSA >= 0.9... no
Checking for zlib... yes
Checking for libmpeg2 >= 0.3.2... no
Checking for libfluidsynth... no
Checking for nasm... not found
Engines:
SCUMM [all games]
AGI
AGOS
Cinematique evo 1
Gobli*ns
Legend of Kyrandia
Lure of the Temptress
Parallaction
Flight of the Amazon Queen
SAGA
Beneath a Steel Sky
Broken Sword 1 (without mpeg2 cutscenes)
Broken Sword 2 (without mpeg2 cutscenes)
Touche: The Adventures of the Fifth Musketeer
Engines Skipped:
Cinematique evo 2
Drascula: The Vampire Strikes Back
Igor: Objective Uikokahonia
Backend... sdl, HQ scalers, MT-32 emu
Looking for sdl-config... /usr/bin/sdl-config
Creating config.h
Creating config.mk