Skip to content

D3D12 modification that might fix stuttering in Elden Ring

License

Notifications You must be signed in to change notification settings

rabidcopy/EldenRingStutterFix

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Update: I've realized that Special K implements these same fixes (and more) for Elden Ring. I'll keep this repo up but I recommend using Special K instead.

EldenRingStutterFix

This is an unofficial and experimental patch for Elden Ring on PC which aims to fix certain kinds of stuttering that some players have experienced. It implements these VKD3D fixes natively in D3D12:

Installation

  1. Download the latest release
  2. Move d3d12.dll into your Elden Ring game folder (probably C:\Program Files (x86)\Steam\steamapps\common\ELDEN RING\Game)
  3. Launch the game with EAC disabled
    • To do this, create the file steam_appid.txt with the text 1245620 in your game folder and run eldenring.exe directly

To uninstall, just delete d3d12.dll from your game folder.

Testing

On my PC, the game didn't stutter in the first place so I haven't actually verified that this fix helps. In theory it should decrease certain kinds of stuttering in the same way that VKD3D/Proton does, but it won't necessarily improve performance otherwise.

For now, I logged some stats to make sure everything was working as intended. These were the stats after 15 minutes of playing:

Command allocators created:        241
Command allocator cache hits:      50276
CreatePipelineLibrary overrides:   1
CreateCommittedResource overrides: 109013

When running the game after a driver update, the CreatePipelineLibrary workaround is triggered once. The command allocator cache and CreateCommittedResource fix also look to be working, which saves on a lot of expensive memory operations.

About

D3D12 modification that might fix stuttering in Elden Ring

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 85.6%
  • Assembly 9.7%
  • C 4.7%