csgo-osx-linux
csgo-osx-linux copied to clipboard
Linux performance issues since the 64 bit client update
This issue is for the purpose of tracking performance problems with Linux. Other general performance issues reported on Linux will be closed as duplicates of this issue.
While in ideal conditions it is possible to get performance parity with the Windows CS:GO client, ToGL which is used to internally translate Source 1's DirectX to OpenGL may use an additional CPU core and up to twice as much vram as CS:GO using DirectX on Windows.
The client should be in relatively good shape right now, however, there is a known severe performance regression that sometimes appears with nVidia's proprietary driver(#185/#1039). As of this writing Mesa does not contain a shader cache, and the client will take longer to start up and may have significant frame drops when using individual shaders for the first time in a session. (#528)
The nVidia 378.xx-387.xx series driver has been reported to use more VRAM than expected, which can lead poor performance.
Please use the latest driver version supported by your hardware for the best experience.
As replies to this issue you may post your system information (Steam
-> Help
-> System Information
), graphics settings, along with the performance you experienced before and after the update.
just posting so i can keep an eye on thread. will post details about new update as soon as ive gone through and tested.
ubuntu 14.04 64 bit
thanks @Tele42 we needed one of these
im getting a little bit more consistancy but still weird drops i took a screen shot of the net graph when it drops il attach. and my standards are pretty low.
But i was dropping to 1 fps now i drop to 10 but id say i can play 70% of the game at a normal fps rate, but the drops are random through the game.
Weird temporary fixes were pressing esc twice, switching guns multiple times in quick sucession, changing fps_max values and switching resolution to a lower one. but all are only temporary and only last for a couple minutes if im lucky. mainly 3/4 of a round before the drops come back. shadows effected frame rate severely pre the last update. now its almost as if its the opposite in some circumstances. i.e outside b tunns dust 2 then going into b tunns/ outside long doors dust 2 t side then going into long doors and on cobble going into the dragonlore room (no idea callouts on cobble) then going out to site seems to drop.
Also when there is a mass gunfight where theres 3 or more on each team trying to fight over the same area.
smokes seem to be ok though as it did coz frame drops but not as severe as before, same goes with molotovs. same with multicore rendering for me as it used to cause problems.
The .mem level was changing themselves pre update but now are staying where the setting was (for me)
ubuntu 14.04 64 bit Intel® Core™ i7-2670QM CPU @ 2.20GHz × 8 8gb mem
Sorry im not as advanced as most users but will keep putting in info as i can.
pic is of it starting to happen and the sv in the net graph shoots up as the frames drop
Computer Information: Manufacturer: Unknown Model: Unknown Form Factor: Laptop No Touch Input Detected
Processor Information: CPU Vendor: GenuineIntel CPU Family: 0x6 CPU Model: 0x2a CPU Stepping: 0x7 CPU Type: 0x0 Speed: 3100 Mhz 8 logical processors 4 physical processors HyperThreading: Supported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Unsupported SSE41: Supported SSE42: Supported AES: Supported AVX: Supported CMPXCHG16B: Supported LAHF/SAHF: Supported PrefetchW: Unsupported
Network Information: Network Speed:
Operating System Version: Ubuntu 14.04.4 LTS (64 bit) Kernel Name: Linux Kernel Version: 4.2.0-38-generic X Server Vendor: The X.Org Foundation X Server Release: 11702000 X Window Manager: Compiz Steam Runtime Version: steam-runtime-release_2016-02-23
Video Card: Driver: Intel Open Source Technology Center Mesa DRI Intel(R) Sandybridge Mobile x86/MMX/SSE2
Driver Version: 3.0 Mesa 11.0.2
OpenGL Version: 3.0
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 60 Hz
VendorID: 0x8086
DeviceID: 0x116
Revision Not Detected
Number of Monitors: 2
Number of Logical Video Cards: 1
Primary Display Resolution: 1360 x 768
Desktop Resolution: 2640 x 1024
Primary Display Size: 27.87" x 15.67" (31.97" diag)
70.8cm x 39.8cm (81.2cm diag)
Primary VRAM Not Detected
Sound card: Audio device: Realtek ALC271X
Memory: RAM: 7837 Mb
Miscellaneous: UI Language: English LANG: en_NZ.UTF-8 Microphone: Not set Total Hard Disk Space Available: 930854 Mb Largest Free Hard Disk Block: 840426 Mb VR Headset: None detected
Sat Jun 25 12:14:37 2016 GMT: file ''/tmp/dumps/assert_20160626000057_1.dmp'', upload yes: ''CrashID=bp-b0748878-d2b4-4141-9327-7990e2160625''
#1106
@hadlee10, please include your system information from steam (Steam -> Help -> System Information) in a gist and add that as a link in your comment.
@Tele42 sorry hopefully thats added in now. also if needed i have linux issues stored in my email could go through and reference in this if they havent already been.
When the 64bits client as been release the first thing i do is to rename csgo_linux64 to hl2_linux (modified script too).
Because Catalyst Control Center have a preset for hl2_linux process.
Optionnaly, is it possible to recompile CS:GO game with GCC 5.3 ? The 5.3 version have some CPU Optimizations especially for AMD's CPUs (i don't know for Intel).
@NogradThGin does that mean modify the sh file and rename the executable? i also had to adjust some pulse audio settings.
after the last update and a few tweaks im getting more consistant fps. *the mem.level still changes itself but if you go into ur video.txt file change it to 2 (or what level mem u have) and then save exit file and make read only it stays. *also had to put it at fps_max 128 or fps_max 64 *change csgo_64linux to hl2_linux. and edit the .sh file to accomadate the name change. *done an autoconfig with pretty much the lowest settings all around (viewmodel bob etc). and now im getting the most consistant play ive ever had. 65-80 fps with drops only when i look at smoke or if any alerts come up (drops to 15-20 fps, any commands known i could try to eliminate them?) i.e bomb has been planted or round start etc. *also native resolutions help alot (if thats what their called.)
my standards arent high but neither is my lappy specs so im almost happy with where we are at in regards to these issues.
i used fps benchmark workshop map to help me find averages and mess around with settings then re-test them in a bot match and then an online match.
im on ubuntu 14.04 and my computer information is above.
Changing the name is a tips for match with your driver game profile (especially for AMD, i don't know for nVidia).
my specs are: FX-8350 R9 390 8Gib (Sapphire) 16Gib RAM Archlinux 64bits - Driver 15.12 Compiz (Playing in 1280x960 4:3 Format) Shadow : High Anisotropic 16x All other settings to Minimal
250-320 FPS Average
I'm suffering frequent crashes and when multicore is enabled massive slowdowns while playing. The main menu often opens at 18fps rather than 118fps which I get normally. I have the nvidia drivers and I run an nvidia gt680. Can this become a priority? It is making the game unplayable.
CSGO used to have a solid 70-80fps on intel hd 4000 drivers (lowest settings), now I can barely hit 30. Can 64-bit be put on beta so we can at least play csgo?
Removing multicore rendering solved the issue for me: it is stable and I have more fps than before, no more fps drops.
Edit: no it does not solved my problem, after some games it came back. I was just happy to not have it for two consecutive games.
The problem with having to disable multi-core rendering is that in some situations, one of my cores gets maxed out and my frames drop. For a competitive game like CSGO its very frustrating. I dual boot windows for gaming purposes and CSGO runs wayyyy better on Windows with zero fps drops at inopportune times. I sure hope Linux performance will improve because per-core speed in high end CPUs has pretty much topped off so if this 64bit CSGO client doesn't get better optimized, the only option I'll have is to reboot into Windows every time I want to have a serious CSGO match. That would suck.
game drops down to 5fps after a while with multi core enabled.
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Family: 0x6
CPU Model: 0x3c
CPU Stepping: 0x3
CPU Type: 0x0
Speed: 4000 Mhz
4 logical processors
4 physical processors
HyperThreading: Unsupported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Unsupported
SSE41: Supported
SSE42: Supported
AES: Supported
AVX: Supported
CMPXCHG16B: Supported
LAHF/SAHF: Supported
PrefetchW: Unsupported
Network Information:
Network Speed:
Operating System Version:
"Arch Linux" (64 bit)
Kernel Name: Linux
Kernel Version: 4.6.4-1-ck
X Server Vendor: The X.Org Foundation
X Server Release: 11803000
X Window Manager: Fluxbox
Steam Runtime Version: steam-runtime-beta-release_2016-06-15
Video Card:
Driver: NVIDIA Corporation GeForce GTX 770/PCIe/SSE2
Driver Version: 4.5.0 NVIDIA 367.35
OpenGL Version: 4.5
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 60 Hz
VendorID: 0x10de
DeviceID: 0x1184
Revision Not Detected
Number of Monitors: 2
Number of Logical Video Cards: 1
Primary Display Resolution: 1920 x 1080
Desktop Resolution: 3840 x 1080
Primary Display Size: 23,54" x 13,23" (26,97" diag)
59,8cm x 33,6cm (68,5cm diag)
Primary Bus: PCI Express 16x
Primary VRAM: 2048 MB
Supported MSAA Modes: 2x 4x 8x 16x
Sound card:
Audio device: Realtek ALC1150
Memory:
RAM: 32129 Mb
Miscellaneous:
UI Language: English
LANG: en_US.UTF-8
Microphone: Not set
Total Hard Disk Space Available: 196560 Mb
Largest Free Hard Disk Block: 122145 Mb
VR Headset: None detected
lol do you get trade banned for leaving casual matches? because i got a temp ban and didn't know why.
I also have fps drops to about 10-30 fps with multi-core rendering enabled and the game feels choppy. Disabling multi-core rendering helps, the game becomes smooth and fps becomes stable. I'm use Arch Linux now, but i also used Debian Jessie. On Debian csgo works perfect even with multi-core rendering enabled.
My system info:
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Family: 0x15
CPU Model: 0x2
CPU Stepping: 0x0
CPU Type: 0x0
Speed: 3500 Mhz
6 logical processors
3 physical processors
HyperThreading: Supported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Supported
SSE41: Supported
SSE42: Supported
AES: Supported
AVX: Supported
CMPXCHG16B: Supported
LAHF/SAHF: Supported
PrefetchW: Unsupported
Network Information:
Network Speed:
Operating System Version:
Linux (64 bit)
Kernel Name: Linux
Kernel Version: 4.6.4-1-ARCH
X Server Vendor: The X.Org Foundation
X Server Release: 11803000
X Window Manager: Xfwm4
Steam Runtime Version: steam-runtime-beta-release_2016-06-15
Video Card:
Driver: NVIDIA Corporation GeForce GTX 750 Ti/PCIe/SSE2
Driver Version: 4.5.0 NVIDIA 367.35
OpenGL Version: 4.5
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 60 Hz
VendorID: 0x10de
DeviceID: 0x1380
Revision Not Detected
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,91" x 11,73" (23,94" diag)
53,1cm x 29,8cm (60,8cm diag)
Primary Bus: PCI Express 16x
Primary VRAM: 2048 MB
Supported MSAA Modes: 2x 4x 8x 16x
Sound card:
Audio device: Realtek ALC887-VD
Memory:
RAM: 7970 Mb
Miscellaneous:
UI Language: English
LANG: ru_RU.UTF-8
Microphone: Not set
Total Hard Disk Space Available: 938767 Mb
Largest Free Hard Disk Block: 756224 Mb
VR Headset: None detected
I'm curious if the poor multi-core rendering behavior is a regression/change in nvidia's driver. If someone has some extra time maybe try nvidia 361.xx and give a subjective comparison.
Here on arch and nvidia GTX680 NVIDIA-SMI 367.35
Only can play if a restart the PC and open a game. If I've been using the pc for some time and start a game it's a sluggish 3fps crawl.
@Tele42 I have never been able to enable mulit-core rendering, regardless of the driver version, but I stopped testing it a while ago. More recently I reset my video settings to default and got the severe fps drop again until I again disabled mutil-core rendering. Not sure which nv driver I was on at the time though.
anyone got any quick workarounds or anything this is just unplayable for me.
@hadlee10 depends on what you already tried.
intel drivers updates, mem.level changes, mat_queue_mode changes, changing to hl2_linux64 and adjusting .sh file to match, adjusting pulse audio settings through pavucontrol, before was reverting to 32 bit but that was a while ago now, resolution changes, the audio settings (changing it from 2 speakers), different launch options. i definitely missed a few but even to the point leaving my computer off for an hour then trying, pressing esc before the start of the round, autoconfig trying to lessen the load by disabling bob movement and the like. redownloading the game (probably like 4 times now). most workarounds that have been offered in the last 3 months i think. just after a while ive forgotten all of them. id just want something simple i can do before a round that would increase the chances of not skipping every gun fight.
It's pretty weird to see people have bug with MultiCore Rendering, does anyone having this issue isn't a nVidia user or is it always with them ?
Personnaly i play CS:GO always in 4:3 black bar (1280x960) All Low exept Model & Shadow (+Anisotropic x16). I always it over 220FPS exept on de_nuke (the optimization on it isn't really good honestly).
Some tweaks can be used for up your fps. As i said Drivers have internal profiles for games depending on executable name. Maybe renaming csgo_linux64 to hl2_linux can help some of you (don't forget to modify the script in this case).
(EDIT-> Here the script line to modify (line.30)
GAMEEXE=csgo_linux64
to
GAMEEXE=hl2_linux
In the csgo.sh script appear this lines :
export __GL_THREADED_OPTIMIZATIONS=1
export multithread_glsl_compiler=1
Maybe modifying some of this options can help too. Don't hesitate too try many things guys, I know some of you don't really want to take time for finding optimizations by themselves because the game is suppose to run fine after installation but we are the Linux army -> the army of little genius who like modify everything 8D.
Hope my ideas will help.
@hadlee10 I just saw one thing. You failed the rename, it's not csgo_linux64
to hl2_linux64
but to hl2_linux
I precise for everyone that my MultiCore.Rendering is enable.
cool thanks. much appreciated mate. gunna keep trying different things.
@NogradThGin, taking a look at https://cgit.freedesktop.org/mesa/mesa/tree/src/mesa/drivers/dri/common/drirc indicates there is no application-specific hacks (aka profiles) in mesa for csgo. Renaming the binary is expected to have no effect on performance for those users.
@Tele42 Right. But for Nvidia/AMD users it's an other story. For Mesa users you can try to use the git version of mesa Mesa 12.0 Released With OpenGL 4.3 Support, Intel Vulkan & Many Other Features (Phoronix)
Mesa 11.x doesn't support OGL 4.3 if i remember correctly.
for me, disabling multicore rendering is a drop in framerate, about 2x. multicore used to have mem leaks, massive fps drop, and then caused game to crash in the past. hadn't saw this issue for a while. but performance under Linux are still far from Windows version, especially since csgo as gone 64bits. (about 100fps vs 300fps for the same settings) my config : ubuntu 16.04 amd 64 with gnome shell geforce GTX 770 with 367.65 drivers AMD Phenom II 8320 with 12 GB of RAM
@NogradThGin thanks that did help and so has playing with
export __GL_THREADED_OPTIMIZATIONS=1 export multithread_glsl_compiler=1
still playing with it though.
The stuck fps drop seems to happen much more frequently with multicore enabled, although I'm pretty sure it's happened with it disabled as well, albeit rare. Same behavior in TF2 as well.
Is there anything I could capture that would help figure out what's going on when it happens? (other than the sysinfo dump)
I still have the problem...
Conf : CPU~Quad core Intel Core i7 930 (-HT-MCP-) speed/max~1600/2801 MHz Kernel~4.7.0-1-ARCH x86_64 Up~3:52 Mem~2563.8/7978.4MB Procs~205 Client~Shell inxi~2.3.0