ValveSoftware / csgo-osx-linux

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

Large FPS drops with Panorama #1704

Open Crendgrim opened 6 years ago

Crendgrim commented 6 years ago

System information: https://gist.github.com/Crendgrim/5965f363bccbc17938c04547bf3d021c I'm using the amdgpu driver. The Steam client and CS:GO are on the stable branches. Launch options for CS:GO are empty or -panorama.

I noticed worse FPS when playing with Panorama. To get some numbers for this, I conducted the following test case:

  1. Start CS:GO
  2. Load this benchmark map: https://steamcommunity.com/sharedfiles/filedetails/?id=500334237
  3. Note average FPS and close CS:GO

I appreciate that this does not show the full range of features, nor do these results identify the problematic areas. However, it does show a general trend that is very noticeable to me during regular gameplay.

I averaged the above test case over multiple runs (including closing the game inbetween). I also conducted the same tests under Windows 7 SP1 (with Radeon 18.4.1) with the same game settings. Then, I ran the same tests while keeping the scoreboard open (+score). These are the results:

System old old +score panorama panorama +score
Linux 212 213 161 142
Windows 279 266 310 246

Two things are verified that I noticed during gameplay: Panorama on my Linux installation decreases framerate significantly, and opening the scoreboard on panorama does so on both systems.

I want to note that the average is brought down by the smokes on the map. The AMD driver does not seem to like them; I drop down to 60 FPS (Linux) and 45 FPS (Windows) with both the old and new UI. However, the framerate during normal gameplay is also much less consistent using Panorama on Linux. I constantly drop below 144fps, with regular drops below 100.

If there's any other (more useful) benchmarks I can do, please tell me.

Crendgrim commented 6 years ago

There are no noticable changes with the 2018-07-18 patch.

manokara commented 6 years ago

I think I have a smiliar problem with my Ryzen 5 2400G. My RAM (8GB, 6 usable because APU) fills up the more I play on Panorama, to the point it starts to drop the FPS all the way to 1. I suspect it has something to do with shader cache, but it doesn't make sense since 2GB is already reserved beforehand for the GPU? Why is it using more than it should?

This may be more of an amdgpu issue than Panorama. I also have this problem with Rocket League if I play more than 2 different maps.

Crendgrim commented 6 years ago

I am closing my game before each test, so I don't think our issues are related. I also don't have the problem in Rocket League that you describe.

From what I can see, my problem unlikely to just be an amdgpu issue, since the game works fine (lower performance than Windows, but still steady and playable framerate) with the Scaleform UI.

alexwalkerinfo commented 6 years ago

I've noticed framerate issues also on an RX Vega 56. Struggle to hold 144fps even on medium settings.

chibicitiberiu commented 6 years ago

I've noticed a significant performance drop on my GTX 750 Ti. With the old UI, the game worked flawlessly, frame rate was decent and absolutely playable.

Since the panorama update, it stutters all the time, frame rate is really low (<30 FPS) and the game is now unplayable. I've tried changing settings, but even on lowest the game is still unplayable. Surprisingly, changing vsync significantly improves the situation (not as good as with the old UI, but better). It doesn't matter if vsync is off or on, simply toggling it improves the performance. It's weird.