Forum


You must be a registered user to participate in this chat.

Weird lag caused by…
 
Notifications
Clear all

Weird lag caused by punkbuster client

13 Posts
4 Users
0 Reactions
960 Views
 Zulu
(@zulu)
Estimable Member
Joined: 10 years ago
Posts: 125
Topic starter  

i haven’t found a proper solution yet however, i’ve been able to finally see and measure punkbuster effects on a fairly good rig. The end result of this PB caused lag is getting killed during weird ingame pause during shootouts when it feels clearly wrong and you had a lot of upperhand. Gun seems to stop firing for no reason but enemy gets to land theirs. Process monitor shows ET scanning etkey file a zillion times per second connected to server or not. Timedemo 1 shows a marked difference between punkbuster enabled and disabled. Stopping punkbuster services by itself has no effect. punkbuster is fairly tightly integrated. it doesn’t matter if you run windows and ET from hard disk or ssd or even ramdisk. These constant and frequent filesystem calls mean the game lags, even though your average fps looks pretty steady at 125. I’ve reduced some of it with some pb client settings but there should be some way of reducing this ridiculous frequency etkey file scans. Please reply if you know how to fix. Process monitor is downloadable from microsoft. but don’t reply if you don’t know what a process is, thanks


   
Quote
(@cccdfern)
Member Admin
Joined: 15 years ago
Posts: 2290
 

think its pb_sleep 500 (something like that, got work will google later)


   
ReplyQuote
 Zulu
(@zulu)
Estimable Member
Joined: 10 years ago
Posts: 125
Topic starter  

think its pb_sleep 500 (something like that, got work will google later)

it does that crazy scanning regardless of that setting, which already was 500. What took a lot of the game lag away for my pc was pb_system 0. Maybe it thinks it’s under attack from Windows or something. It’s not normal to be scanning same file so much. I’ve had one other player confirm same thing happens on their system. I thought it might be due to pb_cdkeyreg not working as it normally gives error not finding etguodauth.evenbalance.com, but that’s not it, as eventually that command worked last night without error. It’s et.exe using pbcl.dll (punkbuster) doing it.

Process monitor shows the horrid story, as does doing timedemo with punkbuster enabled/disabled. One demo does 600+ fps with punkbuster and 950+ fos without. i know u don’t need this high fps to play, but it shows me that punkbuster induces latency, i.e. lag.


   
ReplyQuote
 Ulti
(@ulti)
Reputable Member
Joined: 12 years ago
Posts: 252
 

Have u tried Pb_security 0 with sleep 500
turn off PnkBstrA.exe *32 // PnkBstrB.exe *32 in your Task Manager

