General FPS performance of SVN compared to 2.4.2

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

General FPS performance of SVN compared to 2.4.2

Postby GreEn`mArine » Tue Feb 03, 2009 5:50 pm

Hello,

first of all, this is not an accusation of any developer(s), nor a command to FIX IT NOW!!!11 This is just an obversation from my side regarding the FPS-performance of Nexuiz SVN compared to Nexuiz v2.4.2

As a rule of thumb I can now say that my FPS counter shows 2-3x more in Nexuiz v2.4.2 than in Nexuiz SVN. The parts of my config.cfg dealing with FPS-related settings are equal in both installations.

- Are there known reasons for this?

Note that this is not entirely map-specific (at least not to my little knowledge, I copied some bsp files from SVN over to 2.4.2 and the performance in v2.4.2 was still much better) and also not entirely engine specific (when I copied my SVN binary into my v2.4.2 directory, the performance of the 2.4.2 binary and svn binary was similar)

Is it CSQC's fault maybe?

- Are there any new variables that could tweak performance a little?

- Who else (other players) can confirm what I'm saying?

Btw, my hardware is Windows XP x64, GF 8800 GTS. Now, in SVN, the FPS counter still shows values that seem to be big enough for playing, and I also can not say that I get a lot of weird stuttering or anything like that, I've just been wondering...
IRC quote:
[kojn] I've been coming a bit more recently
[kojn] she took it the dirty way
GreEn`mArine
Forum addon
 
Posts: 1509
Joined: Tue Feb 28, 2006 9:33 pm
Location: Germany

Postby SavageX » Tue Feb 03, 2009 5:58 pm

Two things that enter my mind:

- more clever deluxemapping that doesn't decrease brightness on average, but is more expensive

- higher resolution (external) lightmaps (of course won't affect maps copied from 2.4.2)
SavageX
Site Admin
 
Posts: 442
Joined: Wed Mar 01, 2006 9:34 am

Postby Urmel » Tue Feb 03, 2009 6:38 pm

I ran timedemos from demo1.dem on my current system (E6750, 4GB RAM, ATi HD4670, XP Pro 32) and had following results:

Nexuiz 2.42:

1910 frames 42.5180000 seconds 44.9221506 fps, one-second fps min/avg/max: 24 48 94

Nexuiz SVN (enginedate 22:09:31 Jan 23 2009 8667 debug):

1910 frames 57.8890000 seconds 32.9941785 fps, one-second fps min/avg/max: 16 37 98


Unfortunately I can't run a bench on the current SVN, as my builder is quitting with an error again. So the difference is obvious, at least at high settings.

I'm wondering if somebody here could fix me a config.cfg with the most hardware-raping settings possible and give it to me. I don't think I'm familiar enough with the variables to do that by myself.
uncomfortable
random
mean
embarrassing
limited
Urmel
Forum addon
 
Posts: 1744
Joined: Fri Mar 03, 2006 10:06 am
Location: Offline

Postby morfar » Tue Feb 03, 2009 6:42 pm

- The external lightmaps is reducing my fps also
- And there might be new content that reduces fps. Some models is replaced, some with higher polygon count.
- CSQC means more stuff done on the client, so thats using cpu.
morfar
Site Admin
 
Posts: 938
Joined: Tue Feb 28, 2006 6:08 pm
Location: The Island

Postby GreEn`mArine » Tue Feb 03, 2009 8:20 pm

SavageX wrote:Two things that enter my mind:

- more clever deluxemapping that doesn't decrease brightness on average, but is more expensive

- higher resolution (external) lightmaps (of course won't affect maps copied from 2.4.2)

Well, first of all, I'm talking about FPS losses while using my lowest details config, which means that I have settings like deluxemapping disabled - in this case, the first point should not have any effect

About the second point: What do I exactly have to do get the detailed-light-maps-feature to work (that is, in an v2.4.2 environment using a SVN engine), so that I can do an exact comparison?
IRC quote:
[kojn] I've been coming a bit more recently
[kojn] she took it the dirty way
GreEn`mArine
Forum addon
 
Posts: 1509
Joined: Tue Feb 28, 2006 9:33 pm
Location: Germany

Postby FruitieX » Tue Feb 03, 2009 8:45 pm

Disable the external lightmaps from settings and try again?
FruitieX
Keyboard killer
 
Posts: 588
Joined: Mon Nov 13, 2006 4:47 pm
Location: Finland

Postby SavageX » Tue Feb 03, 2009 8:55 pm

GreEn`mArine wrote:About the second point: What do I exactly have to do get the detailed-light-maps-feature to work (that is, in an v2.4.2 environment using a SVN engine), so that I can do an exact comparison?


You need a recent engine, the updated BSP files and the subdirs containing the lightmaps.


Anyway, if you're on really low settings: The higher the framerate the more often CSQC has to draw stuff. What framerates are we talking about?


edit: Something you may want to try on SVN that is not possible in 2.4.2: Disable "Use Lightmaps" in the effects settings. Can double the FPS on my rig on e.g. Strength.
SavageX
Site Admin
 
Posts: 442
Joined: Wed Mar 01, 2006 9:34 am

Postby GreEn`mArine » Tue Feb 03, 2009 10:13 pm

SavageX wrote:edit: Something you may want to try on SVN that is not possible in 2.4.2: Disable "Use Lightmaps" in the effects settings. Can double the FPS on my rig on e.g. Strength.

HOLY CRAP!!!
Doubles my FPS as well and basically gives me my 2.4.2 framerate back. My problem was that I was getting "only" about 250 where I used to have 600 or so (capped to 500). Now they are back to 500 and more, yay.

/me hugs SavageX *happy*

There is, however, another thing I noticed that seems "odd" to me. When standing still I can see my FPS dropping by a few 100 FPS, but once I move the mouse or walk around, the FPS go up again. Is this a feature? It's basically very smart as you really don't need more than 100 FPS when standing still, but only during movement.
IRC quote:
[kojn] I've been coming a bit more recently
[kojn] she took it the dirty way
GreEn`mArine
Forum addon
 
Posts: 1509
Joined: Tue Feb 28, 2006 9:33 pm
Location: Germany

Postby Alien » Wed Feb 04, 2009 10:09 pm

You don't need 500 fps either. At max to your screen refresh rate with vsync disabled. This way you can enable lightmaps again.
Alien
Forum addon
 
Posts: 1212
Joined: Tue Apr 22, 2008 7:12 am

Postby GreEn`mArine » Wed Feb 04, 2009 11:03 pm

hehe. No, I won't let myself get trolled by you. Nice try though
IRC quote:
[kojn] I've been coming a bit more recently
[kojn] she took it the dirty way
GreEn`mArine
Forum addon
 
Posts: 1509
Joined: Tue Feb 28, 2006 9:33 pm
Location: Germany

Next

Return to Nexuiz - Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron