Holy OMG wtf BBQ FPS???

Holy OMG wtf BBQ FPS???

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Holy OMG wtf BBQ FPS???

Post by Forboding Angel »

I've been ripping apart SSMF maps all day trying to figure out why on some maps for no reason I get shit FPS. I have narrowed it down to the fact that _Nothing_ in SSMF causes me any slowdown.

But then, completely on accident I notice this...

Image

Image


Wait WUT??? The settings in both screenies are exactly the same. Nothing has changed. The screenies were taken seconds apart (look at the ingame timer).

Here are my settings:
http://pastebin.com/VyW1SAkS

What the Eff is going on??? O_O
Last edited by Forboding Angel on 23 Jan 2014, 01:45, edited 1 time in total.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Holy OMG wtf BBQ FPS???

Post by Forboding Angel »

Image

Image
malric
Posts: 521
Joined: 30 Dec 2005, 22:22

Re: Holy OMG wtf BBQ FPS???

Post by malric »

In the second set of pictures you seem to have LOS in the first picture and no LOS in the second. Maybe LOS causes the slowdown ?
User avatar
Anarchid
Posts: 1384
Joined: 30 Nov 2008, 04:31

Re: Holy OMG wtf BBQ FPS???

Post by Anarchid »

Maybe LOS causes the slowdown ?
Fails to explain the first set.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Holy OMG wtf BBQ FPS???

Post by Forboding Angel »

I changed nothing in any of the screenies. I went and checked. It is indeed LOS that is causing the drop. But for the love of god, why would los be causing a drop like that???
malric
Posts: 521
Joined: 30 Dec 2005, 22:22

Re: Holy OMG wtf BBQ FPS???

Post by malric »

Maybe because of HighResLos? From your config:

Code: Select all

HighResLos = 1
For the source code (https://github.com/spring/spring/blob/d ... er.cpp#L25)

Code: Select all

Controls whether LOS (\"L view\") edges are rendered in high resolution. Resource heavy!
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Holy OMG wtf BBQ FPS???

Post by knorke »

Post subject: Holy OMG wtf BBQ FPS???
holy moly LOL #swagmaster


hold your nuts for a moment, loko at my oversized embedded picture:
Image
as you see i have 3 digit fps. u run shitrig? lol JK :? :shock:
hear a picture with los on the fps is almost same:
http://www.abload.de/img/bla26ougv.jpg
(i know some of u post from your iphone so i linked it!)
The settings in both screenies are exactly the same. Nothing has changed.
excvept f1 mode and los amirite mahlady?=
What the Eff is going on??? O_O
no advmapshading for me! makes fps like #pcmasterrace
probaly no detailtexturesplatmap nextgeneration in special f1 mode?
did u try witout? or resize splatmap? pls respond

keyboardfaceroll!!fgsdfestrd p32e
User avatar
Anarchid
Posts: 1384
Joined: 30 Nov 2008, 04:31

Re: Holy OMG wtf BBQ FPS???

Post by Anarchid »

It is indeed LOS that is causing the drop.
The first image-set you posted has two images, of which the first also has los off and ~30 fps. Either this contradicts your conclusion, or you have presented misleading data :|
malric
Posts: 521
Joined: 30 Dec 2005, 22:22

Re: Holy OMG wtf BBQ FPS???

Post by malric »

Also, by looking at the source I think the smaller ExtraTextureUpdateRate, the worse performance. Default is 45, yours is 4.

@Anarchid: the first image seems to have LOS also (look at the minimap below and right of the star)
User avatar
Anarchid
Posts: 1384
Joined: 30 Nov 2008, 04:31

Re: Holy OMG wtf BBQ FPS???

Post by Anarchid »

It doesn't look like the los-view in second series, but maybe evo default los isn't that visible.

What i *can* see, though, is hilarious shadow of the Overseer, seemingly cast *through* the hill :0
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Holy OMG wtf BBQ FPS???

Post by jK »

ExtraTextureUpdateRate = 4
HighResLos = 1
I told you multiple times that those tags are very very very very performance heavy and I told you you must test with _BIG_ maps, to find out if your system is able to handle the setup. And still you did NOT do so, instead you blamed engine for a low fps!
:cry:

PS: There were over weeks a discussion to increase default ExtraTextureUpdateRate, cause they found that it updates too slow for fighters and causes texture tearing. All those who know of that tag said over and over I should `simply` reduce it to 30 or even lower, cause their system was be able to handle it. BUT NO IT DOESN'T! THEY JUST TESTED SMALL MAPS! and ignored me over and over, till I ignored them.
SO PLEASE TRUST SOMEONE WHO KNOWS MORE OF IT, WHEN HE SAYS IT'S A BAD IDEA.
Last edited by jK on 22 Jan 2014, 18:26, edited 2 times in total.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Holy OMG wtf BBQ FPS???

Post by jK »

BumpWaterUseUniforms = 1
is wrong too. It's must only enabled for runtime changing of waterparams (there is a widget in toolbox for that, and the widget sets it itself and unsets it later on).
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Re: Holy OMG wtf BBQ FPS???

Post by FLOZi »

I heard repeatedly pressing F1 improves FPS, can you confirm? 8)
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Holy OMG wtf BBQ FPS???

Post by jK »

... ... ... Image
Attachments
smiley-bangheadonwall-yellow.gif
smiley-bangheadonwall-yellow.gif (2.29 KiB) Viewed 3019 times
Last edited by jK on 22 Jan 2014, 20:59, edited 1 time in total.
raaar
Metal Factions Developer
Posts: 1095
Joined: 20 Feb 2010, 12:17

Re: Holy OMG wtf BBQ FPS???

Post by raaar »

jK wrote:
ExtraTextureUpdateRate = 4
HighResLos = 1
I told you multiple times that those tags are very very very very performance heavy and I told you you must test with _BIG_ maps, to find out if your system is able to handle the setup. And still you did NOT do so, instead you blamed engine for a low fps!
:cry:

PS: There were over weeks a discussion to increase default ExtraTextureUpdateRate, cause they found that it updates too slow for fighters and causes texture tearing. All those who know of that tag said over and over I should `simply` reduce it to 30 or even lower, cause their system was be able to handle it. BUT NO IT DOESN'T! THEY JUST TESTED SMALL MAPS! and ignored me over and over, till I ignored them.
SO PLEASE TRUST SOMEONE WHO KNOWS MORE OF IT, WHEN HE SAYS IT'S A BAD IDEA.
i was one of those people.

intuitively the cost of LOS updates probably depends on RATE * MAP_SIDE_SIZE^2 * RESOLUTION^3.

if you reduce the resolution to half you should be able to multiply the rate by 4 or even 8 without increasing the cost for a given map.

Game config files can control the resolution, but they can't control the update rate.
Last edited by raaar on 23 Jan 2014, 03:19, edited 1 time in total.
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10454
Joined: 24 Jan 2006, 21:12

Re: Holy OMG wtf BBQ FPS???

Post by PicassoCT »

The title of thread suggested free lunch.. im dissapointerd
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Holy OMG wtf BBQ FPS???

Post by Forboding Angel »

jK wrote:...instead you blamed engine for a low fps!
:cry:
No I didn't! What the fuck are you talking about? I was in #sy all day yesterday talking to you while I was trying to figure this out.

I have no been taking part in the springsettings thread, and I haven't really been reading it, so leave me out of any beeves you have with people in that thread.

I have continually asked you for advice, and you have continually been very helpful, and I am grateful for that. You also explained how ssmf texture compression affects gpu bandwidth and such, which was immensely helpful (you really should make a thread in the mapping forum about it).

I never once blamed the engine for low fps, and tbh I'm a bit offended that you make that accusation. There isn't anything wrong with the engine and I wasn't implying that there was. I spent 8 hours tearing down various ssmf maps yesterday in a learning exercise. It's not like I haven't put a shitload of effort into understanding how the engine works.


@everyone else...

The only thing that changed between those screenies was f1 being pressed.
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: Holy OMG wtf BBQ FPS???

Post by gajop »

I think what people are implying is that LOS isn't rendered (isn't updated either maybe?) in F1 and that causes the huge performance boost.
User avatar
Funkencool
Posts: 542
Joined: 02 Dec 2011, 22:31

Re: Holy OMG wtf BBQ FPS???

Post by Funkencool »

Out of curiosity, do you see the same change in fps when toggling just LOS?
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Holy OMG wtf BBQ FPS???

Post by Forboding Angel »

Yep. JK was right, disabling highreslos was the culprit. I know I tested that when i enabled it. Apparently my testing was shit.

Lesson learned.
Post Reply

Return to “Engine”