distribution icon indicating copy to clipboard operation
distribution copied to clipboard

CS2 on Steam cannot be opened

Open flowerseacar opened this issue 1 year ago • 6 comments

I use the open source nvidia driver, and neither the self-built steam nor the steam installed by flatpak can open cs2

flowerseacar avatar Jun 05 '24 09:06 flowerseacar

trying to launch DotA2 gives Failed to initialize vulkan trying to launch lutris gives

INFO     2024-06-06 16:25:02,472 [application.do_command_line:479]:Starting Lutris 0.5.17
ERROR: [Loader Message] Code 0 : vkCreateInstance: Found no drivers!
Cannot create Vulkan instance.
This problem is often caused by a faulty installation of the Vulkan driver or attempting to use a GPU that does not support Vulkan.

the proprietary drivers work with flatpak steam, so you can try that, install them following this helpful guide from marioroy https://github.com/marioroy/nvidia-driver-on-clear-linux I've tested ./install-drver latest

i@clr~ $ lspci -k | grep -iEA3 "VGA"
01:00.0 VGA compatible controller: NVIDIA Corporation AD103 [GeForce RTX 4070 Ti SUPER] (rev a1)
	Subsystem: ZOTAC International (MCO) Ltd. Device 4707
	Kernel driver in use: nouveau
	Kernel modules: nvidiafb, nouveau

EDIT: mesa shipped with clearlinux needs to add nouveau to -Dvulkan_drivers= under configure.

K1ngfish3r avatar Jun 06 '24 08:06 K1ngfish3r

trying to launch DotA2 gives Failed to initialize vulkan trying to launch lutris gives

INFO     2024-06-06 16:25:02,472 [application.do_command_line:479]:Starting Lutris 0.5.17
ERROR: [Loader Message] Code 0 : vkCreateInstance: Found no drivers!
Cannot create Vulkan instance.
This problem is often caused by a faulty installation of the Vulkan driver or attempting to use a GPU that does not support Vulkan.

the proprietary drivers work with flatpak so you can try that, install them following this helpful guide from marioroy https://github.com/marioroy/nvidia-driver-on-clear-linux I've tested ./install-drver latest

i@clr~ $ lspci -k | grep -iEA3 "VGA"
01:00.0 VGA compatible controller: NVIDIA Corporation AD103 [GeForce RTX 4070 Ti SUPER] (rev a1)
	Subsystem: ZOTAC International (MCO) Ltd. Device 4707
	Kernel driver in use: nouveau
	Kernel modules: nvidiafb, nouveau

EDIT: mesa shipped with clearlinux needs to add nouveau to -Dvulkan_drivers= under configure.

I used this installation script before, and it installed successfully, but it changed wayland to x11. Now it won't change, but there are new problems. When I play cs2, the screen keeps flashing and the mouse is stuck. Forget it.

flowerseacar avatar Jun 06 '24 14:06 flowerseacar

That's odd, you should be able to change the display server on the login screen. I can on GNOME and on KDE6

When I play cs2, the screen keeps flashing and the mouse is stuck

sudo -s
echo nvidia.NVreg_EnableGpuFirmware=0 >> /etc/kernel/cmdline.d/nvreg.conf
clr-boot-manager update
reboot

taken from https://forums.developer.nvidia.com/t/555-release-feedback-discussion/293652, you can confirm if it's applied using cat /proc/cmdline Whenever I moved the mouse, it stuttered its way to the end point. This kernel parameter seems to fix it. I still get minor stutters though but ignorable.

K1ngfish3r avatar Jun 06 '24 16:06 K1ngfish3r

That's odd, you should be able to change the display server on the login screen. I can on GNOME and on KDE6

When I play cs2, the screen keeps flashing and the mouse is stuck

sudo -s
echo nvidia.NVreg_EnableGpuFirmware=0 >> /etc/kernel/cmdline.d/nvreg.conf
clr-boot-manager update
reboot

taken from https://forums.developer.nvidia.com/t/555-release-feedback-discussion/293652, you can confirm if it's applied using cat /proc/cmdline Whenever I moved the mouse, it stuttered its way to the end point. This kernel parameter seems to fix it. I still get minor stutters though but ignorable.

Never mind, it's too disgusting, all I can say is fk nvidia

flowerseacar avatar Jun 06 '24 16:06 flowerseacar

I think Nvidia's closed-source driver has a lot of problems, and there are many Linux versions. It's impossible to test them one by one. If they are not integrated into the kernel, various problems will occur. And my problem is not solved casually. His screen display is directly divided into two halves, and the mouse is stuck. I can't do it anymore, so I won't fix this closed-source driver.

flowerseacar avatar Jun 07 '24 06:06 flowerseacar

nouveau vulkan driver added in 41900

K1ngfish3r avatar Jun 20 '24 19:06 K1ngfish3r