Jump to content

Sign in to follow this  
Jimm

X-Plane 11 QuickTip: Increase FPS

Recommended Posts

I'm sure I grabbed your attention with that thread title, but no kidding here, you can increase your FPS with a simple dataref change.

First, make sure you have DataRefEditor installed.  If not, you can go here for it: http://developer.x-plane.com/tools/datarefeditor/

Once you are in XP11, have a flight scenario started, go to your upper menu and select Plugins->DataRefEditor->Show Art Controls

You should have a transparent window that appears, which is the dataref overlay.  Place your cursor at the bottom left of the window (there is a text input area in this region), click there and type fft_water.  This will filter the dataref listing to display the entry you want to edit.

Once you see the "reno/draw_fft_water" dataref, click on the value shown (should be 1), and change it to '0'.

Now close the dataref overlay, which will bring you back to your main screen.  If you have your FPS data shown (if not, use CTRL+SHIFT+F), the FPS should have increased.  The amount of increase may vary, depending on the scenery, aircraft, geographic location.  In my own personal test, I found a 10 FPS increase, but your increase may be higher.  Be aware that this change will only work per session, unless you create a Lua script and place it in the appropriate directory so that it will activate every time you run X-Plane.

 

This little tip can be done by following the above steps, or you can simply download the Advanced Render Settings, which is here: http://forums.x-plane.org/index.php?/files/file/36925-rendering-options-for-xp11/

As is always the case with manipulating datarefs, there can be downsides, and in this case, what you have effectively done is eliminate the animated waves on the water, so you will be left with calm, featureless water.  If you don't mind this change, what you will gain for FPS makes up for it.

  • Upvote 2

Engage, research, inform and make your posts count! -Jim Morvay

Origin EON-17SLX - Under the hood: Intel Core i7 7700K at 4.2GHz (Base) 4.6GHz (overclock), nVidia GeForce GTX-1080 Pascal w/8gb vram, 32gb (2x16) Crucial 2400mhz RAM, 3840 x 2160 17.3" IPS w/G-SYNC, Samsung 950 EVO 256GB PCIe m.2 SSD (Primary), Samsung 850 EVO 500gb M.2 (Sim Drive), MS Windows 10 Professional 64-Bit

Share this post


Link to post
Share on other sites

I'm still torn on this option. Yes, the FPS increase is good, but it makes the water look very strange (portions of it become grey and move around based on your viewpoint). 

By the way, it's a lot easier to edit this and other datarefs with the 'Rendering Options' utility- all you need is FlyWithLua. Here's another good FPS tip- use this tool to disable Ambient Occlusion. You'll gain performance and truly won't be able to tell the difference. 

http://forums.x-plane.org/index.php?/files/file/36925-rendering-options-for-xp11/

Share this post


Link to post
Share on other sites

If you just want to turn off ambient occlusion, you can create your own lua script to do that.  Just put this in a text file and save it with a .lua extension (instead of .txt) and put it in your scripts folder (\X-plane11\resources\plugins\FlywithLua\Scripts): 

--Ambient Occlusion. 0 (off) or 1 (on)
set( "sim/private/controls/ssao/enable", 0.00)

 

Share this post


Link to post
Share on other sites

Can someone post a before and after pic?


|Ryan Butterworth|

| i7 4790K@4.4GHz | 32GB RAM | EVGA GTX 1080Ti | ASUS Z97-Pro | 1TB 860 Evo | 500GB 840 Evo Win10 Pro | 1TB Samsung 7200rpm | Seasonic X750W |

 

 

Share this post


Link to post
Share on other sites

I thought that Ambient Occlusion could simply be turned off in the rendering options (using "HDR" instead of "HDR+SSAO").


"The problem with quotes on the Internet is that it is hard to verify their authenticity." [Abraham Lincoln]

Share this post


Link to post
Share on other sites
3 hours ago, Murmur said:

I thought that Ambient Occlusion could simply be turned off in the rendering options (using "HDR" instead of "HDR+SSAO").

Exactly what I thought.

But why make things simple ?:biggrin:

@Jimm: great tip, thanks! I'll try it with Flyinside, always good to grab a few more frames per second in VR. Maybe a Fast Fourier Transform (FFT) is a bit expensive in a shader. It should cost no texture memory at all and probably facilitates animation, which is why Ben might have chosen it.

Pascal

Share this post


Link to post
Share on other sites

Ah, so THAT'S what SSAO means!  Learn something new every day! (Especially when you actually are new to the sim!)

Share this post


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

Ah, so THAT'S what SSAO means!  Learn something new every day! (Especially when you actually are new to the sim!)

SSAO: Screen space ambient occlusion

Acronyms are cool... for those who know what they mean, and can overuse them. Not so cool for all the others.

  • Upvote 1

Share this post


Link to post
Share on other sites

My fps actually dropped lol...  43 down to 27.  Weird.


|Ryan Butterworth|

| i7 4790K@4.4GHz | 32GB RAM | EVGA GTX 1080Ti | ASUS Z97-Pro | 1TB 860 Evo | 500GB 840 Evo Win10 Pro | 1TB Samsung 7200rpm | Seasonic X750W |

 

 

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.
  • Donation Goals

    AVSIM's 2020 Fundraising Goal

    Donate to our annual general fundraising goal. This donation keeps our doors open and providing you service 24 x 7 x 365. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. We reset this goal every new year for the following year's goal.


    53%
    $13,405.00 of $25,000.00 Donate Now
×
×
  • Create New...