OpenArena Message Boards

OpenArena => Technical Snafus => Topic started by: schlorri on May 30, 2009, 09:58:46 AM



Title: Help my Fps are unstable
Post by: schlorri on May 30, 2009, 09:58:46 AM
Hi,

im searched a while now, but i dont find anything :(.
I'm using a Radeon 9700 Video Card on Debian Gnu/Linux. My FPS are always unstable in Openarena(and then it feels so laggy sometimes). When i set com_maxfps to 125, FPS counter shows 90-125. When i set com_maxfps to 333 FPS counter shows 280-333 and when i set com_maxfps to 60, 40-60. This was tested at 1024x768, 800x600 and 640x480(thats strange i think, no more fps on lower resolution).

In onlineplay it lags sometimes so much when many ppl are shooting(LG and NG then cause BIG 0,5 sec long lags)

Direct Rendering works and i get 3500 fps at glxgears.

Please give me some cvars, i must play with a total low config :(

thank you

schlorri


Title: Re: Help my Fps are unstable
Post by: fromhell on May 30, 2009, 02:00:21 PM
Try catalyst 9.3?

Try turning off dynamic light?

YOU DON'T NEED TO SWITCH TO VERTEX LIGHT


Title: Re: Help my Fps are unstable
Post by: pulchr on May 30, 2009, 02:29:33 PM
VERTEX! VERTEX! VERTEX! VERTEX! ;D


Title: Re: Help my Fps are unstable
Post by: MIOW on May 30, 2009, 02:55:42 PM
That's from my current config (extremely low i think):
Quote
seta cg_noProjectileTrail "1"
seta cg_noTaunt "1"
seta cg_brassTime "0"
seta cg_deferPlayers "1"
seta cg_gibs "0"
seta cg_marks "0"
seta cg_shadows "0"
seta com_blood "0"
seta cg_scorePlums "0"
seta r_vertexLight "1"
seta r_textureMode "GL_LINEAR_MIPMAP_NEAREST" // "GL_NEAREST_MIPMAP_NEAREST" could give more perfomance, but better to avoid using it
seta r_lodbias "2"
seta r_subdivisions "80"
seta r_roundImagesDown "2"
seta cg_forceModel "1"
seta r_facePlaneCull "1"
seta r_primitives "0"
seta cg_simpleItems "1"
seta r_swapInterval "0"
seta r_finish "0"
seta r_dynamiclight "0"
seta r_ignoreGLErrors "1"
seta r_fastsky "1"
seta r_drawSun "0"
seta r_ignoreFastPath "1"
seta r_simpleMipMaps "1"
seta r_ext_gamma_control "1"
seta r_ext_multitexture "1"
seta r_ext_compiled_vertex_array "1"
seta r_ext_texture_env_add "1"
seta r_ext_texture_filter_anisotropic "0"
seta r_detailtextures "0"
seta r_nocull "0"
seta r_measureOverDraw "0"
seta r_flares "0"
seta r_bloom "0"
seta r_stereo "0"
seta r_stereoEnabled "0"
However, if listed above is not enough:
Quote
seta r_ext_compress_textures "1"
seta r_ext_compressed_textures "1"
And if still not enough, then decreasing of these variables might help a bit:
Quote
seta r_texturebits "16"
seta r_colorbits "16"
seta r_depthbits "16"
r_p1cmip and r_mode (resolution) don't affect fps noticeable...


Title: Re: Help my Fps are unstable
Post by: PopeJo on May 30, 2009, 03:06:37 PM
r_p1cmip and r_mode (resolution) don't affect fps noticeable...

I'm with miow, besides one point: r_mode can help
for example, if you're on a widescreen. instead of using 1920x1080 you can try 800x600


Code:
set r_mode				"-1" // 
set r_customwidth "800" // "1920"
set r_customheight "600" // "1080"


Title: Re: Help my Fps are unstable
Post by: schlorri on May 30, 2009, 04:29:11 PM
Hi and thanks for your replies,

Try catalyst 9.3?

Try turning off dynamic light?

YOU DON'T NEED TO SWITCH TO VERTEX LIGHT

Im using the 9.3 Catalyst and dynamic light is turned off already :(

That's from my current config (extremely low i think):
Quote
seta cg_noProjectileTrail "1"
seta cg_noTaunt "1"
seta cg_brassTime "0"
seta cg_deferPlayers "1"
seta cg_gibs "0"
seta cg_marks "0"
seta cg_shadows "0"
seta com_blood "0"
seta cg_scorePlums "0"
seta r_vertexLight "1"
seta r_textureMode "GL_LINEAR_MIPMAP_NEAREST" // "GL_NEAREST_MIPMAP_NEAREST" could give more perfomance, but better to avoid using it
seta r_lodbias "2"
seta r_subdivisions "80"
seta r_roundImagesDown "2"
seta cg_forceModel "1"
seta r_facePlaneCull "1"
seta r_primitives "0"
seta cg_simpleItems "1"
seta r_swapInterval "0"
seta r_finish "0"
seta r_dynamiclight "0"
seta r_ignoreGLErrors "1"
seta r_fastsky "1"
seta r_drawSun "0"
seta r_ignoreFastPath "1"
seta r_simpleMipMaps "1"
seta r_ext_gamma_control "1"
seta r_ext_multitexture "1"
seta r_ext_compiled_vertex_array "1"
seta r_ext_texture_env_add "1"
seta r_ext_texture_filter_anisotropic "0"
seta r_detailtextures "0"
seta r_nocull "0"
seta r_measureOverDraw "0"
seta r_flares "0"
seta r_bloom "0"
seta r_stereo "0"
seta r_stereoEnabled "0"
However, if listed above is not enough:
Quote
seta r_ext_compress_textures "1"
seta r_ext_compressed_textures "1"
And if still not enough, then decreasing of these variables might help a bit:
Quote
seta r_texturebits "16"
seta r_colorbits "16"
seta r_depthbits "16"
r_p1cmip and r_mode (resolution) don't affect fps noticeable...


my config looks same to yours, but i tried this one -> same problem but i think its a bit better THANKS :(

r_p1cmip and r_mode (resolution) don't affect fps noticeable...

I'm with miow, besides one point: r_mode can help
for example, if you're on a widescreen. instead of using 1920x1080 you can try 800x600


Code:
set r_mode				"-1" // 
set r_customwidth "800" // "1920"
set r_customheight "600" // "1080"

Dont play with Widescreen, but tried already some resolutions. But i think my card can hande a game like this? I dont understand that, maybe my netsetting are **ap?

Quote
seta snaps "20"                           //tried 30 and 40 too
seta rate "25000"
seta cl_packetdup "0"
seta cl_maxpackets "125"

seems ok with DSL 20000? (testet my connection 2,5 mb/s down 120 kb/s up, latency is ok)


thank you all !!!

schlorri




Title: Re: Help my Fps are unstable
Post by: fromhell on May 31, 2009, 02:17:37 AM
But i think my card can hande a game like this?


it does, dont worry, even the previous radeons handle OA fine at max.
use of OpenAL could also be a problem to the CPU, try s_useOpenAL 0

FPS fluctuations (espeically in the hundreds) are normal.


Title: Re: Help my Fps are unstable
Post by: schlorri on May 31, 2009, 03:41:21 AM
But i think my card can hande a game like this?


it does, dont worry, even the previous radeons handle OA fine at max.
use of OpenAL could also be a problem to the CPU, try s_useOpenAL 0

FPS fluctuations (espeically in the hundreds) are normal.

Deactivated yesterday... and its really a bit better i think, but the sound is poorer(i can live with that).
I'll compile the newest kernel today, maybe something is wrong with it.
Can someone tell me her/his output of fgl_glxgears of an radeon 9500-9800?

thank you and have a nice day :)

schlorri.


Title: Re: Help my Fps are unstable
Post by: kernel panic on May 31, 2009, 04:59:05 AM
That's my card too...well, almost, mine is a mobility radeon. I know _exactly_ what you are talking about. The card has enough horse power to run most of the maps with reasonable level of detail at stable 125 FPS--no, no vertex needed--only that it doesn't do it in Linux. I played with many Fglrx versions, compiled lots of times the whole OSS graphics stack (2D and 3D drivers, libdrm and drm.ko), tried it with different X server versions...until I got sick of it. I play on Windows XP now...Since this may not be an acceptable workaround for you, all you have left is hoping for the best with the new radeon rewrite thing and all the coming changes in the drivers infrastructure (I wait for this too).


Title: Re: Help my Fps are unstable
Post by: schlorri on May 31, 2009, 05:07:06 AM
That's my card too...well, almost, mine is a mobility radeon. I know _exactly_ what you are talking about. The card has enough horse power to run most of the maps with reasonable level of detail at stable 125 FPS--no, no vertex needed--only that it doesn't do it in Linux. I played with many Fglrx versions, compiled lots of times the whole OSS graphics stack (2D and 3D drivers, libdrm and drm.ko), tried it with different X server versions...until I got sick of it. I play on Windows XP now...Since this may not be an acceptable workaround for you, all you have left is hoping for the best with the new radeon rewrite thing and all the coming changes in the drivers infrastructure (I wait for this too).

Sorry kernel panic, thats really bad news :(
I dont want to install Windows!!!

but thank you fellow sufferer

schlorri


Title: Re: Help my Fps are unstable
Post by: schlorri on June 01, 2009, 05:39:06 AM
Ok, i (better: one nice person on the evil-ctf-server :) ... THANK YOU SO MUCH ) found the reason for the extreme lagging when many players are on the server. For some reason cg_nodelta was set to 1. And when i tried the default config my fps were unstable(on 640x480 :( ), i thougt this is the same problem. Now only my fps are unstable, especially on maps like sago2(i dont understand that, whats so intense on sago? the windows?)

When you have problems with hard lagging AND your demosize grows really fast: take a look at your cg_nodelta cvar .


best regards

schlorri (ingame a clown :D)


Title: Re: Help my Fps are unstable
Post by: pulchr on June 01, 2009, 10:53:07 AM
ah, so you're the clown i played last night :D


Title: Re: Help my Fps are unstable
Post by: schlorri on June 02, 2009, 10:22:06 AM
ah, so you're the clown i played last night :D

yeah, thats me! Was it funny to play against a clown?


Title: Re: Help my Fps are unstable
Post by: pulchr on June 02, 2009, 11:42:22 AM
ah, so you're the clown i played last night :D

yeah, thats me! Was it funny to play against a clown?

yes! i'm looking forward to the next time! i'll bring my robe and wizard hat!


Title: Re: Help my Fps are unstable
Post by: jessicaRA on June 02, 2009, 06:03:41 PM
my fps problems seem to be caused by sound, only way to solve it even after most recent drivers is s_initsound 0.  it appears some sounds cause lags in the engine.  like if there are lots of people on a map lots of quiet footsteps far away the fps can be like 20.  lots plasma climbing in defrag can slow the game to a halt etc.  it seems the same case on 2 pcs the common thing is both use a creative sound card but of different models.  one is a sound blaster audigy 2 se this one is an x-fi card.  playing without sound sucks though so kinda trying to put up with it and using that patched sdl.dll to keep the mouse input kinda accurate-ish during lag.