Forums
Games
Cyberpunk 2077 Thronebreaker: The Witcher Tales GWENT®: The Witcher Card Game The Witcher 3: Wild Hunt The Witcher 2: Assassins of Kings The Witcher The Witcher Adventure Game
Jobs Store Support Log in Register
Forums - CD PROJEKT RED
Menu
Forums - CD PROJEKT RED
  • Hot Topics
  • NEWS
  • GENERAL
    THE WITCHER ADVENTURE GAME
  • STORY
    THE WITCHER THE WITCHER 2 THE WITCHER 3 THE WITCHER TALES
  • GAMEPLAY
    THE WITCHER THE WITCHER 2 THE WITCHER 3 MODS (THE WITCHER) MODS (THE WITCHER 2) MODS (THE WITCHER 3)
  • TECHNICAL
    THE WITCHER THE WITCHER 2 (PC) THE WITCHER 2 (XBOX) THE WITCHER 3 (PC) THE WITCHER 3 (PLAYSTATION) THE WITCHER 3 (XBOX) THE WITCHER 3 (SWITCH)
  • COMMUNITY
    FAN ART (THE WITCHER UNIVERSE) FAN ART (CYBERPUNK UNIVERSE) OTHER GAMES
  • RED Tracker
    The Witcher Series Cyberpunk GWENT
THE WITCHER
THE WITCHER 2 (PC)
THE WITCHER 2 (XBOX)
THE WITCHER 3 (PC)
THE WITCHER 3 (PLAYSTATION)
THE WITCHER 3 (XBOX)
THE WITCHER 3 (SWITCH)
Menu

Register

Stuttering and NVIDIA shader cache

+
Y

Yorrrrrr

Rookie
#1
Sep 30, 2015
Stuttering and NVIDIA shader cache

Hi. Ever since I got Witcher 3, I´ve been having sporadic stutter and hitches, no matter what i do. I´ve tried a number of different settings, tweaks, nvidia control panel settings, optimizing the PC, different nvidia drivers. My PC is an Core i7 6700K @ 4.4 GHz, MSI Z170A Gaming M7 motherboard, G.Skill Ripjaws V DDR4 3000 16GB memory, MSI GTX 980 Ti Gaming 6G, etc, Windows 10 x64 and the PC is pretty optimized for games. I have very high fps in this game, at the highest of settings, but it still sometimes stutter.

After investigating and trying pretty much about everything, I came into something interesting. When I delete the nvidia shader cache contents, next time I start up Witcher 3 the game will stutter, but the more I play, the nvidia shader cache folder will fill with files, and then the game will play much better, very smooth. If I turn off the shader cache off in nvidia control panel, the game will start stuttering again. The only way to have the game smooth is by letting shader cache fill over time, and in the next 2 to 3 restarts, the game will be smooth. As the nvidia shader cache is a temporary folder, if you let some program like CCleaner to delete it, the game will stutter and the cache would build all over again and the game will be eventually smooth again once the cache is filled. Notice that, if you play a lot of games at the same time, it will be filled with different files for the various games, and maybe Witcher 3 will stutter, as the shader cache temportary folder is limited by size (I think 256 MB or something..)

It seems then, that the game doesn´t handle this feature very well and some stutter issues are related to this, at least in my case.


Anyone experincing something like this? Thoughts?
 
  • RED Point
Reactions: Verrenus
V

Verrenus

Forum veteran
#2
Oct 1, 2015
I, too, have noticed the same thing, but I had no idea it was tied to the Shader Cache until I had to disable it in the NVIDIA Control Panel specifically for Metal Gear Solid V: The Phantom Pain, which hitches regularly with the cache turned "On". :p

In The Witcher 3's case, however, the Shader Cache really does work properly, meaning that once its built, the game stops stuttering (on my system, at least)! ;)
 
Y

Yorrrrrr

Rookie
#3
Oct 1, 2015
Weird, I never noticed stutters or hitches in MGSTPP, even with cache turned on, or in any other game FWIW. Unfortunately, Witcher 3 is the only game on my library that stutters. Until the shader cache is built, that is.
 
