nexuiz freezing for a couple sec while playing[SOLVED]

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

Postby liolak » Mon Apr 07, 2008 3:35 am

well i finally have a good news, i found a way to stop nexuiz from freezing. But i dont feel completely satisfied because I dont know what was causing it to happen.

what i did is use the n_lo.cfg config as stated in this post:
http://www.alientrap.org/forum/viewtopic.php?t=1628

and enable vertical refresh rate sync.

what i would like to understand is why when i use this config (in witch there is line that set nexuiz to use 800*600 resolution) the real monitor resolution switch to 1600*1200 instead of 800*600.

i tried to use only vertical sync , but that way nexuiz was still freezing and gave the impression that everyting was real slowwww.

only the combination of n_lo.cfg and vertical sync(70fps) stop the freezing and give fast and smooth gameplay, even smoother then when it is at 300fps

any enlightment on what is really happening would be much appreciated.
thanks for all the suggestions that where proposed to me.
liolak
Alien
 
Posts: 114
Joined: Fri Jan 25, 2008 12:16 am
Location: Montréal, Canada

Postby liolak » Fri Apr 11, 2008 4:29 am

after 1 week of playing around and monitoring everything i found out what is causing the freeze. What happen is that another process (named xorg) at a random interval goes up to 90% cpu usage for a period of 1 second. this cause all other process including nexuiz to be ressource less and it freeze for 1 or 2 sec.

Ive manage to raise priority for nexuiz with renice command enought for it to be over xorg and not freeze....but this render mouse and keyboard input very jerky. so raising priority is not the good solution.

What I need to find out is what does xorg do every now and then to take so much ressources...at that point im clueless and need some help from a linux guru on how to determine what is happening and how to fix it.

by the way during this week of foolling around to determine the source of the problem i have reinstall os with ubuntu desktop...it did not make any difference.

Really need help on this , i feel im getting closer to fix this damn issue.
Thanks
liolak
Alien
 
Posts: 114
Joined: Fri Jan 25, 2008 12:16 am
Location: Montréal, Canada

Postby pavlvs327 » Fri Apr 11, 2008 7:45 pm

Ah yes, I raise Nexuiz's priority also. To fix the mouse jerkiness, find out which process is your mouse driver or HAL and raise its priority as well.
pavlvs327
Advanced member
 
Posts: 86
Joined: Mon Aug 27, 2007 9:05 pm

Postby liolak » Tue Apr 15, 2008 3:50 pm

Thanks pavlus, that seem to help things a lot....in fact it give quite good results with mouse priority raised too. now i just need to automated those 2 things when starting nexuiz and try it more to see if it is solve completely
liolak
Alien
 
Posts: 114
Joined: Fri Jan 25, 2008 12:16 am
Location: Montréal, Canada

Postby liolak » Thu Apr 17, 2008 6:03 pm

problem seem completely fixed now, ill research more how to automate all those priority change at each starting of nexuiz. but consider this as solved
liolak
Alien
 
Posts: 114
Joined: Fri Jan 25, 2008 12:16 am
Location: Montréal, Canada

Postby GreEn`mArine » Thu Apr 17, 2008 9:36 pm

with WIndoze this wouldn't have happened ™
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 liolak » Fri Apr 25, 2008 4:39 pm

upgrading to ubuntu 8.04 seems to remove the needs to do all this priority changing stuff :)
liolak
Alien
 
Posts: 114
Joined: Fri Jan 25, 2008 12:16 am
Location: Montréal, Canada

Previous

Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron