r1ch.net forums
Welcome,
Guest
. Please
login
or
register
.
May 23, 2013, 07:30:22 am
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
r1ch.net
|
r1ch.net stuff
|
Anticheat
| Topic:
FPS drop
Pages:
[
1
]
2
All
Author
Topic: FPS drop (Read 23469 times)
Cunnilson
Member
Posts: 21
FPS drop
«
on:
August 10, 2006, 05:45:55 pm »
Hello
I'm using aprq2 1.20, in a 1.8 Ghz + 128mb RAM WinXP PC, with very little background applications & windows services (zone alarm firewall).
Apr doesn't give me any troubles at all, but since the anticheat is loaded i experienced a noticeable FPS drop.
i heard comments about this from some people at the chilean aq2 community (where i belong
)
besides that, i am very pleased with your project... keep up the good work!
Logged
Cunnilson
Member
Posts: 21
Re: FPS drop
«
Reply #1 on:
August 10, 2006, 06:04:07 pm »
Hmm now that i analyzed the problem a little more... i think it has to do with the models (md2), 'cause it only happens when there's a lot of players in picture.
to add more info, i use a 32mb video card & i play in 640*480 resolution
thanks for reading.
Logged
R1CH
Administrator
Member
Posts: 2625
Re: FPS drop
«
Reply #2 on:
August 10, 2006, 08:44:25 pm »
I've noticed that there is an FPS drop immediately after a vid_restart, but the frame rate usually comes back to normal within 2-3 secs. I have however had a rare problem where the anticheat portion uses 100% CPU time. If when you get the FPS drop, try alt+tab out of Q2 and check task manager and see if Q2 is using 100% CPU or not, this will help isolate the problem.
Logged
Cunnilson
Member
Posts: 21
Re: FPS drop
«
Reply #3 on:
August 10, 2006, 08:59:47 pm »
I will, i'll comeback with an answer
Logged
Cunnilson
Member
Posts: 21
Re: FPS drop
«
Reply #4 on:
August 10, 2006, 09:06:05 pm »
no, the peak was 56%.
and yes, i also heard about that 3 seconds fps drop, but this is constant :S
feel free to ask more about my system specs, to see if i can help with more info
Logged
R1CH
Administrator
Member
Posts: 2625
Re: FPS drop
«
Reply #5 on:
August 10, 2006, 09:08:54 pm »
What video card/driver and Windows XP Service Pack? Anticheat does require some CPU resources to do its own stuff, but it shouldn't cause too much of a CPU impact.
Logged
Cunnilson
Member
Posts: 21
Re: FPS drop
«
Reply #6 on:
August 10, 2006, 10:29:37 pm »
i got this from the apr log:
Code:
-------- [Loading Renderer] --------
ref_gl version: GL 0.01
Initializing OpenGL display
...setting mode 3: 640 480 FS
...using desktop display depth of 32
...calling CDS: ok
GL PFD: Color(32bits) Depth(24bits)
Stencil(8bits)
... Using stencil buffer
GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: RAGE 128 Pro Ultra
x86/SSE2
GL_VERSION: 1.2.1716 WinXP Release
...allowing CDS
...enabling
GL_EXT_compiled_vertex_array
...enabling WGL_EXT_swap_control
...GL_EXT_point_parameters not found
...using GL_ARB_multitexture
...GL_SGIS_multitexture deprecated in
favor of ARB_multitexture
...GL_NV_texture_rectangle not found
...GL_SGIS_generate_mipmap not found
...GL_ARB_texture_compression not
found
...GL_EXT_texture_filter_anisotropic
not found
Maximum Texture Size: 1024x1024
------------------------------------
it's not a very powerful card, only 32mb
, & the drivers i'm using are the only ones available
i'm using service pack 2 with some recent security updates
Logged
Gen
Member
Posts: 56
Re: FPS drop
«
Reply #7 on:
August 11, 2006, 01:33:15 am »
gl_ext_pointparameters 0
gl_ext_swapinterval 0
Logged
R1CH
Administrator
Member
Posts: 2625
Re: FPS drop
«
Reply #8 on:
August 11, 2006, 06:21:13 pm »
Try what Gen suggested - in your autoexec.cfg:
set gl_ext_pointparameters 0
ATI drivers don't like pointparameters for some reason.
Logged
Cunnilson
Member
Posts: 21
Re: FPS drop
«
Reply #9 on:
August 11, 2006, 10:02:24 pm »
great, i'll try it out
Logged
Cunnilson
Member
Posts: 21
Re: FPS drop
«
Reply #10 on:
August 11, 2006, 10:32:51 pm »
OK, it works, in the sense that now the fps drop is not so violent, but is still there anyway... now i can play relatively normal
, thanks for the answers
i also added gl_swapinterval "0" to my autoexec, is that ok?
Logged
R1CH
Administrator
Member
Posts: 2625
Re: FPS drop
«
Reply #11 on:
August 11, 2006, 10:35:05 pm »
gl_swapinterval 0 disables vsync which has no harm. I've also tried to do a few optimizations in the anticheat, although any FPS drop should be hardly noticable as it really doesn't use that much CPU time. How bad is the before / after FPS now?
Logged
Cunnilson
Member
Posts: 21
Re: FPS drop
«
Reply #12 on:
August 12, 2006, 04:12:56 pm »
Well, i use cl_maxfps 80 and it fluctuates between 83-30 with the anticheat.
It still looks a bit "choppy", but before gl_ext_pointparameters 0 it was unplayable
Optimizations in anticheat.dll? new version?
Logged
Cunnilson
Member
Posts: 21
Re: FPS drop
«
Reply #13 on:
August 14, 2006, 05:44:01 pm »
Is it normal that the anticheat uses about 30-50% of CPU??
I also work with some audio software but that uses between 3-10% (software that consumes lot's of CPU, like Reaktor or Live)
Logged
R1CH
Administrator
Member
Posts: 2625
Re: FPS drop
«
Reply #14 on:
August 14, 2006, 05:52:29 pm »
No, that's not normal. On my 2.4GHz P4, I see perhaps 1-2% extra CPU usage from the use of anticheat. Where are you getting the 30-50% figure from?
Logged
Pages:
[
1
]
2
All
r1ch.net
|
r1ch.net stuff
|
Anticheat
| Topic:
FPS drop
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Discussion
-----------------------------
r1ch.net stuff
-----------------------------
=> Bitchbot
=> r1dll / foobar2000 plugins
=> Other Projects
=> R1Q2
===> OpenTDM
=> Anticheat