Blitzmax 1.35 - DX9 freezes
Archives Forums/BlitzMax Bug Reports/Blitzmax 1.35 - DX9 freezes
| ||
I was just testing out this in the new 1.35. Here's the code again: Graphics 800,600 While Not AppTerminate() PollEvent() If CurrentEvent.id = event_appresume DebugLog "appresume!" EndIf Cls DrawText MilliSecs(),10,10 Flip True Wend I haven't got it to crash yet, but, when I press CTRL+ALT+DEL, then return to desktop (by pressing ESC, cancel, Task Manager, whatever), the game window is frozen as if the render target has been lost although the code seems to still be executing. |
| ||
Cant' reproduce it. It seems to work as expected: Debuglog "Appresume" everytime I 'click' on the window, ALT+TAB works, Exit/enter from/in Taskmanager is ok, show desktop is ok, moving/closing the bmax windows is ok. |
| ||
I've just tested on my laptop (Intel GMA965), and it works fine on that. The problem specs are as follows: Athlon64 X2 5000+, 2GB RAM, 512MB Nvidia 8500GT (latest drivers as of last week), Windows 7. |
| ||
Just tested on my rig and it freezes the "game", but if I minimise the "game" and maximise it again it resumes... My rig: i7 920, 6GB, 896MB Nvidia GeForce GTX 275, Windows 7 64bit. |
| ||
Just tested on my rig and it freezes the "game", but if I minimise the "game" and maximise it again it resumes... That's odd. I didn't try that here - been a lil poorly today and I'm on my laptop now but I'll give it a go tomorrow.Did you find that events were still firing as expected, just the screen stopped redrawing? |
| ||
Yep, the events still fired correctly. Heres what I did at first (I didnt run it in debug mode): http://www.youtube.com/watch?v=w8yrFEKnLtw Just trying out camstudio and youtube for the first time.... CamStudio didnt record the Ctrl Alt Delete Screen (?).... |
| ||
That's pretty much it, yep. I was looking over some testplans from Oberon Media I think a few days ago, and the ability to 'survive' CTRL+ALT+DEL is in there, so I guess most if not all the casual portals would check for it too. Can anybody else test this - especially Nvidia users but really, anybody that's got two minutes to kill. |
| ||
Just tested it with all the available drivers: DX7 - Crash DXERROR err=UNKNOWN:-2147467259 16389 DX9 - The Freeze we are talking about OpenGL - No problems |
| ||
There's already a thread about the DX7 thing and it happens in XP, Vista and Windows 7, and on Nvidia and Intel hardware. |
| ||
Yeah I know, you've been raving about that one for a while now ;-) Just thought I would add some more results.... |
| ||
Just tested this. All drivers work as they should. Even the Dx7 one. :) |
| ||
I've seen DX7 crash on Win 7 too after Ctrl+Alt+Del (on Holiday Bonus) but it was intermittent - everyone's favourite type of bug. Most of the time it seemed pretty good, so I was hoping that if any portals retest the game e.g. Oberon, it worked on their test! |
| ||
I've seen DX7 crash on Win 7 too after Ctrl+Alt+Del (on Holiday Bonus) but it was intermittent The biggest worry was that it does it on XP [and Vista] too.Anyhoo, DX9.... Haven't been well recently and only just got around to testing this some more. I've just finished updating my game to work with 1.35 and everything works nicely, except for this. After ctrl+alt+del, everything looks OK except the screen is not being redrawn any more. I can hear the rollover sound effects on my GUI as I move the mouse around, so the program *is* still running.... it just doesn't draw the screen any more. Minimising the window, then restoring it, puts things back to normal but I can't expect customers to know/do that. They'll just think its crashed. Even worse - if I CTRL+ALT+DEL from my game while its running full-screen, I end up with a view of the top left 800x600 corner of my desktop and I'm unable to get the game back by any means whatsoever. The only way out is to kill the task manually, at which point the desktop returns to normal. Please tell me this is an easy fix? |
| ||
Just tested on 1.35rc5.... looks good! :) Go get it Gfk! |
| ||
Works perfectly now! Thanks for the fix!! |