ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
648 stars 75 forks source link

[TF2] Constant freezing in MvM (Windows 10) #5706

Open The-spah opened 6 months ago

The-spah commented 6 months ago

After the change to 64 bits, i notice that there was constant freezing every time a robot spawns, with multiple of them spawning the game constantly freezes for about 2-4 seconds each time. This wasn't happening before the change to 64 bits.

Edit: This video has been made to demonstrate the freezes https://youtu.be/on_qdLky1jo

Snowywasbanned commented 6 months ago

i thought i'm the only one having this issue

jh34ghu43gu commented 6 months ago

probably duplicate of #5510 but hard to tell since there's no useful replication info

ethanholt1 commented 6 months ago

I’ve had this issue as well, even before 64bit, but specifically when Spies spawn and cloak. And as far as I can tell, it only occurs on mvm_bigrock.

MrKirill1232 commented 6 months ago

For me - its related on "Ghost Town" missions type. On other missions I do not see any freezes. Winver - 22H2 - Build 19045.4291

zxz41 commented 6 months ago

Can confirm there seems to be performance degradation serverside on Windows on the x64 realm. (Running listenserver) Happends a lot with the MVM spawn logic etc.

Although the 64bit build seems to on average run slightly faster, it also seems to suffer from ~40-60% performance degradation in some functions (Both in term of Peak and Avg). With _Host_RunFrame_Server having a Avg/Frame degradation of roughly 15%

Full Vprof reports

Full x64 VProf report Full x86 VProf report Full x86 VProf report (Rollback)

Vprof reports generated by spikes (below 16 FPS)

Lag spikes x64 VProf report Lag spikes x86 VProf report Lag spikes x86 VProf report (Rollback)

"rollback" is the game running on depot 232251 (TF2 Windows client) on manifest 3545034868290892873

These reports should of course be taken with a grain of salt due to things like randomness, cache, scope depth etc. Also please note that the full reports and the spike reports are separate tests. Ran the test up until the first tank enters the area and a short while after.

The configuration used for testing on mvm_ghost_town

mat_queue_mode 0 // For in-order console output
vprof_reset
cancelselect // Close main menu
sv_cheats 1
tf_bot_flag_kill_on_touch 1
nb_blind 1
setpos -28.189316 1918.052612 269.732605;setang -9.217999 86.369728 0.000000
vprof_on
vprof_dump_spikes 16 // FOR DUMPING PER SPIKE
host_framerate 67 // May affect the test, but Id rather speed things up than waiting half an hour
player_ready_toggle // Begin the wave
clear

System Information

Windows 10 22H2 (Build 19045.4291) AMD Ryzen 5 3600 (L1-cache 384 KB, L2-cache 3.0 MB, L3-cache 32.0 MB) 16.0 GB DDR4 RAM (2133 MHz, 2 Slots) NVIDEA GeForce GTX 1660 SUPER (6 GB VRam)