Fix game stutter on Win 10 1703-1809

Discussion in 'Videocards - NVIDIA GeForce Drivers Section' started by Mott, Apr 3, 2018.

  1. mbk1969

    mbk1969 Ancient Guru

    Messages:
    10,800
    Likes Received:
    8,046
    GPU:
    GF RTX 2070 Super
    The more the better.
     
  2. Dagda

    Dagda Master Guru

    Messages:
    271
    Likes Received:
    48
    GPU:
    RTX 2080 super
  3. Singleton99

    Singleton99 Maha Guru

    Messages:
    1,046
    Likes Received:
    85
    GPU:
    Aorus-Extreme-1080TI
    @Wagnard ,,, thanks for your work , your app works great :):):):):):)
     
    warlord likes this.
  4. Wagnard

    Wagnard Ancient Guru

    Messages:
    2,661
    Likes Received:
    339
    GPU:
    MSI Geforce GTX 1080
    Thanks for the feedback.:)
     
    warlord likes this.

  5. warlord

    warlord Ancient Guru

    Messages:
    2,761
    Likes Received:
    927
    GPU:
    Null
    @Wagnard Your app works great.

    It needs to be set in task scheduler to run at user login with highest privileges.

    -------------------------------------------------------------------------------------------------------

    I want to share my best settings all around for this kind of apps everyone.

    It should be exactly as this: analogy 3 to 4 always

    Meaning divide your ram 4 times and keep in mind only the 3/4

    After that, with remaining amount you do exactly the same as above.

    Example given: my system has 16gb ram. Then I only care about 12. After that I set 9 gb ram(3/4 of 12) as minimum free available and 3gb ram(1/4 of 12) limit for stand by list.

    Thanks.
     
  6. AveYo

    AveYo Member

    Messages:
    43
    Likes Received:
    48
    GPU:
    8800GS 384MB
    Clearing the standbylist mindlessly does more harm than good - causes loss of performance and worsens multi-tasking not only outside of games, but also while playing since it will always clear if the game consumes 8GB RAM or more in your case even if plenty RAM is still available hence no stutters, and puts a lot more stress overall on the hdd.
    Stutters only happen when the physical ram gets exhausted i.e. goes below 1GB - 512MB, that's the "sweet spot" as actually tested by many, not just a number pulled via an arbitrary rule. No offense, if it works for you, that's fine, but do not weave it as the "best settings all around for this kind of apps everyone". Because it's not.
     
    Last edited: Oct 17, 2018
  7. warlord

    warlord Ancient Guru

    Messages:
    2,761
    Likes Received:
    927
    GPU:
    Null
    I think I've used the determiner "my" above.

    If you want to bloat your system with useless data that Windows think is useful be my guest. It doesn't harm, I've opened tons of apps simultaneously and made my homework before making the conclusion above. Cheers!
     
  8. mbk1969

    mbk1969 Ancient Guru

    Messages:
    10,800
    Likes Received:
    8,046
    GPU:
    GF RTX 2070 Super
    * nvm, was not a good idea *
     
    Last edited: Oct 17, 2018
  9. Wagnard

    Wagnard Ancient Guru

    Messages:
    2,661
    Likes Received:
    339
    GPU:
    MSI Geforce GTX 1080
    Thanks for sharing.
    But wanted to share a little advice/warning of what *may* happen in this case.
    There is higher risk of stutter or other issues for application that are voluntarily caching stuff like the game "Rise of the TombRaider" (Possibly Shadow too,haven't tested).
    Here is what happen with TombRaider.

    With a scenario that we don't purge the list at all or with a "Free Memory" of 1024MB or less. (considering a system with 16GB RAM with casual utilization:
    If you run the Benchmark, on the first run, you will see HDD activity for all of the 3 tests most of the time because this benchmark is caching stuff in advance (possibly textures).
    When you run the bench a second time, the HDD will almost never load because it using what it is cached.

    On a scenario with the "Standby list" Purged often, you will see this game (at least on the benchmark scenario) load from HDD like crazy even on multiple benchmark run and when that happen we all know that there is risk for stutter too.

    So in games like "ROTTR" your setting *may* cause more harm.

    Just my own experience here.

    But hey thanks for sharing your experience anyway;)
     
    Last edited: Oct 17, 2018
    AveYo likes this.
  10. Astyanax

    Astyanax Ancient Guru

    Messages:
    10,584
    Likes Received:
    3,874
    GPU:
    GTX 1080ti
    I will be complete honest here, the standby list bug is best worked around by having more memory installed than you have seen the standby list ever use.
     

  11. aufkrawall2

    aufkrawall2 Master Guru

    Messages:
    784
    Likes Received:
    113
    GPU:
    6800 reference UV
    Or poop into an envelope and send it to Redmond. If they can't fix their own crap...
     
  12. Astyanax

    Astyanax Ancient Guru

    Messages:
    10,584
    Likes Received:
    3,874
    GPU:
    GTX 1080ti
    as far as things go, with the fix from .320, it has standby list latency on similar if not better than 7sp1.
     
  13. mbk1969

    mbk1969 Ancient Guru

    Messages:
    10,800
    Likes Received:
    8,046
    GPU:
    GF RTX 2070 Super
    @Wagnard
    Btw, you can also add popular tweak of system timer resolution
    Code:
    [DllImport("ntdll.dll", SetLastError=true)]
    static extern int NtSetTimerResolution(uint DesiredResolution, bool SetResolution, out uint CurrentResolution);
    
    [DllImport("ntdll.dll", SetLastError=true)]
    static extern int NtQueryTimerResolution(out uint MinimumResolution, out uint MaximumResolution, out uint ActualResolution);
    ...
    
    uint DefaultResolution = 0;
    uint MininumResolution = 0;
    uint MaximumResolution = 0;
    
    // retrieve timer resolutions
    NtQueryTimerResolution(out MininumResolution, out MaximumResolution, out DefaultResolution);
    
    // set maximum resolution
    uint actual = 0;
    NtSetTimerResolution(MaximumResolution, true, out actual);
    
     
  14. Wagnard

    Wagnard Ancient Guru

    Messages:
    2,661
    Likes Received:
    339
    GPU:
    MSI Geforce GTX 1080
    If I do, I'll have to rename my app. Maybe I could do a "Workaround all Windows issues" app lol.
     
  15. mbk1969

    mbk1969 Ancient Guru

    Messages:
    10,800
    Likes Received:
    8,046
    GPU:
    GF RTX 2070 Super
    WWW - Wagnard`s Windows Workarounds


    PS Earlier I was offering you the manual mode for standby list purge by the hotkey combination. I have the code for raw input, but such code will unavoidably increase the CPU usage, so I removed my offer. But you can think for yourself or ask users. Such manual purging can be of help since user can react to the stutters right now, not awaiting for timer.
    Raw input allows the app to get hotkey notifications even on background.
     
    Last edited: Oct 18, 2018

  16. cryohellinc

    cryohellinc Ancient Guru

    Messages:
    3,385
    Likes Received:
    2,733
    GPU:
    RX 5700 XT/ MAC M1
    I suggest we just make Windows 10 Wagnard edition, that actually WORKS. ;)
     
  17. Wagnard

    Wagnard Ancient Guru

    Messages:
    2,661
    Likes Received:
    339
    GPU:
    MSI Geforce GTX 1080
    I'll add the option as optional in ISLC I think. As a tickbox. with a thanks for the idea @ mbk1969 of course.
     
  18. mbk1969

    mbk1969 Ancient Guru

    Messages:
    10,800
    Likes Received:
    8,046
    GPU:
    GF RTX 2070 Super
    If you will display current resolution, the units for NtQueryTimerResolution/NtSetTimerResolution are 100-ns, so to convert to milliseconds you should divide by 10000.


    PS I just noticed - why this thread is hosted in NVIDIA drivers subforum? A bit confused. :confused:
     
    Last edited: Oct 18, 2018
    Wagnard likes this.
  19. Wagnard

    Wagnard Ancient Guru

    Messages:
    2,661
    Likes Received:
    339
    GPU:
    MSI Geforce GTX 1080
    Thanks, I already have a working solution. Just need to test a little and make a somewhat usable GUI with ISLC
     
    cryohellinc likes this.
  20. cryohellinc

    cryohellinc Ancient Guru

    Messages:
    3,385
    Likes Received:
    2,733
    GPU:
    RX 5700 XT/ MAC M1
    Thank you for all the effort @Wagnard
     
    Wagnard likes this.

Share This Page