ValveSoftware / csgo-osx-linux

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

FPS drops to a stable 15-30 from being 100-160 #1477

Open nyaray opened 7 years ago

nyaray commented 7 years ago

Your system information

Please describe your issue in as much detail as possible:

_Describe what you expected should happen and what did happen. Please link any large pastes as a Github Gist._

Expectation: to play with the FPS I'm used to, varying between 100-160

Actual: it starts great, FPS stays in 100-160 range, but maybe 20 or so minutes in it starts getting noticeably worse, dropping to 40-60 and deteriorates down to 15-30. When it's got that far I usually either stop playing or restart the game if I'm in a matchmaking game.

Steps for reproducing this issue:

  1. Boot up computer
  2. Start game, joining either of deathmatch, casual or match making
  3. Play for 15-30 minutes
nyaray commented 7 years ago

I tried starting both steam and the game from the command line, but it didn't reveal much useful information, beside that some dylibs didn't properly load.

Ah, and another thing I probably ought to mention is that I noticed that Steam was using more, sometimes twice as much, than csgo, but maybe that's expected? The commands contained hints that the threads were two renderers and one gpu thread.

(Developer here btw, so I'm used to digging around in logs etc to sort things out, happy to provide further info if there's something useful I've missed)

nyaray commented 7 years ago

I just noticed that Steam is idling at 100-106% at the moment.

EDIT: this is after a matchmaking game where the issue described had occurred and I restarted Steam and the game once near mid-game.

EDIT2: forgot I had the game idling in the background in case I needed to run console commands for the issue. I'm going out to play in the sun now...

kisak-valve commented 7 years ago

~Most likely the mac variant of #1206.~

perryventas commented 7 years ago

I have exactly the same issue since the last update. My system is a Retina iMac Late 2014, with a AMD Radeon R9 M295X 4096 MB. It is really unplayable after about 15 minutes. Restarting CS Go doesn't help, a reboot is needed to make it playable again for a short time frame (although I didn't test if restarting Steam alone would help)

Here is my system information: https://gist.github.com/coin3d/60782bd96a9fa747115bd547223f8543

nyaray commented 7 years ago

@kisak-valve in that case, do you have anything you'd like me to do in order to (dis)prove that hypotheses?

I was thinking I'd start out by:

kisak-valve commented 7 years ago

The strongest indicator would be PCIe bandwidth utilization, but I don't know if that's exposed in any meaningful way on Mac.

nyaray commented 7 years ago

Oh, ok.

To begin with, I reinstalled Steam and CSGO and started playing on minimum settings. It went just fine. Then I started chrome, the biggest resource hog I was running alongside of CSGO and didn't have the issue. Lastly I turned off screen mirroring and it worked as well.

@kisak-valve yeah, unfortunately I couldn't find much info on how to monitor, supervise the PCIe utilisation :/. I'll fill in with more info if I get the issue again and manage to notice/figure something out.

henrikbjorn commented 7 years ago

Maybe it is the same for me or another issue entirely. Have gotten af new MacBook Pro 15" with TouchBar 2.8ghz Kaby Lake i7 and RadeonPro 460. It struggle to get more than 80fps anywhere in the game. Only caveat being i run High Sierra, which have Metal2

nyaray commented 7 years ago

My performance has improved vastly and I'm now running on a decent resolution to boot. Don't really know what changed. :/

EDIT: I'm also running chrome, some other things and have two external monitors connected, one of which I'm using to play the game on. Computers/software ¯\(ツ)\

ghost commented 7 years ago

Lagging too. Every time I look at someone I goes down to 30fps

lamka02sk commented 7 years ago

I can confirm this is also Linux problem. I didn't play CS:GO for a long time on Linux, but when I tried to play, it is literally unplayable. Really bad performance after few minutes. I don't exatly have steady 30 fps, but my fps is jumping from 0 to 280 all the time. So annoying. Also the RAM usage is abnormal = 2x of Windows usage.

Wake up Valve!

ghost commented 7 years ago

The bug is still here... when shooting it goes down to 20fps. Valve we need a bloody fix...

wheedlingBanana commented 7 years ago

Confirm that this issue persists. I would like to add that activity monitor indicates that Steam uses up to 200% cpu (I have 4 cores) and the percentage of CPU used by "system processes" increases to 50-60%

MrPasty commented 7 years ago

Can confirm I have been having this issue for a while now, really frustrating as frame rate drops from 160+ down to around 24 and is unplayable. I seem to get this happen everytime i play and often when the map switches to office! Steam please fix this

lamka02sk commented 7 years ago

As we see Valve really don't care about people playing their games. I already stopped, because it's unplayable and I really wish other people would stop playing too. The most broken game in the world.

kiroma commented 7 years ago

I don't think that blatantly writing that Valve doesn't care about their players is right. Don't forget that Valve didn't even make any CS. It's all been work of a small team, that has partnered up with Valve. Also, CS:GO is not the only CS game out there. I played CS 1.6, CS:CZ, CS:S and all of those work perfectly fine. Also, Valve makes other games like Dota 2, which runs amazingly well on Linux, compared to any other cross-platform title. That being said, CS:GO is the only game that runs so terribly bad on Linux/MacOS, though that also does apply in part to Windows build as well.

tl;dr: Only CS:GO runs bad, other Valve games run well.

wheedlingBanana commented 7 years ago

Any new info on this issue? I have been trying to play some comp these past few weeks but needed to restart steam every 6 rounds is really inconvenient XD.

pavel-odintsov commented 6 years ago

I hit same issue. After latest upgrade (one-two weeks ago) my FPS dropped from 80FPS to 14FPS. It makes playing the game impossible.

I have MacBook Pro (Retina, 15-inch, Early 2013) with Intel HD 4000 1024 MB.

img_8883

wheedlingBanana commented 6 years ago

After the new macOS update, i no longer have this issue :)

pavel-odintsov commented 6 years ago

Could not confirm it. I have 15 FPS. Previous version could do 80 FPS. Right now it's impossible to play. Again. It happened 5th or 7th time for last 3 years. I really disappointed.

wesblake commented 6 years ago

I think my issue is the same, do we have a fix? It's gotten worse and now I can't play for more than a couple minutes. I'm on Ubuntu, 17.10 at this point but had this issue for multiple versions. Other games (via steam) run just fine so I know it's just CS GO issue. So basically.... A year or 2 ago this didn't happen, things were fine. After a game update (sorry don't recall exact one) this happened. During game play, sometimes right away after joining, sometimes seconds, sometimes many minutes, my FPS would drop from well over 100 to 2-4 fps, so bad I can barely exit the game. Over time with game and/or card updates it seemed to get better (more time in game). I then had just over a month without my computer so I haven't played until yesterday. Now it's worse, I can't get more than a couple minutes every time and I'm done. Oh, and same as above, restarting the game or the steam client doesn't help. I have to reboot the machine. I3, 8GB Ram, Ubuntu 17.10, GTX 750 with latest "proprietary tested" via additional drivers, v384.90. I also tried using the official graphics-drivers ppa to get the latest drivers but that didn't help so I'm back to tested. Thanks!

kisak-valve commented 6 years ago

Potentially related for nvidia linux users with nvidia's 378.xx-387.xx driver: https://devtalk.nvidia.com/default/topic/1026874/

wesblake commented 6 years ago

I suppose I could do that, I've tried newer drivers but not older. Without fiddling too much I can try 340 series as they are part of the additional drivers options. If something changes I will comment back.

UPDATE: Well this is interesting, and shows me it's an Nvidia issue and that they are pushing for performance over stability. I'm on 340.104 now and while the issue remains, all aspects including performance are degraded.

pavel-odintsov commented 6 years ago

Works for me now :)

kisak-valve commented 6 years ago

Can the other Mac users retest this issue? If it's still happening, please copy your system information from steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.

wesblake commented 6 years ago

Still not an Nvidia issue, just different on different Nvidia driver versions. I forget this does not ever happen on at least 5 other games via Steam on the same machine, so it's still an issue with the way that CS or it's engine uses Nvidia on Linux/Unix

rpranshu commented 6 years ago

Gist Link: https://gist.github.com/rpranshu/0bda3a97560d442ca48647c01f26f22e Last CSGO Update : Wed 13 Dec 2017. Time : 6:32 AM (UTC +5:30)

pavel-odintsov commented 6 years ago

An issue with very low FPS come back again :/

CS:GO is broken again for Mac. It happened 4th or 5th time per last two years. Really, I have no idea how developers managed to do it again.

But I pretty sure that my CS/GO on my MacBook Pro (Retina, 15-inch, Early 2013, NVIDIA GeForce GT 650M + Intel HD Graphics 4000) is impossible to play because of 15 FPS.

It's so sad.

eServerus commented 6 years ago

I have the same issue. FPS decreases over time from the moment the game starts from around 80-107 FPS to 15-25 FPS.

