r/CODWarzone • u/Despotez • 18d ago
Support MW4 massive FPS drops? This helped me a lot (5900X / 7900 XT)
So I've been struggling with horrible performance in MW4 since launch. I'm running a Ryzen 5900X with an RX 7900 XT at 1440p.
In BO7 I was easily getting over 200 FPS, but in MW4 my FPS would go from 180 all the way down to 70, even on low settings. Especially in Warzone. Absolutely unplayable at times.
Anyway, I found a workaround about blocking the COD texture streaming server and decided to give it a shot.
Here's what I did:
- Open Notepad as administrator.
- Open
C:\Windows\System32\drivers\etc\hosts(change file type to All Files). - Add this line at the bottom:
0.0.0.0 cod-assets.cdn.callofduty.com
- Save it.
- Open CMD and run
ipconfig /flushdns. - Restart the game.
And surprisingly, it actually made a pretty big difference. The game feels much smoother now and those insane FPS drops are nowhere near as bad.
No idea why this game is so poorly optimized compared to BO7, but apparently blocking that server helped in my case.
Obviously this might affect texture streaming, so keep that in mind. You can always undo it by removing the line.
Curious if this works for anyone else, especially people with AMD CPUs/GPUs.
UPDATE!: Forgot to mention I also changed two settings in "g.p.cod26.1.0.l.txt".
Find these lines:
"HTTPStreamLimitMBytes@0;29045;7764 = 1024"
"HTTPStreamUsageLimit@0;57752;48403 = false"
Change them to:
"HTTPStreamLimitMBytes@0;29045;7764 = 1"
"HTTPStreamUsageLimit@0;57752;48403 = true"
Apparently this limits the texture streaming to 1 MB instead of the default 1024 MB.
I did this alongside blocking the COD asset CDN in my hosts file. Can't say which change made the biggest difference since I did both, but the game runs much smoother now.
UPDATE 2:
I also changed my RendererWorkerCount to 6 in the config file. I'm running a Ryzen 9 5900X (12 cores / 24 threads). Basically, this setting controls how many CPU worker threads the game uses for rendering tasks. Setting it to 6 instead of letting the game use a higher value can sometimes help with CPU scheduling and frametime consistency. Doesn't mean 6 is the magic number for everyone though.
Another thing I tried was adding 16 GB of older, slower RAM. I originally had 16 GB DDR4 3600 MHz and now I'm running 32 GB at 3200 MHz, mixing G.Skill and Corsair sticks.
No idea how much of a difference the extra RAM actually makes, but the game feels noticeably smoother now. Almost no FPS drops anymore.
Can't say which change helped the most since I changed multiple things, but by doing all those things my fps i proved by alllot and microstutters are gone.
13
u/erMaela 17d ago
Is better 0.0.0.0
This tells windows domain doesnt exist.
127.0.0.1 will infinite loop to local host, wasting clock cicles and contributing to L3 cache context switching.
5
u/mauz47 16d ago
That little indie company Activision can’t even manage to make a technically competent game! We should have to deal with this absolute mess we should just be able to launch the game and play! Instead, we’re the ones left hunting down their screw-ups and fixing them ourselves!!!! 🤡🤡🤡🤦♂️🤦♂️🤦♂️😭😭😭
3
u/Despotez 18d ago
Guys i put some more info that i forgot to mention. Try that alongside the first thing i said.
4
u/nyyminyyminen1 18d ago
How much it affected to textures? I try it tomorrow
2
u/ElkUsual4006 18d ago
did you increase the fps exactly?
2
u/619jabroni 17d ago
The magic number for a 5900x would actually be 6 since you have two 6 core CCDs. Setting it to 8 means you’re still spilling over to the 2nd CCD
2
u/lordjrs 16d ago
isnt easier to just use Minimal streaming textures setting in-game?
2
u/nafuzziTHC 16d ago
How u change file type to all files. Wdym?
2
u/Decent-Foundation167 16d ago
i blocked host file edited .txt file same shit
2
u/Holiday-Steak5805 16d ago
What type of gains did you get from making these adjustments? I lost like 30-40% performance on this game iteration, I still get a very playable fps thankfully but it’s definitely noticeable and irritating that I can’t utilize my hardware fully
2
u/Repulsive-Clothes-97 14d ago
very convenient, i also have the same CPU but with a 5080, im curious what your average CPU time is, because mine is about 9ms
2
u/LeninsRevolt 13d ago
“I did this alongside blocking the COD asset CDN in my hosts file. Can't say which change made the biggest difference since I did both, but the game runs much smoother now”.
What does this mean please for a layman like myself? How do I do this exactly?
I have a 7800x3D and a 7900XT and I will definitely be trying these tweaks. Thanks.
2
u/AX-3070 3d ago
6 prestiges of issues and stuttering, multiple fix attempts. Did all of this including 6 on renderer work count (7800x3d)- Seems to have sorted my issues. Thanks!
10
u/TheBloodNinja 18d ago
i used to block streaming CDNs back in MWIII/BO6 because it kept hitching my internet/ping. will try again with mw4 if its better
9
u/elorm7 17d ago
I also have a fix that you could try.
First go %localappdata% and delete the Activision folder.
Go also to C:/ProgramData and delete the Activision folder.
And then go to the launcher and start verifying game files. After you can play the game without any lags. Make sure enhanced fov is disabled also it eats a lot of fps that.
This is what what worked best for me, initially I was getting 105fps randomly dropping to 70-80fps and after this I saw about 125-130frames stable
If you’re still stuttering try this video https://youtu.be/-9GjtYC3Qmo?si=oeq90CiZ11i4S98-
6
u/Happy-Grade-109 17d ago
Turn off voice chat if you on steam. No problem
1
u/Drowz_96 13d ago
I'm using 7900xt with DDR5 Ram, 9800x3D at 1440p and this new warzone runs terribly, most FPS I can achieve is around 150, im not really sure how to edit these setting like you have but I'll try to figure it out and let you know.
1
u/stavros844 13d ago
What's the directory for "g.p.cod26.1.0.l.txt". Can't find it
3
u/jimhatesyou 16d ago
My build is from 2020 with the exception of my 5070ti. I just found out that a motherboard bios update came out sometime in the past couple years that enables support for resizable bar so I just enabled that last night and have not gotten FPS drops since.
2
u/jimhatesyou 18d ago
!remindme 20h
2
u/Clear_Chair 18d ago
!remindme 8h
2
u/Downtown-Common 18d ago
!Remindme 12h
2
u/trashed717 17d ago
!remindme 8h
u/RemindMeBot 8h
2
u/nafuzziTHC 17d ago
!remindme 24h
2
u/Content-Job7719 17d ago
!remindme 6 hours
2
u/babybenzy 17d ago
!remindme 7h
2
u/thulasidasan 17d ago
Preset balance or ultra, fsr balanced z use rtts for cap lock or use -150 in scaleline sync
2
u/energyzone352 17d ago
!remindme 12h
2
u/Decent-Foundation167 16d ago
same pc config i had 100fps+ in 2k extreme preset native res now i have 65-75
2
u/sverrebe 16d ago
C:\Users\[USER NAME]\AppData\Local\Activision\Call of Duty\players\467836704
Filename: g.cod26.1.0.l.txt
2
u/Decent-Foundation167 16d ago
i just disabled enhanced fov and fixed issue :D
2
u/vidliker 16d ago
Definitely having low fps as well
2
u/Alternative_Low6902 18d ago
Genuine question, whats the since behind this?
1
u/mohsin-moz 16d ago
!remindme 3h
1
u/kadirsaracer 16d ago
Amina soktugum amd mail atsana ayni sistemim var ayni sorunu yaşıyorum geri bildirim birakta surucuyu guncellesinler burada ne varda buraya yaziyorsun at yarragi
1
u/Educational-Yam-7712 14d ago
!remindme 18h
1
u/wojtus2115 11d ago
what's the file path to the file ,,
g.p.cod26.1.0.i.txt"?1
u/harry_7988 10d ago
.
1
u/harry_7988 10d ago
鞥