Strange Performance on Xbox 360 in a Low Poly Scene

rated by 0 users
This post has 14 Replies | 4 Followers

Top 25 Contributor
Posts 199
SunBurn_Community_Licensee
SunBurn_Contributor
SunBurn_Pro_Licensee
UjenT Posted: 05-01-2011 11:30 PM

Its quiet strange I think that I'm getting such low perf in a fairly simple scene. Shown Here:

I'm using Deferred rendering at 800x600, all lights and models are Light Mapped, and using the IGF Framework. Any ideas on wuts wrong here?

Top 10 Contributor
Posts 1,289
SunBurn_Community_Licensee
SunBurn_Contributor
SunBurn_Pro_Licensee

Hi UjenT,

Is the 55.99 fps stat the average return or is it due to the screenshot and it is actually slightly higher (60-59)?

If it's due to the screenshot, that may be because of the fact IGF automatically sets the VerticalSynchronisation to true. As a test, switch it off by calling Application.VerticalSynchronization = false in your Application inherited class constructor.

Philippe

Top 25 Contributor
Posts 199
SunBurn_Community_Licensee
SunBurn_Contributor
SunBurn_Pro_Licensee

ok let me do that but still if you see the time it takes for sunburn is 13ms or so, which is a bit high imho, you know?

EDIT: Took a 2nd screenshot with vertSync off and timestep off. Shows very similat results.

EDIT2: Here is another scene with more then 30x the Polys yet its holding a steady 60fps. Wut is it that slows the other scene down so much?

Top 25 Contributor
Posts 199
SunBurn_Community_Licensee
SunBurn_Contributor
SunBurn_Pro_Licensee

I have also tried diff settings in the renderer but no change wut so ever.

Top 10 Contributor
Posts 708
SunBurn_Community_Licensee
SunBurn_Contributor

Maybe the many overlapping lights could be the cause? 

Contributor on the SunBurn sgMotion Animation Library open source project.

Top 25 Contributor
Posts 199
SunBurn_Community_Licensee
SunBurn_Contributor
SunBurn_Pro_Licensee

Tom:

Maybe the many overlapping lights could be the cause? 

All the Lights in the scene are LightMapped as well as all the models. I also tried disabling all the lights but no diff.

Top 10 Contributor
Posts 5,368
Employee
SunBurn_Studio_Licensee

Hi UjenT,

That's very odd, what does the performance look like when commenting out the SceneInterface BeginFrameRendering(), Render(), and EndFrameRendering() calls?

If the draw time is still high does the project contain any custom rendering or code that processes during Game.Draw() which could account for the overhead?

Let me know if this helps!

Follow me on Twitter – development and personal tweets
Awesome XNA Videos – Lighting, Rendering, and game videos

Top 25 Contributor
Posts 199
SunBurn_Community_Licensee
SunBurn_Contributor
SunBurn_Pro_Licensee

Heres a screenshor after commenting the sunburn rendering and begin/end frame calls:

Top 10 Contributor
Posts 5,368
Employee
SunBurn_Studio_Licensee

Hi UjenT,

That's very odd - are you able to send over a quick test case for us to test (a simple starter kit with assets that show the behavior is fine)?

Thanks!

Follow me on Twitter – development and personal tweets
Awesome XNA Videos – Lighting, Rendering, and game videos

Top 25 Contributor
Posts 199
SunBurn_Community_Licensee
SunBurn_Contributor
SunBurn_Pro_Licensee

Yes, you'll have it in a min

EDIT: Okay I sent it to you, let me know if you got it.

Top 25 Contributor
Posts 199
SunBurn_Community_Licensee
SunBurn_Contributor
SunBurn_Pro_Licensee

JohnK "bobthecbuilder":

Hi UjenT,

That's very odd - are you able to send over a quick test case for us to test (a simple starter kit with assets that show the behavior is fine)?

Thanks!

Wanted to ask you if you've found anything yet, its very strange but could it be that the flipped normals in the room could cuas this?

Top 10 Contributor
Posts 1,289
SunBurn_Community_Licensee
SunBurn_Contributor
SunBurn_Pro_Licensee

UjenT,

What happens if you move the camera backward? A long time ago, I met the same behavior when I was rendering meshes in relatively small scales but really close to the camera near plane. Getting away from them, I got better framerate.

Philippe

Top 25 Contributor
Posts 199
SunBurn_Community_Licensee
SunBurn_Contributor
SunBurn_Pro_Licensee

Philippe Da Silva:

UjenT,

What happens if you move the camera backward? A long time ago, I met the same behavior when I was rendering meshes in relatively small scales but really close to the camera near plane. Getting away from them, I got better framerate.

Philippe

Philippe,

Just tried that but same issue.

JohnK,

I setup a few more timers and got some interesting results, you can see it here:

As you can see, SceneInterface.BeginFrameRendering is taking almost 8ms, everything else is around 2ms. Also when I rotate the camera so that there are 0 poly's being drawn, the EndFrameRendering still takes 2ms, dunno if thats normal.

Hope this helps.

Top 25 Contributor
Posts 199
SunBurn_Community_Licensee
SunBurn_Contributor
SunBurn_Pro_Licensee

Johnk,

Have you been able to find out whats cuasing the perf issue? I'm at a loss right now and dont know what to do.

Top 10 Contributor
Posts 5,368
Employee
SunBurn_Studio_Licensee

Hi UjenT,

I checked out the test project, but did not see any performance issues.  The project runs without changes (HDR / bloom enabled) at ~90fps on Xbox, and at ~120fps with HDR disabled.  Please note I'm running SunBurn 2.0.14.

Try performing a Rebuild of the project to see if the cached assets or exe are somehow causing the issue.

Let me know if this helps!

Follow me on Twitter – development and personal tweets
Awesome XNA Videos – Lighting, Rendering, and game videos

Page 1 of 1 (15 items) | RSS