Please optimize the game

lame-olame-o Join Date: 2010-04-24 Member: 71517Members
edited January 2013 in NS2 General Discussion
I pre-ordered NS2 in 2010 or whatever and I've tried to play this game since alpha. While the game looks good and is (probably) fun, there's no way in hell I'm going to play it because of the performance issues.

I know the engine was very much a solo effort, but seriously, NS2 is REALLY poorly optimized and as a low/mid-range computer owner I can't be bothered to play in a slideshow.
«134

Comments

  • KazterKazter Join Date: 2003-08-12 Member: 19481Members, Constellation
    Unfortunately, you are going to have to take a number on this one. It is probably the #1 subject brought up with the developers and it HAS gotten better.

    I am on a high-end machine that couldn't play during the early days of Beta for this very reason. It was only recently in the 200 Builds that the game was playable for me.
  • ZeframZefram Join Date: 2004-05-11 Member: 28611Members, Forum Moderators, Constellation, NS2 Playtester, Squad Five Gold, NS2 Map Tester, WC 2013 - Shadow, Subnautica Playtester, Pistachionauts, Retired Community Developer
    <!--quoteo(post=2063167:date=Jan 19 2013, 10:06 AM:name=lame-o)--><div class='quotetop'>QUOTE (lame-o @ Jan 19 2013, 10:06 AM) <a href="index.php?act=findpost&pid=2063167"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I pre-ordered NS2 in 2010 or whatever and I've tried to play this game since alpha. While the game looks good and is (probably) fun, there's no way in hell I'm going to play it because of the performance issues.

    I know the engine was very much a solo effort, but seriously, NS2 is REALLY poorly optimized and as a low/mid-range computer owner I can't be bothered to play in a slideshow.<!--QuoteEnd--></div><!--QuoteEEnd-->


    What are your system specs?
  • lame-olame-o Join Date: 2010-04-24 Member: 71517Members
    2.0ghz quadcore CPU,
    4650 HD Radeon 2gb vram,
    4gb ram

    It's a pretty old comp, but I don't see how my specs are relevant since I can play modern games, and I should ideally be able to play NS2 very smoothly.
  • CrushaKCrushaK Join Date: 2012-11-05 Member: 167195Members, NS2 Playtester
    I have less of a problem with the actual performance (game runs fine on high details with my 3-4 years old PC) than with the stability of the game. If I play it on high details, I can play it about 1-2 matches fine before things go down the river and issues appear. And since the most recent patch, I even crash regularly on lowest details.
  • SavantSavant Join Date: 2002-11-30 Member: 10289Members, NS1 Playtester, Contributor
    Can we assume you've turned down your graphics settings? (all options set to 'no' or 'off' for the most part?) Is your boot drive an SSD by chance?
  • PikachuPikachu Join Date: 2012-10-03 Member: 161437Members
    <!--quoteo(post=2063203:date=Jan 19 2013, 12:05 PM:name=lame-o)--><div class='quotetop'>QUOTE (lame-o @ Jan 19 2013, 12:05 PM) <a href="index.php?act=findpost&pid=2063203"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->2.0ghz quadcore CPU,
    4650 HD Radeon 2gb vram,
    4gb ram

    It's a pretty old comp, but I don't see how my specs are relevant since I can play modern games, and I should ideally be able to play NS2 very smoothly.<!--QuoteEnd--></div><!--QuoteEEnd-->
    I'm sorry to have to tell you this but that's a very old comp by today's standards: there are entry level APU's @ 100$ and RAM @ 15$ that outperform your computer in all ways.
  • Dictator93Dictator93 Join Date: 2008-12-21 Member: 65833Members, Reinforced - Shadow
    IMO, the 4650 is not a gfx card you should expect to run this game let laone anygames reasonably in 2013. Most games are shifting over to the next generation and or more competent PC porting. The 4650 is worse than an 8800gt. You should really not expect any game to run well with that...

    and a 2.0 Ghz Quadcore is not horrible... but if it is not one of the the more recent gen of quadcore cpus than you are kind of left behind in almost any game. Your computer is about 5 to 6 years old technologically... Can you imagine playing Quake III well on a pentium 1? Seriously?

    Hate to be or sound so forceful or sarcastic... but PC gaming has always required you to upgrade to play games well at the worst every 5 years...
  • mushookeesmushookees Join Date: 2008-03-26 Member: 63967Members
    this game relies on Ghz

    2 Ghz is too slow, you need closer to 3 Ghz at least. 4 Ghz is recommended. Try overclocking
  • Kouji_SanKouji_San Sr. Hινε Uρкεερεг - EUPT Deputy The Netherlands Join Date: 2003-05-13 Member: 16271Members, NS2 Playtester, Squad Five Blue
    <!--quoteo(post=2063203:date=Jan 19 2013, 05:05 PM:name=lame-o)--><div class='quotetop'>QUOTE (lame-o @ Jan 19 2013, 05:05 PM) <a href="index.php?act=findpost&pid=2063203"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->2.0ghz quadcore CPU,
    4650 HD Radeon 2gb vram,
    4gb ram

    It's a pretty old comp, but I don't see how my specs are relevant since I can play modern games, and I should ideally be able to play NS2 very smoothly.<!--QuoteEnd--></div><!--QuoteEEnd-->
    What kind of quad core are we talking... Is it a C2Q or an iCore? In general those specs are below the low end for what you need to run NS2...
  • xen32xen32 Join Date: 2012-10-18 Member: 162676Members, Reinforced - Supporter
    I don't have beast rig either, but there is no excuse for having 10 fps in an empty hallway on all low and ridiculously low resolution that doesn't even fit my aspect ratio (anything higher is even more laggy, anything lower is 4:3 which screws up picture even worse).

    Seriously, there is something really wrong with the way game decides what to render and what not, it seems to me that engine draws everything in front of you, regardless if there is a wall or not.

    On all low, ns looks like early 2000 game with the exception that I don't have even static shadows, but with addition of specular highlights (wish we could turn those off as well).

    And it doesn't even have physics aside from ragdolls... and no decals. So I have not idea what's my MHzs are used for.
  • Kouji_SanKouji_San Sr. Hινε Uρкεερεг - EUPT Deputy The Netherlands Join Date: 2003-05-13 Member: 16271Members, NS2 Playtester, Squad Five Blue
    <!--quoteo(post=2063343:date=Jan 19 2013, 08:59 PM:name=xen32)--><div class='quotetop'>QUOTE (xen32 @ Jan 19 2013, 08:59 PM) <a href="index.php?act=findpost&pid=2063343"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->On all low, ns looks like early 2000 game with the exception that I don't have even static shadows, but with addition of specular highlights (wish we could turn those off as well).<!--QuoteEnd--></div><!--QuoteEEnd-->
    On all low NS2 definitely doesn't look like a 2000 era game, the texture res is way too high for that. Also its not the rendering that is causing the isues, it is purely the game code being written in lua and the communication of lua to c++ that is causing the slowdowns on old rigs. You simply need lots of Ghz to be able to run it...
  • xen32xen32 Join Date: 2012-10-18 Member: 162676Members, Reinforced - Supporter
    <!--quoteo(post=2063349:date=Jan 19 2013, 01:08 PM:name=Kouji_San)--><div class='quotetop'>QUOTE (Kouji_San @ Jan 19 2013, 01:08 PM) <a href="index.php?act=findpost&pid=2063349"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->On all low NS2 definitely doesn't look like a 2000 era game, the texture res is way too high for that.<!--QuoteEnd--></div><!--QuoteEEnd-->
    I didn't meant year 2000, but the first half of last decade. Was keeping Doom 3 and Unreal 2/UT2003 in my mind. NS maps reminds me of those very much.
    Still, looks/performance ratio on all low is kind of disappointing.


    By the way, is there a way to get wireframe view in game ? Like, on my own server with sv_cheats. I'd really love to see how mane polys some things use and what exactly is rendered at any given moment.
  • FappuchinoFappuchino Join Date: 2012-10-10 Member: 162008Members
    <!--quoteo(post=2063203:date=Jan 19 2013, 10:05 AM:name=lame-o)--><div class='quotetop'>QUOTE (lame-o @ Jan 19 2013, 10:05 AM) <a href="index.php?act=findpost&pid=2063203"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->2.0ghz quadcore CPU,
    4650 HD Radeon 2gb vram,
    4gb ram

    It's a pretty old comp, but I don't see how my specs are relevant since I can play modern games, and I should ideally be able to play NS2 very smoothly.<!--QuoteEnd--></div><!--QuoteEEnd-->
    You're trying to make a point, yes, but it's untruthful to not specify what the modern games are, what performance you get, or on what resolutions.

    Your PC unfortunately needs some upgrade money dumped on it, this is not an optimization issue as much as an actual "modern game" running on an old PC.
  • xen32xen32 Join Date: 2012-10-18 Member: 162676Members, Reinforced - Supporter
    <!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->it is purely the game code being written in lua<!--QuoteEnd--></div><!--QuoteEEnd-->
    By the way, what are the benefits of this for players? First thing that comes to mind is mods, but what about the vanilla game?
  • Kouji_SanKouji_San Sr. Hινε Uρкεερεг - EUPT Deputy The Netherlands Join Date: 2003-05-13 Member: 16271Members, NS2 Playtester, Squad Five Blue
    <!--quoteo(post=2063354:date=Jan 19 2013, 09:32 PM:name=xen32)--><div class='quotetop'>QUOTE (xen32 @ Jan 19 2013, 09:32 PM) <a href="index.php?act=findpost&pid=2063354"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->By the way, is there a way to get wireframe view in game ? Like, on my own server with sv_cheats. I'd really love to see how mane polys some things use and what exactly is rendered at any given moment.<!--QuoteEnd--></div><!--QuoteEEnd-->
    cheats 1
    r_wireframe true

    <!--quoteo(post=2063358:date=Jan 19 2013, 09:42 PM:name=xen32)--><div class='quotetop'>QUOTE (xen32 @ Jan 19 2013, 09:42 PM) <a href="index.php?act=findpost&pid=2063358"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->By the way, what are the benefits of this for players? First thing that comes to mind is mods, but what about the vanilla game?<!--QuoteEnd--></div><!--QuoteEEnd-->
    The game being release this early :P

    It is very fast to prototype stuff with a small team using lua
  • xen32xen32 Join Date: 2012-10-18 Member: 162676Members, Reinforced - Supporter
    edited January 2013
    <!--quoteo(post=2063360:date=Jan 19 2013, 01:48 PM:name=Kouji_San)--><div class='quotetop'>QUOTE (Kouji_San @ Jan 19 2013, 01:48 PM) <a href="index.php?act=findpost&pid=2063360"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->cheats 1
    r_wireframe true<!--QuoteEnd--></div><!--QuoteEEnd-->
    Oh, clipping works much much better then I would expect it to work. Nice.

    Tho I always wondered why there have to be those things inside eggs, if there is no way to see them besides rotating third person camera while evolving.

    <img src="http://img17.imageshack.us/img17/1890/2013012000001.jpg" border="0" class="linked-image" />


    And while we are talking about optimization. If I'd make a low-poly structures mod, would I be able to use it on any server (like skins) or consistency checks won't allow me to do so?
  • BensonBenson Join Date: 2012-03-07 Member: 148303Members, Reinforced - Shadow, WC 2013 - Shadow
    The embryo in the egg is there for when they get transparency working correctly, same with the way the drifter model looks
  • Kouji_SanKouji_San Sr. Hινε Uρкεερεг - EUPT Deputy The Netherlands Join Date: 2003-05-13 Member: 16271Members, NS2 Playtester, Squad Five Blue
    edited January 2013
    <!--quoteo(post=2063377:date=Jan 19 2013, 10:18 PM:name=xen32)--><div class='quotetop'>QUOTE (xen32 @ Jan 19 2013, 10:18 PM) <a href="index.php?act=findpost&pid=2063377"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Oh, clipping works much much better then I would expect it to work. Nice.

    Tho I always wondered why there have to be those things inside eggs, if there is no way to see them besides rotating third person camera while evolving.

    And while we are talking about optimization. If I'd make a low-poly structures mod, would I be able to use it on any server (like skins) or consistency checks won't allow me to do so?<!--QuoteEnd--></div><!--QuoteEEnd-->
    yeah the occlusion is pretty good, those embryos inside the eggs are there because the game will get more visuals (translucent eggs for example)


    I think models similar to materials will pass consistency checks... I've created something called NS2 Pixel (very low res textures ie: 2048x2048 -> 32x32), which pre-build 200 did help a bit with hitching, but didn't give more FPS. lower poly models might help though, although as I said the game code is more of an issue, not the rendering. Unless you are severely GPU bottlenecked...
  • MisterYoonMisterYoon Join Date: 2012-08-18 Member: 155747Members
    <!--quoteo(post=2063354:date=Jan 19 2013, 01:32 PM:name=xen32)--><div class='quotetop'>QUOTE (xen32 @ Jan 19 2013, 01:32 PM) <a href="index.php?act=findpost&pid=2063354"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I didn't meant year 2000, but the first half of last decade. Was keeping Doom 3 and Unreal 2/UT2003 in my mind. NS maps reminds me of those very much.
    Still, looks/performance ratio on all low is kind of disappointing.


    By the way, is there a way to get wireframe view in game ? Like, on my own server with sv_cheats. I'd really love to see how mane polys some things use and what exactly is rendered at any given moment.<!--QuoteEnd--></div><!--QuoteEEnd-->

    Ns2 with low settings(with reasonable resolution of course) looks definately like Doom3.
  • YMICrazyYMICrazy Join Date: 2012-11-02 Member: 165986Members
    edited January 2013
    <!--quoteo(post=2063382:date=Jan 19 2013, 05:34 PM:name=Kouji_San)--><div class='quotetop'>QUOTE (Kouji_San @ Jan 19 2013, 05:34 PM) <a href="index.php?act=findpost&pid=2063382"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->yeah the occlusion is pretty good, those embryos inside the eggs are there because the game will get more visuals (translucent eggs for example)


    I think models similar to materials will pass consistency checks... I've created something called NS2 Pixel (very low res textures ie: 2048x2048 -> 32x32), which pre-build 200 did help a bit with hitching, but didn't give more FPS. lower poly models might help though, although as I said the game code is more of an issue, not the rendering. Unless you are severely GPU bottlenecked...<!--QuoteEnd--></div><!--QuoteEEnd-->

    Yup the graphics of this game are not what cause the late game slowdown. I think it's mostly all the infestation/entities/fighting you got going on. Which is why lowering all settings to the lowest does not yield much performance increase. Especially when you got aliens controlling the entire map and put crags, whips etc all around it with the marines spamming grenades etc etc. At that point the quality of visuals goes out the windows and it is all game coding.

    Here's an excerpt I took from one of Hugh's article on NS2 Lua

    "Natural Selection 2 features very, very complex 'game logic.' Power grids, resource systems, tech trees, asymmetrical sides, multiple creatures, structures, and abilities. An accessible language like Lua means the relatively small Unknown Worlds team can create relatively complex game logic in a short space of time.

    Lua, then, brings benefits and drawbacks to the table.

    Right now, Lua takes up around 50% of the CPU cycles that NS2 goes through to produce ever frame. This is, on its own, almost entirely responsible for the limited framerates that people experience when playing in the NS2 Beta. Rendering in Spark is actually very fast. This is why turning down graphics options, or playing on a more powerful GPU, yields negligible performance benefits."

    So yea I do not think the team could have finished writing such a complex game if they used anything other than LUA but it does have it's drawbacks. That article is from April 2012 so things have probably improved since then but in the meantime I think upgrading is the only option to get better performance.
  • lame-olame-o Join Date: 2010-04-24 Member: 71517Members
    @YMICrazy502: good post, I can see that being the major issue with performance. I still think the slowdowns are a bit absurd, but it seems that the drawbacks of LUA and a large and dynamic entity list are to blame. That said, haven't there been other games which rely on LUA?
  • DestherDesther Join Date: 2012-10-31 Member: 165195Members
    <!--quoteo(post=2063381:date=Jan 19 2013, 10:30 PM:name=Benson)--><div class='quotetop'>QUOTE (Benson @ Jan 19 2013, 10:30 PM) <a href="index.php?act=findpost&pid=2063381"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->The embryo in the egg is there for when they get transparency working correctly, same with the way the drifter model looks<!--QuoteEnd--></div><!--QuoteEEnd-->

    Hugh said in one of teh Q&A that they wanted it so when you looked around as an egg, the worm thingy moved with you and if you stopped looking around then the worm stopped moving too so marines wouldn't know you were a live egg.
  • YMICrazyYMICrazy Join Date: 2012-11-02 Member: 165986Members
    edited January 2013
    <!--quoteo(post=2063424:date=Jan 19 2013, 06:53 PM:name=lame-o)--><div class='quotetop'>QUOTE (lame-o @ Jan 19 2013, 06:53 PM) <a href="index.php?act=findpost&pid=2063424"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->@YMICrazy502: good post, I can see that being the major issue with performance. I still think the slowdowns are a bit absurd, but it seems that the drawbacks of LUA and a large and dynamic entity list are to blame. That said, haven't there been other games which rely on LUA?<!--QuoteEnd--></div><!--QuoteEEnd-->


    <a href="http://en.wikipedia.org/wiki/Category:Lua-scripted_video_games" target="_blank">http://en.wikipedia.org/wiki/Category:Lua-...ted_video_games</a>

    I love the infestation though and it is a large part of why this game is unique as well as the other entities that are not static. Plus they can extend the game by bringing content to us much more easily and efficiently with Lua. However the drawbacks are still there which means players with weaker CPUs will find playing hard and tend to be frustrated. Game performance is a priority for them and they are always working on it but it will take time.
  • BensonBenson Join Date: 2012-03-07 Member: 148303Members, Reinforced - Shadow, WC 2013 - Shadow
    I'm hopefull that as their list of desired features gets smaller and smaller and less things need to be change per patch, that more of the game code will be converted out of Lua so that we can get much better preformance, as i would dearly love to play this game in full 1080p with all the bells and whistles
  • derWalterderWalter Join Date: 2008-10-29 Member: 65323Members
    WTF? Cryengine works with lua?

    okay... ahm... so... ... ... i am stunned right now,
    i always thought that they where going a lonely way with this lua thing
    and the lack of performance is because of their vanguard role...


    but right now, i can feel the power of money in form of manpower and manyears again :((


    it looks like only carmack is the only one man army out there :/
  • nsguynsguy Join Date: 2010-01-03 Member: 69869Members
    Why does using Lua slow the game down? It's not interpreted is it? The rendering code isn't written in Lua, surely. I thought just the game mechanics are written in Lua.
  • DC_DarklingDC_Darkling Join Date: 2003-07-10 Member: 18068Members, Constellation, Squad Five Blue, Squad Five Silver
    lua is used for all the cysts and buildings if I remember ok from posts.
    now count how many entities (the buildings etc) both sides have combined, and theres your awnser.

    start a single game, go alien. awsome fps.
    now spam cysts in your hive and keep spamming. your fps will start to take a nosedive at a certain point. All entities.
  • StardogStardog Join Date: 2004-10-25 Member: 32448Members
    edited January 2013
    <!--quoteo(post=2063354:date=Jan 19 2013, 04:32 PM:name=xen32)--><div class='quotetop'>QUOTE (xen32 @ Jan 19 2013, 04:32 PM) <a href="index.php?act=findpost&pid=2063354"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I didn't meant year 2000, but the first half of last decade. Was keeping Doom 3 and Unreal 2/UT2003 in my mind. NS maps reminds me of those very much.
    Still, looks/performance ratio on all low is kind of disappointing.

    By the way, is there a way to get wireframe view in game ? Like, on my own server with sv_cheats. I'd really love to see how mane polys some things use and what exactly is rendered at any given moment.<!--QuoteEnd--></div><!--QuoteEEnd-->
    Doom 3 used forward rendering meaning it barely had 2 lights in a room for performance reasons. NS2 uses deferred rendering and has tons of pixel lights dotted around everywhere. You probably can't name another game that has as many lights as this game has. Even Uncharted 3's graphics don't match up to this technically.

    Also, the amount of polygons in a scene probably hasn't been particularly relevant since about 2004. The amount of shadow casting lights is a bigger issue.

    All those crappy console ports you play are using tons of tricks to get decent visuals (some still even use lightmaps like Batman: Arkham City, which means the lighting is static and can't be changed) compared to NS2's engine.
  • nsguynsguy Join Date: 2010-01-03 Member: 69869Members
    <!--quoteo(post=2063476:date=Jan 20 2013, 01:43 AM:name=DC_Darkling)--><div class='quotetop'>QUOTE (DC_Darkling @ Jan 20 2013, 01:43 AM) <a href="index.php?act=findpost&pid=2063476"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->lua is used for all the cysts and buildings if I remember ok from posts.
    now count how many entities (the buildings etc) both sides have combined, and theres your awnser.

    start a single game, go alien. awsome fps.
    now spam cysts in your hive and keep spamming. your fps will start to take a nosedive at a certain point. All entities.<!--QuoteEnd--></div><!--QuoteEEnd-->

    But if the code is compiled why should this even be a problem? I don't see how Lua can cause the game to run slowly unless it requires a runtime with a huge overhead.
  • VitdomVitdom Join Date: 2012-04-30 Member: 151345Members, Reinforced - Supporter, Reinforced - Silver, Reinforced - Gold, Reinforced - Diamond, Reinforced - Shadow, WC 2013 - Shadow
    <!--quoteo(post=2063492:date=Jan 20 2013, 03:07 AM:name=nsguy)--><div class='quotetop'>QUOTE (nsguy @ Jan 20 2013, 03:07 AM) <a href="index.php?act=findpost&pid=2063492"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->But if the code is compiled why should this even be a problem? I don't see how Lua can cause the game to run slowly unless it requires a runtime with a huge overhead.<!--QuoteEnd--></div><!--QuoteEEnd-->
    Lua is compiled by NS2?
Sign In or Register to comment.