r/DestinyTheGame • • Jul 30 '26 • Diamonds are Forever 1 Bravo 1

Discussion Another Possible Steam Performance Fix - Temporarily Delete the Overlay Files

I did not figure this out myself. Credit goes to this Steam discussion forum post by Dragwind: https://steamcommunity.com/app/1085660/discussions/0/573795107743178114/?tscn=1785362581#c583929293210393898

It would seem that Steam still loads the overlay DLLs even if you have the Overlay disabled in Steam's settings. Removing the related overlay files from the base Steam directory brings my overall FPS up to par with the Epic version. I still have framepacing issues on both platforms however, but this makes both platforms essentially equal for me, performance-wise.

Workaround steps:

  1. Restart Steam if you have already launched a game. The files you need to delete may be locked if you've already launched a game.
  2. Open your Steam directory in Windows Explorer. It'll usually be: C:\Program Files (x86)\Steam
  3. Delete or move all of the files in that base directory that have the word "overlay" in the title. For me they are: GameOverlayRenderer.dll, GameOverlayRenderer64.dll, gameoverlayui64.exe, SteamOverlayVulkanLayer.dll, SteamOverlayVulkanLayer.json, SteamOverlayVulkanLayer64.dll, SteamOverlayVulkanLayer64.json. You can move them if you want to be safe, but in my experience Steam will recreate these files the next time you restart Steam. DO NOT RESTART STEAM NOW, HOWEVER. You want to leave steam open with the files deleted.
  4. Start Destiny. Compare FPS using the in game FPS counter to before / after, and Epic if you'd like.

This is going to be something you'll have to do every time you want to play D2, so buying it on Epic while it is on sale may still be a good option if this sounds too finicky for you.

UPDATE: I've been using u/D2Checkpoint's solution for a couple days now. It's worth checking out if you haven't already settled on your own scripting solution yet. https://www.reddit.com/r/DestinyTheGame/comments/1vaen8x/comment/p0r7jwd/

592 Upvotes

108 comments sorted by

82

u/D2Checkpoint Jul 30 '26 • Bravo

It's usually better to change the permissions on the files than to delete them outright. I ended up creating a wrapper to automate this when you launch the game and it will automatically restore the old perms when the game closes. https://github.com/d2checkpoint-com/D2SteamFix

5

u/SpinningAndFarAway Jul 31 '26

Thanks! Much better than the batch file I had going. I tested going to other games after D2 and yup the overlay is reinstated as soon as you quit D2. Nice work!

3

u/SpinningAndFarAway Jul 31 '26 edited Jul 31 '26

I originally built it from source right after you posted this and it was written in rust. I see that it was re-published as a C++ later yesterday. Why the change? Just curious. I'm wondering if it would be best to redownload and rebuild.

7

u/D2Checkpoint Jul 31 '26

Original prototype was written with the help of AI and people were reporting issues on discord with the ACL recovery. I was having trouble decoding what it did, so refactored into something I'm more familiar w/ when it comes to the windows api. both should be about the same other than the format of the recovery file.

Double edged sword I guess. It can shit out a few kloc in an hr that takes 6 to review 😂

2

u/SpinningAndFarAway Jul 31 '26

Ah! Ok, that makes sense. Yeah, we are living in interesting times. This is a great poster child for how AI can help us create useful tools very quickly.

Thanks again!

4

u/s0lder_s0ldier Aug 01 '26

After night, When I launch Destiny, this window appears. Restarting doesn't help.

D2SteamFix found interrupted permission recovery state.
Close Destiny 2 before continuing. After you select OK, D2SteamFix will require 30 seconds with no Destiny process before restoring permissions.

1

u/Outrageous_Ask3194 Aug 07 '26

Having this issue as well, had this installed for a couple of days

5

u/s0lder_s0ldier Aug 07 '26 edited Sep 13 '26 • Bravo

What helped me was deleting all files named "steamfix" from the Destiny folder. I think there were three of them. And then copying steamfix.exe back into the Destiny folder. P.S. I keep running into this problem after force-closing Destiny with Alt+F4. You don't necessarily have to delete Steamfix.exe, but you can delete any other files with the same name.

1

u/_FrozonesSupersuit_ 18d ago

so i deleted the 2 and kept d2steam fix.exe, is that what u meant? gonna test it out now

1

u/Own_Huckleberry6591 Oct 12 '26

This worked for me thanks

12

