Why MyGUI always 30-40 fps On directX platform

mos

18-03-2011 09:28:37

Hi
I used 3.02RC1 and modified :
mD3dpp.PresentationInterval = D3DPRESENT_INTERVAL_IMMEDIATE;
fps increase from 30 to 40, still very slow. I do some profile like:

DrawPrimitive 9 vetex 3480 square 580 time 0
Clear 0 drawOneFrame 2 EndScene 0 Present 22
DrawPrimitive 9 vetex 3480 square 580 time 0
Clear 0 drawOneFrame 1 EndScene 0 Present 21
DrawPrimitive 9 vetex 3480 square 580 time 0
Clear 0 drawOneFrame 2 EndScene 0 Present 22

you can see the DP is very slow just 9 but the
mDevice->Present(NULL, NULL, 0, NULL)
cost too much

if hide all window just show fps text

DrawPrimitive 1 vetex 96 square 16 time 0
Clear 0 drawOneFrame 2 EndScene 0 Present 19
DrawPrimitive 1 vetex 96 square 16 time 0
Clear 0 drawOneFrame 2 EndScene 0 Present 17
DrawPrimitive 1 vetex 96 square 16 time 1
Clear 0 drawOneFrame 2 EndScene 0 Present 19

just 2 DP and Present near 20

Altren

18-03-2011 21:10:22

Well, on my system it is always 60 with original options and 600-700 with D3DPRESENT_INTERVAL_IMMEDIATE in most demos, so it's hard to tell why yours fps is so low.
(Mobility Radeon HD3650, Core 2 Duo P8600, Windows 7 SP1).

I don't understand most of those values that you provided. What do you measure?

By the way - I have almost same fast results with OGRE's render.

mos

19-03-2011 02:52:16

You are right, Altren. I changed a Mechine and get the same result as you.
MyGUI is quick! I feel stupid to sumbit such a result not test enough, forgive me.

Now I guess it because video card. My video card is
Intel(R) G41 Express Chipset

Altren

19-03-2011 03:04:19

Several users used MyGUI on iPhone, so may be it should work not so slow even on such chipset. And since it support Microsoft DirectX 10, Shader Model 4.0 I guess this chipset is not really so slow and problem might be in videodrivers or something else.