csgo-osx-linux icon indicating copy to clipboard operation
csgo-osx-linux copied to clipboard

memory leak & performance drop

Open olaulau opened this issue 11 years ago • 8 comments

Having a recurrent problem under Ubuntu 14.10 with nVidia drivers (tried many : 331, 346, 349 ...), amd64 platform. AMD 8320 @ 4GHz, 8GB DDR3, GeForce GTX 770 When playing several games with matchmaking, memory is never freed up between matches, but grows with every map load. starting from 1800MB, growing 100-200MB each match. stable during the match. CSGO seems begins to fail at ~ 2500MB, growing to 2700 MB, and framerate dropping to 10-15 fps.

  • playing many maps with the server browser seems not to have the bug, keeping memory usage under 2000MB
  • disabling multicore rendering seems to avoid the problem too (in matchmaking), but the framerate isn't as good as when it's enabled I've done those tests on a clean install as well, same behaviour. Problem occurs with gnome-shell and unity.

I can make several tests if I can help devs. Planning to make same tests under ubuntu 15.04 too.

olaulau avatar Apr 18 '15 22:04 olaulau

It may be that these two are related: https://github.com/ValveSoftware/Counter-Strike-Global-Offensive/issues/269

linuxstony avatar Apr 19 '15 15:04 linuxstony

I'll track memory usage to see if I observe a similar trend.

bsuttonq avatar Apr 21 '15 14:04 bsuttonq

I have experienced the framerate drop to 10-15fps after playing several matchmaking games in a row numerous times. I'll keep an I on memory usage next time and see if I observe the same thing.

hitcher404 avatar Apr 22 '15 20:04 hitcher404

I don't really think it's related : in my case, there is no freeze / crash (I tried to let it run several minutes, it stays at 10fps, and I can switch to another app very smoothly, the entire OS works well). Alt+F4 exits quickly CSGO and I can relaunch it normally. Sometimes CSGO crashes brutally, but this happens to many people. I also have a dual-screen, so it may be a path to follow.

olaulau avatar Apr 23 '15 00:04 olaulau

Got the same issues but having only one monitor.

SoftwareSchlosser avatar Apr 24 '15 10:04 SoftwareSchlosser

Same problem here, except I don't get such performance drops when RAM is exhausted, OS just starts filling swap partition. Wouldn't be a good idea to run it long to enough to completely fill it.

Processor Information: Vendor: AuthenticAMD CPU Family: 0x10 CPU Model: 0x4 CPU Stepping: 0x2 CPU Type: 0x0 Speed: 2800 Mhz 4 logical processors 4 physical processors HyperThreading: Unsupported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Unsupported SSE4a: Supported SSE41: Unsupported SSE42: Unsupported

Network Information: Network Speed:

Operating System Version: Ubuntu 15.10 (64 bit) Kernel Name: Linux Kernel Version: 4.2.0-16-generic X Server Vendor: The X.Org Foundation X Server Release: 11702000 X Window Manager: Metacity (Marco) Steam Runtime Version: steam-runtime-release_2015-06-12

Video Card: Driver: NVIDIA Corporation GeForce GTX 750 Ti/PCIe/SSE2

Driver Version:  4.5.0 NVIDIA 352.41
OpenGL Version: 4.5
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 59 Hz
VendorID:  0x10de
DeviceID:  0x1380
Number of Monitors:  1
Number of Logical Video Cards:  1
Primary Display Resolution:  1920 x 1080
Desktop Resolution: 1920 x 1080
Primary Display Size: 20,08" x 11,42"  (23,07" diag)
                                        51,0cm x 29,0cm  (58,6cm diag)
Primary Bus: PCI Express 16x
Primary VRAM: 2048 MB
Supported MSAA Modes:  2x 4x 8x 16x 

Sound card: Audio device: VIA VT1708B 8-Ch

Memory: RAM: 3952 Mb

Miscellaneous: UI Language: English LANG: en_US.UTF-8 Microphone: Not set Total Hard Disk Space Available: 283446 Mb Largest Free Hard Disk Block: 188617 Mb

Installed software:

Recent Failure Reports:

UCyborg avatar Oct 28 '15 15:10 UCyborg

Can someone confirm if this is still an issue and that it is severe enough to cause crippling performance since the 64 bit client update?

Tele42 avatar Jun 25 '16 15:06 Tele42

The majority of the memory leak was triaged in #1141. Starting with #1111, linux performance issues will be tracked on a unified performance issue report. There also is #1116 which has simular symptoms.

Closing in favor of #1116.

Tele42 avatar Jul 25 '16 13:07 Tele42