Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Looking for help with SweetFX

Featured Replies

Hello everyone,

 

I'm hoping that someone who has installed SweetFX in FSX can help me to get it working, as the only thing it does for me so far is crashing the sim. I followed the installation instructions, fired up FSX and loaded a saved NGX flight. The loading bar runs normally, but immediately after that I get a CTD. The log file contains the following info, which (for me) does not reveal the culprit.

 

full path: C:\MSFS10\

redirecting CreateDevice

initialising shader environment

device->GetBackBuffer failed

redirecting CreateDevice

initialising shader environment

redirecting CreateDevice

initialising shader environment

redirecting device->Reset

initialising shader environment

redirecting device->Reset

initialising shader environment

redirecting device->Reset

initialising shader environment

D3DXCreateEffectFromFile failed

SweetFX/Shaders/Main.h(115,85): warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them

 

Thanks in advance for any suggestions.

 

Kind regards,

Rene

René Bongers

  • Author

That is a consolation :lol:. After reading the other thread about this 'add-in', I'm getting a bit less motivated to get it working, as it seems to cause a performance hit.

René Bongers

  • Commercial Member

If I'm reading the error correctly there is a problem with character 85 at line 115 in the file SweetFX\Shaders\Main.h which has to do with USE_SMAA_ANTIALIASING. I would open up the SweetFX_settings.txt and check "#define USE_SMAA_ANTIALIASING 0" which is the first line in the file. If it reads "#define USE_SMAA_ANTIALIASING 1" change the "1" to "0" and try it again since you're probably using AA in Nvidia Inspector anyway. I tried it both ways and while it didn't crash my sim, the SMAA_AA actually caused some mild jaggys that aren't there without it.

 

Incidentally I'm noticing no measureable frame rate hit at all with this effect, however I have seen some slight jerkiness in the bouncy spot view camera in heavy clouds that aren't there with the effect off.

 

Jim

  • Author

Thanks for the reply Jim. Your analysis was spot on! No more crashes now.

 

Kind regards,

Rene

René Bongers

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.