Forum Discussion
Simple tip. May be usefull for you too. I have enabled manually the Resizeable BAR for Battlefield 2042 using NVIDIA Profile Inspector. This gave me over 4% FPS increase and no more stuttering.
I am on NVIDIA 496.84 HF driver. Gear: RTX 3090 & 10900KF.
To do that, find the following flags and set values accordingly:
0x000F00BA : 0x00000001
0x000F00BB : 0x00000001
0x000F00FF : 0x0000000040000000
Of course, your rig has to support the reBAR (enabled in motherboard's BIOS, proper GPU vBIOS with this feature).
To prove the above. The same map, same atmospheric conditions (sunny).
- 4 years ago
Hi,
Another part of performance improvement tips. My CPU is i9-10900KF 10C/20T.
We all know that BF2042 is heavy CPU dependent. This may and will influence DLSS functionality - higher the upscaling is = the higher load on CPU is required, but unfortunatelly there is no space for additional workload... Therefore some of us does not see FPS improvements with DLSS enabled. I have noticed, that playing DLSS=balanced or DLSS=performance my GPU utilization is around 70-80% and CPU utilization is around 30-35%. Something is not right.
Root cause:
By default game is distributing CPU load per physical core count. So in my case I will have only 10 working threads, loaded up to 70%. The remaining 10 threads does nothing.
Fix:
Work needs to be distributed on all available threads. This cannot be achieved from the in-game's console. The only way to influence on that setting is through the User.cfg file (which does not exist by default). However settings that influence the CPU workload distribution are slightly different than it was in former Battlefields:
Create User.cfg in game's installation folder with the following content:
Thread.ProcessorCount <core count here>
Thread.MaxProcessorCount <thread count here>
Thread.MinFreeProcessorCount 0
Thread.JobThreadPriority 0And now very important note: Thread.MaxProcessorCount cannot consume all available threads. If I set 20 game will crash on startup. Same for 19 and 18. The 17 is the max value I can use. In case of different processors you need to find the maximum possible value for your CPU.
It seems that this variable is not an exact thread count consumed by the game. For my processor, since Thread.MaxProcessorCount 14 load is distributed on ALL 20 threads. What does change from Thread.MaxProcessorCount 14-to-17 is the % of the max load possible for threads to consume.
Finally, my User.cfg looks like below:
Thread.ProcessorCount 10
Thread.MaxProcessorCount 17
Thread.MinFreeProcessorCount 0
Thread.JobThreadPriority 0And thanks to this I increased GPU load with DLSS, which means higher FPS in the situation when GPU was not maxed out earlier.
Here are some comparison screenshots.
Default settings, DLSS=Quality@3440x1440:
User.cfg settings, DLSS=Quality@3440x1440:
Default settings, DLSS=Performance@3440x1440:
User.cfg settings, DLSS=Performance@3440x1440:
In game's console Thread.* option changes does not take effect in runtime. You need to steer the variables from the User.cfg and start the game to see the difference! And don't get confused by seeing Thread.MaxProcessorCount 8 in game's console. It's the default value, which gets internally overwritten by the core count auto-detection made by game on startup. Unfortunately this auto-detection does not take hyper-threading into account...
Cheers!
UPDATE #1 :
Game's CPU core count auto detection works fine. Use "Render.DrawScreenInfo true" in game's console to see details. Core count is a total amount of the Threads. Good! No need to use Thread.ProcessorCount.
The "Job Threads" visible on that debug screen are an exact number of threads defined by Thread.MaxProcessorCount in User.cfg. By default it is 8 threads.
- 4 years ago
Thanks @7empePL
I have problems with my Ryzen 3800x with 8 cores and 16 threads.After using a user.cfg the game runs better and not only 9 cores were used now all.
Cpu usage in avarage raised from 61% to 85% in total
Stuttering is still existing but less often.With the 3800x i used this config file:
Thread.ProcessorCount 8
Thread.MaxProcessorCount 16
Thread.MinFreeProcessorCount 0
Thread.JobThreadPriority 0- 4 years ago
@graulesYou're welcome. Also, you can use in-game's "Render.DrawScreenInfo true" to see the job threads being used. By default it is 8 on the CPUs with 8+ threads.
Also, what I just found is that game's auto detection of the core count works fine, so we don't have to use Thread.ProcessorCount at all.
Thread.MaxProcessorCount <value> maps to a number of the job threads.
- 4 years ago@7empePL very good tests!
I have been posting a lot about what happens to me on my system running Core i9-7980XE 18C/18TH (HT OFF) and RTX 3090 OC all on water, all overclocked. Of course i tested all the tweaks and stock/oc, i also tried to increase core count tweaking it with project lasso and didn't work, just the bitsum highes performance allowed a better usage of the cpu. What i want to tell you is that no matter the tweaks, you can increase max fps and average but stuttering will not go away. So i decided to turn of Ray Traced Ambient Oclussion and now i not only have great FPS but smooth gameplay for days. Today after BF2042 #Update 2 game is even better. Of course i'm not pleased that having such a hardware i can't run it with RT AO = ON but the game looks great either way, this doesn't mean it don't need to be fix it but from all i've tested this is the thing that works best. For some reason i suspect that BF engine uses CPU for RTX also, at least a part is being processed, or it has some serious issues at high resolutions, i'm running 3840x1600, but it also does it at 3440x1600 and saw many people at 1080p with the same problem.
All the Best, Sergio!- 4 years ago@andressergiox Thanks. I feel you! I use 10900kf at 5.0 GHz all-cores. The 3090 running at 2100 MHz @1V (overclocked and undervolted). The 32GB RAM OCed to 4533 MHz at CL16. The CPU, GPU and RAM is custom water-cooled with 2x360 rads. And hitting the performance wall? Playing at 3440x1440 200Hz in “breakthrough” without RTAO and disabled DLSS gives me 100-130 FPS. With DLSS set to Quality it is slightly better, around 110-145 FPS. Higher downscale does not bring more FPS though. Game feel smooth, no stuttering, but got RTAO disabled since launch because it does not give any noticeable visual improvement versus HBAO but eats 30-40 FPS. In BF2042 with 128 players and massive destruction there is a lot going on on the CPU. No surprise that enabling DLSS can give even worse performance. I believe that next patches will address game’s optimization further and we will see some 30-40 FPS more. However this game won’t ever break 240 FPS @ 1080p 😉
- 4 years ago@7empePL I've got a Ryzen 7 3700x. I've created/edited a user.cfg file in the root game folder, In the game I see (under render.drawscreeninfo) cpu cores 16 (my cpu is 8) and job threads: 8. Have I done something wrong? ty
- 4 years ago@Bluecracy_yt Game counts total number of cpu threads as cores. That’s fine. Job threads means how many cpu threads can be utilized. Default is 8. You can play with Thread.MaxProcessorCount in User.cfg to find the sweet spot for your device. Lack of in game benchmark makes benchmarking a horrible process…
About Battlefield 2042 Technical Issues & Bugs
Recent Discussions
- 2 days ago