ValveSoftware / csgo-osx-linux

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

FPS Stutters in new Vulkan option #2891

Open RealAstolfo opened 2 years ago

RealAstolfo commented 2 years ago

Your system information

OS: Gentoo Base System release 2.8 x86_64 Kernel: 5.15.7-gentoo Resolution: 1920x1080 WM: dwm CPU: AMD Ryzen 7 5800X (16) @ 4.550GHz GPU: NVIDIA GeForce RTX 3060 Ti

Please describe your issue in as much detail as possible:

Describe what you expected should happen and what did happen. Please link any large pastes as a Github Gist.

After manually replacing libtcmalloc_minimal with a system compiled varient, the game will launch with -vulkan, but experiences stutters (most likely when loading new things, since it happens whenever i move my mouse to view new areas)

GenocideStomper commented 2 years ago

Does MESA_DISK_CACHE_SINGLE_FILE=1 apply to AMD/Intel only, or for Nvidia proprietary drivers too?

And does anyone have any recommended environment variables for Nvidia? I'm currently using: __GL_THREADED_OPTIMIZATIONS=1 __GL_SHADER_DISK_CACHE=1 __GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1 __GL_SHADER_DISK_CACHE_PATH=path/to/csgo/disk/cache

Where do I put @jr1991-g 's DXVK cache on an Nvidia system, if it's possible?

jr1991-g commented 2 years ago

Does MESA_DISK_CACHE_SINGLE_FILE=1 apply to AMD/Intel only, or for Nvidia proprietary drivers too?

And does anyone have any recommended environment variables for Nvidia? I'm currently using: __GL_THREADED_OPTIMIZATIONS=1 __GL_SHADER_DISK_CACHE=1 __GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1 __GL_SHADER_DISK_CACHE_PATH=path/to/csgo/disk/cache

Where do I put @jr1991-g 's DXVK cache on an Nvidia system, if it's possible?

/home/USER/.steam/steam/steamapps/shadercache/730/DXVK_state_cache

No idea if it works for Nvidia, my cache was built on an RX 570. Could you test it and see if it works, please? Sorry for the ESL.

GenocideStomper commented 2 years ago

Could you test it and see if it works, please? Sorry for the ESL.

I tried it out. I got lag in the main menu as soon as I started and until it was done generating, as if I started from scratch. So I reverted back to mine.

I had to stop testing vulkan anyway because I experience issue #2901

ghost commented 1 year ago

Hello! This is X11-only solution, but for me it helped to kill the compositor(picom in my case but may as well help with other compositors)