Processed: Re: Bug#440377: eats laptop alive
Processing commands for [EMAIL PROTECTED]: tags 440377 +pending Bug#440377: eats laptop alive There were no tags set. Tags added: pending severity 440377 wishlist Bug#440377: eats laptop alive Severity set to `wishlist' from `normal' thanks Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) ___ Pkg-games-devel mailing list Pkg-games-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel
Bug#440377: eats laptop alive
tags 440377 +pending severity 440377 wishlist thanks On Fri, Aug 31, 2007 at 06:50:49PM -0400, Joey Hess wrote: 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. I fully agree that it is currently far away from being optimal. Considering the game it should even run on a 20MHz CPU I guess ... I found an old patch for this at http://forum.caravelgames.com/viewtopic.php?TopicID=8902page=1 which I have cleaned up to work with this version. Ah, I hope there are no more patches flying around. This patch is against a not yet GPLed game (from 2006) but considering the size it is OK to apply it :-) 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. It reduces the CPU usage from 75% to 50% on my Athlon(tm) XP 1700+. The game is still very slow via remote X or in a valgrind session ... I wonder if the delay could be enabled as an option. A command-line option would be fine for me. No, I do not like a command line option. It should be run well on much older hardware. If we need to rewrite larger parts of the game to reach this goal than we should do it (but not now, sorry) ... I will now continue testing it on my SGI Octane workstation (big endian, 2 x R12000 CPUs, 270 MHz, o32 ABI :-). SDL doesn't like it but there is still some hope ... Jens ___ Pkg-games-devel mailing list Pkg-games-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel
Bug#440377: eats laptop alive
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=8902page=1 which I have cleaned up to work with this version. --- gfx.cpp.orig2007-08-30 03:56:02.0 -0400 +++ gfx.cpp 2007-08-31 18:37:10.0 -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-1text rendering with Pango in SDL a ii libsdl1.2debian 1.2.11-9 Simple DirectMedia Layer ii libstdc++64.2.1-4The GNU Standard C++ Library v3 hex-a-hop recommends no packages. -- no debconf information -- see shy jo signature.asc Description: Digital signature ___ Pkg-games-devel mailing list Pkg-games-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel
Bug#440377: eats laptop alive
Thanks for the patch Joey, I think it's a great idea. :) I guess a command-line option would be OK, dunno if it should be on or off by default. Greetings, Miry Sé un Mejor Amante del Cine ¿Quieres saber cómo? ¡Deja que otras personas te ayuden! http://advision.webevents.yahoo.com/reto/entretenimiento.html ___ Pkg-games-devel mailing list Pkg-games-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel