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] Game freezes after a few seconds of playing with NVIDIA 525 #3273

Open
lamka02sk opened this issue Sep 27, 2023 · 41 comments
Open

[CS2] Game freezes after a few seconds of playing with NVIDIA 525 #3273

lamka02sk opened this issue Sep 27, 2023 · 41 comments

Comments

@lamka02sk
Copy link

Your system information

Please 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:

  1. Start CS2
  2. Start competitive
  3. After a few seconds of moving around the map, game freezes - or at least the graphics
@Tejes
Copy link

Tejes commented Sep 28, 2023

I have the same freeze every time. I redirected stdout and stderr of the game via launch options. Looks like the game cannot find libpangoft2-1.0.so.

Stderr:

pid 1508973 != 1508972, skipping destruction (fork without exec?)
pid 1508974 != 1508972, skipping destruction (fork without exec?)
Using breakpad crash handler
[S_API] SteamAPI_Init(): Loaded '/home/tejes/.steam/debian-installation/linux64/steamclient.so' OK.
Setting breakpad minidump AppID = 730
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
09/28 01:58:53 Init: Installing breakpad exception handler for appid(730)/version(8375056)/tid(1508976)
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  [...] [API loaded yes]
SteamInternal_SetMinidumpSteamID:  Setting Steam ID:  [...]
Setting breakpad minidump AppID = 2347771
Fossilize INFO: Overriding serialization path: "/home/tejes/.steam/debian-installation/steamapps/shadercache/730/fozpipelinesv6/steamapprun_pipeline_cache".
 failed to dlopen "libpangoft2-1.0.so" error=libpangoft2-1.0.so: cannot open shared object file: No such file or directory
Fontconfig warning: "/home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/fonts.conf", line 39: unknown element "fontpattern"
Fontconfig warning: "/home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/fonts.conf", line 40: unknown element "fontpattern"
Fontconfig warning: "/home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/fonts.conf", line 41: unknown element "fontpattern"
Fontconfig warning: "/home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/fonts.conf", line 42: unknown element "fontpattern"
Fontconfig warning: "/home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/fonts.conf", line 43: unknown element "fontpattern"
Fontconfig warning: "/home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/fonts.conf", line 86: saw string, expected range
Fontconfig warning: "/home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/../../../core/panorama/fonts/conf.d/41-repl-os-win.conf", line 148: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/../../../core/panorama/fonts/conf.d/41-repl-os-win.conf", line 160: Having multiple values in <test> isn't supported and may not work as expected
/home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/cs2.sh: line 115: 1508976 Killed                  ${STEAM_RUNTIME_PREFIX} ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"

Stdout:

Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libengine2.so, got 0x55e7d4e452d0
Loaded libSDL3.so.0, got 0x55e7d5130840
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libtier0.so, got 0x55e7d4e2e910
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libfilesystem_stdio.so, got 0x55e7d516be30
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libinputsystem.so, got 0x55e7d516e120
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/liblocalize.so, got 0x55e7d51700c0
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/librendersystemvulkan.so, got 0x55e7d51707f0
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libresourcesystem.so, got 0x55e7d51d5970
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libschemasystem.so, got 0x55e7d51e7d30
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libmaterialsystem2.so, got 0x55e7d7b7b890
Loaded libpangoft2-1.0.so, got (nil)
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libpanorama_text_pango.so, got 0x55e7d7b9b560
Loaded libfreetype.so.6, got 0x55e7d7b9c670
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libpanorama_text_pango.so, got 0x55e7d7b9b560
Loaded libfontconfig.so.1, got 0x55e7d7b9cc70
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libmeshsystem.so, got 0x55e7d7e07660
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libworldrenderer.so, got 0x55e7d7e19be0
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libpulse_system.so, got 0x55e7d7e2c580
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libvscript.so, got 0x55e7d7e419e0
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libnetworksystem.so, got 0x55e7d7e53e20
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libanimationsystem.so, got 0x55e7d7e68420
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libvphysics2.so, got 0x55e7d7e7e620
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libsoundsystem.so, got 0x55e7d7e91b40
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libsteamaudio.so, got 0x55e7d7ea7d00
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libscenesystem.so, got 0x55e7d7ec43b0
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libparticles.so, got 0x55e7d7ed9e20
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libpanoramauiclient.so, got 0x55e7d7eed760
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libv8system.so, got 0x55e7d7ef2c70
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libpanorama.so, got 0x55e7d7ef83e0
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/csgo/bin/linuxsteamrt64/libserver.so, got 0x55e7d856bbb0
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/csgo/bin/linuxsteamrt64/libclient.so, got 0x55e7d859cde0
Loaded libmpg123.so.0, got 0x55e7d85da680
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libcairo.so, got 0x55e7d8b36cd0
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libengine2.so, got 0x55e7d4e452d0
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/csgo/bin/linuxsteamrt64/libhost.so, got 0x55e7d8b37300
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libscenefilecache.so, got 0x55e7d8b4abb0
Loaded /home/tejes/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/csgo/bin/linuxsteamrt64/libmatchmaking.so, got 0x55e7d8b5cf90

@casrar
Copy link

casrar commented Sep 28, 2023

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.

@senecaso
Copy link

senecaso commented Sep 28, 2023

@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 kill -9 the cs2 PID. Standard kill doesn't seem to be sufficient. There will be lag though, and you wont even be able to move your mouse for a bit, but it will kill the process and your machine will recover.

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 libpangoft2-1.0.so, however, the actual file included seems to be called libpangoft2-1.0.so.0 (found in: .../Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libpangoft2-1.0.so.0). Possibly just a missing symlink, or perhaps the file isn't correctly named.

UPDATE: symlinking libpangoft2-1.0.so.0 to libpangoft2-1.0.so resolves the error logged in stderr, however, the game continues to crash, so this appears to be an unrelated issue.

@asier-ochoa
Copy link

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.
Screenshot_20230927_201200

Each log reports a different issue (redirecting stderr to a file):

Here is my system information.

@pLum0
Copy link

pLum0 commented Sep 28, 2023

@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:

  1. Switch out after some lag with Alt+Tab
  2. Switch to already open Terminal or start a new terminal with Ctrl+Alt+T (mouse won't work)
  3. Run pkill -9 -f cs2.
  4. After again some lag, the system is back.

My System

  • Ubuntu 23.04
  • NVIDIA GeForce GTX 1080, Driver: 525.125.06

dmesg output

[ 3383.339241] NVRM: Xid (PCI:0000:01:00): 32, pid=16589, name=cs2, Channel ID 0000004e intr 00040000
[ 3383.339496] NVRM: Xid (PCI:0000:01:00): 32, pid=16589, name=cs2, Channel ID 0000004e intr 00040000

@hoolaparara
Copy link

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
[ 7512.237669] NVRM: Xid (PCI:0000:01:00): 32, pid=13078, name=cs2, Channel ID 0000012e intr 00040000

System

Debian GNU/Linux trixie/sid (64 bit)
Driver: NVIDIA Corporation NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
Driver Version: 4.6.0 NVIDIA 525.125.06

@pLum0
Copy link

pLum0 commented Sep 28, 2023

Issue is fixed for me after upgrading to Nvidia driver 535

For Ubuntu:

sudo ubuntu-drivers install nvidia:535

@Tejes
Copy link

Tejes commented Sep 28, 2023

Either the several patches released since yesterday, or the updated Nvidia driver fixed it for me as well.

Issue is fixed for me after upgrading to Nvidia driver 535

For Ubuntu:

sudo ubuntu-drivers install nvidia:535

@chrisribal
Copy link

Issue is fixed for me after upgrading to Nvidia driver 535

For Ubuntu:

sudo ubuntu-drivers install nvidia:535

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.
Anyone else experiencing poor performance?

@kisak-valve kisak-valve changed the title [CS2] Game freezes after a few seconds of playing [CS2] Game freezes after a few seconds of playing with NVIDIA 525 Sep 28, 2023
@asier-ochoa
Copy link

asier-ochoa commented Sep 28, 2023

@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:

[ 1183.842883] GlobPool/6[3501]: segfault at 0 ip 00007f080c7dfc3d sp 00007f08a6f7c930 error 4 in libmaterialsystem2.so[7f080c7a3000+d0000] likely on CPU 6 (core 8, socket 0)
[ 1183.842893] Code: d7 48 89 e5 41 57 41 56 4c 8d 7d a0 4d 89 ce 41 55 49 89 f5 41 54 49 89 cc 4c 89 f9 53 4c 89 e6 4c 89 c3 45 31 c0 48 83 ec 38 <48> 8b 02 31 d2 ff 10 41 89 c0 31 c0 41 83 f8 01 75 34 48 8d 05 12
[ 1321.033636] AsyncIOService[3923]: segfault at 0 ip 00007f793ab77646 sp 00007f793502d410 error 6 in libtier0.so[7f793aabf000+2f3000] likely on CPU 23 (core 13, socket 0)
[ 1321.033655] Code: 2d 1e f3 24 00 31 db 0f 1f 44 00 00 49 8b 74 dc 08 48 85 f6 74 0a 4c 89 ef 31 c0 e8 54 d7 f4 ff 48 83 c3 01 41 39 1c 24 7f e2 <c7> 04 25 00 00 00 00 00 00 00 00 0f 0b c7 04 25 00 00 00 00 00 00
[ 1579.452735] GlobPool/6[4448]: segfault at 7fa970cfd638 ip 00007fb0c1b058d3 sp 00007fb170cfd668 error 4 in libanimationsystem.so[7fb0c1711000+4d0000] likely on CPU 18 (core 8, socket 0)
[ 1579.452745] Code: 00 4c 89 55 e0 0f 28 c8 f3 0f 5c d0 49 ba 06 00 00 00 09 00 00 00 4c 89 55 e8 f3 0f 59 cc 49 83 c2 03 4c 89 55 f0 4d 8d 14 00 <4e> 63 54 95 c8 f3 0f 59 e2 f3 0f 59 c3 49 83 c2 24 42 0f b6 5c 91
[ 1625.407663] AsyncIOService[4720]: segfault at 0 ip 00007f369cb77646 sp 00007f3694047410 error 6 in libtier0.so[7f369cabf000+2f3000] likely on CPU 17 (core 5, socket 0)
[ 1625.407674] Code: 2d 1e f3 24 00 31 db 0f 1f 44 00 00 49 8b 74 dc 08 48 85 f6 74 0a 4c 89 ef 31 c0 e8 54 d7 f4 ff 48 83 c3 01 41 39 1c 24 7f e2 <c7> 04 25 00 00 00 00 00 00 00 00 0f 0b c7 04 25 00 00 00 00 00 00
[ 1625.549240] AsyncIOService[4718]: segfault at 0 ip 00007f369cb77646 sp 00007f3697010410 error 6 in libtier0.so[7f369cabf000+2f3000] likely on CPU 14 (core 2, socket 0)
[ 1625.549250] Code: 2d 1e f3 24 00 31 db 0f 1f 44 00 00 49 8b 74 dc 08 48 85 f6 74 0a 4c 89 ef 31 c0 e8 54 d7 f4 ff 48 83 c3 01 41 39 1c 24 7f e2 <c7> 04 25 00 00 00 00 00 00 00 00 0f 0b c7 04 25 00 00 00 00 00 00
[ 1625.684674] AsyncIOService[4720]: segfault at 0 ip 00007f369cb77646 sp 00007f3694047410 error 6 in libtier0.so[7f369cabf000+2f3000] likely on CPU 0 (core 0, socket 0)
[ 1625.684685] Code: 2d 1e f3 24 00 31 db 0f 1f 44 00 00 49 8b 74 dc 08 48 85 f6 74 0a 4c 89 ef 31 c0 e8 54 d7 f4 ff 48 83 c3 01 41 39 1c 24 7f e2 <c7> 04 25 00 00 00 00 00 00 00 00 0f 0b c7 04 25 00 00 00 00 00 00
[ 1708.690376] traps: GlobPool/3[5057] general protection fault ip:7fd20e9b0371 sp:7fd2c1d7e390 error:0 in libscenesystem.so[7fd20e8b8000+472000]
[ 1734.796494] AsyncIOService[5295]: segfault at 0 ip 00007f0a33d77646 sp 00007f0a2edb6410 error 6 in libtier0.so[7f0a33cbf000+2f3000] likely on CPU 11 (core 13, socket 0)
[ 1734.796510] Code: 2d 1e f3 24 00 31 db 0f 1f 44 00 00 49 8b 74 dc 08 48 85 f6 74 0a 4c 89 ef 31 c0 e8 54 d7 f4 ff 48 83 c3 01 41 39 1c 24 7f e2 <c7> 04 25 00 00 00 00 00 00 00 00 0f 0b c7 04 25 00 00 00 00 00 00
[ 1734.928134] AsyncIOService[5299]: segfault at 0 ip 00007f0a33d77646 sp 00007f0a07461410 error 6 in libtier0.so[7f0a33cbf000+2f3000] likely on CPU 9 (core 11, socket 0)
[ 1734.928152] Code: 2d 1e f3 24 00 31 db 0f 1f 44 00 00 49 8b 74 dc 08 48 85 f6 74 0a 4c 89 ef 31 c0 e8 54 d7 f4 ff 48 83 c3 01 41 39 1c 24 7f e2 <c7> 04 25 00 00 00 00 00 00 00 00 0f 0b c7 04 25 00 00 00 00 00 00
[ 1735.063161] AsyncIOService[5297]: segfault at 0 ip 00007f0a33d77646 sp 00007f0a2e210410 error 6 in libtier0.so[7f0a33cbf000+2f3000] likely on CPU 11 (core 13, socket 0)
[ 1735.063177] Code: 2d 1e f3 24 00 31 db 0f 1f 44 00 00 49 8b 74 dc 08 48 85 f6 74 0a 4c 89 ef 31 c0 e8 54 d7 f4 ff 48 83 c3 01 41 39 1c 24 7f e2 <c7> 04 25 00 00 00 00 00 00 00 00 0f 0b c7 04 25 00 00 00 00 00 00
[ 1735.194431] AsyncIOService[5299]: segfault at 0 ip 00007f0a33d77646 sp 00007f0a07461410 error 6 in libtier0.so[7f0a33cbf000+2f3000] likely on CPU 9 (core 11, socket 0)
[ 1735.194445] Code: 2d 1e f3 24 00 31 db 0f 1f 44 00 00 49 8b 74 dc 08 48 85 f6 74 0a 4c 89 ef 31 c0 e8 54 d7 f4 ff 48 83 c3 01 41 39 1c 24 7f e2 <c7> 04 25 00 00 00 00 00 00 00 00 0f 0b c7 04 25 00 00 00 00 00 00
[ 1735.320582] AsyncIOService[5297]: segfault at 0 ip 00007f0a33d77646 sp 00007f0a2e210410 error 6 in libtier0.so[7f0a33cbf000+2f3000] likely on CPU 19 (core 9, socket 0)
[ 1735.320593] Code: 2d 1e f3 24 00 31 db 0f 1f 44 00 00 49 8b 74 dc 08 48 85 f6 74 0a 4c 89 ef 31 c0 e8 54 d7 f4 ff 48 83 c3 01 41 39 1c 24 7f e2 <c7> 04 25 00 00 00 00 00 00 00 00 0f 0b c7 04 25 00 00 00 00 00 00
[ 1868.830177] cs2[5528]: segfault at 7fb6336ff50f ip 00007fb28912ca2b sp 00007ffde947e5a0 error 4 in libnetworksystem.so[7fb2890af000+272000] likely on CPU 10 (core 12, socket 0)
[ 1868.830191] Code: 00 00 4c 63 cb 4d 6b f1 2e eb 14 0f 1f 40 00 83 eb 01 49 83 ee 2e 83 fb ff 0f 84 95 00 00 00 49 8b 44 24 30 4c 01 f0 4c 8b 38 <41> f6 87 af 00 00 00 10 74 db 48 8b 78 08 48 85 ff 74 1a f6 87 c1

@linuxstony
Copy link

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

@arf20
Copy link

arf20 commented Sep 30, 2023

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.
Debian 12 nVIDIA 525.

@FirephoenixX02
Copy link

FirephoenixX02 commented Sep 30, 2023

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.

@arf20
Copy link

arf20 commented Oct 1, 2023

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.

@abaybektursun
Copy link

You can install directly from the package: https://www.nvidia.com/download/driverResults.aspx/211711/en-us/
Drivers are capped by the GPU, not the OS

@arf20
Copy link

arf20 commented Oct 1, 2023

Yeah, thats the nVIDIA .run file.
I once tried that "official" way of installing the nVIDIA driver. Guess? Broke my system, completely. I had to reinstall.
I'm not trying that ever again.
I will use what my distro packages and provides properly in a Debian package.

@abaybektursun
Copy link

Dunno, always worked fine for me

@C0rn3j
Copy link

C0rn3j commented Oct 1, 2023

You can always package the newer driver for your package manager yourself.

Running the .run directly is not recommended.

@arf20
Copy link

arf20 commented Oct 1, 2023

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?
Because doing that is non-trivial

@C0rn3j
Copy link

C0rn3j commented Oct 1, 2023

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.

@arf20
Copy link

arf20 commented Oct 2, 2023

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.
And in case you want stuff to be more updated, there is Debian testing and Debian sid, but even sid is still at 525. experimental is at 530 but that probably breaks easily. backports does not have nvidia-driver yet.

I discovered a 'official' nVIDIA Debian repository with updated drivers at https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/
but I am unsure if it is a direct replacement to the official Debian packaged driver, and also its for bullseye not bookworm.

@Aroma1997
Copy link

Issue is fixed for me after upgrading to Nvidia driver 535

For Ubuntu:

sudo ubuntu-drivers install nvidia:535

This has fixed the issue for me as well.

@joexzh
Copy link

joexzh commented Oct 3, 2023

I discovered a 'official' nVIDIA Debian repository with updated drivers at https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/ but I am unsure if it is a direct replacement to the official Debian packaged driver, and also its for bullseye not bookworm.

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.
So I rollback to official 525. In the same fan speed, Official 525 obviously much more quieter.

To me play with a distro that has official support may be better.

@ionics
Copy link

ionics commented Oct 17, 2023

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.
nvidia-driver-535 => no freeze, no crash, BUT horrible performance which makes CS2 unplayable.
at least for hardware: GTX1060, GTX1050, GTX1070
Ubuntu 22.04 LTS using wayland

@C0rn3j
Copy link

C0rn3j commented Oct 17, 2023

BUT horrible performance which makes CS2 unplayable.

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 545.29.02

@Tejes
Copy link

Tejes commented Oct 18, 2023

nvidia-driver-535 => no freeze, no crash, BUT horrible performance which makes CS2 unplayable.

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.

@ionics
Copy link

ionics commented Oct 19, 2023

Tested with Driver Version: 545.23.06 CUDA Version: 12.3
NVIDIA GeForce GTX 1060 6GB

Ubuntu 22.04.3 LTS 64bit
Steam
AMD® Ryzen 5 2600 six-core processor × 12
32,0 GiB

While the driver performance is quite good for other 3D Applications it crashes on upstarting CS2 @ the valve logo.
Command line output is stuck at (steam output):

/bin/sh\0-c\0/home/user/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=730 -- /home/user/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/user/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun --  '/media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/cs2.sh' -steam\0
chdir "/media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive"
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 47389 != 47388, skipping destruction (fork without exec?)
pid 47390 != 47388, skipping destruction (fork without exec?)
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libengine2.so, got 0x563e16266270
Using breakpad crash handler
[S_API] SteamAPI_Init(): Loaded '/home/user/.local/share/Steam/linux64/steamclient.so' OK.
Setting breakpad minidump AppID = 730
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
10/19 07:48:36 Init: Installing breakpad exception handler for appid(730)/version(8424509)/tid(47392)
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561198883796835 [API loaded yes]
SteamInternal_SetMinidumpSteamID:  Setting Steam ID:  76561198883796835
Setting breakpad minidump AppID = 2347771
Loaded libSDL3.so.0, got 0x563e16518920
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libtier0.so, got 0x563e1624f820
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libfilesystem_stdio.so, got 0x563e1655e850
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libinputsystem.so, got 0x563e1655cf20
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/liblocalize.so, got 0x563e165bbb40
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/librendersystemvulkan.so, got 0x563e165cb440
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libresourcesystem.so, got 0x563e165c7220
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libschemasystem.so, got 0x563e165f61e0
Fossilize INFO: Overriding serialization path: "/media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/shadercache/730/fozpipelinesv6/steamapprun_pipeline_cache".
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libmaterialsystem2.so, got 0x563e198de330
Loaded libpangoft2-1.0.so, got (nil)
 failed to dlopen "libpangoft2-1.0.so" error=libpangoft2-1.0.so: cannot open shared object file: No such file or directory
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libpanorama_text_pango.so, got 0x563e199005f0
Fontconfig warning: "/media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/fonts.conf", line 39: unknown element "fontpattern"
Fontconfig warning: "/media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/fonts.conf", line 40: unknown element "fontpattern"
Fontconfig warning: "/media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/fonts.conf", line 41: unknown element "fontpattern"
Fontconfig warning: "/media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/fonts.conf", line 42: unknown element "fontpattern"
Fontconfig warning: "/media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/fonts.conf", line 43: unknown element "fontpattern"
Fontconfig warning: "/media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/fonts.conf", line 86: saw string, expected range
Fontconfig warning: "/media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/../../../core/panorama/fonts/conf.d/41-repl-os-win.conf", line 148: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/../../../core/panorama/fonts/conf.d/41-repl-os-win.conf", line 160: Having multiple values in <test> isn't supported and may not work as expected
Loaded libfreetype.so.6, got 0x563e199016f0
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libpanorama_text_pango.so, got 0x563e199005f0
Loaded libfontconfig.so.1, got 0x563e19901d20
10/19 07:48:37 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(20230929173826)/tid(47429)
10/19 07:48:37 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)/tid(47429)
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libmeshsystem.so, got 0x563e19a78140
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libworldrenderer.so, got 0x563e19a7ab00
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libpulse_system.so, got 0x563e19a7b470
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libvscript.so, got 0x563e19a7eec0
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libnetworksystem.so, got 0x563e19bb0aa0
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libanimationsystem.so, got 0x563e19bc5050
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libvphysics2.so, got 0x563e19bdb210
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libsoundsystem.so, got 0x563e19bee680
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libsteamaudio.so, got 0x563e19c04880
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libscenesystem.so, got 0x563e19c21010
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libparticles.so, got 0x563e19c36640
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libpanoramauiclient.so, got 0x563e19c4a380
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libv8system.so, got 0x563e19c5ce50
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libpanorama.so, got 0x563e19c53700
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/csgo/bin/linuxsteamrt64/libserver.so, got 0x563e1a0e6810
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/csgo/bin/linuxsteamrt64/libclient.so, got 0x563e1a117a00
Loaded libmpg123.so.0, got 0x563e1a155440
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libcairo.so, got 0x563e1a4354b0
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libengine2.so, got 0x563e16266270
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/csgo/bin/linuxsteamrt64/libhost.so, got 0x563e1a435c40
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libscenefilecache.so, got 0x563e1a4493f0
Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/csgo/bin/linuxsteamrt64/libmatchmaking.so, got 0x563e1a45b850

Stuck at VALVE logo und CS2 startup via steam after the libmatchmaking.so line.

Loaded /media/user/8d1db1e8-0118-4a3a-a3c6-b8cdaca1ef36/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/csgo/bin/linuxsteamrt64/libmatchmaking.so, got 0x563e1a45b850

I'm keeping the 545 driver because it performs quite well.
But there is no CS2 gaming with this setup for now.

@dmzoneill
Copy link

dmzoneill commented Oct 19, 2023

+1 performance good but CS2 will freeze/crash on first bullet shoot.

	Manufacturer: ASUSTeK COMPUTER INC.
	Product Name: ROG MAXIMUS XIII HERO

Vendor ID:               GenuineIntel
  Model name:            Intel(R) Core(TM) i9-10900K CPU @ 3.70GHz

Detected NVIDIA GPUs:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP104 [GeForce GTX 1070] [10de:1b81] (rev a1)

| NVIDIA-SMI 525.125.06   Driver Version: 525.125.06   CUDA Version: 12.0     |

@thevbw
Copy link

thevbw commented Oct 30, 2023

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
NVIDIA driver download page is at 535 but conflicts with CUDA drivers

@KebabLord
Copy link

KebabLord commented Nov 3, 2023

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.

@banchaa
Copy link

banchaa commented Nov 12, 2023

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?

@C0rn3j
Copy link

C0rn3j commented Nov 12, 2023

You can either use 535 or wait for 545 to have a new release, as the current one suffers from #3504

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).

It would be much simpler and faster to trigger OOM via Magic SysRq (Alt+PrntScr+F, Magic SysRq has to be enabled)

@banchaa
Copy link

banchaa commented Nov 13, 2023

@C0rn3j Thanks for the hint about Magic SysRq! Very helpful.

@C0rn3j
Copy link

C0rn3j commented Nov 22, 2023

People with issues on 525/535 can now try 545 as the issue I linked above has been fixed in 545.29.06

@rodrigo-ceccato
Copy link

rodrigo-ceccato commented Nov 26, 2023

Tested with NVIDIA 545.29.06, game now opens, but screens keeps flickering

  • only flicks in full screen
  • does not flick after a map is loaded
  • after map load, some artifacts appear, making it hard to play

on Arch Linux 6.6.2-zen1-1-zen, using KDE with Wayland

@ionics
Copy link

ionics commented Dec 2, 2023

Tested and works with NVIDIA 545.29.06
The game opens and performs quite well on GTX 1060 Ubuntu 22.04 LTS with the GNOME Wayland desktop environment.

@rodrigo-ceccato
Copy link

O KDE (Wayland) NVIDIA 545.29.06 makes menu flick like crazy. On Dota 2 as well.
Mostly HUD flickers, making it unplayable.

Rolling back driver make issue go away.

@capirotoviski
Copy link

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.

@KebabLord
Copy link

KebabLord commented Apr 2, 2024

Reply to my message:

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.

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. 👌

@OutOfContainment
Copy link

Hello! Found a solution for 525. You need to add the following launch option:
-vulkan_disable_graphics_pipeline_library

My configuration is: LMDE6 as distro, 1050Ti(525.147.05 driver) + Ryzen 1200.
Worked perfectly for me, though the performance was pitiful, as expected (45-55 FPS). That was also partially fixed by installing irqbalance, nohang and preload with that guide in mind. I recommend you to follow the Performance Tweaks section if you have simular problems.

@C0rn3j
Copy link

C0rn3j commented Jun 9, 2024

Nowadays, you want driver series 555 or later, combined with a Wayland compositor that supports explicit sync.
Though it's nice that legacy cards that may be stuck on older drivers have a workaround available.

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

No branches or pull requests