Package: hex-a-hop Version: 0.0.20070315-3 Severity: normal When I'm playing hex-a-hop, the ondemand governor scales my cpu frequency all the way up to 1.2 GHz. That cuts my batter lifetime in half, it also makes the laptop uncomfortably warm to the touch after a while.
I found an old patch for this at http://forum.caravelgames.com/viewtopic.php?TopicID=8902&page=1 which I have cleaned up to work with this version. --- gfx.cpp.orig 2007-08-30 03:56:02.000000000 -0400 +++ gfx.cpp 2007-08-31 18:37:10.000000000 -0400 @@ -406,6 +404,8 @@ videoExposed = 0; } + SDL_Delay(10); + #ifdef USE_BBTABLET // Tablet //////////////////////// bbTabletEvent evt; This adds a 10 ms delay after each graphics update. This does not affect responsiveness any, and lets the game run only using 800 MHz here (quite close to the 600 MHz minimum CPU cpeed of my laptop). The only downside is that animations run marginally less smoothly. I can get the same result by just forcing my laptop to never run faster than 800 mhz, but that doesn't allow me to do other cpu-intensive things, such as compiles, at full speed, while also running hex-a-hop. I wonder if the delay could be enabled as an option. A command-line option would be fine for me. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.22-1-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages hex-a-hop depends on: ii libc6 2.6.1-1+b1 GNU C Library: Shared libraries ii libgcc1 1:4.2.1-4 GCC support library ii libsdl-pango1 0.1.2-1 text rendering with Pango in SDL a ii libsdl1.2debian 1.2.11-9 Simple DirectMedia Layer ii libstdc++6 4.2.1-4 The GNU Standard C++ Library v3 hex-a-hop recommends no packages. -- no debconf information -- see shy jo
signature.asc
Description: Digital signature

