# FSR 3 edge of screen artifacts

**URL:** <https://forums.unrealengine.com/t/fsr-3-edge-of-screen-artifacts/1527174>\
**Category:** Rendering\
**Tags:** unreal-engine, Rendering, question\
**Created:** [December 15, 2023, 9:01am UTC](https://forums.unrealengine.com/t/fsr-3-edge-of-screen-artifacts/1527174 "2023-12-15T09:01:01Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![BuyMyMojo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/buymymojo/32/872427_2.png) [@BuyMyMojo](https://forums.unrealengine.com/u/BuyMyMojo)\
**Post date:** [December 15, 2023, 9:01am UTC](https://forums.unrealengine.com/t/fsr-3-edge-of-screen-artifacts/1527174/1 "2023-12-15T09:01:01Z")

</div>

I know the new FSR 3 plugin only just dropped today but I thought I’d ask for some ideas.

When enabled (with either TAA or TSR, it is required that one of those is active for frame gen to work) and working there are some serious flashing bars on either side of my rendered window. Kind of looks like an OCAT overlay but there shouldn’t be anything enabled to display that.

I’ll post video shortly!

---

<div class="post-metadata">

**Author:** ![BuyMyMojo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/buymymojo/32/872427_2.png) [@BuyMyMojo](https://forums.unrealengine.com/u/BuyMyMojo)\
**Post date:** [December 15, 2023, 9:46am UTC](https://forums.unrealengine.com/t/fsr-3-edge-of-screen-artifacts/1527174/2 "2023-12-15T09:46:29Z")

</div>



---

<div class="post-metadata">

**Author:** ![Denny](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Denny](https://forums.unrealengine.com/u/Denny)\
**Post date:** [December 26, 2023, 4:33pm UTC](https://forums.unrealengine.com/t/fsr-3-edge-of-screen-artifacts/1527174/3 "2023-12-26T16:33:42Z")

</div>

We are experiencing the same thing, it does not matter if we are using UseRHI or UseNativeDX12. We also noticed that frame interpolation sometimes does not work at all, despite starting standalone with the same config settings.

Have you managed to find the source of the artifacts?

Edit\*  
Appears to be `r.FidelityFX.FI.ShowDebugTearLines`. Set it to zero to get rid of it. Found it thanks to @nno_x in this [other thread](https://forums.unrealengine.com/t/frame-generation-for-all-gpus-amd-fsr-3-0-plugin-menu-easy-copy-and-paste-blueprint/1547905).

---

<div class="post-metadata">

**Author:** ![Denny](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Denny](https://forums.unrealengine.com/u/Denny)\
**Post date:** [December 27, 2023, 7:59pm UTC](https://forums.unrealengine.com/t/fsr-3-edge-of-screen-artifacts/1527174/4 "2023-12-27T19:59:27Z")

</div>

Update to my own comment. NVIDIA Streamline module fights with the FSR3 FI module. Streamline is the module for Reflex and Frame Generation. `r.Streamline.InitializePlugin` and `r.FidelityFX.FI.Enabled` (and some other cvars, see the readme) must be toggled accordingly in the config _before the engine starts_. This is only relevant for frame generation, not upscaling, and can’t be changed during runtime. There is also a bug with `r.Streamline.InitializePlugin` where it is not properly working due to module initialization order, I have sent a bug report for that.

---

<div class="post-metadata">

**Author:** ![KosMatty](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kosmatty/32/596483_2.png) [@KosMatty](https://forums.unrealengine.com/u/KosMatty)\
**Post date:** [January 10, 2024, 11:35am UTC](https://forums.unrealengine.com/t/fsr-3-edge-of-screen-artifacts/1527174/5 "2024-01-10T11:35:58Z")

</div>

I was certain I’m the only person in the world struggling with the simultaneous implementation of DLSS FG and FSR 3 FI. So, for now, there is no solution to switch between them at runtime, and we have to wait for an update, right?

---

<div class="post-metadata">

**Author:** ![Denny](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Denny](https://forums.unrealengine.com/u/Denny)\
**Post date:** [January 10, 2024, 12:07pm UTC](https://forums.unrealengine.com/t/fsr-3-edge-of-screen-artifacts/1527174/6 "2024-01-10T12:07:06Z")

</div>

I would not hold my breath. Both plugins use a very early initialization stage to modify the engine internal state. I do not have enough experience with that part of the engine, but it looks very low level, low enough to require a restart perhaps (making any possible update from AMD and NVIDIA impossible). We got it working anyhow by doing some **“LoadingPhase”: “EarliestPossible”** trickery to configure both plugins using their console vars before they in turn initialized. Be careful to ensure those CVars exist before trying to set them, if they do not it means the related plugin module has not loaded yet. We needed to use GameUserSettings and sav-files (not other ini-files), for other reasons, so that is how we solved it.

---

<div class="post-metadata">

**Author:** ![MASSIVE\_Can](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MASSIVE\_Can](https://forums.unrealengine.com/u/MASSIVE_Can)\
**Post date:** [June 3, 2024, 10:04am UTC](https://forums.unrealengine.com/t/fsr-3-edge-of-screen-artifacts/1527174/7 "2024-06-03T10:04:54Z")

</div>

@Denny How did you managed to solve the problem can you give details please? I can’t use FSR frame gen if DLSS Streamline plugin enebled.

---

<div class="post-metadata">

**Author:** ![Denny](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Denny](https://forums.unrealengine.com/u/Denny)\
**Post date:** [June 11, 2024, 1:43pm UTC](https://forums.unrealengine.com/t/fsr-3-edge-of-screen-artifacts/1527174/9 "2024-06-11T13:43:24Z")

</div>

You need to create a module or uplugin that starts in the EarliestPossible phase. Also add FFXFSR3Settings and FSR3 to AdditionalDependencies and Plugins so that your module starts before those. This allows your module to start before any of the NVIDIA or AMD modules do their startup configuration. In your StartupModule function you configure all the CVar values related to the NVIDIA and AMD modules, then those modules will read the values in their startup phase.

These are the related CVars from the plugins that I touched last time I messed with this. It is up to you to read the documentation for each plugin and understand how to set all the values properly in relation not only to the NVIDIA vs AMD conflict, but also based on dx11, dx12, etc.  
CVarFSR3UseRHI  
CVarEnableFFXFI  
CVarFSR3UseNativeDX12  
CVarFSR3OverrideSwapChainDX12  
CVarFFXFIUpdateGlobalFrameTime  
CVarFSR3AllowAsyncWorkloads  
CVarStreamlineInitializePlugin

e.g.  
CVarStreamlineInitializePlugin.AsVariable()-\>Set(true, ECVF\_SetByConsole);

The ECVF\_SetByConsole property just marks the CVar priority so that other parts of the code or ini loading does not overwrite your chosen values. It’s a bit of a hack.

I cannot share the exact code for various reasons, but that should be enough for you to get started. Just be vary that all modules have a loading phase and you need to make sure that your module loads in a good spot and BEFORE the other modules do their startup thing. Remember that you cannot change the Frame Generation method during runtime and you have to restart the engine for the changes to apply. If you need a user setting you need to LoadConfigIni in your StartupModule to fetch the value in the EarliestPossible phase.

I hope that gets you moving.

---

<div class="post-metadata">

**Author:** ![aimbotRaz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aimbotRaz](https://forums.unrealengine.com/u/aimbotRaz)\
**Post date:** [July 26, 2024, 9:38am UTC](https://forums.unrealengine.com/t/fsr-3-edge-of-screen-artifacts/1527174/10 "2024-07-26T09:38:23Z")

</div>

Is it still not possible to change the frame generation method in runtime?
