Jump to content
  • Advertisement
Sign in to follow this  
njpaul

[MDX] Screen blinking problems

This topic is 4668 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

So I started creating a reusable framework for my projects using Managed DirectX and C++. I tried rendering a simple triangle and a couple seconds into the program the screen blanks out for a second then pops back in for a second or two and repeats this process. I thought maybe it was a problem with the debug runtimes, so I changed to the release and I got the same problem. I stripped out my code for rendering the triangle to see if I get the same problem when I'm just clearing the backbuffer. It took a while, 5 seconds or so, but the problem came up again. Has anyone ever heard of this problem?

Share this post


Link to post
Share on other sites
Advertisement
Upon further inspection, It appears only to happen in windowed mode, although I couldn't test it out fully before my system quit on me and now the program won't run at all. Probably need a restart. I remember seeing the warning about the lockloader exception when debugging so I'll look into that over the next day or two. Unfortunately, I won't be able to try anything out until Wednesday.

Share this post


Link to post
Share on other sites
Usually flickering is associated with the clearing of the backbuffer. When you aren't clearing your backbuffer you will get some sort of flickering.

I hope this helps.
Take care.

Share this post


Link to post
Share on other sites
It doesn't happen when I execute the managed samples in the SDK and I get no errors from directx while debugging, but I do get the loader lock exception.

Share this post


Link to post
Share on other sites
Ok, there's a new development. I had my friend run the application on his machine and it runs fine. I updated my video card drivers and it still happens. My video card has been going for a while now, so maybe I need to break down and get a new one.

Share this post


Link to post
Share on other sites
If it's in windowed mode, but the whole screen is going black, it sounds like it is trying to change display settings. You don't happen to be calling Reset() a lot or something odd like that do you?

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!