Last edited: Oct 1, 2015
  • RED Point
Reactions: Verrenus
V

Verrenus

Forum veteran
#4
Oct 1, 2015
Yorrrrrr said:
Weird, I never noticed stutters or hitches in MGSTPP, even with cache turned on, or in any other game FWIW. Unfortunately, Witcher 3 is the only game on my library that stutters. Until the shader cache is built, that is.
Click to expand...
Depending on one's hardware (e.g. monitor refresh rate) and personal sensitivity, stutters and hitches can go unnoticed for some, while being downright immersion-breaking for others. ;)

For instance, I am personally very troubled by stuttering and hitching and can detect them very easily, but I am not bothered at all by the in-motion texture shimmering caused by poor anti-aliasing methods! :p
 
P

prince_of_nothing

Forum veteran
#5
Jan 27, 2016
Yorrrrrr said:
Hi. Ever since I got Witcher 3, I´ve been having sporadic stutter and hitches, no matter what i do. I´ve tried a number of different settings, tweaks, nvidia control panel settings, optimizing the PC, different nvidia drivers. My PC is an Core i7 6700K @ 4.4 GHz, MSI Z170A Gaming M7 motherboard, G.Skill Ripjaws V DDR4 3000 16GB memory, MSI GTX 980 Ti Gaming 6G, etc, Windows 10 x64 and the PC is pretty optimized for games. I have very high fps in this game, at the highest of settings, but it still sometimes stutter.

After investigating and trying pretty much about everything, I came into something interesting. When I delete the nvidia shader cache contents, next time I start up Witcher 3 the game will stutter, but the more I play, the nvidia shader cache folder will fill with files, and then the game will play much better, very smooth. If I turn off the shader cache off in nvidia control panel, the game will start stuttering again. The only way to have the game smooth is by letting shader cache fill over time, and in the next 2 to 3 restarts, the game will be smooth. As the nvidia shader cache is a temporary folder, if you let some program like CCleaner to delete it, the game will stutter and the cache would build all over again and the game will be eventually smooth again once the cache is filled. Notice that, if you play a lot of games at the same time, it will be filled with different files for the various games, and maybe Witcher 3 will stutter, as the shader cache temportary folder is limited by size (I think 256 MB or something..)

It seems then, that the game doesn´t handle this feature very well and some stutter issues are related to this, at least in my case.


Anyone experincing something like this? Thoughts?
Click to expand...
Yeah, this is caused by the engine's handling of shader compilation. Apparently it doesn't do it very well, hence the stuttering and hitching with shader cache turned off.. With SLI, it's even worse. The SLI compounds issue by approximately two fold.

The shader cache saves the compiled shaders, so that they don't have to be compiled by the CPU each time you play the game. This doesn't work for every game though, as Verrenus pointed out. With some games, enabling shader cache will cause more stutter because those shaders have to be pulled from storage. A good engine can utilize the CPU well enough to do real time shader compilation in the background, which is usually faster than pulling it pre-compiled from storage..

Suffice to say, Red Engine 3 isn't a tier one engine by a long shot. It's more tier 2, or even tier 3.. They really need to invest more into developing their engine if they want to be a full fledged AAA developer..
 
Share:
Facebook Twitter Reddit Pinterest Tumblr WhatsApp Email Link
  • English
    English Polski (Polish) Deutsch (German) Русский (Russian) Français (French) Português brasileiro (Brazilian Portuguese) Italiano (Italian) 日本語 (Japanese) Español (Spanish)

STAY CONNECTED

Facebook Twitter YouTube
CDProjekt RED Mature 17+
  • Contact administration
  • User agreement
  • Privacy policy
  • Cookie policy
  • Press Center
© 2018 CD PROJEKT S.A. ALL RIGHTS RESERVED

The Witcher® is a trademark of CD PROJEKT S. A. The Witcher game © CD PROJEKT S. A. All rights reserved. The Witcher game is based on the prose of Andrzej Sapkowski. All other copyrights and trademarks are the property of their respective owners.

Forum software by XenForo® © 2010-2020 XenForo Ltd.