Jump to content
  • Advertisement
Sign in to follow this  
Calin

[.net] MDX random freeze

This topic is 4520 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

The C# game I'm working at freezes at random moments, usually in the first 20 minutes of game play. The freeze occures even when I do nothing. It happens in both windowed and fullscreen mode. I thought my video card is playing jokes on me so I got another one. But the problem is still there. I don't have any problems playing any other game. My conclusion is that the problem is somewhere in the C# + MDX mix. Did someone encountered something similar? I forgot to mention the freeze is so bad I can recover only by resetting the computer. I'm running on a AMD Athlon 2200 with WinXP and a GeForce 5500 graphics card [Edited by - Calin on June 1, 2006 6:04:03 PM]

Share this post


Link to post
Share on other sites
Advertisement
20 minutes is a long time to try to repro, especially if you get no errors.

Was your new card a different make? Check you have WHQL verified drivers or at least a latest release version.

Try is running it on another machine to rule out something on yours, though you have done some of this by switching video cards.

The only other suggestion I have is running it against the directx debug runtimes to see if you eventually hit some call with bad parameters or something. Crank the debug output up - it will slow things down but you might see something.

Finally use perfmon to see if you are eating up memory, its quite easy to get an ever increasing, never garbage collected situation in managed directx with the way the events work. Maybe after 20 minutes you have used up so much that the GC and virtual memory just can't cope.

Share this post


Link to post
Share on other sites
Definitely try testing the game on another PC. I've seen similar freezes caused by lots of different things including something like directx getting corrupted and freezing only on one specific game.

If the game doesn't freeze on other PCs, try reinstalling DirectX and try different driver versions. I once had a problem with the latest drivers on a GeForce 4 MX.

Rule out hardware/driver problems first and then go wild on bug-hunting

Share this post


Link to post
Share on other sites
I've tested the game on a laptop today and it run just fine. Must be a hardware issue after all.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!