ValveSoftware / Dota2-Gameplay

Public Bug Tracker for Dota2
1.45k stars 77 forks source link

7.36 lag and FPS issues #18767

Open StingyJack opened 1 month ago

StingyJack commented 1 month ago

Description

Game has started experiencing lag and stuttering. Its most visible whenever there are teamfights where multiple heroes are invoking abilities, but its also visible when I pickup an illusion rune in a solo bot game, the FPS drops from 40-60 down to what it would look like if it were 10-20. I tried turning down the graphics slider from 3/4 down to 2/4 and it made no difference. I also tried deselecting individual options in the graphics like "tree wind" and "animate portrait", etc and that had no effect for improving the lag/stutter.

Pausing the game and the FPS goes back up to 70-80 as it used to do when paused before this 7.36 update.

Console has a seemingly endless scroll of messages like these

[Server] Client (account 0) tried to execute invalid order (41). Order invalid for units with attack capability DOTA_UNIT_CAP_NO_ATTACK.
[Server] Client (account 0) tried to execute invalid order (20). Unit is dead.
[Server] Client (account 0) tried to execute invalid order (45). Target position is off the map.
CSwapChainBase::QueuePresentAndWait() looped for 21 iterations without a present event.
CSwapChainBase::QueuePresentAndWait() looped for 22 iterations without a present event.
CSwapChainBase::QueuePresentAndWait() looped for 23 iterations without a present event.
Building: npc_dota_badguys_fillers destroyed at 1945.866943.
[Client] CL:  deleting entity 1165 C_DOTA_Ability_Twin_Gate_Portal_Warp due to reconcile issue!
[Client] CL:  deleting entity 1236 C_DOTABaseAbility due to reconcile issue!
[Client] CL:  deleting entity 2329 C_DOTA_BaseNPC_Creep_Lane due to reconcile issue!

... these are single examples, some of these lines will repeat several dozen times before changing to another message

TpsArchyy commented 1 month ago

yup... from 144 fps (locked at that) to about 70 or below when in some teamfights, lots of stutters all started after 7.36 cpu i5-12600, friends that have older cpus but a 4070 gpu cant even control their hero during teamfights, the game is just a stuttering mess for them.

StingyJack commented 1 month ago

Also getting these excessive frame times. This is from a local custom lobby with only me and 9 bots in it at about the 4 minute mark. I had reduced the resolution from 1920x1080 to 1600x900 and lowered the graphics settings, then unpaused the game to see if that would fix it, these are the console logs from right after that.

Excessive frame time of 1844.07ms clamped.  Acting as if the frame only took 100.00ms
CSwapChainBase::QueuePresentAndWait() looped for 21 iterations without a present event.
CSwapChainBase::QueuePresentAndWait() looped for 21 iterations without a present event.
Excessive frame time of 220.49ms clamped.  Acting as if the frame only took 100.00ms.  (Last amnesty was 'SDL_EVENT(0x206)', 0.58s ago)
[InputSystem] Processing SDL events took 105.4ms
CSwapChainBase::QueuePresentAndWait() looped for 22 iterations without a present event.
Excessive frame time of 360.20ms clamped.  Acting as if the frame only took 100.00ms.  (Last amnesty was 'SDL_EVENT(0x206)', 0.94s ago)
CSwapChainBase::QueuePresentAndWait() looped for 23 iterations without a present event.
Excessive frame time of 254.83ms clamped.  Acting as if the frame only took 100.00ms.  (Last amnesty was 'SDL_EVENT(0x206)', 1.20s ago)
[RenderSystem] Saved video settings config to 'cfg\video.txt'
[SplitScreen] Writing configuration for slot 0
[SplitScreen] Saved 'user_keys.vcfg' to SteamRemoteStorage, 75 bytes OK
[SplitScreen] Saved user config file 'cfg/user_keys_0_slot0.vcfg': type 1
[SplitScreen] Saved user config file 'cfg/user_keys_0_slot0.vcfg_lastclouded': type 3
[SplitScreen] Saved 'user_convars.vcfg' to SteamRemoteStorage, 9974 bytes OK
[SplitScreen] Saved user config file 'cfg/user_convars_0_slot0.vcfg': type 1
[SplitScreen] Saved user config file 'cfg/user_convars_0_slot0.vcfg_lastclouded': type 3
CDOTAGameRules:Pause = false PlayerId=0 fUnpauseDelay=0.00 fPauseDelay=3.00
[Server] Client (account 0) tried to execute invalid order (20). Unit is dead.
Sending CMsgConnectedPlayers for reason KILLS.  Last send was 60.8s ago, urgency is 60.0s
game_state: DOTA_GAMERULES_STATE_GAME_IN_PROGRESS
first_blood_happened: true
send_reason: KILLS
radiant_kills: 3
dire_kills: 5
radiant_lead: 138
building_state: 4784201