u/compman117 Jul 30 '26

Using this for about an hour and honestly this has worked perfectly! No more insane fps drops on the moon and doing pvp things have been as good as the windows version.

Thank you!!!

5

u/Pure_Statement9497 Jul 31 '26
It’s not working; an error window appears saying: "D2SteamFix must not run as Administrator."
But I am not launching Steam or D2SteamFix with administrator privileges. What is the problem?

2

u/Reapseck Jul 31 '26

the path needs to have " at the start and at the end.

3

u/cramlikebram Aug 02 '26 edited Aug 02 '26

Same error for me even with quotation marks

"F:\Steam\steamapps\common\Destiny 2\steamfix.exe" %command%

Am I missing something?

Edits: Destiny 2, Destiny2launcher, steam, and steamfix.exe are ALL not being not as administrator

1

u/Ney0z_ Aug 03 '26

Same here..

1

u/RoutineDifficult5487 Aug 26 '26

same issue, have you figured it out yet?

1

u/ONI-CO Sep 02 '26

Same issue here

3

u/moose_yaka Oct 13 '26

I moved the UAC slider one notch up (it was disabled), and steamfix started working. This happens because UAC assigns a different token to all applications:

If UAC (User Account Control) is completely disabled in Windows (for instance, the slider in the Control Panel is set to the lowest position, or this was done via a tweaker / custom Windows ISO), Windows forces your user account into an 'always-admin' mode.

In this case, the GetTokenInformation(TokenElevation) WinAPI function will always return true for absolutely any running program, because token splitting in the operating system physically stops working."

5

u/LFG-Luther Aug 02 '26 edited Aug 02 '26

I can confirm that this wrapper fix worked for me. I went from ~34 fps at Altars of Sorrow to about double that, hovering over 60fps. My crucible fps almost doubled from ~33 fps to about 60 fps.

For context, I have a 7800XT gpu and 5900x CPU, which used to run this game at 120+ fps casually, before the last couple of updates ruined performance on Steam. Clearly there are several different issues plaguing the Steam version, but this was one of them and I'm glad this improved it to a playable state.

Tremendous work, this fix absolutely made my day.

3

u/Kliuqard Jul 30 '26

OP's suggestion somehow made the problem worse for me but this one works perfectly.

3

u/duke_of_danger Jul 30 '26

I feel I should mention, you need to change the command to match your game's location if you have the game on a different drive.

3

u/StillHuntBlade Jul 31 '26

Windows defender is telling me that steamfix.exe is a trojan Wacatac.

11

u/D2Checkpoint Jul 31 '26 edited Jul 31 '26

It's a false positive. You can build the program yourself if you want to be sure. `make.cmd configure` and `make.cmd build` from a Visual Studio command prompt.

EDIT: Microsoft has confirmed it was a false positive and has removed the detection. If it's still flagging the download, you can find instructions on how to update your definitions here: https://github.com/d2checkpoint-com/D2SteamFix/blob/main/docs/WINDOWS_DEFENDER.md

1

u/ZitexZ Aug 02 '26

The file is as expected 100% safe. Here's a Virustotal.com analysis.

2

u/RelationshipPlane624 Aug 02 '26

bro... thank you sooo much

2

u/Muntiacini Aug 02 '26

Just wanted to throw my hat in the ring and say this worked for me. Yesterday I was hitting 40, 50 FPS, tried this out and turned all of my settings to highest possible options and only ever dropped to around 85 from 100 cap. Definitely still not as good as before MoT but way better than the alternative.

2

u/TheEliteOne123 Aug 08 '26

trying to get this to work with no luck keep getting this when pasting the commands "'make.cmd' is not recognized as an internal or external command, operable program or batch file."

1

u/RoutineDifficult5487 Aug 29 '26

same did you find the solution?

1

u/PXLShoot3r Jul 31 '26

Should I still be able to see the overlay files?

1

u/ZitexZ Aug 02 '26

For anyone concerned, the file is as expected 100% safe. Here's a Virustotal.com analysis.

1

u/ShotYaInDaJunk Vanguard's Loyal Aug 03 '26

Thank you, I had gotten so used to how it played I forgot how smooth it used to be.

1

u/pokerfacedeath Aug 05 '26

The improvement was immediately noticeable. Thank you so much.

1

u/SilentAlpha_76 Aug 07 '26

When I tried this, my game instantly crashes when loading into any mission. Any idea why this may be?

1

u/creature206 Sep 04 '26

Thinking of trying this over my weekend. Would I install C++ first, run CMD’s, then download fix/place it in my directory?

1

u/AssassinMasterStefan Sep 27 '26

Do I need to start up D2 any differently when adjusting the properties or just double click the app as normal?

1

u/XLG911 Oct 11 '26
D2SteamFix must not run as Administrator.

Getting this error, what are the steps to resolve this

0

u/WeddingLiving7166 Sep 24 '26

2026 / 09/24 It works! Thank you soo much! I can enjoy D2 again!

111

u/Nukesnipe Drifter's Crew Jul 30 '26

You could probably make a batch file that deletes them and then launches the game.

14

u/SpinningAndFarAway Jul 30 '26

Absolutely!

2

u/duke_of_danger Jul 30 '26

do you only need to run this once? or is there a way to have it replace the destiny 2 shortcut?

42

u/WuclearNeapon Jul 30 '26

Hackerman. Good tip.

22

u/ANIMAX_117 Jul 30 '26

https://pastebin.com/pKEgHBhC
Using this batch file. Not sure if it works for others yet though..

20

u/revadike Jul 30 '26

This should work for any user: https://pastebin.com/PdfuhF4u

8

u/Swimmingbird2486 Jul 30 '26

I haven’t really made a batch file before, so can someone please confirm these are the steps? 

I copy and paste that into notepad, save it with a .bat at the end, and then double click the file BEFORE launching Steam, and D2. 

Or, do I have steam already open, double click the batch file, then launch D2? 

7

u/linton85x Jul 30 '26

Either of the batch files will run D2 automatically but other than that you need to make sure it is saved as a .bat, sometimes it saves it as a .bat.txt depending on windows settings.
I'd assume to have steam open but yeah just double click and it'll work

3

u/Griffadoo Drifter's Crew Jul 31 '26

Do you know if there's a way to get this to run in the Destiny launch options on Steam? That would be stellar

1

u/BloodMists Useless & Fictional Jul 31 '26

You might be able to add it to steam as an external game, but I've no idea if that will work.

1

u/RoutineDifficult5487 Aug 29 '26

how do i run it?

3

u/BaconIsntThatGood Jul 30 '26

This is going to be something you'll have to do every time you want to play D2, so buying it on Epic while it is on sale may still be a good option if this sounds too finicky for you.

So I'm assuming if you have any game with overlay enabled the files just restore themselves?

3

u/SpinningAndFarAway Jul 30 '26

You'll have to give it a try for yourself but I believe the overlay will just not work for any game until the next time you restart steam and it restores the overlay files. The restoration happens during startup. It must detect that there are missing files and it reruns the last steam update.

3

u/Zepperron Aug 07 '26

D2Checkpoint's solution works great, but I notice after some time, I get a file validation error which kicks me out destiny 2. Then, upon booting up again, Destiny 2 goes through the process of validating all files again for the game install

1

u/SpinningAndFarAway Aug 07 '26

How long does it take before you see that error? I haven't seen that, but I usually only play for 1 to 1 1/2 hours at a time.

2

u/Agitated-Box9226 Aug 07 '26

This happened to me yesterday. The game crashed.

On the third day of playing. My game session was 2-3 hours long.

When I restarted, the message was:

"D2SteamFix found an interrupted permission recovery state. Close Destiny 2 before continuing. After you select OK, D2SteamFix will require 30 seconds with no Destiny process before restoring permissions."

When I restarted, the message was repeated, but the game launched.

1

u/SpinningAndFarAway Aug 08 '26

Ah yes, I've seen that too. The other day, my internet connection went down and D2 went into a reconnect loop. There was no way to exit to the desktop so I had to force quit it. On next launch, that message came up. I hit ok, and then it finally launched 30s to a minute later.

152

u/Squery7 Jul 30 '26

Ok after one month of looking into this and trying all the bs fixes, this actually worked for me, no more insane stuttering on the moon or pvp and the game is playable again.

2

u/Ajveronese Aug 04 '26

Does it still need to be done even if I have steam overlay disabled? I have noticed that crucible matches (the only thing I do with matchmaking) have been unbearably laggy.

1

u/SpinningAndFarAway Aug 04 '26

Yes. This is covered in the 2nd paragraph of the post.

2

u/Ajveronese Aug 04 '26

Yeah I read that later and also tried the D2Checkpoint fix and it’s a night and day difference!

