Author Topic: Random lag spikes, Trem-Specific  (Read 7320 times)

Steely Ann

  • Posts: 752
  • Turrets: +106/-88
Random lag spikes, Trem-Specific
« on: September 24, 2008, 09:59:19 pm »
Because bullets are smexy:
• When playing Tremulous online, I 999 about once a minute every minute for 1-2 seconds.  It then returns to normal until the next lag cycle.
• The same behavior does not occur when I play Half-Life 2, Operation Flashpoint, etc. online.
• This behavior does not occur when I create my own game.  I've mulled around ATCS for twenty minutes without hiccups.
• I know of two other Trem players who have the same problem.

I'm thinking that I've configured something in Tremulous wrongly since I've had the same issue with a different computer.  I've searched the forums for the problem but haven't come up with anything.  If there's a resolved thread on it, call me a dumbass and link me to it please. ;)

My autogen and Universal .cfg's:
Code: [Select]
**Autoexec.cfg**
// generated by tremulous, do not modify
unbindall
bind TAB "+scores"
bind ENTER "boost"
bind ESCAPE "togglemenu"
bind R "messagemode"
bind T "messagemode2"
bind \ "pad_comm_init"
bind ` "toggleconsole"
bind a "buy helmet;buy larmour"
bind f "buy battpack"
bind g "buy gren"
bind r "messagemode"
bind s "buy bsuit"
bind x "sell upgrades"
bind z "sell weapons"
bind ~ "toggleconsole"
bind UPARROW "+forward"
bind DOWNARROW "+back"
bind LEFTARROW "+moveleft"
bind RIGHTARROW "+moveright"
bind CTRL "+movedown"
bind SHIFT "+moveup"
bind INS "+button3"
bind DEL "itemact medkit"
bind PGDN "toggle jetpack"
bind END "reload"
bind F1 "vote yes;teamvote yes"
bind F2 "vote no;teamvote no"
bind F3 "team Humans;exec humans.cfg"
bind F4 "team Aliens;exec aliens.cfg"
bind F5 "team spectate;exec universal.cfg"
bind F11 "screenshotJPEG"
bind KP_LEFTARROW "vstr tossnade"
bind KP_END "itemtoggle blaster"
bind KP_ENTER "vstr class_buying"
bind KP_INS "screenshotJPEG"
bind KP_DEL "vstr pad_comm_init2"
bind MOUSE1 "+attack"
bind MOUSE2 "+button5"
bind MOUSE3 "+button2"
bind MWHEELDOWN "weapnext"
bind MWHEELUP "weapprev"
seta cl_consoleHistory "4 0 4 \qui 12 0 12 \buy lcannon 12 0 12 \buy lcannon 12 0 12 \buy lcannon 12 0 12 \buy lcannon 11 0 11 \disconnect 11 0 11 \disconnect 9 0 9 \donate 4 15 0 15 \exec dmiat.cfg 16 0 16 \exec inside.cfg 13 0 13 \condump four 12 0 12 \share unn 1 6 0 6 \!info 12 0 12 \share unn 3 13 0 13 \share stus 1 13 0 13 \share ripe 1 12 0 12 \share xen 4 9 0 9 \donate 6 9 0 9 \donate 6 15 0 15 \exec that4.cfg 9 0 9 \donate 6 13 0 13 \condump head 11 0 11 \disconnect 19 0 19 \bind d deconstruct 7 0 7 \bind d 11 0 11 \disconnect 13 0 13 \bind button7 11 0 11 \disconnect 11 0 11 \disconnect 8 0 8 \disconnect 10 0 10 \!rotation "
seta cg_trueLightning "0.0"
seta cg_oldPlasma "1"
seta cg_oldRocket "1"
seta cg_oldRail "1"
seta cg_noProjectileTrail "0"
seta cg_noTaunt "0"
seta cg_smoothClients "0"
seta cg_scorePlums "1"
seta cg_cameraOrbitDelay "50"
seta cg_tutorial "0"
seta cg_disableScannerPlane "0"
seta cg_disableWarningDialogs "0"
seta cg_lightFlare "3"
seta cg_consoleLatency "3000"
seta cg_depthSortParticles "1"
seta cg_wwToggle "1"
seta cg_wwFollow "1"
seta cg_wwSmoothTime "300"
seta cg_creepRes "16"
seta cg_noVoiceText "0"
seta cg_noVoiceChats "0"
seta cg_teamChatsOnly "0"
seta cg_drawFriend "1"
seta cg_drawTeamOverlay "0"
seta cg_deferPlayers "1"
seta cg_forceModel "0"
seta cg_teamChatHeight "0"
seta cg_teamChatTime "3000"
seta cg_bobroll "0.002"
seta cg_bobpitch "0.002"
seta cg_runroll "0.005"
seta cg_runpitch "0.002"
seta cg_railTrailTime "400"
seta cg_teslaTrailTime "250"
seta cg_lagometer "1"
seta cg_simpleItems "0"
seta cg_crosshairY "0"
seta cg_crosshairX "0"
seta cg_drawRewards "1"
seta cg_drawAttacker "1"
seta cg_drawAmmoWarning "1"
seta cg_drawIcons "1"
seta cg_draw3dIcons "1"
seta cg_drawSnapshot "0"
seta cg_drawDemoState "1"
seta cg_drawFPS "1"
seta cg_drawTimer "1"
seta cg_drawStatus "1"
seta cg_draw2D "1"
seta cg_gibs "1"
seta cg_stereoSeparation "0.4"
seta cg_fov "90"
seta cg_zoomfov "22.5"
seta cg_drawGun "1"
seta g_initialMapRotation ""
seta g_allowVote "1"
seta g_filterBan "1"
seta g_banIPs ""
seta g_logFileSync "0"
seta g_logFile "games.log"
seta g_teamForceBalance "0"
seta g_teamAutoJoin "0"
seta g_friendlyFire "0"
seta g_suddenDeathTime "0"
seta g_maxGameClients "0"
seta cm_playerCurveClip "1"
seta net_socksPassword ""
seta net_socksUsername ""
seta net_socksPort "1080"
seta net_socksServer ""
seta net_socksEnabled "0"
seta net_noipx "0"
seta net_noudp "0"
seta ui_serverStatusTimeOut "7000"
seta capturelimit "8"
seta g_warmup "20"
seta ui_teamArenaFirstRun "1"
seta ui_recordSPDemo "0"
seta cg_hudFiles "ui/hud.txt"
seta ui_q3model "0"
seta ui_findPlayer "aod"
seta ui_bigFont "0.5"
seta ui_smallFont "0.2"
seta ui_scoreShutoutBonus "0"
seta ui_scoreSkillBonus "0"
seta ui_scoreTimeBonus "0"
seta ui_scoreTime "00:00"
seta ui_scoreBase "0"
seta ui_scoreTeam "0 to 0"
seta ui_scorePerfect "0"
seta ui_scoreScore "0"
seta ui_scoreGauntlets "0"
seta ui_scoreAssists "0"
seta ui_scoreDefends "0"
seta ui_scoreCaptures "0"
seta ui_scoreExcellents "0"
seta ui_scoreImpressives "0"
seta ui_scoreAccuracy "0%"
seta ui_lastServerRefresh_3 "Sep-24, 2008 at 9:14"
seta ui_lastServerRefresh_2 "Sep-24, 2008 at 15:36"
seta ui_lastServerRefresh_1 ""
seta ui_lastServerRefresh_0 "Sep-24, 2008 at 9:14"
seta cg_selectedPlayerName "Steely Ann"
seta cg_selectedPlayer "1"
seta ui_currentOpponent "0"
seta ui_mapIndex "0"
seta ui_currentNetMap "0"
seta ui_currentMap "0"
seta ui_currentTier "0"
seta ui_menuFiles "ui/menus.txt"
seta ui_netSource "2"
seta ui_blueteam5 "0"
seta ui_blueteam4 "0"
seta ui_blueteam3 "0"
seta ui_blueteam2 "0"
seta ui_blueteam1 "0"
seta ui_redteam5 "0"
seta ui_redteam4 "0"
seta ui_redteam3 "0"
seta ui_redteam2 "0"
seta ui_redteam1 "0"
seta ui_actualNetGametype "3"
seta ui_netGametype "3"
seta ui_joinGametype "0"
seta ui_gametype "3"
seta ui_dedicated "0"
seta ui_blueteam "Stroggs"
seta ui_redteam "Pagans"
seta ui_opponentName "Stroggs"
seta ui_teamName "Pagans"
seta server16 ""
seta server15 ""
seta server14 ""
seta server13 ""
seta server12 ""
seta server11 ""
seta server10 ""
seta server9 ""
seta server8 ""
seta server7 ""
seta server6 ""
seta server5 ""
seta server4 ""
seta server3 ""
seta server2 ""
seta server1 ""
seta cg_marks "1"
seta cg_drawCrosshairNames "1"
seta cg_drawCrosshair "4"
seta cg_brassTime "2500"
seta ui_browserShowEmpty "1"
seta ui_browserShowFull "1"
seta ui_browserSortKey "4"
seta ui_browserGameType "0"
seta ui_browserMaster "0"
seta g_spSkill "2"
seta g_spVideos ""
seta g_spAwards ""
seta g_spScores5 ""
seta g_spScores4 ""
seta g_spScores3 ""
seta g_spScores2 ""
seta g_spScores1 ""
seta ui_ctf_friendly "0"
seta ui_ctf_timelimit "30"
seta ui_ctf_capturelimit "8"
seta ui_team_friendly "1"
seta ui_team_timelimit "20"
seta ui_team_fraglimit "0"
seta ui_tourney_timelimit "15"
seta ui_tourney_fraglimit "0"
seta ui_ffa_timelimit "0"
seta ui_ffa_fraglimit "20"
seta com_soundMegs "8"
seta s_mixPreStep "0.05"
seta s_mixahead "0.2"
seta s_khz "44"
seta s_useOpenAL "0"
seta s_doppler "1"
seta s_musicvolume "0.5"
seta s_volume "1"
seta r_lastValidRenderer "GeForce 8400 GS/PCI/SSE2/3DNOW!"
seta win_allowAltTab "1"
seta vid_ypos "22"
seta vid_xpos "3"
seta r_GLlibCoolDownMsec "0"
seta cg_shadows "1"
seta r_primitives "0"
seta r_railSegmentLength "32"
seta r_railCoreWidth "6"
seta r_railWidth "16"
seta r_facePlaneCull "1"
seta r_gamma "1.359375"
seta r_swapInterval "0"
seta r_textureMode "GL_LINEAR_MIPMAP_LINEAR"
seta r_finish "0"
seta r_dlightBacks "1"
seta r_dynamiclight "1"
seta r_drawSun "0"
seta r_fastsky "0"
seta r_ignoreGLErrors "1"
seta r_flares "0"
seta r_lodbias "0"
seta r_lodCurveError "250"
seta r_ignoreFastPath "1"
seta r_smp "0"
seta r_subdivisions "4"
seta r_vertexLight "0"
seta r_simpleMipMaps "1"
seta r_customaspect "1"
seta r_customheight "1024"
seta r_customwidth "1600"
seta r_fullscreen "1"
seta r_mode "8"
seta r_ignorehwgamma "0"
seta r_overBrightBits "1"
seta r_depthbits "24"
seta r_stencilbits "8"
seta r_stereo "0"
seta r_colorbits "32"
seta r_texturebits "32"
seta r_detailtextures "1"
seta r_roundImagesDown "1"
seta r_picmip "0"
seta r_ext_texture_env_add "0"
seta r_ext_compiled_vertex_array "1"
seta r_ext_multitexture "1"
seta r_ext_gamma_control "1"
seta r_ext_compressed_textures "0"
seta r_allowExtensions "1"
seta r_glDriver "opengl32"
seta cg_viewsize "100.000000"
seta cg_predictItems "1"
seta cl_anonymous "0"
seta sex "male"
seta handicap "100"
seta color2 "5"
seta color1 "4"
seta g_blueTeam "Stroggs"
seta g_redTeam "Pagans"
seta team_headmodel "*james"
seta team_model "james"
seta headmodel "sarge"
seta model "sarge"
seta snaps "40"
seta rate "25000"
seta name "Steely ^5A^7nn"
seta cl_guidServerUniq "1"
seta cl_maxPing "300"
seta m_filter "1"
seta m_side "0.25"
seta m_forward "0.25"
seta m_yaw "0.022"
seta m_pitch "0.022"
seta cg_autoswitch "1"
seta r_inGameVideo "1"
seta cl_cURLLib "libcurl-3.dll"
seta cl_wwwDownload "1"
seta cl_allowDownload "1"
seta cl_freelook "1"
seta cl_mouseAccel "0"
seta sensitivity "30.000000"
seta cl_run "1"
seta cl_packetdup "1"
seta cl_maxpackets "125"
seta cl_pitchspeed "140"
seta cl_yawspeed "140"
seta cl_aviMotionJpeg "1"
seta cl_aviFrameRate "25"
seta cl_autoRecordDemo "0"
seta sv_lanForceRate "1"
seta sv_master5 ""
seta sv_master4 ""
seta sv_master3 ""
seta sv_master2 ""
seta sv_wwwBaseURL "http://tremcentral.com"
seta sv_wwwDownload "1"
seta sv_maxPing "0"
seta sv_minPing "0"
seta sv_maxRate "0"
seta sv_maxclients "10"
seta sv_hostname "noname"
seta timelimit "0"
seta vm_ui "2"
seta vm_game "2"
seta vm_cgame "2"
seta joy_threshold "0.15"
seta in_joyBallScale "0.02"
seta in_joystick "0"
seta in_logitechbug "0"
seta in_mouse "1"
seta in_mididevice "0"
seta in_midichannel "1"
seta in_midiport "1"
seta in_midi "0"
seta com_blood "1"
seta com_maxfps "85"
seta com_altivec "0"
seta com_hunkMegs "512"
seta com_zoneMegs "24"

**Universal.cfg**
// Spec controls.
bind TAB "+scores"
bind ESCAPE "togglemenu"
bind ` "toggleconsole"
bind ~ "toggleconsole"
bind R "messagemode" // Fails.  Weird.
bind T "messagemode2" // ditto
bind UPARROW "+forward"
bind DOWNARROW "+back"
bind LEFTARROW "+moveleft"
bind RIGHTARROW "+moveright"
bind F11 "screenshotJPEG"
bind KP_INS "screenshotJPEG"
bind end "reload"
// ^ Also does structure protection for designated builders.
bind mouse3 "+button2"
bind mouse2 "+button5"
bind mouse1 "+attack"
bind shift "+moveup"
bind ctrl "+movedown"
bind mwheelup "weapprev"
bind mwheeldown "weapnext"



