ValveSoftware / csgo-osx-linux

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

Possible cause fps problems? #1314

Open ghost opened 7 years ago

ghost commented 7 years ago

EDIT Please don't close this yet i think i might have found the issue.

ghost commented 7 years ago

Very low cpu usage at almost highest settings screenshot from 2017-02-04 01-15-07

ghost commented 7 years ago

Minimized or deselect csgo stable 4% screenshot from 2017-02-04 01-17-43

around 150fps (It shows 100 because when i take image it drops down in a miliseconds 50 frames) screenshot from 2017-02-04 01-25-26

I installed steam from website and when asked to install libraries i CTRL C and just install csgo rightaway on a 16.10 ubuntu Nvidia GTX 775M

The following additional packages will be installed: gcc-6-base:i386 libbsd0:i386 libc6:i386 libdrm-amdgpu1:i386 libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libedit2:i386 libelf1:i386 libexpat1:i386 libffi6:i386 libgcc1:i386 libgcrypt20:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libglapi-mesa:i386 libgpg-error0:i386 libllvm3.8:i386 libpciaccess0:i386 libstdc++6:i386 libtinfo5:i386 libtxc-dxtn-s2tc0:i386 libudev1 libudev1:i386 libx11-6:i386 libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-sync1:i386 libxcb1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxinerama1:i386 libxshmfence1:i386 libxss1:i386 libxxf86vm1:i386 udev zlib1g:i386

something in here causes performance drops (there may some increase performance idk which libraries are really needed and which ones are causing fps stuttering can you tell me.

ghost commented 7 years ago

250-300 stable fps at a community server

screenshot from 2017-02-04 01-46-05

bug started to appear now 30 -35 FPS continuesly i dont know why this happening starts to go yellow red screenshot from 2017-02-04 01-52-40

screenshot from 2017-02-04 01-57-40 In menu 45 fps ( no settings were changed nor restarted csgo (possible alt tab and window reposition nothing else. (EDIT when opening console 45 fps , when just menu 117/120 screenshot from 2017-02-04 02-01-52

on restart csgo bug dissapeared 200 - 300 fps stable

Also when csgo freezed my system also was freezing maybe this can be of help (Swap file was 800mb (I have 8GB ram tcmalloc: large alloc 6806675456 bytes == 0x7fec802b9000 @ tcmalloc: large alloc 18446744073627963392 bytes == (nil) @ tcmalloc: large alloc 7341457408 bytes == 0x7feac9dbd000 @

ghost commented 7 years ago

okay i've fixed alot of things but i'm stuck on my latest error i dont know if it is harmless but i would like to fix it before starting csgo to check wether csgo works perfectly

hasan@HasanPC:~$ steam Running Steam on ubuntu 16.10 64-bit STEAM_RUNTIME is enabled automatically Installing breakpad exception handler for appid(steam)/version(1484790260) Installing breakpad exception handler for appid(steam)/version(1484790260) GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications. Installing breakpad exception handler for appid(steam)/version(1484790260) Installing breakpad exception handler for appid(steam)/version(1484790260) Installing breakpad exception handler for appid(steam)/version(1484790260) Installing breakpad exception handler for appid(steam)/version(1484790260) Installing breakpad exception handler for appid(steam)/version(1484790260) Installing breakpad exception handler for appid(steam)/version(1484790260) Installing breakpad exception handler for appid(steam)/version(1484790260) Installing breakpad exception handler for appid(steam)/version(1484790260) Installing breakpad exception handler for appid(steam)/version(1484790260) Generating new string page texture 7: 128x256, total string texture memory is 131,07 KB Generating new string page texture 8: 64x256, total string texture memory is 196,61 KB Generating new string page texture 9: 48x256, total string texture memory is 245,76 KB Generating new string page texture 10: 256x256, total string texture memory is 507,90 KB

There is also another error

(steam:7012): GLib-GObject-WARNING : /build/glib2.0-6SKPi7/glib2.0-2.50.2/./gobject/gsignal.c:2523: signal 'child-added' is invalid for instance '0x57d32050' of type 'GtkMenu'**

ghost commented 7 years ago

Okay the fps drops are completely gone for now idk for how long but i have 300 Fps on maxed settings windowed while using 24%cpu 60% gpu this here is the latest picture for now

If there are logs i can provide just ask me please and can you mention where i can find the logs you can have all information from me because i want this fixed for good for everyone

screenshot from 2017-02-04 04-21-32

kisak-valve commented 7 years ago

@krilv, your comment has been removed for violating this issue tracker's code of conduct. Please try to keep it civilized.

krilv commented 7 years ago

Then work on the game so it can playable for those who bought it, not ruin it with every update.

LWSS commented 7 years ago

I have found a very easy to fix direct-cause of lower FPS

Simply set mat_postprocess_enable 0 and disable it from ever being turned on again. This can increase frames by 10-30( for me ) or 20%

It also looks very bad, here's a couple photos from a reddit post complaining about how it was in the game from 2013. ON: http://i.imgur.com/5IJaT.jpg OFF: http://i.imgur.com/RexjP.jpg

mackatozis commented 7 years ago

@LWSS

mat_postprocess_enable is a cvar that can be changed only if you have sv_cheats enabled.

LWSS commented 7 years ago

@efthialex Yep, I knew that, but it's garbage and shouldn't be in the game.

Having an option to disable does not affect gameplay and improves performance.

ericek111 commented 7 years ago

I made a simple program that disables post-processing effects: https://github.com/ericek111/linux-csgo-nopostprocessing

If fellow developers from Valve really think that forcing mat_postprocess_enable is a crime against humanity, they will remove it.

I personally like it with postprocessing enabled tho.