-
Notifications
You must be signed in to change notification settings - Fork 68
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] Game freezes after a few seconds of playing with NVIDIA 525 #3273
Comments
I have the same freeze every time. I redirected stdout and stderr of the game via launch options. Looks like the game cannot find Stderr:
Stdout:
|
I'm having this issue as well, I'm on Manjaro. The moment I load into a game I have a few seconds to move and then my entire PC freezes. Only way to fix is to shut down computer completely. Also, no audio. |
@casrar you shouldn't need to reboot. I'm having the hanging as well, but I am able to tab over to a shell I keep open, then I can As for the sound issues, there is already an existing issue for this here. In the end, the workaround defined in that issue didnt work for me, but I was instead able to change the audio output in the game settings and I managed to get sound working. I have confirmed that I see the same error logged in stderr as @Tejes , but I seem to have that library already installed on my system, so its not clear why its not being loaded. Looking at the error message from stderr, it appears to be attempting to read a file called UPDATE: symlinking |
My game launches with very wierd graphical glitches and crashes some time after, always inconsistent can vary from 1 second to 3 minutes. Here is a screenshot of the tipical issues I see, heavy flickering, even the UI flickers. Polygons disappear and warp. Each log reports a different issue (redirecting stderr to a file):
Here is my system information. |
@asier-ochoa the graphic issue looks like a different thing. Graphics is nice for me. I have the same problem as OP. Everything seems to work perfectly, menu, graphics, sound and map loading are all good. But the game crashes immediately once someone is shooting. The system is completely stuck and not responsible anymore. 100% reproducable. Logs are the same as above, I can see no hints regarding the issue there. How to quit the game:
My System
dmesg output
|
I'm going to add I get this problem, any amount of time in the menu but shortly after loading a map it locks. I've noticed these two lines in the syslog appearing everytime it happens: [ 7512.237488] NVRM: Xid (PCI:0000:01:00): 32, pid=13078, name=cs2, Channel ID 0000012e intr 00040000 SystemDebian GNU/Linux trixie/sid (64 bit) |
Issue is fixed for me after upgrading to Nvidia driver 535 For Ubuntu: sudo ubuntu-drivers install nvidia:535 |
Either the several patches released since yesterday, or the updated Nvidia driver fixed it for me as well.
|
Upgrading my nvidia drivers to 535 fixed the freeze for me as well. But now I'm getting incredibly low fps on my GeForce 1050. With all graphics set to low, I'm getting as much as 25 fps on bot deathmatch Dust2. So it's pretty much unplayable for now. In CS:GO I had an average of 90 fps. |
@pLum0 Counter Strike 2 is the only game in my entire steam library that does this on linux. It keeps reporting malloc() issues and and general memory corruption. This is clearly valve's fault. Here is my dmesg output, each segfault is CS2 crashing at a different point:
|
Hello. Confirming, that the errors are gone with nvidia535. Thanks for the advice. That beeing said - my fps are very, very low - i didn't expect the difference to be that tremendous. So I can confirm @chrisribal 's comment. I am hoping for some improvements in the coming weeks because until now I was always 100% sure that I was able to have more fps under linux than under windows. Right now i am not sure anymore :D |
This happens to me as well but not in the game, only at the lobby. Once I manage to get to the game, it won't freeze. |
I have the same problem. I hope that Valve fixes this as soon as possible. Also on 525, as upgrading to 535 breaks multiple other games which are more important to me. On 535 the game also doesn't crash anymore but i also get only about 20 fps with GPU utilization being as low as 5-10% sometimes. |
Yeah. 525 is the newest on Debian stable unfortunately. There is no nvidia-driver on backports yet. sid is still also in 525 but experimental has 530 already. |
You can install directly from the package: https://www.nvidia.com/download/driverResults.aspx/211711/en-us/ |
Yeah, thats the nVIDIA .run file. |
Dunno, always worked fine for me |
You can always package the newer driver for your package manager yourself. Running the .run directly is not recommended. |
Is there a script for that, like with the DaVinci Resolve .run? |
I'd take the latest build files from your distribution, build them as-is to verify things are good, then start bumping the versions up. Or possibly reconsider using server-oriented distributions to play video games and use something up to date by default instead. |
Debian is not specifically a server-oriented distro. But it is very used in servers because how stable it is. I discovered a 'official' nVIDIA Debian repository with updated drivers at https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/ |
This has fixed the issue for me as well. |
I tried that and it makes my GTX 1080 roaring like crazy, xorg process also uses more CPU & GPU resource. CS2 no longer freeze though. To me play with a distro that has official support may be better. |
Correct me if there is a workaround i don't know of yet: Summary as of now 17.Oct.2023: nvidia-driver-525 => performance good but CS2 will freeze/crash on first bullet shoot. |
I run 535.113.01 and get 1440@200-240~ FPS (240Hz screen so FPS is limited) on Arch Linux, Wayland and Plasma, which is fine perfomance, but that's on the 4000 series. You could test the 545 beta branch which released today. EDIT: Now released as stable |
I run 535 with a GTX1060 6GB and an i7-7700 on Kubuntu 23.04 with X11. Performance is not horrible, but there are hiccups, FPS is 70-150. According to mangohud, GPU and CPU utilization is well below 100%, around 50-75%. The game does not feel smooth at all. A local dm practice with bots crashes the game every time on map change, this does not happen when playing online. |
Tested with Driver Version: 545.23.06 CUDA Version: 12.3 Ubuntu 22.04.3 LTS 64bit While the driver performance is quite good for other 3D Applications it crashes on upstarting CS2 @ the valve logo.
Stuck at VALVE logo und CS2 startup via steam after the libmatchmaking.so line.
I'm keeping the 545 driver because it performs quite well. |
+1 performance good but CS2 will freeze/crash on first bullet shoot.
|
CUDA Toolkit linux repository offers newer versions of NVIDIA display drivers (545) https://developer.nvidia.com/cuda-downloads?target_os=Linux Debian non-free testing nvidia-driver is at 525 |
Living the same problem on debian X11. Works fine with Nvidia 472 altough low fps w/ 1050ti, so i updated it to 525 and it crashes on main menu after few seconds. |
Same thing for me with Debian trixie/sid, RTX 2060 and driver version 525.125.06-2. It seems to me that I can mitigate the freeze intervals by closing all running programs that use lots of RAM. The game demands at some point more RAM than the system can provide and breaks the responsiveness of the whole system. In case the freeze happens, I can quickly kill the cs2 process by switching to another terminal with STRG+ALT+F3 and use the command top to locate the process id of cs2 and kill it with kill -9 (pid). I avoid installing the 535 driver, due to being problematic with other games or the distribution itself. So I guess I have to wait until there is a working release in the testing branch? |
You can either use 535 or wait for 545 to have a new release, as the current one suffers from #3504
It would be much simpler and faster to trigger OOM via Magic SysRq (Alt+PrntScr+F, Magic SysRq has to be enabled) |
@C0rn3j Thanks for the hint about Magic SysRq! Very helpful. |
People with issues on 525/535 can now try 545 as the issue I linked above has been fixed in 545.29.06 |
Tested with NVIDIA 545.29.06, game now opens, but screens keeps flickering
on Arch Linux 6.6.2-zen1-1-zen, using KDE with Wayland |
Tested and works with NVIDIA 545.29.06 |
O KDE (Wayland) NVIDIA 545.29.06 makes menu flick like crazy. On Dota 2 as well. Rolling back driver make issue go away. |
Game works perfectly in gamersclub and faceit. I send a ticket to then and they showed me the path to the dump files, i recommend that everyone send to them. The path is: C/program files(x86)/steam/dumps, inside the dumps folder may have a file about the cs2 crash. |
Reply to my message:
I updated to nvidia 535.98 (latest 535 driver) through the official installer to linux kernel 6.1.0-17-amd64, and it works flawless with high fps on 1050ti. 👌 |
Hello! Found a solution for 525. You need to add the following launch option: My configuration is: LMDE6 as distro, 1050Ti(525.147.05 driver) + Ryzen 1200. |
Nowadays, you want driver series 555 or later, combined with a Wayland compositor that supports explicit sync. |
Your system information
Steam
->Help
->System Information
) in a gist: https://gist.github.com/lamka02sk/90d4d2ebf8800d569ba520212cc878fdPlease describe your issue in as much detail as possible:
Game freezes after a few seconds of playing on a server. I don't know if it is the whole game or just graphics, because there is no sound anyway so I can't hear anything.
Steps for reproducing this issue:
The text was updated successfully, but these errors were encountered: