ValveSoftware / csgo-osx-linux

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

2 GB of VRAM is not enough to run the game acceptably on Linux (it is on Windows, though) #3352

Open guihkx opened 11 months ago

guihkx commented 11 months ago

Your system information

Please describe your issue in as much detail as possible:

The Steam Store states the following as the minimum GPU requirement for this game on Linux:

I do have a Kepler card (GTX 660), however, due to its arguably low amount of VRAM (2 GB) it's currently impossible to play CS2 on Linux with acceptable performance.

The developer console of CS2 is frequently spammed with this message whenever I'm on a match:

[RenderSystem] vmaAllocateMemory failed for DEVICE_LOCAL memory indicating video memory is full, trying again in system memory as a fallback.

Conversely, I also have Windows 10 on this machine (via dual boot), and I can play CS2 just fine there using the D3D11 renderer. In fact, I can also play on Windows using the Vulkan renderer, although I do get some occasional stutter and worse performance overall.

So, my kind suggestion to CS2 developers would be either specifying the minimum amount of VRAM required to make this game run acceptably on Linux (3 GB, perhaps?), or even better, improving the Vulkan renderer on Linux to benefit GPUs with low amounts of VRAM.

Steps for reproducing this issue:

  1. Own an NVIDIA card with 2 GB of VRAM
  2. Launch CS2
  3. Join matchmaking (e.g deathmatch)
  4. Open the developer console and observe incoming messages

Besides experiencing constant stuttering, you should also notice the following message showing up rather frequently in the console:

[RenderSystem] vmaAllocateMemory failed for DEVICE_LOCAL memory indicating video memory is full, trying again in system memory as a fallback.

Screenshots (Linux, Vulkan)

csgo-advanced-video-settings

csgo-ingame-171

csgo-ingame-85

Screenshots (Windows, D3D11)

cs2_2023_09_29_13_54_32_436

cs2_2023_09_29_13_58_47_837

Screenshots (Windows, Vulkan)

cs2_2023_09_29_14_11_17_563

cs2_2023_09_29_14_22_57_573

koritar-aqg commented 11 months ago

It also happens with me, the thing is that it freezes the entire system and the only way to continue using it is by rebooting.

Qunas101 commented 11 months ago

Can confirm. Even the lowest settings give poor performance with a gtx 660 on Vulkan and it's the only way to play on Linux. Also the game has a really weird input lag problem, it's like it's reading my input like twice a second. When moving my mouse, camera is very stuttery, while everything else is much smoother. I am seeing benchmarks of this exact card, supposedly on dx11, and it gives solid 60+ frames on medium, which really tells that it's not normal

nic0machus commented 11 months ago

I am experiencing similar issues, but cannot get to a console to see any output. My game freezes completely 10-15 seconds after launch and I have to reboot the machine to unfreeze anything.

System info from Steam: https://gist.github.com/nic0machus/ffe6f3ad0751e6bf4ccbd7a761388a7c

I am using a GeForce MX150 with Pascal and 2GB of VRAM and an Intel i7-8550U CPU @ 1.80GHz

It worked fine the first night of release, but I have not been able to boot the game without freezing since yesterday morning.

kisak-valve commented 11 months ago

Hello @nic0machus, your game freeze is NVIDIA 525 series driver specific and being tracked at #3273.

nic0machus commented 11 months ago

Hello @nic0machus, your game freeze is NVIDIA 525 series driver specific and being tracked at #3273.

Thank you. The 535 driver would not launch the game at all as of yesterday. I will try it again.

failafail8 commented 11 months ago

+1 my system info :https://gist.github.com/failafail8/528f3d6295c32b52661496d5775da542 notable differences: -steam from distro repo -nvidia driver 535 i have the exact same issues as described on the post.

s6fty commented 11 months ago

might be causing #3341

KenTheWhaleGoddess commented 11 months ago

+1 experience with

Nvidia 535, Linux Mint 64 bit Kernel 6.2.1

steam from sudo apt-get install steam

AdrUlb commented 10 months ago

Experiencing this issue, including the [RenderSystem] vmaAllocateMemory failed for DEVICE_LOCAL memory indicating video memory is full, trying again in system memory as a fallback. message in the console on both Linux and Windows with the -vulkan launch option using a GTX 1050 with 2GB of VRAM. Direct3D renderer works okay.

pavlokozlenko commented 2 months ago

Are there any changes?