24

u/shockah Jul 30 '26

Upvoting, actually seems to work, unlike all of the other fixes.

19

u/MikyThatMona Jul 30 '26

I can confirm it does improve A LOT.

9

u/ReymondT Jul 30 '26 edited Jul 30 '26

this fixed the issues with the moon making the game stutter down to 60 and 30fps, its so consistent now thanks guys edit: even when there is a lot of stasis titans make computer can handle it and the fps is not stuttering anymore

1

u/HerederoDeAlberdi Aug 02 '26

That's it, I'm naming my stasis titan Bane of Photograms

7

u/WhiteWyvvern_ Jul 30 '26

Crazy, this is genuinely it. Went from 46-77 fps on the moon to 86-103 with a 1070 at 1440p.

6

u/panndaaa Jul 30 '26

this fix worked holy shit thanks op, was about to buy another version.

6

u/fewtoots Jul 30 '26

This worked for me, fixed my stuttering and frame drops. RX 9070 XT running in 4K

6

u/Rayman200000 Jul 30 '26

Oh my god this worked for me. You need to post this on the forums and maybe the one dev left can fix it?

1

u/EagleScope- Jul 30 '26

found this post through DMG tweeting it, so it's in the right hands at least

11

u/ThiccBeard90 Jul 30 '26

How much fps diff are we talking here

7

u/ProwlerCaboose Jul 30 '26

No personal testing done by me but based on a video I saw someone went from about 95-110 fps on the moon to 165-180. When comparing steam versus Epic for the game. No idea if this is similar but seems like it may be

5

u/Squery7 Jul 30 '26

I went from under 100 when in sorrow harbor to my cap of 144, except in combat when it still drops.

But more than that, the 100 felt horrible before this fix, 1% going as low as sub 60 for no reasons and made the game feel super bad.

1

u/MisterEinc Jul 30 '26

If you haven't noticed a reduction in FPS then you probably don't need this.

1

u/ThiccBeard90 Jul 31 '26

The thing is this is my first time playing destiny 2 on pc so ...

2

u/vjayzz Jul 30 '26

Unfortunately not much a difference for me, same fps when launching into sorrow harbour on the moon. I'm not seeing how this will make a difference after deleting those files considering steam just regenerates them so you'd be back to square one.

3

u/SpinningAndFarAway Jul 30 '26

You have to have Steam open and running when you delete the files. They do not get regenerated until the next time you start Steam again.

4

u/Spectrum831 Jul 30 '26 edited Jul 31 '26

My specs: i5-9400f,geforce rtx 2060 6gb,16gb ram.My fps got back to normal after using this method! No more micro stutters or low fps.Now I can finally explore the moon without my eyes being hurt from the lag there lol I can't thank you enough for sharing this info with us <3

4

u/Empty-Space4131 Jul 30 '26

Somebody tag dmg04 and the rest of the team

4

u/InhumanTadpole Jul 31 '26

I ran some performance captures (120 sec long) with CapFrameX before and after the tweak.

System Specs:

  • 9800X3D, RTX 5080
  • 1440p, mostly high settings
  • ~225 fps limit (Vsync+Gsync+Reflex)

Sorrow's Harbor (in-combat)

  • Before overlay tweak: 144 avg, 82 1% low
  • After overlay tweak: 181 avg, 124 1% low
  • +26% higher avg, +51% higher 1% low

Sorrow's Harbor (standing at spawn point)

  • Before: 124 avg, 74 1% low
  • After: 205 avg, 143 1% low
  • +65% higher avg, 93% higher 1% low

Grasp of Avarice (standing at spawn point)

  • Before: 217 avg, 123 1% low
  • After: 223 avg, 153 1% low
  • +3% higher avg, 24% higher 1% low (hitting FPS cap)

4

u/ThatInitiative6132 Aug 05 '26

I switched to epic and dont get me wrong its definitely improved but man its still not as good as what it used to be. The frame fluctuations are not good. Wish they optimised game for the last time before abandoning it

1

u/tiandrad Sep 15 '26

Anyone have better directions on how to use the D2SteamFix. As someone who doesn't program trying to figure how to do the Prerequisites has me completely lost. I downloaded Microsoft Visual C++ toolchain and with MSVC compiler and a Windows SDK, got the Developer command prompt, entered the cmd and all I get is "'make.cmd' is not recognized as an internal or external command, operable program or batch file."

