Jump to content
Sign in to follow this  
Brocky120

MSFS Adaptive LOD

Recommended Posts

54 minutes ago, GSalden said:

I have 4000 cards but still use this mod. I now can add extra AI traffic ac  😎

I have a 4090 (and Varjo Aero), and love this mod.  Works great!


MSI MAG Z790 Carbon, i9-13900k, NH-D15 cooler, 64 GB CL40 6000mhz RAM, MSI RTX4090, Yamaha 5.1 A/V Receiver, 4x 2TB Samsung 980 Pro NVMe, 1x 2TB Samsung 870 EVO SSD, Win 11 Pro, TM Warthog, Virpil WarBRD, MFG Crosswinds, 43" Samsung 4K TV, 21.5 Acer VT touchscreen, TrackIR, Varjo Aero, Wheel Stand Pro Super Warthog, Phanteks Enthoo Pro2 Full Tower Case, Seasonic GX-1200 ATX3 PSU, PointCTRL, Buttkicker 2, K-51 Helicopter Collective Control

Share this post


Link to post
Share on other sites
4 hours ago, Reset XPDR said:

I'll put out a test version tomorrow then. It'll be good to see what others think of it.

I’m game. 

Share this post


Link to post
Share on other sites

Thanks everyone for your interest. Here is a link to the LOD Step Max test version.

LOD Step Max will initially set to a value of 5 (per second), which I have found to be a good compromise between maintaining smoothness and a reasonably timely change to new LOD levels. The lower you go the smoother it should be but also it take will take longer, and vice versa. If it isn't working for you or it is causing stutters every step change let me know and include your broad system specs (eg. CPU, GPU). You can effectively disable this new function by setting a very high LOD Step Max like 400 and the app will work as before as it chooses the lesser of LOD Step Max or the actual step change between table levels.

This test version also includes all other changes I have made since Fragtality's 0.3.2 release, and are summarised as follows:

  • Cruise LOD Updates, when checked, will continue to update LODs in cruise but only if your AGL changes enough to put you at a new LOD table value and even then only if you cross it by a +- 5% null zone. This generally only activates when cruising at MSA over varying terrain and mostly lays dormant otherwise.
  • PC and VR LODs are changed at the same time, meaning it is not necessary to select whether a profile is PC or VR as LODs will change whether you are in PC or VR mode. As a result, the VR checkbox has been removed and an additional 3 profiles have been added, totaling 6, to give you more choice for the type of flying you do.
  • There are also a few fixes to fix minor issues I came across while digging through the code and testing and some small UI changes to accommodate the changed and removed features. 

spacer.png

Edit: Note minor bug found with one of the fixes I did to stop users selecting a value of 0 for any of the integer inputs, like the new LOD Step Max, so that functions don't get stuck in infinite loops is that it inadvertently restricted the Reduce only Pairs/Indices equal to or higher than # to not allow 0 as an changed input (although it will stay at 0 if it already is as long as you don't try to change it higher then back to 0 again). I have fixed it and updated the installer. If you have already experienced this problem because you've already downloaded the test version, just download it and install again as I have updated the installer. 

 

 

Edited by Reset XPDR
  • Like 8
  • Upvote 1

Ryzen 7 5800X3D | Gigabyte RTX 4090 Gaming OC 24GB | 32GB 3200MHz RAM | 2TB + 1TB NVME SSD | 2GB SSD | 2GB HDD | Corsair RM850 PSU | 240mm AIO | Buttkicker Gamer 2 | Thrustmaster T.16000M Flight Pack | 75" 4K60 TV | 40" 4K60 TV | Quest 3 | DOF Reality H3 Motion Platform

MSFS @ 4K Ultra DLSS Performance with 2.0x Secondary Scaling |  VR VDXR Godlike 80Hz SSW OXRTK @ 5200x5200 Custom FFR CAS 50% | MSFS VR Ultra DLSS Performance - Windows 11

Share this post


Link to post
Share on other sites

One, what I consider positive, side effect of the new LOD Step Max functionality I am trialing, is that it also applies to FPS Adaption LOD changes. Previously I stopped using FPS Adaption because in order for it to have meaningful FPS improvement, I had to drop TLOD in particular by at least 50, but the issue was when it deactivated that the sudden increase of LOD by 50 and new textures loading in often caused a brief FPS drop back down below the FPS Adaption trigger FPS and it would trigger again even if the steady state FPS was now above that trigger level. This caused FPS Adaption to be constantly activating and deactivating when it didn't need to be so I gave up on it.

Now, with LOD Step Max in use, the engagement and disengagement of FPS Adaption works as you expect it would because the LOD changes are much smaller and have less of an FPS impact when changing, which is especially noticeable on the disengagement action. As such I am now using FPS Adaption again quite successfully, so if you too had given up on it, perhaps give it another go now. I'm also interested to hear whether people think that the FPS engagement LOD decrease should be instant rather than stepped as I have it now, so you get the FPS improvement sooner but perhaps at the expense of a mild stutter and possibly doing so on a transient FPS drop like with a view change or panning where you don't really want it to react so significantly, and leave disengagement stepped as that is smoothest and avoids false re-triggering of FPS Adaption. It's a fairly easy change to make if people think that would be better.

Edited by Reset XPDR
  • Like 2

Ryzen 7 5800X3D | Gigabyte RTX 4090 Gaming OC 24GB | 32GB 3200MHz RAM | 2TB + 1TB NVME SSD | 2GB SSD | 2GB HDD | Corsair RM850 PSU | 240mm AIO | Buttkicker Gamer 2 | Thrustmaster T.16000M Flight Pack | 75" 4K60 TV | 40" 4K60 TV | Quest 3 | DOF Reality H3 Motion Platform

MSFS @ 4K Ultra DLSS Performance with 2.0x Secondary Scaling |  VR VDXR Godlike 80Hz SSW OXRTK @ 5200x5200 Custom FFR CAS 50% | MSFS VR Ultra DLSS Performance - Windows 11

Share this post


Link to post
Share on other sites

Just gave this 3.5 test version a go and things are looking promising. Thank you for your continued development of this fantastic utility!  I might give FPS Adaption another go after you have changed it to step up / down. One request that I have for FPS Adaption is, would it be possible for it to work only on the ground? I do not want the LOD changes to happen in the air due to frame rate hiccups.

I need it mainly on the ground for the occasions when landing in a heavy airport with lots of Vatsim traffic. If that could be done (with a checkbox) then I would happily give FPS Adaption another go.

Edited by Divij

Share this post


Link to post
Share on other sites
42 minutes ago, Divij said:

One request that I have for FPS Adaption is, would it be possible for it to work only on the ground? I do not want the LOD changes to happen in the air due to frame rate hiccups.

I suggest you first try the new version as is because the stepping reduces frame rate hiccups significantly, especially if you have a low LOD Step Max value like 2 and a very short timeout like 1 second. eg. if you are flying along at LOD 200 and have FPS Adaption set for 50 LOD reduction and the aforementioned values, if your flight experiences a brief FPS dip that triggers FPS Adaption, then in that next second it will drop LOD to 198 (200 - 2) and, since the FPS drop was transient, your LOD will go back up to 200 after 1 second and I doubt you will even notice it. If you have a persistent FPS drop then your LOD will continue working down to 150 (200 - 50) over the next 25 seconds (25 x 2 steps) and if that changes then within 1 second it will turn around and start marching back up at the same rate.

Edited by Reset XPDR
  • Like 2

Ryzen 7 5800X3D | Gigabyte RTX 4090 Gaming OC 24GB | 32GB 3200MHz RAM | 2TB + 1TB NVME SSD | 2GB SSD | 2GB HDD | Corsair RM850 PSU | 240mm AIO | Buttkicker Gamer 2 | Thrustmaster T.16000M Flight Pack | 75" 4K60 TV | 40" 4K60 TV | Quest 3 | DOF Reality H3 Motion Platform

MSFS @ 4K Ultra DLSS Performance with 2.0x Secondary Scaling |  VR VDXR Godlike 80Hz SSW OXRTK @ 5200x5200 Custom FFR CAS 50% | MSFS VR Ultra DLSS Performance - Windows 11

Share this post


Link to post
Share on other sites

Many thanks to all for all your work on this, and @Reset XPDR especially for your antepenultimate post introducing your new version in a manner in which a regular, but proficient, PC user can actually understand!

I will try it out for sure, as I have had serious stutters when changing LODs, but interestingly only in the descent... The climb out has been as smooth as anything, completely unnoticeable, I would have expected the stutters to come when LODs were being increased rather than decreased as I would have thought that was more taxing!

Edited by abennett

Share this post


Link to post
Share on other sites

Reset XDPR,

Big thanks for all your hard work and energy on this! Really appreciate all your efforts to create something special (as I know so many others do too).  

Very excited to give it a test.

So, quick question. Noticed in your table above you don’t have LOD limiter checked?  Is your system strong enough that you don’t need it, or just don’t find it of value?

Will give you a shout as soon as I have some results for you.

Again, thanks for carrying the ball forward on such an innovative mod.

Well done!

  • Like 2

Share this post


Link to post
Share on other sites
1 hour ago, abennett said:

I would have expected the stutters to come when LODs were being increased rather than decreased as I would have thought that was more taxing!

That's a good point and may be the case. As such, I have updated the code to have a LOD Step Increase Only checkbox which, when checked, will direct change down in LOD values but slow step up. Unchecked it will slow step both change directions. Download link is the same here

UI now looks like:

spacer.png

Edited by Reset XPDR
  • Like 2

Ryzen 7 5800X3D | Gigabyte RTX 4090 Gaming OC 24GB | 32GB 3200MHz RAM | 2TB + 1TB NVME SSD | 2GB SSD | 2GB HDD | Corsair RM850 PSU | 240mm AIO | Buttkicker Gamer 2 | Thrustmaster T.16000M Flight Pack | 75" 4K60 TV | 40" 4K60 TV | Quest 3 | DOF Reality H3 Motion Platform

MSFS @ 4K Ultra DLSS Performance with 2.0x Secondary Scaling |  VR VDXR Godlike 80Hz SSW OXRTK @ 5200x5200 Custom FFR CAS 50% | MSFS VR Ultra DLSS Performance - Windows 11

Share this post


Link to post
Share on other sites
39 minutes ago, caneman said:

Noticed in your table above you don’t have LOD limiter checked?  Is your system strong enough that you don’t need it, or just don’t find it of value?

I do now. See https://www.avsim.com/forums/topic/640425-msfs-adaptive-lod/?do=findComment&comment=5056710


Ryzen 7 5800X3D | Gigabyte RTX 4090 Gaming OC 24GB | 32GB 3200MHz RAM | 2TB + 1TB NVME SSD | 2GB SSD | 2GB HDD | Corsair RM850 PSU | 240mm AIO | Buttkicker Gamer 2 | Thrustmaster T.16000M Flight Pack | 75" 4K60 TV | 40" 4K60 TV | Quest 3 | DOF Reality H3 Motion Platform

MSFS @ 4K Ultra DLSS Performance with 2.0x Secondary Scaling |  VR VDXR Godlike 80Hz SSW OXRTK @ 5200x5200 Custom FFR CAS 50% | MSFS VR Ultra DLSS Performance - Windows 11

Share this post


Link to post
Share on other sites
1 hour ago, abennett said:

as I have had serious stutters when changing LODs

I've had this only when using LODs much higher than my hardware and settings can manage.  So my tact, contrary to what I thought was sage advice early on, I set mine up for frequent changes, but only minimal increases in LOD.  IOW, it's not the changing, it's the too large of a jump in LOD for my system to cope with that caused serious stutters.  You could see it not only in the stutter but also in main thread utilization.  For example, one profile does LOD 40 at 0ft, 50 at 300ft, 60 at 600ft, 70 at 900ft, etc, concomitant with being able to see more distant as you ascend.  I discovered w/ my settings I'm only able to manage LOD of 170 and that at 36,000' AGL.  


Noel

System:  7800x3D, Thermal Grizzly Kryonaut, Noctua NH-U12A, MSI Pro 650-P WiFi, G.SKILL Ripjaws S5 Series 32GB (2 x 16GB) 288-Pin PC RAM DDR5 6000, WD NVMe 2Tb x 1, Sabrent NVMe 2Tb x 1, RTX 4090 FE, Corsair RM1000W PSU, Win11 Home, LG Ultra Curved Gsync Ultimate 3440x1440, Phanteks Enthoo Pro Case, TCA Boeing Edition Yoke & TQ, Cessna Trim Wheel, RTSS Framerate Limiter w/ Edge Sync for near zero Frame Time Variance achieving ultra-fluid animation at lower frame rates.

Aircraft used in A Pilot's Life V2:  PMDG 738, Aerosoft CRJ700, FBW A320nx, WT 787X

 

Share this post


Link to post
Share on other sites

Can you post your settings?

Would be interested in a test and compare.

Share this post


Link to post
Share on other sites
5 hours ago, Reset XPDR said:

I have updated the code to have a LOD Step Increase Only checkbox which, when checked, will direct change down in LOD values but slow step up. Unchecked it will slow step both change directions

Apologies if I have misunderstood, but isn’t this the wrong way round?

Presuming that the LOD Step Max is supposed to increase smoothness and reduce stutters, it needs to be used when descending, as it is the TLOD reducing that causes stutters.

The way you have done it, it is optional when descending (TLOD reducing), but always in use when climbing (TLOD increasing). But climbing is already smooth, and so this is where it should be optional, and it should be in use all the time when descending, as this is where the stutters occur (when TLOD is reduced), and, therefore, where it needs the help of the smoothing?

Of course, choice is no bad thing, and ideally it would be optional in both directions.

Again, apologies if I have misunderstood, and if so, your reply will help my understanding!

Share this post


Link to post
Share on other sites
5 hours ago, Noel said:

I've had this only when using LODs much higher than my hardware and settings can manage.  So my tact, contrary to what I thought was sage advice early on, I set mine up for frequent changes, but only minimal increases in LOD.  IOW, it's not the changing, it's the too large of a jump in LOD for my system to cope with that caused serious stutters.

I would have to disagree here I think. 

The stutters come for me with even a relatively small change in LOD 125 down to 75, maybe this isn’t small, but it’s certainly smaller than when it reduces from 300 to 200 (where I don’t get stutters).

This also suggests that the stutters unrelated to the change being too hard for the system to cope with. Furthermore, before using this mod, I was using 250 TLOD the whole time with no stutters and reasonable FPS (never below 40).

So if my system can cope with that, surely it shouldn’t be giving me a massive stutter/freeze/sound crack, etc., when decreasing during descent from 125 to 75?

By your logic, one would argue that my system is incapable of running at 75 TLOD because the change to that is causing it to stutter, where in actual fact it is capable of 250 TLOD as that is what I was using before without stutters.

Please note, I am disagreeing in the friendliest possible terms. I’m a firm believer that it’s through exchanging ideas and different understandings that knowledge is increased, so I’m more than happy to be wrong, and corrected, in order to learn something new!

Edited by abennett

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...