Sign in to follow this  

Performance issues!

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

Hello All, I am getting rather annoyed at my application right now. I am checking the fps rate with PIX and no matter what I optimize I keep getting a reading of around 58 fps. Right now I have stripped all of my rendering code from my application. The only things I do are initialize Direct3D, clear the back buffer, and present. Does anyone know why my fps is limited so much? Is there something in initialization code that is limiting my fps so much? Any help would be greatly appreciated!

Share this post


Link to post
Share on other sites
1) Search the Forum FAQ.
2) Compare with SDK samples.
3) Check if your driver settings aren't overriding VSync.
4) Check if you're not accidentally using the Debug build of your application.
5) Check if you're not accidentally using the Debug runtimes of DirectX.

Share this post


Link to post
Share on other sites
Try using the D3DPRESENT_INTERVAL_IMMEDIATE (I hope you didn't ;) )
flag when creating the direct3d device (this flag is provided with the D3DPRESENT_PARAMETERS structure)

If you choose the D3DPRESENT_INTERVAL_ONE flag the back buffer is drawn
only after a vertical screen sync and if you used the D3DPRESENT_RATE_DEFAULT
(the common screen refresh rate is 60hz) the time between two frame updates will be 1 / 0.016 = 60 max.

By using the suggested flag vertical screen syncs will not be waited for drawing the back buffer to screen.

Share this post


Link to post
Share on other sites

This topic is 4600 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this