[Ohrrpgce] [ohrrpgce:bugs] #2006 Starts running very slowly after alt-tabbing away

TeeEmCee teeemcee at users.sf.net
Wed Nov 25 03:17:52 PST 2015


Yes, that sounds most likely - I didn't add debug_if_slow calls around the IO calls into the backend, just the GFX calls.

Searching for DirectInput related slowdowns I found a couple mentions:

http://forums.xbox.com/xbox_support/xbox_360_support/f/7/p/1586275/4113115.aspx
https://twitter.com/mattthorson/status/429794092369735680


---

** [bugs:#2006] Starts running very slowly after alt-tabbing away**

**Status:** open
**Milestone:** OHRRPGCE
**Created:** Mon Nov 03, 2014 04:47 PM UTC by TeeEmCee
**Last Updated:** Tue Nov 24, 2015 04:52 PM UTC
**Owner:** nobody


Foxley wrote:
>Also, for some reason Vorpal Florist starts gobbling up CPU cycles and going about 1-2 frames per second if I switch window focus and then switch back. Other games don't seem to do that

Ichiro also reported the same problem affecting all games, but I'll have to look up what he said on SS and IRC (apparently wasn't put on bugzilla).


I asked for more information and got the following response:

>Task manager reports the process going from 0-2% CPU usage when running normally to 5-10% when running at 1-2 frames per second. Also, here's the gdebug.

<pre>
OHRRPGCE wip 20141030.6881 gfx_directx+sdl+fb/music_sdl FreeBASIC 0.23.0 (08-14-2011) Win32 32-bit
Runtime info: gfx_directx "gfx_Initialize()...
Adapter: NVIDIA GeForce GTX 750 Ti
Driver: nvd3dum.dll
IDirect3DDevice9 object created as hardware device.
D3DXSaveSurfaceToFile() successfully loaded.
Joysticks supported."  music_sdl, SDL 1.2.15, SDL_Mixer 1.2.12 (22050Hz, Music decoders:WAVE,MIKMOD,NATIVEMIDI,OGG,MP3 Sample decoders:WAVE,AIFF,VOC,OGG)  Windows 6.1.7601 (7/Server 2008 R2) Service Pack 1
Playing game D:\OHR Games\vorpalflorist\vorpalflorist.rpg (Vorpal Florist) 11-03-2014 07:03:19
</pre>

None of the "debug_if_slow" calls I put in allmodex.bas around nearly all calls to the graphics backend triggered, which is quite surprising.


---

Sent from sourceforge.net because ohrrpgce at lists.motherhamster.org is subscribed to https://sourceforge.net/p/ohrrpgce/bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/ohrrpgce/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20151125/87ade895/attachment.htm>


More information about the Ohrrpgce mailing list