[GCClient] Send msg 7034 (k_EMsgGCConnectedPlayers), 26 bytes
[GCClient] Recv msg 26 (k_ESOMsg_UpdateMultiple), 544 bytes
[Server] PR:IncrementIdleTime 4:[I:0:0] 12.27
CGameParticleManager::SetParticleControlEnt: Unable to lookup attachment "attach_fx" on model "models/heroes/windrunner/windrunner.vmdl" for entity "npc_dota_hero_windrunner"
[Server] Game code (account 0) tried to execute invalid order (14). Unit does not have enough mana to cast ability.
Excessive frame time of 105.94ms clamped.  Acting as if the frame only took 100.00ms
[InputSystem] Processing SDL events took 5.1ms
Excessive frame time of 100.82ms clamped.  Acting as if the frame only took 100.00ms
Excessive frame time of 101.00ms clamped.  Acting as if the frame only took 100.00ms
CDOTAGameRules:Pause = true PlayerId=0 fUnpauseDelay=3.00 fPauseDelay=0.00
[SteamNetSockets] SteamNetworkingSockets lock held for 5.4ms.  (Performance warning.)  GetConnectionRealTimeStatus
This is usually a symptom of a general performance problem such as thread starvation.

FPS when paused is like 70, when unpaused its 20-30.

There should be no thread starvation. The only apps running are chrome with about 15 tabs open, Steam, Task Manager, and Dota 2. The only thing using any CPU or GPU when this is happening is Dota2 (I have multiple monitors and can view task manager on a secondary monitor while playing). image

System -> DIsplay -> Graphics has Dota2 as "High Performance", and the path to the exe is correct. image

I've reverified the game files. Rebooted a few times. Tried newer and older versions of the graphics driver. I've gone through the add/remove programs to see what may have been installed recently, but am pretty sure its something in 7.36 causing this.

System info

Computer Information:
Manufacturer: ASUSTeK COMPUTER INC.
Model: TUF Gaming FX505DY_FX505DY
Form Factor: Laptop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx
CPU Family: 0x17
CPU Model: 0x18
CPU Stepping: 0x1
CPU Type: 0x0
Speed: 2096 MHz
8 logical processors
4 physical processors
Hyper-threading: Supported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Supported
SSE41: Supported
SSE42: Supported
AES: Supported
AVX: Supported
AVX2: Supported
AVX512F: Unsupported
AVX512PF: Unsupported
AVX512ER: Unsupported
AVX512CD: Unsupported
AVX512VNNI: Unsupported
SHA: Supported
CMPXCHG16B: Supported
LAHF/SAHF: Supported
PrefetchW: Unsupported
Operating System Version:
Windows 11 (64 bit)
NTFS: Supported
Crypto Provider Codes: Supported 311 0x0 0x0 0x0
Video Card:
Driver: Radeon RX 560X
DirectX Driver Name: aticfx32.dll
Driver Version: 31.0.21905.1001
DirectX Driver Version: 31.0.21905.1001
Driver Date: 10 17 2023
OpenGL Version: 4.6
Desktop Color Depth: 32 bits per pixel
Monitor Refresh Rate: 60 Hz
DirectX Card: Radeon RX 560X
VendorID: 0x1002
DeviceID: 0x67ef
Revision: 0xe5
Number of Monitors: 2
Number of Logical Video Cards: 2
No SLI or Crossfire Detected
Primary Display Resolution: 1920 x 1080
Desktop Resolution: 3840 x 1378
Primary Display Size: 23.54" x 13.23" (26.97" diag), 59.8cm x 33.6cm (68.5cm diag)
Primary Bus Type Not Detected
Primary VRAM Not Detected
Supported MSAA Modes: 2x 4x 8x
Sound card:
Audio device: 2.1 speakers (Realtek(R) Audio)
Memory:
RAM: 32450 Mb
VR Hardware:
VR Headset: None detected
Miscellaneous:
UI Language: English
Media Type: Undetermined
Total Hard Disk Space Available: 3174796 MB
Largest Free Hard Disk Block: 505530 MB
OS Install Date: Feb 11 2024
Game Controller: None detected
MAC Address hash: 9f662255dc90a49098110291b3253d8d4ca448e9
Storage:
Disk serial number hash: 948770f1
Number of SSDs: 1
SSD sizes: 256G
Number of HDDs: 1
HDD sizes: 2000G
Number of removable drives: 0