// Other crap.
seta snaps "40"
seta rate "25000"
seta cl_maxpackets "125"
seta cl_guidServerUniq "1"
win_allowAltTab 1
set cl_allowDownload 1
bind F1 "vote yes;teamvote yes"
bind F2 "vote no;teamvote no"
bind F3 "team Humans;exec humans.cfg"
bind F4 "team Aliens;exec aliens.cfg"
bind F5 "team spectate;exec universal.cfg"
set mmset "bind r messagemode;bind t messagemode2"
vstr mmset
My humans.cfg and aliens.cfg don't mess with any settings, so they shouldn't be relevant.

And a dxdiag dump in the unlikely case that it helps: http://pastebin.com/m21941bcb
« Last Edit: September 24, 2008, 10:03:44 pm by Steely Ann »

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: Random lag spikes, Trem-Specific
« Reply #1 on: September 24, 2008, 10:53:29 pm »
that's not a lot of information, what does your lagometer look like?
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

epsy

  • Posts: 205
  • Turrets: +8/-25
    • Armagetron Advanced!
Re: Random lag spikes, Trem-Specific
« Reply #2 on: September 24, 2008, 11:01:23 pm »
Did you check if it is a server <--> your home link issue? it can happen, that eg. you live in berlin and your packets transit trough new york to get to munich, if you see what i mean :) Try checking what countries the servers you connect to are from (and tell us where you come from, and what's your ISP, too).
If you use linux or OSX, I'll recommend using the XQF server browser for that task. Otherwise you will just have to get the IPs manually (start here)

Also, is there any P2P user around in your network? Who knows..

What framerates are you generally getting? It might be caused by hardware lag, trough I would doubt it as well.
Warning: All opinions expressed in my posts are mine and mine alone. Any connection to any group I am affiliated with - be it the ArmagetronAd Developers or any other group, is purely coincidental unless otherwise expressly stated. Don't be a dolt when you read my posts, as they *may* require some brainpower and thinking (also purely coincidental). Any opinion in my posts not expressed by me are purely figments of your imagination and will be dealt with accordingly.
SigTemplate by Khasla.

Steely Ann

  • Posts: 752
  • Turrets: +106/-88
Re: Random lag spikes, Trem-Specific
« Reply #3 on: September 24, 2008, 11:15:02 pm »
Sorry about the lack of info, kev.  I wasn't really sure what to give.

Lagometer stuff, played on Alcoholics Anonymous.
Normal:

During:

Immediately after:


Anything else I could give you?

@espy:  Thing is, I've never encountered this problem with other games, so I don't think it's strictly a connection issue.  As for the OS, I use Windows XP SP3, as evident in my dxdiag dump.  Framerate is consistent at 90fps aside from the damnable spikes.  IIRC AA is in the US, as am I.
« Last Edit: September 24, 2008, 11:34:38 pm by Steely Ann »

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: Random lag spikes, Trem-Specific
« Reply #4 on: September 25, 2008, 12:01:24 am »
i don't think this is very likely to be the problem, but try setting trem's cpu affinity to just one cpu. (also what client are you using?)
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

Steely Ann

  • Posts: 752
  • Turrets: +106/-88
Re: Random lag spikes, Trem-Specific
« Reply #5 on: September 25, 2008, 12:08:50 am »
I'm using tjw's backport.  I've had to do the affinity tweak before with some of my games (sound problems, skipping frames, etc.) so sure, I'll try that and playtest it however unlikely it is.  It hadn't quite occurred to me.

e:  Bleh.  No effect.
« Last Edit: September 25, 2008, 12:18:47 am by Steely Ann »

Archangel

  • Guest
Re: Random lag spikes, Trem-Specific
« Reply #6 on: September 25, 2008, 12:16:51 am »
AA is located in New York, afaik.

Try using trem-servers.com's backport, or the MG client. Perhaps a newer SVN will fix your issue.

Steely Ann

  • Posts: 752
  • Turrets: +106/-88
Re: Random lag spikes, Trem-Specific
« Reply #7 on: September 25, 2008, 12:20:28 am »
words
Weren't you one of the folks who said they had the same prob?  Or was that a plain "Arch"?  Fever's fuxxing my memory.
Anyhow, I s'pose I'll go ahead and try that.  Can't hurt.

Rocinante

  • Posts: 642
  • Turrets: +252/-668
    • My Homepage
Re: Random lag spikes, Trem-Specific
« Reply #8 on: September 25, 2008, 06:43:48 am »
I don't know that this will help much, but I saw similar things and blame it on network.

My laptop (Mac OS) would do the same thing, only while I'm at work.  If I connected to the local server (on a desktop machine next to the laptop) I was fine, and every so often others would complain - everyone, that is - that they'd 999 for a second or two every so often.  On the other hand, if I connected to somewhere else, such as PureTremulous, I'd see it while nobody else did.

I never figured out what was going on with the network, but as it only affected UDP-based gaming from what I could tell and only while I'm at work, I didn't expend too much energy on it.
}MG{Mercenaries Guild
"On my ship, the Rocinante, wheeling through the galaxies, headed for the heart of Cygnus, headlong into mystery." -- Rush, "Cygnus X-1"

+ OPTIMUS +

  • Posts: 1098
  • Turrets: +263/-164
Re: Random lag spikes, Trem-Specific
« Reply #9 on: September 25, 2008, 11:19:36 am »
but as only while I'm at work, I didn't expend too much energy on it.

not playing while working would mean the death of OPTIMUS ;-)
success is the ability to go from failure to failure without losing your enthusiasm

+PICS+

UniqPhoeniX

  • Spam Killer
  • *
  • Posts: 1376
  • Turrets: +66/-32
Re: Random lag spikes, Trem-Specific
« Reply #10 on: September 25, 2008, 11:25:51 am »
Had exactly the same problem yesterday, but... err way more often then once a minute... On Amsterdam Unlimited and only for a hour or two i think, couldn't even reconnect to server for several minutes at a time. It has never happened before and I usually get about 50 ping there. The first time it happened it lasted over half a minute and by the time I got back everyone was ofc disconnected and server running like nothing happened except the lag spikes. Later another player didn't have lag during one of the 10 second lag spikes, but did after that.

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Random lag spikes, Trem-Specific
« Reply #11 on: September 25, 2008, 01:13:18 pm »
Yes the internet is shit and often has problems.  If its just you wait it out or do something else, if its everyone find a better server.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

==Troy==

  • Posts: 440
  • Turrets: +65/-67
Re: Random lag spikes, Trem-Specific
« Reply #12 on: September 25, 2008, 01:18:11 pm »
Always hapenned to me in Quake3, every 1-2 minutes you get 999 spike, and then it calms down till the next go. Was very annoying and made me switch to wolfET that time, since I did not find the solution. (I even re-installed the system completely with the new quake, and played on different servers, and still had that problem).

Edit : I did not have that problem in wolfET though.
« Last Edit: September 25, 2008, 01:20:27 pm by ==Troy== »

Lava Croft

  • Guest
Re: Random lag spikes, Trem-Specific
« Reply #13 on: September 25, 2008, 01:28:56 pm »
It's a long shot, but maybe you can find some useful information here.

Don't get your hopes up though. :overmind:

+ OPTIMUS +

  • Posts: 1098
  • Turrets: +263/-164
Re: Random lag spikes, Trem-Specific
« Reply #14 on: September 25, 2008, 02:02:44 pm »
Yes the internet is shit and often has problems.  If its just you wait it out or do something else, if its everyone find a better server.

its server independent, i had it also. but it was gone.
success is the ability to go from failure to failure without losing your enthusiasm

+PICS+

UniqPhoeniX

  • Spam Killer
  • *
  • Posts: 1376
  • Turrets: +66/-32

Steely Ann

  • Posts: 752
  • Turrets: +106/-88
Re: Random lag spikes, Trem-Specific
« Reply #16 on: September 26, 2008, 08:06:02 am »
Been using the MG client with snaps set back to 20 and continuing to play on AA (as I said, it happens everywhere anyway).  It takes quite a bit longer between pauses now for whatever reason (anywhere from 8-30m) and each is about half the duration, judging by the lagometer.  Not a fix but makes it much more playable, so meh.
« Last Edit: September 26, 2008, 08:45:06 am by Steely Ann »

FedoraMan

  • Posts: 7
  • Turrets: +1/-1
Re: Random lag spikes, Trem-Specific
« Reply #17 on: September 26, 2008, 11:55:38 pm »
words
Weren't you one of the folks who said they had the same prob?  Or was that a plain "Arch"?  Fever's fuxxing my memory.
Anyhow, I s'pose I'll go ahead and try that.  Can't hurt.
I go by Fed.
I'm on Arch Linux.
Fed@Arch~
So yah.
My problem is similar, but not specific to Tremulous.
=/
I like hats.