Jump to content

Shaders mod for better VR performance (experimental)


Recommended Posts

  • Replies 2.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

I was slightly frustrated with poor performance when playing in VR with the new deferred rendering engine, so I had a look what would be possible to remove/simplify from the shaders to improve the fra

For anyone interested, I've just tested DCS VR Shaders mod for 2.5.6.50321 (Clear Water, IC Pass) on the latest, Dec 17th 2.5.6.59398 Open Beta. Works perfectly on Caucasus and Syria !   Whi

Using the shader mod with the above fix solved the issue with the left panel in the A-10C for me. Thanks to @Taz1004 for making the fix and to @speed-of-heat for incorporating it in the consolidated v

I was using the same version as Tygaris and DCS now fails when loading, VR has gone from smooth to slideshow with new update.

AMD 3700X, 32GB Corsair Vengeance, GeForce 2060 Super, Windows 10, X56 Rhino, Saitek Rudder, Oculus Rift S.

F/A18C, F-14, Super Carrier, F-16C, UH-1H, SA342, AV-8B, FW190, C101, F-15C, Mi8MTV2, SU-33, SU-27, M-2000C, AJS-37, KA-50, L-39, Yak-52, F-5E, F-86F, Spitfire, Persian Gulf, Normandy, NTTR.

Link to post
Share on other sites
I've updated the zip. It now contains the complete Mod that I use here with JSGME. (Original source:
)

 

https://drive.google.com/file/d/1mjBR_ilBbmjacKxH3_2DBBPdYrfBNVqR/view?usp=sharing

 

Please make sure to apply this ONLY to a clean DCS installation.

 

 

 

^^^ Worked!!

Download the above MOD

Disable and delete previous versions. DO NOT COPY over the existing MOD

Repair DCS World

Delete fxo and metashaders from Saved Games

Delete contents from DCS World OpenBeta\Mods\terrains\Caucasus\misc\metacache\dcs

------ Repeat the above for all installed maps

Install the New Mod from the link above

Launch DCS :)

 

Thank you Ty!!!

[sIGPIC][/sIGPIC]

http://www.Vcw13.com

 

 

Asus Z270 Prime-A | i7-7700k | 32G Corsair Vengeance DDR4 3200 | EVGA RTX 2080ti | 2x 960 EVO M.2 in RAID 0 | 500GB SSD | Thrustmaster Warthog | Pimax 5K Plus

 

 

https://www.youtube.com/c/OverKillSims

Link to post
Share on other sites

Unfortunately, it doesn't appear to provide much of an impact... only gained about 5 frames. I think we're just gonna have to ride this one out guys.

[sIGPIC][/sIGPIC]

http://www.Vcw13.com

 

 

Asus Z270 Prime-A | i7-7700k | 32G Corsair Vengeance DDR4 3200 | EVGA RTX 2080ti | 2x 960 EVO M.2 in RAID 0 | 500GB SSD | Thrustmaster Warthog | Pimax 5K Plus

 

 

https://www.youtube.com/c/OverKillSims

Link to post
Share on other sites
im getting this now with the shader mod activated. anyone else?

 

Same here, after updating to 2.5.6

(B/229) Razorback

 

Asus P6T Deluxe X58 | Intel i7 965 Extreme Edition @ 3,2Ghz | 24Gb DDR3 1333-999 | Toughpower 1500Watt | 1 x WD 300Gb, 1 x WD 2000Gb | Asus GTX1080 8Gb | Asus Xonar D2X | Windows 10 Pro x64 | HOTAS Cougar (heavily modified) | MFG Crosswind pedals | CH Throttle Quadrant | TrackIR5 | Oculus Rift CV1 | VoiceAttack with Vaicom Pro

[sIGPIC][/sIGPIC]



B Co, 229th AHB, 1st Cav Div

 

Aviate Navigate Communicate

Link to post
Share on other sites

the shader mod likely needs updating again, others have had the same error, Tygaris, has created an update that works , but doesnt seem very performant ...

 

I've updated the zip. It now contains the complete Mod that I use here with JSGME. (Original source:
)

 

https://drive.google.com/file/d/1mjBR_ilBbmjacKxH3_2DBBPdYrfBNVqR/view?usp=sharing

 

Please make sure to apply this ONLY to a clean DCS installation.

SYSTEM SPECS: Hardware Intel Corei7-9700K @ 5.1 GHz, 32Gb RAM, EVGA 3090 XC3, Dell S2716DG, Thrustmaster Warthog + MFG Crosswinds V2, HP Reverb G2 @ 2836 x 2768
SOFTWARE: Microsoft Windows 10 Pro x64, VoiceAttack & VIACOM PRO, TacView

VR Stuff:   My Settings for 3090 and G2  My Settings for 1080ti  Shaders MOD for VR  My variant of Kegetys mod with clear water and also IC PASS for current beta & stable

 

