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
rodolfolabiapari commented 5 years ago

It's old but isn't dead to play this game. To go from 60 fps to 12 shooting is a joke. image

lordrandeshxd commented 5 years ago

man my frames are locked at 9 fps wtf i tried alot of things but still nothing

madsouris commented 4 years ago

problem is still here, but randomly from a map to another map

lixeon commented 4 years ago

the same problem. thanks this help me forget the game

vivekgangwar02 commented 4 years ago

I also have ROG, I used to get 140+ fps on max settings, but the game becomes unplayable after few minutes of gameplay. game starts to freeze(maybe this is fps loss), there is continous variation of about 30ms. I'm on ubuntu, tried changing nvidia version 435,430,390, nothing works.

facerollonkeyboard commented 4 years ago

I fixed my problem, constant 250 fps, no fps drops or input lag. The input weirdness was solved after disabling the mouse acceleration.

I don't if this would help, but I found the solution for my fps drops over here, maybe try it as a last resort: https://www.crispyfixes.com/forum/linux/guide-how-to-fix-fps-drops-in-linux

ziprasidone146939277 commented 1 year ago

Same here, its a crazy. Doom Eternal at max quality +100 FPS (100-140) CS:GO starts at +500 FPS then it slows down at -100 FPS. (70-100). RTX 3070 Ti. Tried everything.

AbhijeetSingla commented 1 year ago

Hey, That website is in maintenance, meanwhile here's the temporary link https://ygcnope.wixsite.com/website/forum/linux/guide-how-to-fix-fps-drops-in-linux

ziprasidone146939277 commented 1 year ago

Hey, That website is in maintenance, meanwhile here's the temporary link https://ygcnope.wixsite.com/website/forum/linux/guide-how-to-fix-fps-drops-in-linux

Thank You. I am researching about this.. I wonder if the CPU Throttling fix it's safe in someway.

ziprasidone146939277 commented 1 year ago

No luck with https://github.com/erpalma/throttled. I guess that in my case it not about throttling; since this only appear to happen in CS:GO.

AbhijeetSingla commented 1 year ago

if you don't mind me asking, what is your setup, like processor and OS?

ziprasidone146939277 commented 1 year ago

@AbhijeetSingla its a Intel i7-12700H + RTX3070 Ti. Pop!_OS 22.04 LTS

AbhijeetSingla commented 1 year ago

@ziprasidone146939277 If you have some spare time, could you please boot up a fedora 37 instance and then test csgo, since it uses linux kernel 6, I think it might be driver issue.

ziprasidone146939277 commented 1 year ago

If you have some spare time, could you please boot up a fedora 37 instance and then test csgo, since it uses linux kernel 6, I think it might be driver issue.

Hello! Thank You for the tips; here some OS additional info, just in case:

OS:

NAME="Pop!_OS"
VERSION="22.04 LTS"

Kernel: 6.0.6-76060006-generic #202210290932~1667401208~22.04~d2df702 SMP PREEMPT_DYNAMIC Wed N

Nvidia:

Timestamp                                 : Mon Nov 21 03:11:49 2022
Driver Version                            : 515.65.01
CUDA Version                              : 11.7

Attached GPUs                             : 1
GPU 00000000:01:00.0
    Product Name                          : NVIDIA GeForce RTX 3070 Ti Laptop GPU
    Product Brand                         : GeForce
    Product Architecture                  : Ampere
    Display Mode                          : Disabled
    Display Active                        : Disabled
    Persistence Mode                      : Disabled

Mesa:

$ glxinfo | grep -i mesa
    GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, GLX_OML_swap_method, 
client glx vendor string: Mesa Project and SGI
    GLX_MESA_copy_sub_buffer, GLX_MESA_query_renderer, GLX_MESA_swap_control, 
    GLX_MESA_copy_sub_buffer, GLX_MESA_query_renderer, GLX_MESA_swap_control, 
Extended renderer info (GLX_MESA_query_renderer):
    Device: Mesa Intel(R) Graphics (ADL GT2) (0x46a6)
OpenGL renderer string: Mesa Intel(R) Graphics (ADL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.2.0
    GL_KHR_texture_compression_astc_sliced_3d, GL_MESA_framebuffer_flip_y, 
    GL_MESA_pack_invert, GL_MESA_shader_integer_functions, 
    GL_MESA_texture_signed_rgba, GL_NV_compute_shader_derivatives, 
OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.2.0
    GL_KHR_texture_compression_astc_sliced_3d, GL_MESA_framebuffer_flip_y, 
    GL_MESA_pack_invert, GL_MESA_shader_integer_functions, 
    GL_MESA_texture_signed_rgba, GL_MESA_window_pos, GL_NV_blend_square, 
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.2.0
    GL_KHR_texture_compression_astc_sliced_3d, GL_MESA_bgra, 
    GL_MESA_framebuffer_flip_y, GL_MESA_shader_integer_functions, 

I think that it does not worth to install a new OS just to try CS:GO.

In addition; I use Fedora as daily driver for work and; kernel, Mesa and critical componentes versiones are more or less the same as Pop!_OS.

madsouris commented 1 year ago

Replying to https://github.com/ValveSoftware/csgo-osx-linux/issues/1477#issuecomment-1321513324

I tried Fedora a few months back, Wayland didn't do well at all, lots of input lags. The frame didn't drop to 15 like other distro though

kylebakerio commented 1 year ago

As noted here, seems this possibly/likely an Nvidia driver bug that will be fixed with 525.

kaiwasaki commented 9 months ago

I noticed that the fps directly correlate with a drop in GPU usage in nvtop. Notice that I use gamemode in that setup: Screenshot_20240119_224104