Microsoft Flight Simulator 2024

Microsoft Flight Simulator 2024

Not enough ratings
VR supersampling
By ждун
This guide explains how to vastly improve image quality in VR for all headsets that support OpenXR API by countering quality loss from upscaling with DLSS with supersampling techniques.






   
Award
Favorite
Favorited
Unfavorite
What is super sampling? Introduction to terminology and the Idea.
ChatGPT says:
Super sampling is a technique used primarily in computer graphics to improve image quality

How does it work?
The idea behind SS, is to render an image in higher resolution than required, and then downscale it to the resolution of the display by averaging nearby pixels. This results in better image quality. There is less aliasing, more sharpness and clarity. For instance if an image is rendered in 4K and then downscaled and presented on a 2K display, it will look almost as good as a 4K image even on a 2K display.

For instance SSAA is using super sampling for antialiasing. However SSAA is considered not optimal, it achieves best results in terms of anti-aliasing, however it also comes with significant performance costs. In modern games other anti-aliasing techniques are used for performance reasons.

What is Upscaling?
Popular today is the opposite approach of upscaling, which means rendering the image in lower resolution and then upscale it to the target resolution using more or less efficient algorithms and AI. For instance DLSS and FSR are such upscaling techniques. Rendering in lower resolution means performance gains, however upscaling also means loss of quality.

The idea: Using both
Now in MSFS in VR we want to have decent performance, but at same time we also want good image quality. Terrible stutters is as much an immersion killer as blurry mess especially in such games as MSFS, where you want to see tiny text on the instruments and also have "crisp" scenery in the distance while having acceptable performance. So we have a typical conflict here performance vs quality and we are looking here how we can find a right balance.

We can of course use DLSS for improving performance, however this comes with quality loss on top of the already quite blurry image upscaled to native resolution of the headset. So it makes the image even less sharp and even more blurry then it already is.

But, we can actually do something about it!
We can use the performance benefits of efficient high quality upscaling using AI and then vastly improve quality by applying super sampling at same time. This actually results in vastly improved image quality without sacrificing too much of the performance. With super sampling we achieve much higher quality image, and with upscaling we counter the performance costs.

This is the idea and in this guide I will explain how to do that.








Configuring upscaling and applying super sampling
Lets get started.

Preparations

Upgrading DLSS Library
First of all I would recommend always using the latest DLSS library. Google for "DLSS Swapper", download and install it. Use it to exchange the DLSS library that comes with the sim against the latest version of it. NVIDIA makes frequent progress on it, and you definitely want to make sure to use a newer version than what the sim comes with by default.

Note: You may need to use the swapper and upgrade the DLSS library after major sim client updates.


