r/oblivionmods • u/LTSharpe • Oct 17 '26
Remaster Oblivion Remastered Performance Fix
My gift of love to the game I've been returning to for 20 years now.
I knew there is something fundamentally wrong with Remastered performance when even on very low graphical settings in Cheydinhal the performance was absolute junk (stuttering, 20-30 fps). Thanks to Claude I was able to find out why and fix it, while preserving game's fidelity.
Key improvements:
- Each frame the game was re-building Sun/Moon, forcing it to re-calculate how light falls on each loaded object leading to crazy unnecessary CPU load. This was replaced with updates only in case something changes.
- There were lots of inefficiencies in memory operations, forcing the game to constantly allocate/de-allocate, now minimized via use of buffers
- Lots of operations (for example, preparing DirectX commands for drawing) were on a single thread and have now been parallelized
- Traversal stutter due to the game forcing loading of new cells / npcs inside them / linking objects to the physics engine / unloading old cells is now significantly reduced by allocating work across several frames without changing how the game behaves
- Several bugs leading to crashes, both in the original game code and in Remastered, have now been fixed
- Various Frame Generation improvements, from removing stuttering when CPU was forced to unnecessarily wait, to introducing full support for new AMD FSR Frame Generation (requires installation of AMD FSR dll 3.1.4, instructions in readme), including passing camera info to the algorithm
- Various stutter-reducing measures when opening menus / inventory and after loading screens. Shaders are now pre-loaded before the game starts.
I have thoroughly tested this on my PC: AMD 5800X, 9070 XT, 32GB DDR4 3200 RAM, Win11, and can confirm a very noticeable uplift in FPS and reduction in stuttering to almost unnoticeable levels (for example with FG this scene went from 72 to 102 FPS).
I would really appreciate if people can also test on their PCs and let me know if it works. All codes are open-sourced, checked for viruses, resulting mod is just a dll with ini file that can be put in the game's folder.
As a bonus, repository includes a benchmarking suite with reproducible scenarios I've been using for debugging, that allows you to objectively measure FPS gains before and after.
There is still room for improvement. For example, there is still a noticeable performance dip during big npc fights or when loading many npcs. So please don't hesitate to contribute!
I want this project to become the definitive way to play the game, whether you prefer full vanilla or a heavily modded experience.
I know many people hate AI, but I think helping improve performance and fix bugs in our beloved games is a perfect use case for it.
https://github.com/LTSharpe/OblivionRemasteredPerformanceFix
81
u/elfgurls Oct 17 '26 edited Oct 18 '26
I dont care if you used AI. If it works it works and thats great.
Performance is bad on my wife's PC so I'll try this out tomorrow and report back. She gets like 40 fps outside Vilverin with everything on medium
EDIT: No noticeable improvement at all. FPS still hanging in the 30s/40s. Confirmed correct installation via the log file per the repository.
11
u/IndependentYouth8 Oct 18 '26
Just so I understand, these seem to be findings at the source-code level, or at least at the UE5 engine level. How did you and Claude get to that point? Decompilation?
Also, the faults you found... wow. If that's true, then the team didn't even take the time to implement some of the most basic optimizations.
Very interesting this!
5
u/CharlesManson420 Oct 19 '26
Submitted an issue on github, it just crashes my game before the main menu. Doesn't work at all.
9
u/Figthing_Hussar Oct 18 '26
I can confirm it smooths the frame time on my RTX 5090 and Ryzen 7 9800X3D. While the FPS stayed relatively unchanged, the drops are pretty much all gone. My settings on 1440p were everything on Ultra, including hardware Lumen RT and DLSS set to DLAA. I get a stable 65 - 75fps, while previously it would hit around 70fps but it would dip to 20 or even 15fps consistently.
2
u/Mythoclas 24d ago
Can i use this and also this Oblivion Remastered Ultimate FPS Fix at Oblivion Remastered Nexus - Mods and community ?
2
u/luketas Oct 19 '26
Has anyone tried on a Steam Deck? I don’t own the game yet
6
u/shinto29 Oct 17 '26
Really great use of Claude here, fair play.
> Lots of operations (for example, preparing DirectX commands for drawing) were on a single thread and have now been parallelized
I’m not sure how much of this is on the UE side of things, and it’s still a very old codebase, but fucking hell…
3
u/Pleasant-Lie-2105 Oct 17 '26
Can anyone report whether this works? Any before and afters?
14
u/sketch_for_summer Oct 18 '26
Wow, the comments here are so different from the ones under the repost in r/Oblivion! So much more support instead of just blind hate. Cool! 😎
2
u/pete-roman Oct 18 '26
This is huge! Amazing stuff and well done! :)
2
u/Rhed0x Oct 18 '26
Parallelizing stuff is tricky but without the source code? How does that even work? How do you make sure there aren't race conditions when the game isn't built around parallel accesses to the rendering data?
2
u/Aggravating-Ideal879 Oct 18 '26
Bro im gonna play the fuck out of this game all thanks to you. Love you man ❤️.
2
u/omglionheaded Oct 18 '26
I’m willing to put Fable to work on this project if you need extra hands. Great work!
23
u/GarrettB117 Oct 17 '26
Interesting…I will definitely be trying this today.
I also don’t care that AI was used. There are a lot of things we should NOT be using AI for and I understand why people don’t like it. But to me this seems like a solid use of AI if it really works. I’m going to do some benchmarking on my own hardware and report back. 7800x3d, 7900xt, and 32 gigs of DDR5
14
u/Irkamus Oct 17 '26
Thanks for doing what Bethesda won't do.
5
u/Loose_Tradition_5318 Oct 19 '26
This is really impressive. I'm very sensitive to microstutter to the point where I just couldnt play it, even with a 5090. This is a game changer.
Thanks for investing the time, money and effort!
2
u/dgreenbe Oct 17 '26
Youre my hero. I quit the game when I was in a town and could barely move through it due to performance being so bad, hoping it would surely get fixed (nope) and it's been hard to come back to it. I'm really eager to check this out!
TLC and giving a shit is the most important thing whether you already knew about this kind of code or used AI
8
u/dkcraftbbq Oct 20 '26
I want to make something INCREDIBLY clear to anyone thinking of coming in here making any negative comments about AI use. AI assisted coding is THE NEW STANDARD for all software engineering. You can take issue with resource costs, use of AI to steal and manipulate artistic assets, the morality of replacing human jobs, etc. None of it changes the fact that every single software developer going forward is going to be largely interacting with AI coding agents in some form or another. I am a senior level engineer with 15+ years of experience, my daily workflow has been completely transformed by AI agents for generating code. Every single major software company in the US is currently pushing initiatives for AI adoption amongst its engineering staff. We reached 100% adoption in our business unit months ago.
All this being said, the expectation for a lone modding enthusiast to not use these tools as they try to scrape, debug, and improve a massive baseline in ways that the original developers failed to optimize themselves, is wholly unrealistic.
4
u/theridebackhome Oct 19 '26
Do one for Skyrim. :3
1
u/ChristRedeemsSinners Oct 20 '26
Why do you think the studio didn't already fix these? I mean, if a guy in his basement (no offense) can mod the game without the source to fix it, then why couldn't the studio with gazillions of dollars and a team of engineers WITH the source code do the same?!
1
u/RankedFarting Oct 21 '26
I am fully convinced this is placebo. I tried it and my framerate is identical. So far there are no actual benchmarks just gamers who say they "feel" like its better.
The same way the most popular bugfixing mod for skyrim actually makes the game less stable.
Gamers opinions are not a measurement. Benchmarks are.
1
u/French_Bravo Oct 18 '26
How much did it cost you in terms of Claude usage? Would you say it's worth it or is still too costly for one specific case.
Also out of curiosity did Claude give any sensible explanation as to why some stuff were coded that way in the remaster/base game?
1
u/pwn4321 Oct 20 '26
Do you plan on making performance improvements with AI for other games?
3
u/CosmicEyeball Oct 21 '26
I just did my own test. I ran on the exact same road with the same speed. Without this mod the stutters happens at exactly the same places every time (when entering a new world zone/square).
After installing this mod my fps went up by 22% and the stutters very noticeably decreased. The stutters did not completely disappear. But it does work and it does make a big difference. I can still notice small stutters though. But without this mod the stutters are insane and makes the game unplayable for me. With this mod i could probably play the game.
So many thanks! Amazing mod
3
u/Darkmortal10 Oct 18 '26
general complaint to these kinda vids but why dont they just mirror the part the game is showing on the right side instead of having a split too slowly panning between the comparisons.
6
u/Tooneyman Oct 17 '26
I agree on the use of using A.I to smash bugs and make the games we love run better. I'll check this out. Let me see if it runs well on Linux version with the proton and wine compability layer.
1
u/Vegabund Oct 17 '26
11 stutters is still too many considering how regularly that will still be felt in gameplay.... but goddamn is 11 a lot better than in the 60s!
1
u/ShadonicX7543 Oct 18 '26
Will this also provide improvements to those who try and play the game in VR?
If so, this is yet another win for even people trying to push the game that far!
1
u/zermkel Oct 18 '26
Does this work/will it help on the Steam Deck too?
2
u/DelayAffectionate45 Oct 21 '26
Wow. Excellent work, imo. Not just improved the stutters but made it so nice it could tolerate 3x NR too and still get 70 FPS @ 4K Ultra, Quality upscaling (FG too but tolerable - certainly versus original back in the day!) 5090 / 3700x (yeah, i know) Looks pretty damn good for Oblivion.
Woop! Thanks!!
2
u/LazyLemur77 Oct 23 '26
It's a wonderful mod. After my CPU initially working overtime when starting up the first time with this mod for 5-10 minutes, it's now running really smooth on my RTX card and 5800X3D CPU. Thank you so much!
2
u/PayMe2Win Oct 18 '26
See how happy people are about ai when its used for something beneficial. Keep it up man if it can fix bugs in games and the work gets double checked by a human than why not.
2
u/Rukasu17 Oct 19 '26
Now this is good AI usage. Fixing shit the devs realistically will never go back to.
2
u/applecombinipimento Oct 19 '26
Thankyou OP :)
2
u/Goku30121992 Oct 20 '26
I dont Play this Game Mate. Altought tested IT when IT was Released and one of the Things why ive stopped was this very Bad Performance. Thank you so much for your fix. Maybe cause of that i will Play trough it again(played the original for hours in Xbox360) in the Future
2
u/giflord26 Oct 20 '26
Definitely fixed the near constant stuttering for me
4
u/Letsgetthisraid Oct 17 '26
When the community fixes the game before the company you unfortunately know it’s a Bethesda game lol.
You’re the goat
3
u/Cast_Iron_Lion Oct 18 '26
We need the same thing for Fallout 4
3
u/damnedfruit Oct 18 '26
This is great news, i was wondering when those kind of mods would came out, i was pretty sure it was doable by reverse engineering by using AI, especially in bethesda games (but also UE5 games) i just knew it.
I know there are a ton of people that hate AI, but look what is capable of! It fixed what not even developers could (or would).
I hope, that in the near future, will came out, some sort of open source tool to fix perfomance in games, wich is a total plague nowadays.
Something like the reverse engine everything, but for game optimization.
P.S.
I believe this fix can be ported to fallout 4, and starfield as well, right?
3
u/dcwt2010 Oct 18 '26
Absolutely sterling work, I recently upgraded from 5600x to 5800x3d to keep my AM4 going for a few years but performance didn't shift as much as I'd like. This looks amazing and it beggars belief that a multi-billion dollar company couldn't be bothered to do this even a little bit.
3
u/ghlifdqwio Oct 18 '26
I could kiss you rn. Thank you for improving my favorite game of all time. I will test this mod later on my machine.
3
u/CorianderIsBad Oct 17 '26
This is great. I'll try it out ASAP. Please do not delete this.
2
u/drunkenspycrab Oct 18 '26
Damn. Now I can say that the modders did what developers couldn't
2
u/RaoD_Guitar Oct 18 '26
Dude, don't give me hope. I'm (or my pc is) very sensitive to the stuttering and simply couldn't play the remaster because of it. I will 100% try this later today.
2
u/glizzygobbler247 Oct 18 '26
Wow thank you for this, its so interesting to see what is actually going wrong behind the scenes, I always wonder what the heck these UE5 games are doing to destroy performance
2
u/composero Oct 18 '26
This is truly awesome. Thanks of thinking to try this and seeing where it led. By chance do you have FFXVI and would you be interested and tackling the performance issues there to create a patch? I’ve wanted to finish that one as well forever but the way it just collapsed on itself when loading new environments and effects just stole the joy out playing the game
2
u/Dallows89 Oct 18 '26
This is fantastic!
0
u/ImAFuckingMooseBitch Oct 17 '26
How does this differ from the .ini performance fixes that are the most popular mods for Remastered? Perhaps try running both at the same time?
0
u/pagusas Oct 18 '26
What performance monitor are you using in that video? Looks beautiful and reports exactly things I'd want too
2
u/_chiponurshoulder Oct 17 '26
Thank you for this.
2
u/robxenotech Oct 17 '26
If you have done a fix here you're a hero. Well done sir
2
u/selinemanson Oct 18 '26
Hate gen AI, but this sort of thing is why I live assistive AI. Crazy how the developers themselves couldn't be bothered to do this, especially considering their budget and resources. Lazy and incompetent. I can finally actually play this game that's been long abandoned by the developers. Thank you.
1
u/iulius_with_an_i Oct 20 '26
Tried to use your benchmarking tool, but my antivirus decided the file
tools/benchhook/build/OblvBenchHook.dllwas a virus and deleted it. I assume it's a false positive (because who would sneak a virus into a benchmark tool wtf), but like, fyi.Also, it tried to launch the game through steam, which didn't work for my totally legal version of the game...
1
u/Karhuwa Oct 21 '26
Please please please do this for Blood of the Dawnwalker. 10/10 game held back by poor optimization
1
u/Dorfdad Oct 21 '26
I’ve said it before and I’ll say it again. The reason people especially old school coders hate it is because it is replacing them and 90% of them are probably bots. That said the new coders are visionary and creative people. Ideas are now coders.
1
u/Kvakosavrus Oct 22 '26
Is it compatible with the most popular perfomance mod (https://www.nexusmods.com/oblivionremastered/mods/79) Optimized Tweaks OBLR?
I use it and have noticeable effect but where are still some stutters. If your fix can improve it would be great!
1
u/lLygerl Oct 27 '26
Was the comparison done with a warm or cold shader cache?
1
u/Zocom7 Oct 31 '26
Does this fix work together with SCSKiller open-source tool?
1
u/FlavouredSocks 20d ago
Can this work in tandem with the amd global illumination fix mod?
1
u/IronicallyNotBad Oct 19 '26
Damn, first time I can do 60fps, thanks
1
u/Yuiop321 Oct 19 '26
This is so amazing. I love how effectively AI is able to fix/change games, be it for optimization or adding VR support. Fantastic work!
1
u/Triggerhappy62 Oct 19 '26
Oblivion is one of the most unstable elder scrolls game so much so playing it on console is safer
1
u/Philslaya Oct 19 '26
first question is this ai vibe coded?
1
u/HappyAd4998 Oct 18 '26
Fans have to resort to AI to fix the broken as UE5 engine for a game that the devs refuse to support
1
u/PowerfulAgent9939 Oct 18 '26
I’ve been waiting forever for something like this, anyone got it confirmed working?
1
u/Lostxsr Oct 18 '26
Can you please also fix metal gear solid delta phantom pain
1
u/DenielEvenin Oct 18 '26 edited Oct 18 '26
The worst part is I doubt developers will make their performance better even using such technologies. This is exactly what AI should be used for. My pc will be always unable to play these new games and the new games will still be made for the newest pcs to create the new greatest looking game. For example I want to play GTA VI when it comes to pc but my pc is so outdated by now. My main problem is that games seem to be made without a lot of consideration for performance. For example there are a ton of games that are beatiful and don't need to have ray tracing and all of these new things thrown in with every blade of grass be real. The lowest or low settings are usually worse looking than games from 10/14 years ago.
I know im just a complainer and I shouldnt expect my old ass pc to run new games but it just makes me sad for me and other people who dont have money for new stuff.
1
u/Phantom24X Oct 18 '26
For things like this ai can be amazing
1
u/micho241 Oct 19 '26
I remember Oblivions orriginal color palete this looks revolting tbh
0
u/SuspiciousCantelope Oct 18 '26
Damn, if only we could get this on every UE5 game 😂
0
u/Informal_Safe_5351 Oct 17 '26
This is what ai should be used for, so im in support of this. Technical use im all for, creativity is what i dont like!
0
u/W0lfp4k Oct 17 '26
Wow, can you post something like this for the OG game?
0
u/ready_mod Oct 17 '26
Really cool thing finally being worked on for this game - from a MP mod platform perspective we'll be closely watching it ;)
0
u/fearless0 Oct 17 '26
Amazing work, thank you. Very interesting and informative reading the how it works doc. Good stuff. Also subbed to your youtube.
0
u/Bright-Asparagus-575 Oct 18 '26
nice!
0
u/Wyvernlolpwnz Oct 18 '26
Wow, amazing!
0
u/CrisPiola_2019 Oct 18 '26
Fans fixing what Bethesda doesnt. Its amazing how you can say this like 10 or 15 years ago and it still the same
0
u/Plastic-Drag-7498 Oct 18 '26
Sadly it does nothing to make Oblivion an actual good game, just a gross themed beta version of skyrim
0
u/Blarglord69 Oct 19 '26
Still looks like silent hill 1
0
u/dregomz Oct 19 '26
It's still nowhere near playable state. But better than their botched release that got completely abandoned.
-1
u/John_GOOP Oct 17 '26
My main issues with the game is that it looks terrible unless you use DLAA that and even with difficulty mods its broken
-6
u/John_GOOP Oct 17 '26
Doesn't work. Just crashes game. Ignore.
0
u/Necessary-Mix-56 Oct 18 '26
Human slop < Human + AI
You may don't like it but it's true.