Jump to content
  • Advertisement
Sign in to follow this  
cozzie

PresentationInterval choice... and test my demo

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

Hi all,

Would you like to see if my d3d engine demo is working on your system?
http://www.sierracosworth.nl/gamedev/2012-30-12-demofullscreen.zip
http://www.sierracosworth.nl/gamedev/2012-30-12-demowindowed.zip

If so, please let me know if it's working and what specs your system has, nice to see / hope to see that making it HW indepedent works :)

Although it should be working, I'm struggling with the best choice on 'PresentationInterval':

D3DPRESENT_INTERVAL_ONE/DEFAULT
+ gives the best functional result.
- in some frames I get 'Assertion error, bPresentSubmitted' in d3d debug, most likely because of 'V-sync?)' (Present call in Renderframe)
(frequency get's higher when I use managed pools instead of systemmem, don't know yet why though)

D3DPRESENT_INTERVAL_IMMEDIATE
+ d3d debug error above is gone
- mouse speed is 'lagged', although solvable with changing 'speed' float, image is anyway 'floppy'/scrambled or how you'd call it :)

For now I'd like to ignore the assertion errors and use one/default. The errors by the way only occur in fullscreen, not windowed.
Been struggling with it for days, just to get rid of the debug errors (which don't harm functionally).

Like to hear you thoughts on this. Edited by cozzie

Share this post


Link to post
Share on other sites
Advertisement

Thanks for wanting to try it.

The normals I'm aware of, it's just a bit 3d model (made it myself, not so good at 3d max yet :))

 

What do you mean by move to slow, is this about perception (I know it's not 'running' mode :)), or can't you almost not move through the scene at all?

Share this post


Link to post
Share on other sites

OK clear enough :)

Just did a small change, do you want to try it again?

 

Also wonder what you think about the presentation interval choice.

Share this post


Link to post
Share on other sites

Thanks, been getting the same result on a few other systems, though not on Zaoshi Kaba's machine.

Will try to find out what's causing it, bad releasing in VStudio or maybe not enough hardware checking

Share this post


Link to post
Share on other sites

Thanks Helgon, good to see that it works.

Now just to find out why several people get 'unable to start correctly (0xc0000007b), probably some hardware capabilitie I'm requesting which not everyone has available.

Share this post


Link to post
Share on other sites
You are providing (two) 64-bit-DLLS with a 32-bit application.

The error is (from ntstatus.h from the WINDOWS SDK).
#define STATUS_INVALID_IMAGE_FORMAT      ((NTSTATUS)0xC000007BL)

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!