Installing OpenXR Toolkit
You will also need a tool that allows you to override target resolution using OpenXR runtime. There may be different ways to do it for different headsets, but using OpenXR Toolkit should actually work for any headset running OpenXR (most of them do, only very old ones don't have a support for it). Google for "OpenXR Toolkit". Install it and run its configurator. Make sure it is enabled for MSFS2024. I would recommend to checking which hotkeys are bound to bring up its menu in the game and perhaps consider changing its hotkeys to what you are happy with. I am using CTRL+arrow keys for example.

You can then close the config app it is not required to have it opened. What it does, it will add a layer into the VR rendering pipeline, allowing you to adjust OpenXR specific settings (like messing with resolutions, adjusting colors, contrast and much more) right in the game.

Upscaling settings
Next we start the sim and switch to DLSS Performance preset in the sims VR graphics settings.
You read it correctly, we want to use performance preset and not quality as often suggested on youtube. Yes the performance preset makes the image blurry mess, but don't worry, we will counter this with super sampling and in the end come out with much better quality compared to simply using Quality preset without super sampling. We are using performance preset mostly for the performance reasons. What it does, it will render the image at half target resolution (native resolution of your headset by default). And then upscale it to the target resolution with AI voodoo. Using performance and not quality preset allows us to benefit from the AI voodoo to much greater degree compared to using quality preset. So we gain more performance, for not so much quality loss. If you start a flight now you will notice a vast performance boost, but also a bit more blurry image. In the next step we will fix that.

Overriding target resolution (applying super sampling)
Now we will bring up OpenXR toolkit menu. Go to System tab and enable "override resolution".
By default it should be at the native resolution of your headset mutliplied by certain vendor specific factor (usually 1.3 or 1.4 for avoiding distortions at the lens edges).

Here are native resolution of some popular headsets
Headset
Native Resolution (per eye)
Quest 3
2064x2208
HP reverb G2
2160 x 2160
Pimax Crystal Light
2880 X 2880

We want to override the target resolution way beyond 100% target resolution of the headset.
Maybe start with 150% (use a calculator to determine 150% by multiplying each of the two numbers in openXR by 1.5) and increase it gradually from there until achieving desired balance between performance and quality.
Note: you will have to restart VR session every time you change OpenXR target resolution in order the changes to become effective. To do so simply disable and then reenable VR in the sim with CTRL+TAB.

Note: Remember that we are actually rendering at half of that target resolution with DLSS Performance preset. Now if you double your target resolution, you would have exactly same performance as not using DLSS at all. If you want about same performance as with Quality DLSS preset you should use super sampling factor of about 1.5 (150%). Above that expect slightly lower performance but a lot better quality.

Finally
Enjoy. I hope this guide helps you to make your VR experience in MSFS 2024 better.









5 Comments
ждун  [author] 17 Dec, 2024 @ 4:52pm 
hm I have no experience with FSR and AMD GPU's, not sure if you can do that. Theoretically FSR is similar technology to DLSS, so it should work I guess. However my NVIDIA GPU produces much worse quality with FSR compared to DLSS.

As for meta, i assume its same problem like with steamVR. SteamVR resolution scaling has no effect on target resolution as it was working in FS20. Therefore I am recommending openXR toolkit actually, because that can actually override target resultion. Make sure you switch to System tab in openXR toolkit to override target resolution for super sampling.
ждун  [author] 17 Dec, 2024 @ 4:44pm 
the error message says that? At least I found lots of people on different forums using it under windows 11 normally, but there were also problems reported with certain headsets after some windows 11 update. Some where able to fix those with different approaches. I am afraid I can't help with this, I am running windows 10 and valve index with steamVR, there I have no issues. Maybe try to google for a solution for your specific headset. Or maybe you don't really need it, if you are using mixed reality you may also be able to override target resolution with that. But I don't know if it works.
ElChapo 17 Dec, 2024 @ 4:31pm 
So I tried again and now have it up and running. I have been experimenting. Running via link cable and start the game from steam on the desktop. Using quest 3. I have looked at different guides and experimented, lastly with performance setting on fsr2, 70 % on fsr in openxr and about 1.6 superscaling. However it is still quite blurry and doesnt look nearly as good as on the videos i have seen. Also fps is around 30 idleing at a medium sized airport.

Im using a amd 5800x cpu and amd 7900xtx gpu. Any advice? Do i need to run the virtual desktop ppl are talking about and buy a wifi 6 router?

In meta i have tried setting resolution between 1 and 1.3. Doesnt seem to affect anything
ждун  [author] 13 Dec, 2024 @ 5:49pm 
@ElCHapo OpenXR Toolkit should work with windows 11, perhaps there is some other issue but I am certain it is not because of windows 11. You also must not use openXR toolkit to apply supersampling. Depending on your hardware there are probably also other ways to force overwrite target resolution.

Let me explain first for better unerstanding. OpenXR is not a software, its technology standard. An API. Today pretty much all VR hardware is running OpenXR, yours very likely as well, otherwise you wouldn't be able to play MSFS in VR at all. Now the "OpenXR Toolkit" is a third party software that allows to make changes to the configurations within the OpenXR API. Like overwriting target resolution etc... But there are also other ways to change those parameters. So maybe you don't really need the toolkit and you can probably set target resolution with the native tools of your hardware as well.
ElChapo 13 Dec, 2024 @ 3:27pm 
Openxr doesn't work with windows 11. At least I get a message saying so trying to run it