csgo-osx-linux icon indicating copy to clipboard operation
csgo-osx-linux copied to clipboard

Ubuntu failing to launch CS2, Blank screen upon running.

Open srwxr-xr-x opened this issue 1 year ago • 4 comments
trafficstars

Your system information

Installed Steam through Apt and Snap, both failed to boot CS2 natively and with the Linux Runtime Sniper. Booting CS2 after building shaders causes it to open in an invisible window, with audio. Attempted with Nvidia drivers 535, 550, open and proprietary, with no success. Running with the latest Proton version boots successfully but without VAC. Linux Runtime Sniper fails as well, invisible window with the windows below frozen until alt tabbing. Steam SysInfo and Runtime Steam Install and Boot info

Steps for reproducing this issue:

  1. Install Ubuntu 24.04 + Nvidia Drivers 535 or 550
  2. Install CS2
  3. Run CS2 With Linux Runtime Sniper or Native

srwxr-xr-x avatar Sep 19 '24 09:09 srwxr-xr-x

Hello @srwxr-xr-x, The NVIDIA driver was unable to open 'libnvidia-glvkspirv.so.550.107.02'. This library is required at run time. in https://gist.github.com/srwxr-xr-x/ad062ffebcb920d17376c3e67e365371#file-gistfile1-txt-L1720-L1745 is hinting that your NVIDIA driver install is incomplete.

kisak-valve avatar Sep 19 '24 13:09 kisak-valve

I was able to resolve this error with this method, creating symlinks https://forums.developer.nvidia.com/t/550-40-07-the-nvidia-driver-was-unable-to-open-libnvidia-glvkspirv/281757/6 However, the problem persists, even if I swap driver versions. https://gist.github.com/srwxr-xr-x/94061b9b0ab756ca9b709b471559ac55

srwxr-xr-x avatar Sep 19 '24 19:09 srwxr-xr-x

Exact same issue with me, same version and drivers.

Sirmadeira avatar Sep 19 '24 23:09 Sirmadeira

I managed to resolve this issue by downloading the driver 560.35.03, the newest driver available, shutting down the X server with sudo init 3, uninstalling all nvidia drivers on the machine through apt, shutting down the nouveau driver with a script in modprobe.d as per this post image and installing the linux-image-extra-virtual, linux-source, linux-headers-OS LATEST afterwards, running the installer worked! It mentioned that it couldn't find the default location for libglvnd and pkg-config but it seems this was a non-issue. After installing the 560 driver, Counter Strike 2 boots and runs on native Ubuntu!

srwxr-xr-x avatar Sep 20 '24 21:09 srwxr-xr-x