With in-game steam FPS measuring I noticed continously decreasing frame rate while I was in lobby with active game window (watching the game while it was in idle). After 5 min it drops to around 70 FPS then after another 5 min drops to 55 FPS, then to 45 FPS and so on down to around 15-25 FPS. And that's just in lobby. Frame rate persists and it continues to decrease also during match.

I play with lowest graphic settings possible with double buffering. At the beggining it is fine but over time it is not playable anymore and I have to restart the notebook in the middle of the competitive match to be able to play normaly again. (It is not possible reconnect in time without loosing a couple of rounds.)

Symptoms are simple, frame rate decreases to unplayable minimum over time. It must be someting accumulative like memory leaking or something.

Here is my system info: gist

ahcbsa commented 6 years ago

Same issue here. Can't get over 50 FPS and sometimes when playing Casual games, it drops to 15-20 FPS.

System Information: https://gist.github.com/ahcbsa/e55342d793cb898b44bbe0b9e9156225

digitalbase commented 6 years ago

Have you guys tried installing macs fan control? Set it to GPU diode between 45 and 85 for cooling speed.

I think the GPU heats up and automatic cooling doesn't detect/cool enough so you need to set the fans manually. After that the FPS are more stable

rpranshu commented 6 years ago

Ok, so i have just tried out the solution provided by @digitalbase but there is no change in my game, the fps issues are same, tried tweaking the temp ranges too! still no good!!

My sys info https://gist.github.com/rpranshu/0bda3a97560d442ca48647c01f26f22e

eServerus commented 6 years ago

Update to my post: It's enough to restart Steam application to reset FPS but sometimes just the CSGO client. Usualy when I play competitive game I restart Steam and CSGO during tactical timeout so my FPS resets and I am able to play for another 6-10 rounds (so sad).

digitalbase commented 6 years ago

I have tried a lot. What I learned untill now

Play CSGO with 1024x everything low/medium. Have solid 100-200FPS but limit it with fps_max to 80 (screen update faster anyway).

Launch options are

-console -threads 4 -high -tickrate 128 +cl_forcepreload 1 +mat_queue_mode 2 -heapsize 8388608 -novid -nojoy -snd_openal -nod3d9ex

System info @ https://gist.github.com/digitalbase/6314a473769df82a6e74223ab47e857c But there is a Radeon 560 in it which should be used during gaming

Radeon Pro 560:

  Chipset Model:    Radeon Pro 560
  Type: GPU
  Bus:  PCIe
  PCIe Lane Width:  x8
  VRAM (Total): 4 GB
  Vendor:   AMD (0x1002)
  Device ID:    0x67ef
  Revision ID:  0x00c0
  ROM Revision: 113-C980AJ-927
  VBIOS Version:    113-C9801AU-A02
  EFI Driver Version:   01.00.927
  Automatic Graphics Switching: Supported
  gMux Version: 4.0.29 [3.2.8]
  Metal:    Supported, feature set macOS GPUFamily1 v3
digitalbase commented 6 years ago

Sometimes the FPS just suddenly drops to 10FPS and I can not exit the game (everything freezes), this sometimes occurs right after reboot. Very weird.

Most of the time rebooting hard shutdown does solve the problem.

Baghelito commented 6 years ago

Good job Valve. This thread have been open for a full year soon. CSGO worked fine before the update where the problems began - please get your shit together now.

0record0 commented 6 years ago

I am on an iMac 11,3 mid 2010 2,8GHz i5 with an ati 5750 1gb and 6gb of ram. I could get easily 120 fps in csgo like 2 years ago, now I am struggling to get 60. I have problems with sounds. snd_async_flush adds a couple of fps for 5 seconds or so. I get huge drops whenever I hear a smoke, flash, shots or see an enemy. There are some places like squeaky on de_cache where I get 15 fps or ct to b area on d2. I tried everything. I know source a little. I tweaked everything to the most optimal settings. have bound a lot of commands that flush caches of all sorts of different thing, tried to remove certain files etc but nothing works. Obvious things like reinstalling or checking game's cache don't help. I really dug deep into the source engine and just nothing seems to be working. Rebooting doesn't solve the problem. It's very consistent.

This is just terrible. VALV PLZ FIX

pavel-odintsov commented 6 years ago

I'm so sorry but it happened again!

Usually it was about 40-50 FPS but not I got 17 and I have lags each few seconds: screen shot 2018-06-14 at 22 55 13 1

My configuration:

screen shot 2018-06-14 at 22 58 34

It happened 7th or even 8th time for me :/

Can you fix it, please?

Thank you!

pavel-odintsov commented 6 years ago

Any updates? My game experience was ruined!

miloxeon commented 6 years ago

I have this issue too

vaultah commented 6 years ago

I got used to these FPS drops, but they've become much worse with the introduction of Panorama UI. With Panorama, FPS drops much more frequently, and for whatever reason they made some in-progress changes to the old UI as well, and now neither of the UIs work okay on my machine. I get crashes more often, too, and to top that off -- once my settings got corrupted because I changed them in Panorama and Scaleform separately -- but that's a story for another day. On the bright side, the game does load faster, so it only takes about one competitive round of downtime to be able to play again (about as little as three rounds of downtime in the whole competitive match). Phew, thanks Valve!

I mean, darn it, if only the game developer actually claimed to support Linux and Mac, so us customers could reasonably expect the game to be playable on these OSes, or, at least, hope that Valve would perform (gasp!) tests on said OSes and respond to bug reports. Guess we are asking for too much folks.

"Easier said than done", of course, but I'm willing to help: I would be happy to work in your Quality Assurance department, Valve -- just ping me when it's created.

alxalx14 commented 6 years ago

Hi i had the same problem. I found out that i used my integrated graphics card to run the came. What you should try is to gon kn device manager and turn the integrated graphics card off . If you get an error when starting cdgo then you know the problem. I just plugged my HDMI cable in the wrong spot. That fixed it for me. Hope i could be helpful

vaultah commented 6 years ago

Oh, so Scaleform UI can no longer be enabled after the latest update. Noice, keep up the good work!

I see you made an effort to optimize Panorama UI:

Added better support for Panorama UI on low-end machines.

However, I just wanted to let you know that it didn't change anything for me, meaning I still get poor performance, high CPU usage, and stable FPS drops when using the new UI. I'm starting to suspect the problem here lies in my machine actually being high-end. While I'm researching the ways to downgrade my PC to be able to play, could you confirm whether that can fix the problem? (cc @kisak-valve)

Bonus question: do you still intend to support Linux and MacOS? If not, I would really appreciate you removing these OSes from the list of supported platforms, so as to not mislead people. Thanks.

svd4 commented 6 years ago

I just played for roughly 90 minutes (based on the update), and the performance was actually much better than the last couple of weeks. Hope this sticks! Ubuntu 18.04 / Nvidia

mjpikat commented 6 years ago

However, I just wanted to let you know that it didn't change anything for me, meaning I still get poor performance, high CPU usage, and stable FPS drops when using the new UI.

Same happens to me on my MBP Mid 2017 with Radeon 555 2Gb card. I get FPS spikes on any map even with reduced settings. Only thing that helped is reducing display resolution in-game. I can send logs if required.

calagamberro commented 5 years ago

Hi all, new to GitHub. Been going crazy after this issue for days. Seeing this not being solved after the last update makes me worry seriously. I paid a lot of money for the CS full franchise pack and now I just cannot play it. After more than 1 year, crickets. Any updates? Did someone figure it out?

Cheers!

Baghelito commented 5 years ago

I’m running between 100 and 250 FPS now in comparative depending on map. So for me it’s fixed, can’t complain anymore. Danger Zone sucks tho. I’m using a Mac Pro late 2013 Quad (also known as the trash can).

vaultah commented 5 years ago

Yeah, for me this particular issue doesn't exist anymore, but CS:GO still performs worse on Linux than on Windows with the very same hardware. The average FPS I get is roughly the same (between 180 and 230), but on Linux I also get quite a bit of random stuttering. I gave up on trying to play this game on Linux.

calagamberro commented 5 years ago

I use lubuntu, it eats 100% of RAM and 2GB of the swap. It happens on TF2 as well, only not that painful. Has anyone figured out how did that get fixed?

Thanks

pavel-odintsov commented 5 years ago

Hello!

I enjoyed CS:GO for 5 last months and now it broken again. FPS does not exceed 12-14 FPS in exactly the same hardware which I previously generated 50-70 FPS. Game is completely unplayable (I tried hard but that's terrible experience).

From my memory, it's 7th time (I'm not joking) when Valve broken performance for MacOS.

Obviously, they do not care about MacOS users at all. And it makes me completely disappointed.

My OS:

valve_macos

And I did not upgrade my MacOS recently. It became broken right after "yet another minor" upgrade for CS:GO from Steam.