Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (Konsti, AndrewAMD, 1 invisible), 1,376 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
less Objects - fps down (30) #436461
01/27/14 14:54
01/27/14 14:54
Joined: Aug 2008
Posts: 394
Germany
Benni003 Offline OP
Senior Member
Benni003  Offline OP
Senior Member

Joined: Aug 2008
Posts: 394
Germany
Hi, I have a framerate problem with my game. There wasn't any problem with the framerate on my pc. fps was 60 and game was good running. Even with many objects. Now I tested on a different pc and framerate is down and the game "shakes".
Especially ref is very high. Have anyone an idea why the framerate breaks down?

The pc with the low framerate:
ATI Radeon HD 4300/4500
AMD Athlon 64 x2 DualCore Prozessor 5200+ 2.7 GHz
2 GB MB Ram

the screenshot:


Re: less Objects - fps down (30) [Re: Benni003] #436465
01/27/14 16:55
01/27/14 16:55
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Is this in fullscreen mode? How many fps in window mode? What's the refresh rate of the monitor?


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: less Objects - fps down (30) [Re: Superku] #436468
01/27/14 17:13
01/27/14 17:13
Joined: Aug 2008
Posts: 394
Germany
Benni003 Offline OP
Senior Member
Benni003  Offline OP
Senior Member

Joined: Aug 2008
Posts: 394
Germany
yes, this is fullscreen mode. (30 fps)
In window mode (44 fps)
The refresh rate of the monitor is 60 Hz

Re: less Objects - fps down (30) [Re: Benni003] #436471
01/27/14 17:37
01/27/14 17:37
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Originally Posted By: Manual
The fps contribution of certain elements can be seen in the [F11] panel in ms per frame. In some cases it can be larger than the real rendering time by the engine and hardware, especially in fullscreen mode in which the frame rate is limited by the monitor frequency (mostly 60 Hz on LCD screens and 70..80 Hz on CRT monitors).

Monitor frequency and fps

In fullscreen mode, DirectX keeps the frame rate always in sync with the monitor frequency between 60 and 80 Hz in order to avoid tearing artifacts. The screen refresh is artificially delayed for matching the time when the monitor has finished its video cycle. This delay is visible in the 'screen refresh' time in the [F11] panel. Thus you'll never get a higher frame rate than your monitor can display. Your frame rate will be an integer division of the monitor frequency (such as 60, 30, 20, or 15 Hz when the monitor frequency is 60 Hz). When the frame rate is close to the monitor frequency, a small change of the rendering time will cause the frame rate to suddenly jump from 60 to 30 fps or vice versa.

What I find mildly confusing though is that your entity rendering (and code execution) is low in execution time/ ms but only your refresh time is so high. This should result in a much higher framerate in windowed mode, can you post a screenshot of the latter, too? Do you use fps_max (and/ or fps_min)?


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: less Objects - fps down (30) [Re: Superku] #436472
01/27/14 18:10
01/27/14 18:10
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline
Expert
WretchedSid  Offline
Expert

Joined: Apr 2007
Posts: 3,751
Canada
Sounds a lot like fillrate problems to be honest.

The thing is, what is your question? The FPS breaks down because you switched computers. Just because it runs on your PC at 60 FPS doesn't mean it's locked to 60 FPS on every computer ever, obviously the other one is weaker than yours in at least one point. Without knowing more, it's impossible to tell why your FPS breaks down, which is something you should find out by profiling your game.


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Re: less Objects - fps down (30) [Re: WretchedSid] #436526
01/28/14 11:33
01/28/14 11:33
Joined: Dec 2003
Posts: 1,225
germany
gri Offline
Serious User
gri  Offline
Serious User

Joined: Dec 2003
Posts: 1,225
germany
what about this HD 4300/4500 thing ?

Does it have dedicated memory or take bytes from system RAM?

If so when you shouldnt wonder. Its just the crappy videohardware.


"Make a great game or kill it early" (Bruce Shelley, Ensemble Studios)
Re: less Objects - fps down (30) [Re: gri] #436534
01/28/14 16:56
01/28/14 16:56
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
Maybe it is totally useless info, but my old PC also has similar issues, namely having very high ref value beside acceptable values in other places. It is a single core AMD 3500+ with a Geforce 6200, and as I remember its performance was better in the past. It is simply too slow for any shadowmapping scene made with game engines (but okay with some games), nearly throwed it out, but temporarily kept for music recording... I decided to make projects only for no so old machines.


Free world editor for 3D Gamestudio: MapBuilder Editor

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1