Go Back   Champions of Regnum > English > Technical Support > Linux

Linux Technical issues under Linux platform

Reply
 
Thread Tools Display Modes
Old 07-18-2009, 11:57 AM   #1
platyna
Initiate
 
Join Date: Feb 2009
Location: Poland
Posts: 234
platyna is an unknown quantity at this point
Default How to improve your client performance on Linux (with some hints useful also on Win)

Well lag is obvious design flaw of the game, however it can be relieved by the following steps, that allows up to 2x performance gain comparing to default setup.

1. Captain Obvious: newest drivers from producent's site (Nvidia), in case of Intel cards - newest Mesa3d, newest Xorg drivers, newest libdrm - those that comes with your distribution are usualy old.
For Nvidia (especialy Ubuntu users, since their packaged nvidia driver sucks badly):
http://www.nvidia.com/object/unix.html

Intel users:
ftp://ftp.freedesktop.org/pub/individual/driver/
http://dri.freedesktop.org/libdrm/
http://www.mesa3d.org/

WARNING for Intel users - recompilling those to not screw up your OS is easy, but requires some knowledge how are original distro packages built (configure options), when I will sexy enough, I will write some howto.

ATI: Sorry guys, never touched this sh!t.

2. Get rid of eye candies in your setup - compiz etc. has to go - refer to your distribution documentation.

3. Renice 19 game client, so it doesn't fight for resources with other things, after getting char screen open a console and paste in it the following command:
Code:
renice 19 `ps axu | grep game | head -n 1 | awk '{print $2}'`
4. Use your native resolution.

5. Close all currently not needed resource hogging programs - use htop to see what is going on your system ("yum install htop" or "apt-get install htop")

6. Use safe mode, however turning it on has some bugs (eg likes to wear off between logins), plus turn off unnecessary eye candies (set your options exactly like on pictures below)

First set your options like that:


Then set advanced options like that:


Now set safe mode:


Mind that "advanced options" button is inactive now. And this is how it should be when safe mode is realy set.

But sometimes it looks like that:


You need to check it every login, then unset and set safe mode again. When safe mode is correctly set then eg. you can't see paint on armours.

Also make sure your in game options looks like that:


Ok, now some nvidia stuff:




7. Few notes about sound: as several people pointed out - turning off the sound is also performance gain, however keeping the sound on (at least for me) improves game play, so I am leaving it up to your consideration.

Let me know if it helped you. ;-)

Regards.
__________________
Syrtis, Horus: Platyna (Conjurer), Platyna Ahn (Warlock), Platyna Ida (Hunter), Platyna Ira (Barbarian)

Last edited by platyna; 07-20-2009 at 08:31 AM.
platyna no ha iniciado sesión   Reply With Quote
Old 07-18-2009, 12:17 PM   #2
Pornstar
Apprentice
 
Pornstar's Avatar
 
Join Date: Jan 2008
Location: Bulgaria
Posts: 76
Pornstar is on a distinguished road
Default

Turning off the sound increase performance a lot. Also turn off the fog options in game.cfg.
Pornstar no ha iniciado sesión   Reply With Quote
Old 07-18-2009, 12:25 PM   #3
platyna
Initiate
 
Join Date: Feb 2009
Location: Poland
Posts: 234
platyna is an unknown quantity at this point
Default

I know that turning off the sound increases performance, but it also makes game play more difficult (you can eg. hear aca comming). ;-) Well it is up for individual consideration.

Regards.
__________________
Syrtis, Horus: Platyna (Conjurer), Platyna Ahn (Warlock), Platyna Ida (Hunter), Platyna Ira (Barbarian)
platyna no ha iniciado sesión   Reply With Quote
Old 07-20-2009, 03:51 AM   #4
Arafails
Baron
 
Arafails's Avatar
 
Join Date: Nov 2007
Location: Not where it looks like, to either of us.
Posts: 706
Arafails will become famous soon enough
Default

Really renice 19? You want to incurr a massive performance penalty on the client? You didn't mean renice to -19? Better yet, set it to rt priority (but only if using fullscreen and no VoiP applications).

Anyway, guide for ATi users:

(a) Make sure you have something with dedicated VRAM (preferably over 32Mb). An integrated X200M for example will not cut the mustard. Sorry, it's just facts. I expect this applies to nVidia, Intel, VIA, etc...
(b) Use the latest fglrx drivers if you have an r600 or newer chipset (So Radeon HD2000 +). Older chipsets may either work fine with Mesa, in which case see above (but I think you have double buffer performance penalties), or use an fglrx release that supports olders cards.
(c) Turn water quality right down, because the shader was written by an nvidia monkey and having it turned on will just use linking cycles for no reason.
(d) Turn off Anti-Aliasing
(e) Having Anisotropic Filtering anything 4x or below is unlikely to hurt performance.
(f) Safe mode is craptastic. Leave it off unless you're having huge performance problems.
(g) Compositing (Compiz, etc) really is not an option until they sort out the performance bottlenecks. You can unredirect fullscreen windows but your manager will probably draw things you don't want to see over the top of the game.
(h) Enjoy, just don't expect a mumble overlay.
__________________
If you can't detect sarcasm yourself, please pay attention when it's pointed out to you.
Arathael :: Wyrd Sceote :: Gwn M'gerSoul Taker, Imperial Guard of Ignis
Arafails no ha iniciado sesión   Reply With Quote
Old 07-20-2009, 08:01 AM   #5
Anpu
Count
 
Anpu's Avatar
 
Join Date: Jun 2007
Posts: 1,186
Anpu will become famous soon enough
Default

Load Regnum into RAM
__________________

Inquisition
Anpu no ha iniciado sesión   Reply With Quote
Old 07-20-2009, 08:18 AM   #6
Znurre
Marquis
 
Join Date: Jan 2007
Location: RA
Posts: 1,897
Znurre will become famous soon enoughZnurre will become famous soon enough
Default

Just a tip.

Use the NVidia 177* drivers if you have a GeForce 7000 series card, I found that it gives me around 20 more fps than the 180*drivers. Not tested on other GPU series, feel free to report how it worked out for you if you decide to try it.

Oh, and platyna - about the sound...
You recommend turning on Safe Mode, but keeping sound? oO

To me, it's way more important to see who is knocked, stunned, etc than hearing footsteps.
Good camera usage ftw.
__________________
Winning a fight is not what makes you a good player, it's how you do it.
http://home.znur.re/screenshot%20201...2011_39_37.jpg
Znurre no ha iniciado sesión   Reply With Quote
Old 07-21-2009, 07:41 AM   #7
KnuckOne
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Anpu View Post
Load Regnum into RAM
Or cache resources :
Quote:
Originally Posted by game.cfg
[resources]
res_cache_compressed = 0
res_cache_enabled = 1
res_cache_size = 768
res_database = live_rgn
Would be nice if NGD documented those options
  Reply With Quote
Old 07-24-2009, 03:22 PM   #8
Nikor
Initiate
 
Join Date: Jun 2007
Posts: 159
Nikor is on a distinguished road
Default

Quote:
Originally Posted by platyna View Post
Code:
renice 19 `ps axu | grep game | head -n 1 | awk '{print $2}'`
What's wrong with
Code:
renice 19 `pidof game`
?
__________________
Ra: Lucinda {Silverbow,Wintersun,Ironfist}
Horus: Laleja - Conjurer (42)
Retired: Laleja / Faer / Nalys Silverbow / Tain / Vorr
Nikor no ha iniciado sesión   Reply With Quote
Old 07-24-2009, 04:46 PM   #9
_dracus_
Count
 
_dracus_'s Avatar
 
Join Date: Jul 2007
Location: Toulouse
Posts: 1,335
_dracus_ is on a distinguished road
Default

Quote:
Originally Posted by Nikor View Post
What's wrong with
Code:
renice 19 `pidof game`
?
It's not leet enought if you don't use awk!

Ok I was kidding. It's really common to write thoses kind of code for script since you don't really care if it's efficient or not, what matters is that it works (in a short time).
__________________
« Thanks all, you are right I'm great with the barbarian ... for killing mobs. » -- Athena Stillwater
_dracus_ no ha iniciado sesión   Reply With Quote
Old 07-24-2009, 05:23 PM   #10
-Drv-
Apprentice
 
-Drv-'s Avatar
 
Join Date: Oct 2007
Location: L'Aquila, Italy
Posts: 77
-Drv- is on a distinguished road
Default

Quote:
Originally Posted by platyna View Post
6. Use safe mode, however turning it on has some bugs (eg likes to wear off between logins), plus turn off unnecessary eye candies (set your options exactly like on pictures below)
unfortunately if you play without particle effects some spell animation aren't shown (mobility, strategic position, stun effects, etc...)* this could be a problem.

Quote:
Originally Posted by platyna View Post
7. Few notes about sound: as several people pointed out - turning off the sound is also performance gain, however keeping the sound on (at least for me) improves game play, so I am leaving it up to your consideration.
if you play not only at forts sound is really useful to detect enemies buffing or levelling, without sound you'll be taken by surprise really a lot more.

*at least on my pc
__________________
-Drv- no ha iniciado sesión   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:04 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
NGD Studios 2002-2024 © All rights reserved