ValveSoftware / csgo-osx-linux

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

Low FPS after upgrading Fedora to 39 #3714

Open kjarosh opened 3 months ago

kjarosh commented 3 months ago

Your system information

Please describe your issue in as much detail as possible:

Game is unplayable due to low FPS. It is especially evident during combat, looking at smokes/flames, spraying but it is not consistent: sometimes it lowers FPS to like 30, sometimes to 5. This starts happening as soon as the game is started, restarts do not help at all. Usually on spawn and far from enemies the FPS is high.

This started happening right after upgrade from Fedora 38 to 39. Fedora 38 newest updates — no issues, as soon as I upgraded to Fedora 39 it started happening.

Steps for reproducing this issue:

  1. Play the game on Fedora 39.
ghost commented 2 months ago

Perhaps you should reset the Vulkan shaders and recompile them, because after the Fedora update, Mesa was most likely updated as well

kjarosh commented 2 months ago

Perhaps you should reset the Vulkan shaders and recompile them, because after the Fedora update, Mesa was most likely updated as well

Thank you for the suggestion, but it did not work. Cleared the cache, recompiled them, even reinstalled CS2, nothing worked.

Right after recompiling shaders the performance got even worse (longer stutters), but it got to the baseline (the issue description) after playing some time.

Giger22 commented 2 months ago

Same here, after updating to KDE Plasma 6.0.4. FPS are really low (30-5) but after one day it got back to a baseline. Weird!

EDIT

After a reboot the issue happens again.

kjarosh commented 2 months ago

Gathered some console logs from today's game. I was expecting to see the output mentioned in the release notes, and that's the only thing I found in the console. Not sure how helpful this is though...

Excessive frame time of 127.27ms clamped.  Acting as if the frame only took 100.00ms
  95.64ms Client Rendering
  91.26ms PanoramaUI
  19.95ms Frame Boundary
   5.67ms Client Simulation
   2.64ms Networking
   1.80ms Client Input/Output
[...]
[VProf] Summary of 138645 frames.  (55153 frames excluded from analysis.)
[VProf] FPS: Avg=143.6, P1=44.1
[VProf] VProfLite stopped.

I did not see any other logs related to performance despite me having pretty horrible performance momentarily multiple times (during seeing enemies, smokes, molotovs, etc.).

kjarosh commented 2 months ago

More performance logs from today's games with cl_frametime_summary_report_detailed.

Dust 2:

[VProf] -- Performance report --
[VProf] Summary of 170114 frames.  (73250 frames excluded from analysis.)
[VProf] FPS: Avg=137.8, P1=50.2
[VProf] 
[VProf]                                                       All frames         Active frames   
[VProf]                                                         Avg    P99        N    Avg    P99
[VProf] ---------------------------------------------------- ------ ------   ------ ------ ------
[VProf]                                           FrameTotal   7.26  19.93   170114   7.26  19.93
[VProf]                                       Frame Boundary   2.65   8.73   170114   2.65   8.73
[VProf]                                     Client Rendering   1.94   6.23   170114   1.94   6.23
[VProf]                                    Client Simulation   1.72   7.43   170114   1.72   7.43
[VProf]                                           Prediction   0.55   2.98   170114   0.55   2.98
[VProf]                                           PanoramaUI   0.54   2.17   170114   0.54   2.17
[VProf]                                             Sleeping   0.39   2.46    61375   1.08   2.61
[VProf]                                          Unaccounted   0.36   2.26   170114   0.36   2.26
[VProf]                                           Networking   0.25   2.97   170114   0.25   2.97
[VProf] LatchAndSaveLastSimulationValuesForInterpolationList   0.14   1.10    77262   0.31   1.85
[VProf]                                  Client Input/Output   0.11   0.69   170114   0.11   0.69
[VProf]                                       Client Physics   0.10   0.77    77489   0.22   1.29
[VProf]                                                Magic   0.00   0.09     2943   0.11   0.59
[VProf]                                           FileSystem   0.00   0.00      108   0.76  20.42
[VProf]                                     Econ Description   0.00   0.00       48   0.09   0.62
[VProf] 
[VProf] VProfLite stopped.

Inferno:

[VProf] 
[VProf] -- Performance report --
[VProf] Summary of 141176 frames.  (47664 frames excluded from analysis.)
[VProf] FPS: Avg=83.2, P1=33.3
[VProf] 
[VProf]                                                       All frames         Active frames   
[VProf]                                                         Avg    P99        N    Avg    P99
[VProf] ---------------------------------------------------- ------ ------   ------ ------ ------
[VProf]                                           FrameTotal  12.02  30.04   141176  12.02  30.04
[VProf]                                       Frame Boundary   5.20  17.49   141176   5.20  17.49
[VProf]                                     Client Rendering   3.35   9.33   141176   3.35   9.33
[VProf]                                    Client Simulation   2.03   4.87   141176   2.03   4.87
[VProf]                                           Prediction   0.84   3.89   141176   0.84   3.89
[VProf]                                          Unaccounted   0.53   2.49   141176   0.53   2.49
[VProf]                                           PanoramaUI   0.52   2.36   141176   0.52   2.36
[VProf]                                           Networking   0.45   2.20   141176   0.45   2.20
[VProf] LatchAndSaveLastSimulationValuesForInterpolationList   0.26   3.09   102883   0.36   3.38
[VProf]                                       Client Physics   0.19   0.73   102995   0.26   0.92
[VProf]                                  Client Input/Output   0.15   1.44   141176   0.15   1.44
[VProf]                                                Magic   0.00   0.11     2427   0.12   0.52
[VProf]                                           FileSystem   0.00   0.00       96   1.00   7.21
[VProf]                                             Sleeping   0.00   0.00       16   1.32   3.22
[VProf] 
[VProf] VProfLite stopped.