Performance settings explained

Tips on how to tweak Nexuiz for the best performance

Moderators: Nexuiz Moderators, Moderators

Tue May 01, 2007 2:14 pm

  • Copied from one post from me, but it should be more visible here, stickyfied it too.

    Generally there are some variables that have to be tested for every system as graphic card, drivers, even driver versions or operation system will influence them and its almost impossible to find the 'perfect' settings for those. I'll mention them as last thing in this post, try them if you need more speed.

    I use those configs, the first one for playing (fast) which basically disables as much eyecandy and distracting things i could find and the second for watching demos (slooooow) which enables as much stuff as i could find.. :)

    n_lo.cfg:
    Code: Select all
    set cl_bobcycle 0
    set cl_bobmodel 0
    set cl_itembobheight 0
    set cl_rollangle 0
    set v_kicktime 0

    set cl_decals 0
    set cl_stainmaps 0

    set cl_nogibs 0 // 1
    set cl_noplayershadow 1

    set cl_particles_blood 0
    set cl_particles_bubbles 0
    set cl_particles_bulletimpacts 0
    set cl_particles_explosions_bubbles 0
    set cl_particles_explosions_shell 0
    set cl_particles_explosions_smokes 0
    set cl_particles_explosions_sparks 0
    set cl_particles_quality 0.5
    set cl_particles_rain 0
    set cl_particles_size 0.5
    set cl_particles_smoke 0
    set cl_particles_snow 0
    set cl_particles_sparks 0

    set gl_picmip 2
    set gl_texture_anisotropy 1
    set r_detailtextures 0
    set r_picmipworld 1

    set gl_flashblend 0
    set gl_polyblend 0

    set r_shadow_bumpscale_basetexture 0
    set r_shadow_bumpscale_bumpmap 0

    set r_sky 0

    set r_water 0
    set r_waterscroll 0
    set r_waterwarp 0

    set r_bloom 0
    set r_coronas 0
    set r_depthfirst 0
    set r_drawfog 0
    set r_dynamic 0
    set r_glsl_deluxemapping 0
    set r_glsl_offsetmapping 0
    set r_glsl_offsetmapping_reliefmapping 0
    set r_glsl_water 0
    set r_hdr 0
    set r_lerplightstyles 0
    set r_shadow_gloss 0
    set r_shadow_glsl_offsetmapping 0
    set r_shadow_realtime_dlight 0
    set r_shadow_realtime_dlight_shadows 0
    set r_shadow_realtime_world 0
    set r_shadow_realtime_world_dlightshadows 0
    set r_shadow_realtime_world_shadows 0
    set r_shadow_usenormalmap 0

    set vid_samples 1

    set ambient_level 0
    set bgmvolume 0
    set snd_staticvolume 0


    Also its worth mentioning that the gibs in Nexuiz 1.0 - 1.5 have had very very high-poly count and there spawn six for each frag. You can use this file (made by me) * or this file (made by KadaverJack) * and place it into your Nexuiz/data folder. Each one will make the gibs empty models so nothing is displayed which helps FPS. However please notice that the usage in ladder matches is NOT allowed. Rename the file from .pk3 to .pk3_ then. This will skip the file and you get the original gibs. As ladder matches are only 1on1 they are also not needed there as problems with gibs normaly occur only with more then 4 people.
    The new gibs in Nexuiz are easier on the FPS and Nexuiz now also has the settings cl_nogibs to disable gibs. But that setting will remove them totally so they are not even in demos. That looks ugly in demos. That why i still use the pk3 file for NON ladder matches and have gibs enabled in my config files..

    * As far as i know both are based on some other file that was posted in the old forum, i have no idea who created that one but as its only 0-sized models there should not be a problem with copyright

    Then to enable as much graphic effects as possible:
    n_hi.cfg:
    Code: Select all
    set cl_bobcycle 0 // 0.6
    set cl_bobmodel 1
    set cl_itembobheight 10
    set cl_rollangle 0 // 2
    set v_kicktime 0 // 0.5

    set cl_decals 1
    set cl_stainmaps 1

    set cl_nogibs 0
    set cl_noplayershadow 0

    set cl_particles_blood 1
    set cl_particles_bubbles 1
    set cl_particles_bulletimpacts 1
    set cl_particles_explosions_bubbles 1
    set cl_particles_explosions_shell 0 // 1
    set cl_particles_explosions_smokes 1
    set cl_particles_explosions_sparks 1
    set cl_particles_quality 1
    set cl_particles_rain 1
    set cl_particles_size 1
    set cl_particles_smoke 1
    set cl_particles_snow 1
    set cl_particles_sparks 1

    set gl_picmip 0
    set gl_texture_anisotropy 16
    set r_detailtextures 1
    set r_picmipworld 0

    set gl_flashblend 0
    set gl_polyblend 1

    set r_shadow_bumpscale_basetexture 5
    set r_shadow_bumpscale_bumpmap 4

    set r_sky 1

    set r_water 1
    set r_waterscroll 1
    set r_waterwarp 1

    set r_bloom 1
    set r_coronas 1
    set r_depthfirst 2
    set r_drawfog 1
    set r_dynamic 1
    set r_glsl_deluxemapping 2
    set r_glsl_offsetmapping 1
    set r_glsl_offsetmapping_reliefmapping 1
    set r_glsl_water 1
    set r_hdr 1
    set r_lerplightstyles 1
    set r_shadow_gloss 1
    set r_shadow_glsl_offsetmapping 1
    set r_shadow_realtime_dlight 1
    set r_shadow_realtime_dlight_shadows 1
    set r_shadow_realtime_world 1
    set r_shadow_realtime_world_dlightshadows 1
    set r_shadow_realtime_world_shadows 1
    set r_shadow_usenormalmap 1

    set vid_samples 4

    set ambient_level 0.3
    set bgmvolume 0 // 1
    set snd_staticvolume 1



    Variables that will affect performance but are very system dependent. I will just list them and their possible values. I can't tell you which to use as it depends on your system. Generally those settings control speedup features so the defaults are good but some drivers/systems have problems with those features and emulate them in software which then gets really slow. Most problems occur with gl_vbo (vertext buffer objects in the video menu) and r_glsl (opengl 2.0 shaders in the video menu). Its best if you run a timedemo via timedemo demos/demo1 in the console and compare the fps. Nexuiz 2.3 includes 5 demos you can use use for a timedemo (demo1, demo2, demo3, demo4 and demo5) but older versions only had demo1 and demo2 while demo2 is too short to be really useful as timedemo.
    A note about mod_q3bsp_lightmapmergepower: the higher the better but more then 5 should not be necceary for any current maps and if your graphic card is low on memory more then 2 or 3 can also impair performance)
    WARNING: r_glsl / r_shadow_glsl IS NEEDED FOR MOST EYECANDY EFFECTS so you should only do so in low settings were you will not notice and only if disabling it is really an speed increase for you!!!
    n_xx.cfg:
    Code: Select all
    set gl_combine: 0 / 1  (needs r_glsl 0 to have any effect)
    gl_lockarrays: 0 / 1
    gl_mesh_drawrangeelements: 0 / 1
    gl_vbo 0 / 1/ 2   /(2 might help with systems were 1 is slow)
    mod_q3bsp_lightmapmergepower  (maximum graphics memory size for lightmaps merging)
    r_batchmode: 0 / 1 / 2
    r_glsl 0 / 1   (was called r_shadow_glsl in older Nexuiz versions)
    Last edited by esteel on Sun Apr 13, 2008 12:57 pm, edited 8 times in total.
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Wed May 02, 2007 12:49 am

Wed May 02, 2007 1:41 am

  • [TSA] Psychiccyberfreak wrote:yay esteel is teh l33t!


    At least pretend to have a point in yer postings. this is just useless static. And no do not reply to me here. Only reason i dident just remove your post is to show what NOT to do.
    HOF:
    <Diablo> the nex is a "game modification"
    <Diablo> quake1 never had a weapon like that.
    <Vordreller> there was no need for anything over 4GB untill Vista came along
    <Samua>]Idea: Fix it? :D
    <Samua>Lies, that only applies to other people.
    User avatar
    tZork
    tZite Admin
     
    Posts: 1337
    Joined: Tue Feb 28, 2006 6:16 pm
    Location: Halfway to somwhere else

Thu May 03, 2007 10:23 am

  • Having a bad mood? :P
    He was just giving sound to his happines...
    Anyway, thx for these infos, and if one fine day I'll won't be in a rush, I might try out Nexuiz on the good o'l rig again with these settings.
    "One should strive to achieve; not sit in bitter regret."
    WE ARE NEXUIZ.
    Image
    Image
    User avatar
    C.Brutail
    Laidback mapper
     
    Posts: 2357
    Joined: Tue Feb 28, 2006 7:26 pm
    Location: Ironforge

Thu May 03, 2007 2:02 pm

  • yeah I mean my laptop is super old, and can barely display the menu at a decent framerate. So I guess I'll try this on it, maybe tweak my drivers as well. Actually I should really just re-install completely. :D

    anyways with my comment earlier It was a joke, I guess it's getting old so I'll just stop using it I guess :D
    User avatar
    Psychcf
    Forum addon
     
    Posts: 1554
    Joined: Sun Dec 03, 2006 11:38 pm
    Location: NY, USA

Fri May 04, 2007 10:40 am

  • C.Brutail wrote:Having a bad mood? :P
    He was just giving sound to his happines...
    Anyway, thx for these infos, and if one fine day I'll won't be in a rush, I might try out Nexuiz on the good o'l rig again with these settings.

    Yeah but after you read four such 'xxx is the leet' its getting annoying..

    Well those settings were already somewere in the forum, and linked to via the 'tipps and tricks' sticky post but i though there should also be a sticky in the performance settings forum. I just need to work on the 'explained' ;) But all my sticky threads improve with time and this one will too ;)
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Mon Jul 30, 2007 9:55 am

  • Also, is there anyway, I can nerf the quality of the characters and only the characters? I have no problems with frames as I average 53 in the timedemo but whenever there are enemies and friendlies my game stutters. (the frames DO NOT drop; just that the game stutters)

    I am sure it has something to do with the humanoid models.

    I like this game but it's just this glitch that's putting it down. :(

    May someone please help?

    EDIT: Okay I noticed some online maps are using inferior models so this ok. I eliminated Particles, gibs, and stainmaps and poof! I minimized the stuttering grealty. Still have to test this on maps with lots of players though.

    With the above settings, I can play online with bumpmaps and gloss on with an average of 50-60FPS.
    User avatar
    Ildamos
    Advanced member
     
    Posts: 50
    Joined: Mon May 21, 2007 4:01 am

Sat Aug 11, 2007 3:12 am

  • I can't get a lot of these commands to work, they'ren't valid. Maybe because it's a newer version? I can't seem to get the weapon bob to stop.

    I'm running Mac OS X. I can't seem to get the pk3 file to work either, it keeps extracting or being a .zip file.

    Any help would be appreciated.

    Also, would it be possible to remove texture like bricks and just have solid colours on maps?
    blacksnack
    Member
     
    Posts: 11
    Joined: Fri Jul 20, 2007 8:43 pm

Sat Aug 11, 2007 7:26 am

  • the commands should work the same way on OS X, as the same engine is being used. Where are you entering them? They should be entered into a .cfg file or on the console (press shift-escape in game).
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Tue Sep 18, 2007 10:50 pm

  • Is there any way of pasting all of the code into a config file or anything? ...I tried pasting it into the command menu in the game by doin that shift+escape thing... But no luck :(

    I have a pretty new PC... AMD Athlon 64 X2 Dual Core 4200+, 2gb RAM and a Radoen X1300 Pro... I set my ATI settings on my graphics card set to 100% to performance and STILL the game runs jerky?? Is it something to do with Windows Vista?

    I think I had it going well once time before my last format... Pretty sure it was one of the settings in the video options, but I've tried EVERYTHING and nothing seems to work... I set absolutely all settings to low (including effects), I even put it on 640x480 ....and it only runs about 3 or 4 frames per second... I feel violated :(

    Any ideas??? Everything else runs really well, except for this...
    The Boo-yah DJ
    DJNFNT
    Newbie
     
    Posts: 1
    Joined: Tue Sep 18, 2007 10:35 pm
    Location: Brisbane, Australia

Wed Sep 19, 2007 11:19 am

  • you can paste all that stuff into a file called config.cfg which you can find in the data folder.

    You could also just open the console and type exec n_low.cfg, enter and type vid_restart and enter.

    But I rather think you've got some bad drivers. For Nexuiz you need a proper openGL support. There was another guy posting about heavy lags with an X1300@Vista in the support thread. He updated his drivers and his performance problems were solved.
    uncomfortable
    random
    mean
    embarrassing
    limited
    User avatar
    Urmel
    Forum addon
     
    Posts: 1744
    Joined: Fri Mar 03, 2006 10:06 am
    Location: Offline

Wed Sep 19, 2007 3:39 pm

  • Yep. Drivers. I have the same lag problem as the guy above. I am using an Nvidia card though but when I jumped from 91.something to Forceware 94.24, the lagginess minimized greatly.

    You might also want to disable effects; I noticed that setting posed the greatest lag on my gameplay even while my FPS pushed well beyond the 50-60 mark. (Bump mapping doesn't affect lag however.)

    I hope this helps.
    User avatar
    Ildamos
    Advanced member
     
    Posts: 50
    Joined: Mon May 21, 2007 4:01 am

Thu Nov 13, 2008 9:38 pm

  • I know this is an old thread - but I figured I should put in my two-cents.

    I noticed that the particles can be the major problem for me at times, ...so with certain maps, I just turn them down to 35 or so (I usually have them at 75 or full), ...however, if there's rain?....I turn off particles completely and it solves the problem instantly.

    Another thing is under the video-options, select the box that says:
    "Use GLSL to handle color control"

    When I finally turned this option ON - I notced a much better framerate, the lagg went down, and the colours are absolutely beautiful now, ...as opposed to when I thought my own settings should work better, ...boy was I wrong. Definitely use the GLSL option.
    Tenshihan
    Alien
     
    Posts: 233
    Joined: Sun Jul 06, 2008 11:28 am

Sun May 17, 2009 7:58 pm

  • Tenshihan wrote:Another thing is under the video-options, select the box that says:
    "Use GLSL to handle color control"

    When I finally turned this option ON - I notced a much better framerate...


    Strange. When I use that, my framerate is effectively almost halved.
    User avatar
    FruitieX
    Keyboard killer
     
    Posts: 588
    Joined: Mon Nov 13, 2006 4:47 pm
    Location: Finland

Sun May 17, 2009 10:32 pm

  • I used to have that problem too. Not anymore (now my FPS are equal, no matter which value I use for that): I changed nothing (like HW) on my end. Now I use GLSL for handling color control all the time.
    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

Thu Jul 16, 2009 2:58 pm

  • The files for empty gibs are both gone.
    User avatar
    Vordreller
    Advanced member
     
    Posts: 80
    Joined: Sat May 16, 2009 9:58 pm
    Location: Belgium

Sun Jul 19, 2009 10:12 pm

  • Just disable the gibs in menu.
    Alien
    Forum addon
     
    Posts: 1212
    Joined: Tue Apr 22, 2008 7:12 am



Return to Nexuiz - Performance Tips




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest