Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CS2's performance on the Linux operating system is very, very, very, very poor #3413

Closed
474420502 opened this issue Oct 5, 2023 · 9 comments

Comments

@474420502
Copy link

474420502 commented Oct 5, 2023

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.

Steps for reproducing this issue:

I am a frequent user of the Linux operating system who plays CSGO, and I used to get frame rates of 350-500fps. However, after updating to CS2, my frame rate has suddenly dropped to a very low level, around 100, making it impossible for me to play normally. I hope that you can fix this issue as soon as possible, as the frame rate tends to drop when there are many players or when playing multiple rounds in a row.

2023-10-06 02-47-56 的屏幕截图

2023-10-06 02-48-37 的屏幕截图

2023-10-06 02-48-43 的屏幕截图

2023-10-06 02-49-29 的屏幕截图

@KenTheWhaleGoddess
Copy link

KenTheWhaleGoddess commented Oct 5, 2023

Hey, while I agree there's lots of issues, let's remember that the big reason they're struggling is that all Linux is on various configurations.

I noticed your Kernel is not up to date Kernel Version: 5.15.0-84-generic vs Kernel 6.1 which is marked as longterm here - https://www.kernel.org/

Try updating that? You might need to fiddle with the NVidia driver afterwards

I have lots of issues but not this type of unplayable framerate ATM.
My configs - https://gist.github.com/KenTheWhaleGoddess/7dcee2250a48fd48450bb5fe70844f3f

@Keplyx
Copy link

Keplyx commented Oct 5, 2023

The main issue is that their vulkan renderer (used on linux) is not on par with their directX one (used on windows). This is to be expected as csgo did not have a native vulkan renderer, so it is brand new in cs2. There are already a lot of reports about performance issues, the best we can do is focus our reporting on the same thread (eg #3338), it will help the devs fix this.

@KenTheWhaleGoddess
Copy link

Yup, lets consolidate it. This can be closed and tagged there as a data point.

@kisak-valve
Copy link
Member

Hello @474420502, this issue is already being tracked at #3325 / #3338. Feel free to add your experience to an older issue report.

Closing in favor of the older issue reports.

@kisak-valve kisak-valve closed this as not planned Won't fix, can't repro, duplicate, stale Oct 5, 2023
@474420502
Copy link
Author

@KenTheWhaleGoddess
I have already updated to the latest Linux drivers, but the issue remains unresolved. I switched to Windows to play CS2, and initially, I was able to maintain a frame rate of 250 FPS. However, as the number of rounds and item usage increased, the performance became extremely poor. When there are more complex elements in the scene, such as dropped guns, bloodstains, changing water surfaces, scene alterations caused by explosions, and bullet traces, the frame rate starts to decline. Even reducing the number of character models results in a drop in frame rate. This problem persists over time and worsens, causing more lag with each round. It appears that some data within the scene is not being cleared, leading to rendering in each round. This issue is not limited to Linux systems; Windows experiences the same problem. Even with a GeForce RTX 3070, the frame rate on Windows can drop to 120 FPS, which is highly unsatisfactory.

@KenTheWhaleGoddess
Copy link

If you switched OS and are still experiencing the issue, then it shouldn't have to do with Linux or Linux Runtime right?

@474420502
Copy link
Author

If you switched OS and are still experiencing the issue, then it shouldn't have to do with Linux or Linux Runtime right?

On the Linux system, CS2 exhibits more frequent frame drops and lower frame rates compared to Windows. However, I agree with your assessment that this is an area where CS2 requires optimization, as mentioned before. It is important for the developers to pinpoint the key areas of performance loss by using tools such as flame graphs and printing performance traces. This will aid in identifying the specific bottlenecks and areas that need improvement on the Linux platform.

@KenTheWhaleGoddess
Copy link

KenTheWhaleGoddess commented Oct 9, 2023 via email

@nipnipj
Copy link

nipnipj commented Apr 26, 2024

Questions: Is a fix coming? Any official news?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants