csgo-osx-linux
csgo-osx-linux copied to clipboard
Ubuntu failing to launch CS2, Blank screen upon running.
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:
- Install Ubuntu 24.04 + Nvidia Drivers 535 or 550
- Install CS2
- Run CS2 With Linux Runtime Sniper or Native
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.
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
Exact same issue with me, same version and drivers.
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
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!