ValveSoftware / csgo-osx-linux

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

Vulkan Linux crash on csgo launch. #2927

Open 4nk1 opened 2 years ago

4nk1 commented 2 years ago

Your system information

Please describe your issue in as much detail as possible:

Play game CSGO results in crash to desktop, net_graph shows for a fraction of a second and then goes to desktop, all the time black screen, no panorama loaded. *edit> now i can load the game, when I try to start Competitive match, Deathmatch or Casual the game crashes to desktop.

Crash log : https://gist.github.com/4nk1/e0ffb823eb571edce812811dcc82124b

Steps for reproducing this issue:

  1. Open the game CSGO
romanstingler commented 2 years ago

@4nk1 have you revalidated your files???

4nk1 commented 2 years ago

Yes, it downloads some files 3 or 4. Then i launch again and try to load some Match, stucks at initializing map for a couple of seconds and then back to desktop. Every time this happens I do a check corrupted files and it finds 3-6 that need to be redownloaded.

@4nk1 have you revalidated your files???

romanstingler commented 2 years ago

@4nk1 please install smartmon-tools and check your hard disk where steam/csgo is installed. sudo smartctl -a /dev/nvme0 there should be something like

Error Information (NVMe Log 0x01, 16 of 256 entries)
No Errors Logged

or Elements in grown defect list: 0 Non-medium error count: 0

4nk1 commented 2 years ago

I did it and got no errors logged:

SMART Error Log Version: 1 No Errors Logged

romanstingler commented 2 years ago

@4nk1 your hardware is not the newest :) you can try installing 495.46 There is also a beta NVIDIA driver available with hundreds of vulkan fixes. https://www.nvidia.com/download/driverResults.aspx/184911/en-us

Also I would recommend using the flatpack version if you are using DEBIAN / UBUNTU / POP OS / FEDORA because they are not bundling their steam version with the older version of some libraries and this is just....

4nk1 commented 2 years ago

To be honest, I really feel no need to upgrade the hardware because of lack of performance for my needs. Using a lightweight distro setup it runs smooth.

Regarding upgrading the nvidia drivers I shall not try to go into debian experimental or manual installation of 495.46. Last time I hit CsGo it was with the buggy OpenGL update, now Vulkan...I suppose I must wait for it to happen and dont risk to break my system. :(

Ty for your time and knowledge Romansingler.

romanstingler commented 2 years ago

@4nk1 maybe it is time to switch to a distro which has all packages in its repo :) just kidding the choice is yours :)

TTimo commented 2 years ago

The error suggests your local installation has some corrupted files. If "Properties -> Local Files -> Verify Integrity of game files..." doesn't fix your problem, there may be local files that are not part of the depot and corrupted .. in that case you could delete all the local files and re-install to see if that helps.

4nk1 commented 2 years ago

Just did reinstall of csgo, same problem. Competitive cooldown and deathmatch not launching either.

rogersebastiany commented 2 years ago

I'm having the same issue. Then, hardware is not a problem here. I installed and played cs:go very smoothly few weeks ago after installing on this computer for the first time (running pop os with latest drivers). The next day i tried to play again and the problem that @4nk1 mentioned happened. The game just crashes without any feedback from steam. After reading @TTimo 's answer i tried to uninstall cs:go on steam, and then i deleted all local files from ./local/Steam/steamapps/common/Counter-Strike Global Offensive and reinstalled and the issue persists.

pablodz commented 2 years ago

Same error in ubuntu 21.10

rogersebastiany commented 2 years ago

Fixed for me: i installed steam with flatpak and then installed cs go again edit: i was using the deb version of steam before

kodatarule commented 2 years ago

Seems to be happening on Arch Linux, I did a full system update with glibc(which I suspect is the cause) - and every single time I try to run the game with vulkan it shows black screen for a fraction of the second and closes. Checked the d3d9 dxvk log, but there was nothing indicating to what the issue is since it just showed normal stuff. Also it happens on both x.org and wayland sessions. https://gist.github.com/kodatarule/65e8856aad8c267d502092b974ce4ffe csgo_linux64_d3d9.log .

timocapa commented 2 years ago

Seems to be happening on Arch Linux, I did a full system update with glibc(which I suspect is the cause)

I can confirm this is glibc causing the issue on Arch. Your options are downgrading glibc (which in turn needs binutils, gcc, gcc-libs, glibc, lib32-glibc, lib32-gcc-libs), or using OpenGL.

image

Made an issue here: https://github.com/ValveSoftware/csgo-osx-linux/issues/2948