Post new topic    
Slime Knight
Send private message
DirectX backend problem 
 PostMon Apr 21, 2014 8:08 am
Send private message Reply with quote
This is only a problem I have with the directx backend both on the beelzebufo and nightly builds. When the window loses focus, the game speed slows to a crawl (about 5 ticks per second?)

This problem does not occur with the sdl backend.

OS in use is Win7 64-bit running on a AMD A8-3800 APU.
Liquid Metal King Slime
Send private message
 
 PostMon Apr 21, 2014 3:23 pm
Send private message Reply with quote
This sounds very familiar. Someone else definitely reported some symptoms like this, but I can't remember who.

The window remains slow even when it returns to focus, right?

And does going into/out of full-screen mode make any difference?
Slime Knight
Send private message
 
 PostMon Apr 21, 2014 6:55 pm
Send private message Reply with quote
Correct, and it remains slow when going into and returning from full-screen.

I've set the file associations and the program entry in the start menu to use the "-gfx sdl" switch as a fix.
Metal King Slime
Send private message
 
 PostTue Apr 22, 2014 9:55 am
Send private message Reply with quote
IIRC Hawk had the same problem; also Ichiro has reported this before.

I couldn't work out what the problem was, and concluded that the best thing to do would be to log timing info of various DirectX functions that gfx_directx calls and other debug info to try to narrow it down.

Haven't touched gfx_directx in a long time, but I need to do some updates and bugfixing on it soon anyway.

Edit: Or I should figure out whether it's possible to distribute something like PIX instead.
Display posts from previous: