1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Possible Solution For DX12 Stutter In Individual Games->EG:Metro Exodus/BF5

Discussion in 'Game Tweaks and Modifications' started by gerardfraser, Feb 17, 2019.

  1. gerardfraser

    gerardfraser Ancient Guru

    Messages:
    2,489
    Likes Received:
    318
    GPU:
    R9 290 Crossfire
    1.Search and Open Exploit Protection
    2.Click On the Program Settings Tab
    3.Click On The + Add Programs To Customise
    4.Click On Choose Exact File Path
    5.Find Game Which You would Like To Try To Remove DX12 Stutter Click Open
    6.Programs Settings For Game Opened ,Scroll Down To Control Flow Guard(Never Use For Global Setting)
    7.Put Check Mark In Override System Settings And Turn From On To Off And Apply
    8.Restart May Be Needed

    [​IMG]
     
  2. Whiplashwang

    Whiplashwang Ancient Guru

    Messages:
    2,272
    Likes Received:
    165
    GPU:
    MSI GTX 1080Ti
    Just tried it and I think it really helped. I'm always dubious of tweaks like these because I think it's mostly placebo effect, but this may have worked! Can others confirm improvement?

    Edit: I even tried this in The Evil Within 2, which always had terrible framedrops and stuttering, and now my framerate is consistent. What the hell?
     
  3. TaskMaster

    TaskMaster Master Guru

    Messages:
    958
    Likes Received:
    165
    GPU:
    Strix 2080TI 11gb
    only DX12 or also DX11?
     
  4. Passus

    Passus Maha Guru

    Messages:
    1,079
    Likes Received:
    197
    GPU:
    GTX 1060 3GB
    Whoa confirmed zero stutter fifa 19 dx12

    will try a few more later
     

  5. AsiJu

    AsiJu Ancient Guru

    Messages:
    5,667
    Likes Received:
    1,191
    GPU:
    MSI RTX 2070 Armor
    Lols, so that's what was holding DX12 back all along!

    Makes sense though and probably works for other APIs too.
    The less the OS interferes with the .exe the better performance.

    Gonna try this out too in a few games.
     
  6. mbk1969

    mbk1969 Ancient Guru

    Messages:
    7,326
    Likes Received:
    3,838
    GPU:
    GeForce GTX 1070
    If I remember it right the exe-file should be built with the support of the control flow guard and then it takes place. Also it was specially mentioned that this control flaw guard extra code should not affect the performance on modern CPUs.

    https://docs.microsoft.com/en-us/windows/desktop/secbp/control-flow-guard

    Btw, I have that dumpbin.exe on my rigs so I can upload it to medifire and you can test yourself which exe-file is built with control flow guard .

    More details for true geeks
    https://documents.trendmicro.com/assets/wp/exploring-control-flow-guard-in-windows10.pdf
     
    Last edited: Feb 19, 2019
    akbaar and AsiJu like this.
  7. AsiJu

    AsiJu Ancient Guru

    Messages:
    5,667
    Likes Received:
    1,191
    GPU:
    MSI RTX 2070 Armor
    So do you mean an exe must support control flow guard for it to be applied?

    What if the implementation is flawed, could that explain this (why disabling it reduces stutters)?
     
  8. mbk1969

    mbk1969 Ancient Guru

    Messages:
    7,326
    Likes Received:
    3,838
    GPU:
    GeForce GTX 1070
    Exactly.

    I am not a programmer in MS kernel team. But to think logically, if exe- and dll-files were built without the CFG support the OS kernel simply has no info for CFG mitigation when it loads the exe-file.

    We can assume that all system exe- and dll-files were built with CFG support (including DirectX ones). As for games we can test individually with the help of dumpbin.exe.
     
    AsiJu likes this.
  9. TaskMaster

    TaskMaster Master Guru

    Messages:
    958
    Likes Received:
    165
    GPU:
    Strix 2080TI 11gb
    Well tried bfv with dx12 and this tweak and it was totally smooth. Is there zero way to get reshade to work with dx12 though? I cannot stand the blurry mess without it. DX11 is smooth for me, but I just feel like dx12 runs better. I could be going crazy.
     
  10. Memorian

    Memorian Ancient Guru

    Messages:
    2,895
    Likes Received:
    141
    GPU:
    Strix 2080 Ti OC
    BF V DX12 is butter-smooth even without this tweak. Try a different DX12 game.
     

  11. fantaskarsef

    fantaskarsef Ancient Guru

    Messages:
    10,460
    Likes Received:
    2,689
    GPU:
    1080Ti @h2o
    A noob question for you fellow gurus: I don't have "exploit protection". Which win10 version does this relate to? 1809?
     
  12. gerardfraser

    gerardfraser Ancient Guru

    Messages:
    2,489
    Likes Received:
    318
    GPU:
    R9 290 Crossfire
    mbk1969 link Control Flow Guard
    This feature is available in Microsoft Visual Studio 2015, and runs on "CFG-Aware" versions of Windows—the x86 and x64 releases for Desktop and Server of Windows 10 and Windows 8.1 Update (KB3000850).


    Exploit protection is supported on Windows 10, version 1709 and later and Windows Server 2016, version 1803

    Hope that helps
     
    fantaskarsef likes this.
  13. fantaskarsef

    fantaskarsef Ancient Guru

    Messages:
    10,460
    Likes Received:
    2,689
    GPU:
    1080Ti @h2o
    Yes that helps, thanks, I'm still running 1607 (LTSB 2016)
     
  14. ultraex2003

    ultraex2003 Member Guru

    Messages:
    139
    Likes Received:
    22
    GPU:
    Amd 2x290 Cfx
    i try BF1 and the stutter was here nothing change to my setup and i return to dx 11 is smooth to me !!;)
     
  15. big ROBOT bill

    big ROBOT bill Maha Guru

    Messages:
    1,245
    Likes Received:
    478
    GPU:
    ROG Strix 1660Ti
    This certainly helps my BFV run smooth in DX12, a miracle I recon!
     

  16. AsiJu

    AsiJu Ancient Guru

    Messages:
    5,667
    Likes Received:
    1,191
    GPU:
    MSI RTX 2070 Armor
    Please upload dumpbin.exe, curious to see what it reports with game exes that show a benefit from this tweak (or not).
     
  17. mbk1969

    mbk1969 Ancient Guru

    Messages:
    7,326
    Likes Received:
    3,838
    GPU:
    GeForce GTX 1070
    I will when I get to work.
     
  18. mbk1969

    mbk1969 Ancient Guru

    Messages:
    7,326
    Likes Received:
    3,838
    GPU:
    GeForce GTX 1070
    @AsiJu
    http://www.mediafire.com/file/ay5hdp7hllvutjp/dumpbin.zip/file

    I packed both x64 and x86 versions from Visual Studio 2017.

    Command line to use (from the folder with the dumpbin.exe itself):

    dumpbin.exe /headers <exe_or_dll_file_path> | more

    - this should show first screen like this
    [​IMG]

    and you can press <Ctrl>+<C> to break further output.
     
    akbaar, jura11, ShadowDuke and 5 others like this.
  19. theoneofgod

    theoneofgod Ancient Guru

    Messages:
    4,053
    Likes Received:
    40
    GPU:
    RX 580 8GB
    Thanks for that. I had a quick look at a bunch of games I have and none have this entry so I guess disabling it in Exploit protection is pointless?
     
  20. mbk1969

    mbk1969 Ancient Guru

    Messages:
    7,326
    Likes Received:
    3,838
    GPU:
    GeForce GTX 1070
    It should be pointless for the binaries built without CFG support. But any user can try it himself. Who knows - may be MS team updated the mitigation to work even for the binaries without CFG support.
     

Share This Page