ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive
http://counter-strike.net
774 stars 69 forks source link

Random visual freezes (IntelHD, Nvidia, AMD) #2278

Open akozlovskiy119 opened 4 years ago

akozlovskiy119 commented 4 years ago

From the beginning of the operation 'Shattered Web' I started to experience some strange visual freeze bug, after which it became completely impossible to play.

Аfter some random time after joining the server (usually several minutes), an image on a screen completely freezes and sometimes strange stripes appears. I'm still able to hear other players and press buttons (Esc and F10, for example) to correctly close the game, but the screen doesn't update anymore, and closing is the only thing left to do.

It happens every time on all default defusal maps, and rarely on hostage rescue maps. Files verification didn't help, and the latest CSGO updates haven't fixed the problem. In my case, I have Windows 10 build 1909 and IntelHD video driver version 20.19.15.4703 installed.

Not sure how this bug can be reproduced though. It never happened before the Shattered Web on the same OS configuration.

System information from Steam: https://gist.github.com/akozlovskiy119/1dee6e9f9d016458b4f7befff4f5646d

Edit: Update the title because more people with Nvidia and AMD are experiencing the freeze too (https://github.com/ValveSoftware/csgo-osx-linux/issues/2278#issuecomment-605424088).

Freeze Screenshots: CSGO_Freeze_IntelHD

CSGO_Freeze_IntelHD2

Kirdej commented 4 years ago

The graphical artifacts that you pictured seem to only appear on low-end systems, but this random visual freeze with sound still running in the background is not specific to IntelHD graphics.

Multiple users on the Steam Community CSGO forums/discussions have reported this type of freeze (minus the artifacts) where they're still able to shoot and hear the game running in the background while staring at a frozen rendered frame. Even users with high-end RTX 2080Ti cards reported this issue since the D3D9EX update was released a year ago.

Everyday there is at least one new thread describing this experience on the Steam Community CSGO forums. The active members of the community have since given up on trying to help troubleshoot this specific issue since the complaints just keep piling up without any single working solution for them to recommend -- not even completely reformatting their drives and reinstalling the OS.

After watching CSGO's freezing issues for years, the only suggestion I can give to non-Valve-developers is to keep purchasing brand new hardware until you end up with a collection of components that do not cause CSGO to randomly freeze in the middle of a match; or just stick with what you have and be randomly annoyed by the game's inability to handle TDR hitches smoothly like other games. Just pray that it only occurs once a month and not 5 times a day...

Kirdej commented 4 years ago

@kisak-valve Request to change the title to include Nvidia and AMD graphics? Or should I just open new issues for Nvidia and AMD separately?

Apparently, more people are experiencing the freeze after the stutter fix update set everyone's video settings to High #2374. Some even freeze while loading into maps which is similar to #2368. The difference is that the screen just remains frozen instead of crashing outright.

gatlinnewhouse commented 4 years ago

Any fix to make the game playable at least?

Kirdej commented 4 years ago

Any fix to make the game playable at least?

Pretty much a silicon lottery. -disable_d3d9ex used to work to make it playable, but now it just crashes the game.

This is what the freeze looked like when -disable_d3d9ex was still working: https://www.twitch.tv/shroud/clip/AdventurousFancyCheesePhilosoraptor

And yes, that was way back December of 2018 when Shroud was still on Twitch.

akozlovskiy119 commented 4 years ago

I can confirm that the recent update has fixed the problem for me (IntelHD). Game runs smoothly again without any freezes or crashes even without -noubershader.

Kirdej commented 4 years ago

I can confirm that the recent update has fixed the problem for me. Game runs smoothly again without any freezes or crashes.

It seems the recent fix only applies to very old Intel HD Graphics.

My game still froze on Mirage with and without -noubershader, and the community forum still has a ton of newly created threads about it.

-noubershader just makes stuttering worse on Nvidia GPUs just as the release notes mentioned:

This option is not recommended otherwise as it is likely to cause stuttering on the overwhelming majority of GPUs.