ValveSoftware / csgo-osx-linux

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

[CS2] Vulkan renderer consumes 100% GPU usage even on lowest graphics settings. #3243

Open Svyatpro opened 1 year ago

Svyatpro commented 1 year ago

Your system information

Computer Information: Manufacturer: INTEL Model: X99 Form Factor: Desktop No Touch Input Detected Processor Information: CPU Vendor: GenuineIntel CPU Brand: Intel(R) Core(TM) i7-6850K CPU @ 3.60GHz CPU Family: 0x6 CPU Model: 0x4f CPU Stepping: 0x1 CPU Type: 0x0 Speed: 3600 MHz 6 logical processors 6 physical processors Hyper-threading: Unsupported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Unsupported SSE41: Supported SSE42: Supported AES: Supported AVX: Supported AVX2: Supported AVX512F: Unsupported AVX512PF: Unsupported AVX512ER: Unsupported AVX512CD: Unsupported AVX512VNNI: Unsupported SHA: Unsupported CMPXCHG16B: Supported LAHF/SAHF: Supported PrefetchW: Unsupported Operating System Version: Windows 11 (64 bit) NTFS: Supported Crypto Provider Codes: Supported 311 0x0 0x0 0x0 Video Card: Driver: NVIDIA GeForce GTX TITAN X DirectX Driver Name: nvldumd.dll Driver Version: 31.0.15.3713 DirectX Driver Version: 31.0.15.3713 Driver Date: 8 14 2023 OpenGL Version: 4.6 Desktop Color Depth: 32 bits per pixel Monitor Refresh Rate: 165 Hz DirectX Card: NVIDIA GeForce GTX TITAN X VendorID: 0x10de DeviceID: 0x17c2 Revision: 0xa1 Number of Monitors: 1 Number of Logical Video Cards: 1 No SLI or Crossfire Detected Primary Display Resolution: 1920 x 1080 Desktop Resolution: 1920 x 1080 Primary Display Size: 23.54" x 13.23" (26.97" diag), 59.8cm x 33.6cm (68.5cm diag) Primary Bus: PCI Express 16x Primary VRAM: 12287 MB Supported MSAA Modes: 2x 4x 8x Sound card: Audio device: Динамики (Creative SB X-Fi) Memory: RAM: 65440 Mb VR Hardware: VR Headset: None detected Miscellaneous: UI Language: English Media Type: Undetermined Total Hard Disk Space Available: 6211421 MB Largest Free Hard Disk Block: 3604865 MB OS Install Date: Mar 01 2023 Game Controller: None detected MAC Address hash: d722aad6860f013776302e142ee2a250e9573f58 Storage: Disk serial number hash: 70a8c36d Number of SSDs: 0 Number of HDDs: 0 Number of removable drives: 0

Please describe your issue in as much detail as possible:

While forcing cs2 to run on Vulkan renderer (-vulkan launch parameter) it consumes 100% of GPU being on lowest graphics settings.

Steps for reproducing this issue:

  1. Set "-vulkan" launch parameter
  2. Run CS2 on lowest graphics settings
  3. Check GPU usage using Windows 11's task manager
Svyatpro commented 1 year ago

I forgot to mention I use fps_max 0 but it gives me the same fps rate as d3d11 renderer which consumes nearly 80% of GPU at the same settings.

madhavpcm commented 11 months ago

I have the same issue. In addition to this, I have very bad stutters and 1% lows. Initially I thought it was vulkan compiling shaders for an effect on demand but this doesn't seem to be the case even after playing for 2 hours. There should be an option to compile all shaders before hand (I tried doing through the steam ui > download cache) however there seems to be no improvement.

That being said, It could also be that I have no clue about vulkan so I apologize for the same.

CPU : Ryzen 4600H with Vega GPU: Radeon RX5600M 6GB Memory: 12 GiB

JisJ3rry commented 11 months ago

I have a weak system, and while I observe the same behaviour, Vulkan actually performs better. DX11 gives me 70 FPS, 80% usage at mid in the new Inferno, Vulkan gives me 110 with 100% usage (under the same conditions, lowest settings 1080p with bots). There's no difference in CPU usage (75-85%). This applies for both the limited test build and the now released public build. Obviously this system is not ideal for the game, but I guess in some cases the elevated usage helps?

CPU: i5-6600 4.65 GHz BCLK OC GPU: AMD R9 290 4GB Memory: 16GB

Etaash-mathamsetty commented 11 months ago

Can reproduce on linux, the performance of the vulkan renderer is terrible, to the point that dxvk would probably outperform it by at least 40%. It barely uses my GPU. Valve if you are reading this please integrate dxvk-native into the game and use that as the default, not only does the vulkan renderer have numerous microstutters and graphical glitches, it runs really poorly in comparison to d3d11.

LandanB16 commented 8 months ago

I've noticed that while using vulkan on cs2 it is significantly more choppy and causes lots of micro stutters that can be felt by just looking around. It also uses a lot more system power while only doing 20~fps more than with directx. I don't think the api is a worthy replacement for cs2 yet. I think it needs better support from valves end.

CPU: Ryzen 5 7600x GPU: 6600xt Memory: 16gb 5400mhz

Svyatpro commented 8 months ago

The optimization of the maps are poor. Valve changed their approach to optimazion. There are a lot of locations on maps the player does not interract with but they are rendered for nothing. As I remember previous Source was VERY well optimized now it seems they hired noobish devs. Please hire previous developers.