1569924735_WildcardsBadgerFAASig.jpg.dbb8c2a337e37c2bfb12855f86d70fd5.jpg

Link to post
Share on other sites

Thanks Tygaris! I updated DCS and the shader mod no longer worked. I tried your shader update and it's all good again. Not quite getting the fps I was before, but that could be due to the new DCS or shader options you had to remove. Appreciate your work. :)

7700K@5Ghz, 32GB 3600 CL16, 3080.

Link to post
Share on other sites
im getting this now with the shader mod activated. anyone else?

That error comes up, if you install the "old" shader mod.Please refer to Pac_Man's post above on how to install it. https://forums.eagle.ru/showpost.php?p=4209331&postcount=981

 

 

Unfortunately, it doesn't appear to provide much of an impact... only gained about 5 frames. I think we're just gonna have to ride this one out guys.

Haven't really checked the numbers, the fix is more like a band aid made out of dirty cloth ;) Hopefully someone more clever than me and with a lot more insight into the DCS rendering process will create a working solution.

 

But I never used the shader mods from this thread, only from the YT link so my fix is based on that. Maybe the mods from here were better in the first place - but not IC compliant.

 

 

Here is the list of changes I've made.

 

 

Compose.fx:
line 22:    + #include "_HMD.hlsl"
line 87:    + discardHmdMask(i.pos.xy, getBufferSize(StencilMap));
line 136:   + discardHmdMaskMSAA(i.pos.xy, getBufferSize(StencilMap));

bloom.fx:
line 5:     + #include "deferred/luminance.hlsl"
line 46:    * getAvgLuminance() -> getAvgLuminanceClamped()

grass2.fx:
line 69:    + float TerrainContext_seaLevel;

Tonemap.fx:
line 78:    * getAvgLuminance() -> getAvgLuminanceClamped()

water.fx:
removed completely and replaced with the one from OB.


Edited by Tygaris
Link to post
Share on other sites

Recipe how to make Kegetys' VR mod OvGME compatible

 

For anyone who will want to use OvGME with original Kegetys' mod you just need to repack the archive with a new folder hierarchy. The archive is missing a folder with mod name, so here's a simple recipe for it.

 

 

  1. Extract Kegetys mod to any folder, usually you end up with folder name same as a filename. So let's assume it looks like this:
    ├───DCS VR Shaders performance mod for 2.5.5.41371
    │   ├───Bazar
    │   │    └───shaders ... (and other directories inside)
    │   └─── readme.txt
    



  2. Inside DCS VR Shaders performance mod for 2.5.5.41371 create a folder named VR Shaders. It will be the name shown in OvGME.
  3. Move Bazar directory inside the VR Shaders folder. You should end up with the folder structure shown below:
    ├───DCS VR Shaders performance mod for 2.5.5.41371/
    │   ├─── readme.txt
    │   ├─── [b][color=Green]version.txt[/color][/b]
    │   └─── [color=green][b]VR shaders/[/b][/color]
    │       └───Bazar/
    │            └───shaders/ ... (and other directories inside)
    



  4. You may notice that I added a version.txt file alongside readme. It's optional, and it's the version OvGME will display alongside mod name. If the file is not present it will just display n/a. File contents is just a single line with 3 part version number, e.g.
    2.5.5



  5. For the final step, zip the contents of the directory DCS VR Shaders performance mod for 2.5.5.41371 (so without the directory itself) and name the zip to the name you used for the folder (VR Shaders.zip). Final structure should look like this:
    ├─── [color=green][b]VR shaders.zip[/b][/color]
    │   ├─── readme.txt
    │   ├─── [b][color=Green]version.txt[/color][/b]
    │   └─── [color=green][b]VR shaders/[/b][/color]
    │       └───Bazar/
    │            └───shaders/ ... (and other directories inside)
    


  6. Place the resulting VR Shaders.zip inside your OvGME mod directory.

now even the readme.txt contents will display inside OvGME.

 

 

Important: On first installation, AFTER enabling the mod in OvGME, you still need to clear caches as per original installation instructions (deleting appropriate files in your saved games dir and dcs shaders). Please refer to the readme from the mod, conveniently displayed in OvGME window now.

TL; DR:

Add folder inside Kegetys archive, put Bazar inside it, add version.txt alongside the readme.txt if desired, rename archive to match folder name, profit.

Link to post
Share on other sites
For anyone who will want to use OvGME with original Kegetys' mod you just need to repack the archive with a new folder hierarchy. The archive is missing a folder with mod name, so here's a simple recipe for it.

 

Nice find sir!

SYSTEM SPECS: Hardware Intel Corei7-9700K @ 5.1 GHz, 32Gb RAM, EVGA 3090 XC3, Dell S2716DG, Thrustmaster Warthog + MFG Crosswinds V2, HP Reverb G2 @ 2836 x 2768
SOFTWARE: Microsoft Windows 10 Pro x64, VoiceAttack & VIACOM PRO, TacView

VR Stuff:   My Settings for 3090 and G2  My Settings for 1080ti  Shaders MOD for VR  My variant of Kegetys mod with clear water and also IC PASS for current beta & stable

 

1569924735_WildcardsBadgerFAASig.jpg.dbb8c2a337e37c2bfb12855f86d70fd5.jpg

Link to post
Share on other sites
For anyone who will want to use OvGME with original Kegetys' mod you just need to repack the archive with a new folder hierarchy. The archive is missing a folder with mod name, so here's a simple recipe for it.

 

 

  1. Extract Kegetys mod to any folder, usually you end up with folder name same as a filename. So let's assume it looks like this:
    ├───DCS VR Shaders performance mod for 2.5.5.41371
    │   ├───Bazar
    │   │    └───shaders ... (and other directories inside)
    │   └─── readme.txt
    



  2. Inside DCS VR Shaders performance mod for 2.5.5.41371 create a folder named VR Shaders. It will be the name shown in OvGME.
  3. Move Bazar directory inside the VR Shaders folder. You should end up with the folder structure shown below:
    ├───DCS VR Shaders performance mod for 2.5.5.41371/
    │   ├─── readme.txt
    │   ├─── [b][color=Green]version.txt[/color][/b]
    │   └─── [color=green][b]VR shaders/[/b][/color]
    │       └───Bazar/
    │            └───shaders/ ... (and other directories inside)
    



  4. You may notice that I added a version.txt file alongside readme. It's optional, and it's the version OvGME will display alongside mod name. If the file is not present it will just display n/a. File contents is just a single line with 3 part version number, e.g.
    2.5.5



  5. For the final step, zip the contents of the directory DCS VR Shaders performance mod for 2.5.5.41371 (so without the directory itself) and name the zip to the name you used for the folder (VR Shaders.zip). Final structure should look like this:
    ├─── [color=green][b]VR shaders.zip[/b][/color]
    │   ├─── readme.txt
    │   ├─── [b][color=Green]version.txt[/color][/b]
    │   └─── [color=green][b]VR shaders/[/b][/color]
    │       └───Bazar/
    │            └───shaders/ ... (and other directories inside)
    


  6. Place the resulting VR Shaders.zip inside your OvGME mod directory.

now even the readme.txt contents will display inside OvGME.

 

 

Important: On first installation, AFTER enabling the mod in OvGME, you still need to clear caches as per original installation instructions (deleting appropriate files in your saved games dir and dcs shaders). Please refer to the readme from the mod, conveniently displayed in OvGME window now.

TL; DR:

Add folder inside Kegetys archive, put Bazar inside it, add version.txt alongside the readme.txt if desired, rename archive to match folder name, profit.

 

This is supposed to work with the 2.5.6 OB ?

I dont understand last lines

 

"Add folder inside Kegetys archive, put Bazar inside it, add version.txt alongside the readme.txt if desired, rename archive to match folder name, profit."

 

Thanks

Link to post
Share on other sites
This is supposed to work with the 2.5.6 OB ?

I dont understand last lines

 

"Add folder inside Kegetys archive, put Bazar inside it, add version.txt alongside the readme.txt if desired, rename archive to match folder name, profit."

 

Thanks

 

Well, on my side it didn't work.

I already reverted back to 2.5.5.41962, but had to try this. So I upgraded again, just to see. Too bad! :cry:

 

Kegetys, please please help us all! :helpsmilie:

Win10 Pro, Intel i9 9700k @5GHz, GeForce RTX 2080 TI, 32GB G.Skill Ripjaw DDR4 @3200MHz RAM, MSI z390 Gaming Plus, HP Reverb Pro, TM Warthog, Virpil WarBRD Base, Samsung SSD 850 EVO 500GB (for DCS), Samsung SSD 850 EVO 250GB (for Win10), Philips PHL 274E

Link to post
Share on other sites

I added an update on the first post for 2.5.6.43503.

 

A bit more than usual has changed in this version, so I made some other changes too:

- Compatibility with DCS World version 2.5.6.43503 (16.2.2020)

- Restored original sun flare

- Added simplified version of histogram calculation (previously it was removed completely)

- Above can be turned off with ENABLE_SIMPLE_HG setting (disabling it will do the "full" histogram the game defaults to, which is quite heavy)

- Removed the sRGB fix as the game seems to have some other workaround for it now

- ENABLE_SIMPLE_SHADOWS now limits the sample count to 10 instead of 16

 

Some of the new water improvements in 2.5.6 seem to rely on the removed GBuffer so those likely will not be visible with this mod. But since the that buffer has also grown in 2.5.6 to 4 instead of 2 channels you might see even better performance with the mod now, though its partially offset by having to restore the histogram calculation to get the new lighting working right... The lighting changes seems to have done something to the NVG too, but it seems the 2.5.6 lighting is quite wonky anyway and you can see fine without NVG even at moonless nights.

 

With the original sun flare being restored the simplified glass also has the fake "flare" removed which should improve issues with gauges readability. Similarily there has been changes in the shadows in DCS which now by default use only 16 instead of 32 samples. So I changed the ENABLE_SIMPLE_SHADOWS to reduce that even further to 10 which now seem to look fine still.

 

The sRGB fix was also removed as the game has some other workaround for it (oddly still using wrong sRGB conversion method). Because of this you no longer need to use as high gamma as before.

 

With 2.5.6 being a bit of a mess its difficult to test this version well but it seems to work in a few scenarios I tested it with :)

As a cyborg, you will serve SHODAN well

http://www.kegetys.fi

Link to post
Share on other sites

Thanks Kegetys, trying now and so far so good!

(I will adjust the mask for Pimax, and will be perfect)

 

Thanks again

 

EDIT

MASKSIZE 0.590 works perfect for PIMAX 5K (FOV Normal)


Edited by Colmillo
MaskSize

[sIGPIC][/sIGPIC]

MB ASUS ROG Maximus XI Hero Z390 Intel Core i9-9900K NO COOLING, I love danger... (Just Kidding, EKWB water-cooling 4 CPU&GPU)

ZOTAC GAMING GeForce RTX 2080 Ti AMP 11GB RAM 64 M.2 1T SSD 2.5T ThrustMaster HOTAS Warthog Pimax 5K PLUS (8KX ASAP) Saitek Pro Rudder

Link to post
Share on other sites

Thanks @Kegetys Will give it a try later today !

SYSTEM SPECS: Hardware Intel Corei7-9700K @ 5.1 GHz, 32Gb RAM, EVGA 3090 XC3, Dell S2716DG, Thrustmaster Warthog + MFG Crosswinds V2, HP Reverb G2 @ 2836 x 2768
SOFTWARE: Microsoft Windows 10 Pro x64, VoiceAttack & VIACOM PRO, TacView

VR Stuff:   My Settings for 3090 and G2  My Settings for 1080ti  Shaders MOD for VR  My variant of Kegetys mod with clear water and also IC PASS for current beta & stable

 

1569924735_WildcardsBadgerFAASig.jpg.dbb8c2a337e37c2bfb12855f86d70fd5.jpg

Link to post
Share on other sites

Holy s***! That was fast! I didn't expect that!

Thank you so much, Kegetys!

Win10 Pro, Intel i9 9700k @5GHz, GeForce RTX 2080 TI, 32GB G.Skill Ripjaw DDR4 @3200MHz RAM, MSI z390 Gaming Plus, HP Reverb Pro, TM Warthog, Virpil WarBRD Base, Samsung SSD 850 EVO 500GB (for DCS), Samsung SSD 850 EVO 250GB (for Win10), Philips PHL 274E

Link to post
Share on other sites

Go to first page here, download for DCS World 2.5.6.43503 and just follow exactly the instructions in the readme.txt

Win10 Pro, Intel i9 9700k @5GHz, GeForce RTX 2080 TI, 32GB G.Skill Ripjaw DDR4 @3200MHz RAM, MSI z390 Gaming Plus, HP Reverb Pro, TM Warthog, Virpil WarBRD Base, Samsung SSD 850 EVO 500GB (for DCS), Samsung SSD 850 EVO 250GB (for Win10), Philips PHL 274E

Link to post
Share on other sites

I also used the shaders mod that was released recently, using a subset of kegetys changes to keep mp IC. It was really good. Is it much work to make 2 versions? One with IC, one without?

In any case, thanks for your great work. This is a fantastic mod.

7700K@5Ghz, 32GB 3600 CL16, 3080.

Link to post
Share on other sites

what makes you think this mod fails the IC ??? i use it native, i go to multiplayer and its a green shield with no warnings ...?

SYSTEM SPECS: Hardware Intel Corei7-9700K @ 5.1 GHz, 32Gb RAM, EVGA 3090 XC3, Dell S2716DG, Thrustmaster Warthog + MFG Crosswinds V2, HP Reverb G2 @ 2836 x 2768
SOFTWARE: Microsoft Windows 10 Pro x64, VoiceAttack & VIACOM PRO, TacView

VR Stuff:   My Settings for 3090 and G2  My Settings for 1080ti  Shaders MOD for VR  My variant of Kegetys mod with clear water and also IC PASS for current beta & stable

 

1569924735_WildcardsBadgerFAASig.jpg.dbb8c2a337e37c2bfb12855f86d70fd5.jpg

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...