1

u/SpinningAndFarAway Sep 15 '26

You only need to do that stuff if you want to compile the code for yourself. There's a precompiled exe here: https://pkg.d2checkpoint.com/D2SteamFix/steamfix.exe

19

u/Riablo01 Jul 30 '26

Upvoting this for visibility. Once again, the gaming community finds the cause of the problem when devs fail to do so.

2

u/MikyThatMona Jul 30 '26

I really think Bungie knows what's the problem,but they can't tell Valve to stop Steam overlay dlls from hooking up to the Destiny executable...

3

u/Binked-- Jul 30 '26

so glad this worked pvp is playable now

3

u/HiCracked Drifter's Crew // Darkness upon us Jul 31 '26

I'm incredibly surprised, this actually fixed the fps for me. On Altars of Sorrow my FPS went from 70-80 to 120-140, thats huge, thank you so much for relaying this information here.

5

u/apackofmonkeys Jul 30 '26 edited Jul 30 '26

I haven’t noticed any problems because I have a 4090 and my fps is capped at 120. But just now I uncapped it and saw there were definite random frame drops. In orbit it went from around 400 on average down to 300 sometimes. In the inventory screen it would go from 280 or so down to 160 occasionally.

After performing the steps outlined in the OP, my in-orbit fps was about 470-480 and no drops. Inventory screen went up to 320 with no random drops.

The gains are real, people. Hopefully this discovery helps Steam/Bungie fix the issues people are having.

2

u/Content-Age-1407 Jul 31 '26

It does in fact works, my FPS is restoring to its familiar value 220 - 310 depens on Scene, before the change:
170 - 260

2

u/DayDreamer2121 Aug 02 '26

Worked for me too. Wonder why this works yet disabling steam overlay doesn't? Does that mean steam overlay sinks it's dirty little claws into shit despite being turned off? Kinda dumb if so.

3

u/Lemoniscence Jul 30 '26

Oh huh. Maybe this is why my game has always crashed sometimes when I open the Steam Overlay.

3

u/Void_Guardians Jul 30 '26

Hate it when it always crashes sometimes :(

1

u/DaPheesh123 Jul 30 '26

Don’t know your set up but putting this out here since I have been fighting crashes and fps for years.

I will say since witch queen my 3070 caused crashes regularly. 2 things don’t know what really fixed it helped with my crashes.

  1. Replaced my thermal paste on the card. 2) Undervolted the 3070.

This allowed me to play uncapped. With 0 crashes until last patch. FPS has been trash, Microsoft launcher version also doesn’t help my FPS. Will be interested to see if this overlay workaround helps. I know killing my friends list didn’t help.

4

u/draftorange1 Jul 30 '26

Yesterday’s stuttering was the last straw, so I decided to buy the Epic Games version. It completely fixed the stuttering for me, with the added bonus of a few extra frames!

1

u/Agent_Manovic Jul 31 '26

Goated Fix, thank you for this!

1

u/TheWiLLoX Aug 01 '26

yup it worked for me and i tried everything. pvp feels more decent for me. thanks

1

u/Alternative_Rain_449 Aug 04 '26

Worked for me, hopium for a fix from Bungie in next patch.

1

u/The_Reset_Button Jul 30 '26

Still no improvement for me, I still get fps lows in the 30s when I sit on the main menu.

Stangely and I checked twice, my overall average seems to be much lower (~50 in sorrows harbour compared to ~90 before) but it also seems maybe more stable? but that could just be the lower fps

I don't think this is a simple issue with a simple fix

1

u/MikyThatMona Jul 30 '26

Make sure to clear your shader cache too.

1

u/Seiralacroix Jul 31 '26

Tried it and sadly it didn't fix mine.. still low fps

0

u/Background-Phone-785 Jul 30 '26

Unfortunately this didn't work for me either. Epic is still a good 20fps+ higher than Steam. I average around 130fps on Epic, but like 110 on Steam with more noticeable dips and frame pacing issues.

3

u/[deleted] Aug 01 '26

[removed] — view removed comment

4

u/SpinningAndFarAway Aug 01 '26 edited Aug 01 '26

Check out this solution. I've been using it for a couple days and it has been great. I've been able to go from playing Destiny with the overlay blocked straight to another game using the overlay afterwards without a steam restart. https://www.reddit.com/r/DestinyTheGame/comments/1vaen8x/comment/p0r7jwd/