csgo-osx-linux
csgo-osx-linux copied to clipboard
[CS2] Performance loss when smoke grenade is active
Your system information
- System information from steam (
Steam
->Help
->System Information
) in a gist: Steam Runtime System Information System Information - Have you checked for system updates?: [Yes]
Please describe your issue in as much detail as possible:
Smoke grenades impact performance greatly on Linux, where Windows isn't affected at all. On Linux, when a smoke is up, the FPS are reduced by around 100. Even worse when a molotov burns additionally.
I've created this comparison, done on the same system with different operating systems:
https://github.com/ValveSoftware/csgo-osx-linux/assets/15350550/6aa0059d-2ae2-4819-81d3-aec6e99c312d
Steps for reproducing this issue:
- Throw a smoke grenade
- Observe game performance
Hello @Tabascl, it might be interesting to note if you're using DirectX 11 or Vulkan on Windows, and if your initial test was with DirectX 11, then check how the game behaves with the game's launch options set to -vulkan
since that is a more direct comparison.
Hi @kisak-valve, I've just repeated the test with -vulkan
on Windows as you suggested. My initial test was done without that option, so I assume that was DirectX 11.
Here's another video, again on Windows using -vulkan
:
https://github.com/ValveSoftware/csgo-osx-linux/assets/15350550/29defe8e-2854-4d71-b255-24f9a8f121f7
This test, apart from the one stutter, did also have reduced performance, although not as drastic as on Linux.
I am experiencing the same behaviour with RADV. I don't know if its related to this problem but my GPU should be the bottleneck and not my CPU (tested with RadeonGPUProfiler) I made round about 40 tests in total on different maps all "CPU" bottlenecked
I will make a test with a smoke active in a few days
smoke inactive
smoke active (Wavemode "Unknown" seems weird)
I did a little test in mirage and inferno comparing windows dxx11 and linux with radv and found that smoke grenades have a bigger impact on linux so I'm posting in this issue.
windows (sorry that a few screenshots are a bit cutoff, I didn't realize until later):
linux:
Something I found interesting is that mirage runs faster on linux when the smoke grenade isn't active, in the tested location it ran at ~260fps when it wasn't active (vs ~240 on windows), so the smoke grenade costed about 70fps on linux vs 20fps on windows. I didn't test smoke grenades on inferno but that map was faster on windows, opposite of mirage.