ET hasn’t used PB in years as its not longer supported for the game.. so just turn off all PB Settings.. Make sure you have the latest version of Enemy Territory (which was build for computers using windows 7 // quad core processors)
and worst case try /pb_sv_disable – should disable PB entirely


   
ReplyQuote
 Zulu
(@zulu)
Estimable Member
Joined: 10 years ago
Posts: 125
Topic starter  

p

Have u tried Pb_security 0 with sleep 500
turn off PnkBstrA.exe *32 // PnkBstrB.exe *32 in your Task Manager

ET hasn’t used PB in years as its not longer supported for the game.. so just turn off all PB Settings.. Make sure you have the latest version of Enemy Territory (which was build for computers using windows 7 // quad core processors)
and worst case try /pb_sv_disable – should disable PB entirely

pb_sv is server based punkbuster config. there’s no such cvars in standard et install. the services don’t affect this at all. as long as punbuster is enabled (pb_cl_enable), which it must be to pass guid and successfully connect to server, the problem persists. i’ll take a look at it with another process spying utility tonight. pb_security already 0, doesn’t affect it. I’m convinced punkbuster got itself in a spin, it’s not normal; but most players are blissfully unaware.


   
ReplyQuote
 Zulu
(@zulu)
Estimable Member
Joined: 10 years ago
Posts: 125
Topic starter  

p

pb_sv is server based punkbuster config. there’s no such cvars in standard et install. the services don’t affect this at all. as long as punbuster is enabled (pb_cl_enable), which it must be to pass guid and successfully connect to server, the problem persists. i’ll take a look at it with another process spying utility tonight. pb_security already 0, doesn’t affect it. I’m convinced punkbuster got itself in a spin, it’s not normal; but most players are blissfully unaware.

My bad pb_sv stuff does work but, either enable or disable doesn’t make a difference. Maybe ET is stuck at verifying the etkey before it will move on. Since my key was generated by ET installer, it’s still not completing this step bc evenbalance punkbuster servers unavailable?


   
ReplyQuote
 Zulu
(@zulu)
Estimable Member
Joined: 10 years ago
Posts: 125
Topic starter  

My bad pb_sv stuff does work but, either enable or disable doesn’t make a difference. Maybe ET is stuck at verifying the etkey before it will move on. Since my key was generated by ET installer, it’s still not completing this step bc evenbalance punkbuster servers unavailable?

Connecting first to a punkbuster enabled server stops the crazy etkey file reads. Something else starts happening but it’s much better. Have to do this each time start ET or it goes back to the first described behavior. Has anyone else checked with Process Monitor? diwnload from microsoft.


   
ReplyQuote
 Zulu
(@zulu)
Estimable Member
Joined: 10 years ago
Posts: 125
Topic starter  

I’m now going to try (again) ET:Legacy rc4 release. ET:Legacy is a good alternative (and currently being developed) to original ET. It doesn’t use punkbuster but still manages to pass the GUID. I’ll check the performance in this, hope it doesn’t do other strange things (thrashing IO). There’s still the issue of high dpi mouse movement until ET:Legacy takes up SDL2. One thing that irks me in ET:Legacy is the crouch toggle.


   
ReplyQuote
(@phillgates2_xenforo2_import1)
Member Admin
Joined: 16 years ago
Posts: 2885
 

Pb on the server I think is off now not sure yet


   
ReplyQuote
 Zulu
(@zulu)
Estimable Member
Joined: 10 years ago
Posts: 125
Topic starter  

Pb on the server I think is off now not sure yet

When I connect to a punkbuster enabled server, then the etkey file reads stop. When I connect to OZ which has punkbuster server off but we must have punkbuster client enabled to pass GUID, then punkbuster keeps doing what it was doing when ET client started, i.e., continuously re-reading etkey file. Hope that’s clearer.


   
ReplyQuote
(@phillgates2_xenforo2_import1)
Member Admin
Joined: 16 years ago
Posts: 2885
 

I could turn it on and see if that helps you?


   
ReplyQuote
 Zulu
(@zulu)
Estimable Member
Joined: 10 years ago
Posts: 125
Topic starter  

Thanks for responding. It’s not just about me though. I think the punkbuster client does this with our general hack post evenbalance end of support. Need to confirm it’s happening on other players’ pcs. This happens even before joining any server. Something is wrong with the punkbuster client or those hacky etkeys being generated. Enabling punkbuster on OZ server could pose other problems? Is it possible to ditch punkbuster client and still have xp save?


   
ReplyQuote
 Zulu
(@zulu)
Estimable Member
Joined: 10 years ago
Posts: 125
Topic starter  

Thanks for responding. It’s not just about me though. I think the punkbuster client does this with our general hack post evenbalance end of support. Need to confirm it’s happening on other players’ pcs. This happens even before joining any server. Something is wrong with the punkbuster client or those hacky etkeys being generated. Enabling punkbuster on OZ server could pose other problems? Is it possible to ditch punkbuster client and still have xp save?

I found the solution. Whilst it doesn’t get rid of a graphical stutter i have in ET (to do with fps and monitor refresh rate) it certainly gets rid of the punkbuster lag ๐Ÿ™‚ So much more enjoyable to play when controls are responsive.
This allows you to disable punkbuster client and still join the game and keep your xp.

Start up ET with punkbuster enabled and make sure you’re in etpub mod.
In the console enter this command and press enter /cl_guid
It will show you the current value for this cvar, which is your key in etpub. normally if you disable punkbuster (in the game) ET will reset cl_guid to UNKNOWN and the cvar is read only..unless you set it using the ET desktop shortcut.
So write down that value…disable punkbuster in the game menu and exit ET.
Modify your desktop ET shortcut so it includes the following settings after the path to your ET.exe +set fs_game etpub +set cl_guid “type here the guid from before”
Of course you can have additional settings after that if you want, to increase memory available for ET etc. i have additionally +set com_hunkmegs 192 +set com_soundmegs 128 +set com_zonemegs 64. but these aren’t related to the punkbuster fix.
Anyway, start ET using the desktop shortcut. Make sure punkbuster is off in game, enjoy lag free game.
Now my timedemo shows the same average maximum fps in etpub, a 20% increase in performance. Not that i need the additional fps..but the keyboard and mouse lag is gone.
Many people wouldn’t even know that they had this lag all along. It got rid of my lag on my windows 7.

Cheers


   
ReplyQuote
Share: