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?


| FAA ZMP |
| PPL ASEL |
| Windows 11 | MSI Z690 Tomahawk | 12700K 4.7GHz | MSI RTX 4080 | 32GB 5600 MHz DDR5 | 500GB Samsung 860 Evo SSD | 2x 2TB Samsung 970 Evo M.2 | EVGA 850W Gold | Corsair 5000X | HP G2 (VR) / LG 27" 1440p |

 

 

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.


| FAA ZMP |
| PPL ASEL |
| Windows 11 | MSI Z690 Tomahawk | 12700K 4.7GHz | MSI RTX 4080 | 32GB 5600 MHz DDR5 | 500GB Samsung 860 Evo SSD | 2x 2TB Samsung 970 Evo M.2 | EVGA 850W Gold | Corsair 5000X | HP G2 (VR) / LG 27" 1440p |

 

 

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...