# Viewport Ghosting and Flickering in 5.4.1/5.4.2 Possibly Rect Lights

**URL:** <https://forums.unrealengine.com/t/viewport-ghosting-and-flickering-in-5-4-1-5-4-2-possibly-rect-lights/1889509>\
**Category:** Feedback & Requests\
**Tags:** unreal-engine, Rendering\
**Created:** [June 4, 2024, 5:36pm UTC](https://forums.unrealengine.com/t/viewport-ghosting-and-flickering-in-5-4-1-5-4-2-possibly-rect-lights/1889509 "2024-06-04T17:36:57Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![metagrafox](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/metagrafox/32/980589_2.png) [@metagrafox](https://forums.unrealengine.com/u/metagrafox)\
**Post date:** [June 4, 2024, 5:36pm UTC](https://forums.unrealengine.com/t/viewport-ghosting-and-flickering-in-5-4-1-5-4-2-possibly-rect-lights/1889509/1 "2024-06-04T17:36:57Z")

</div>

SOLVED! See update 3 at the bottom.

I’m getting a weird flickering and ghosting with my viewport. This is happening in all my maps I believe. I’ve tried turning a bunch of things on and off methodically to no avail.

[Viewport Ghosting and Flickering](https://gyazo.com/62379a8fdd4aace7c5589ba744efe76a.mp4)

Resizing the viewport makes it even worse and duplicates/compounds the ghosting.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/9/a/19a78245ae13f49a823458fcb6a5a0d0e8c56f40.jpeg)

The only thing out of the ordinary I have done recently is enable the Procedural Texture plugin, messed around with the graph, and then disabled it. Never saved any textures or anything, just played around.

Here’s another screen cap of weird things that Rect Lights are doing. They almost seem like they’re behaving in screen-space if that makes sense.

[Rect Lights Behaving Oddly](https://gyazo.com/6a61eec24d38413e0d822e5c50b0ca55.mp4)

* * *

UPDATE: Immediately after my original post, Nvidia released new Studio Drivers, I updated them and now the problem has stopped. Will update again if it continues.

* * *

UPDATE 2: Still happening. Help!

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/4/8/c48fb9f0b22db1493b34d89fe05fc99bc34dd910.jpeg)

* * *

UPDATE 3: I downgraded my Nvidia drivers to earlier ones and it fixed the problem! I currently have Version 551.86 installed, which fixed the problem, it might be safe to upgrade to the latest now, but it’s running perfectly so no need to upgrade right now.

---

<div class="post-metadata">

**Author:** ![wildbutler](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@wildbutler](https://forums.unrealengine.com/u/wildbutler)\
**Post date:** [June 5, 2024, 5:04pm UTC](https://forums.unrealengine.com/t/viewport-ghosting-and-flickering-in-5-4-1-5-4-2-possibly-rect-lights/1889509/2 "2024-06-05T17:04:20Z")

</div>

Also having the same problem. Started right after I updated my drivers

---

<div class="post-metadata">

**Author:** ![M\_Jenkins\_PhD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@M\_Jenkins\_PhD](https://forums.unrealengine.com/u/M_Jenkins_PhD)\
**Post date:** [June 8, 2024, 10:52pm UTC](https://forums.unrealengine.com/t/viewport-ghosting-and-flickering-in-5-4-1-5-4-2-possibly-rect-lights/1889509/3 "2024-06-08T22:52:52Z")

</div>

I am also having this same problem. Anyone figure it out?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/0/f/10fd23b42c97445acf30ea83da555e64629718b7.jpeg)

This happens when I have multiple static or movable rect lights with large or overlapping attenuation radiuses. I understand stationary lights should not overlap more than 9 times (I think), and I have 30 of these. Is the issue related to that somehow?

If I set my lights to static, the problem goes away… Which is fine if you want static lights, but they produce terrible shadows compared to static or mobile lights with ray traced shadows and they do no illuminate the scene as well (could be user error on my part).

Thanks in advance if anyone can help here.

---

<div class="post-metadata">

**Author:** ![CarloAlt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CarloAlt](https://forums.unrealengine.com/u/CarloAlt)\
**Post date:** [June 10, 2024, 3:45pm UTC](https://forums.unrealengine.com/t/viewport-ghosting-and-flickering-in-5-4-1-5-4-2-possibly-rect-lights/1889509/4 "2024-06-10T15:45:15Z")

</div>

I also had the same problem. It was recommended by a developer in a similar post to use old drivers. I’m using Studio Driver 552.22 (4/16/24) and the problem hasn’t recurred again.

---

<div class="post-metadata">

**Author:** ![M\_Jenkins\_PhD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@M\_Jenkins\_PhD](https://forums.unrealengine.com/u/M_Jenkins_PhD)\
**Post date:** [June 23, 2024, 2:16am UTC](https://forums.unrealengine.com/t/viewport-ghosting-and-flickering-in-5-4-1-5-4-2-possibly-rect-lights/1889509/5 "2024-06-23T02:16:47Z")

</div>

Looks like the issue is related to the shadow denoiser. If you disable it, the problem goes away.

`r.Shadow.Denoiser 0`

---

<div class="post-metadata">

**Author:** ![Umidich](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Umidich](https://forums.unrealengine.com/u/Umidich)\
**Post date:** [July 8, 2024, 1:46pm UTC](https://forums.unrealengine.com/t/viewport-ghosting-and-flickering-in-5-4-1-5-4-2-possibly-rect-lights/1889509/6 "2024-07-08T13:46:35Z")

</div>

I had the same problem on the version ue5.3.2 and I uninstalled this version now installed ue5.4.2 but the problem remained rect lights still flicker and sometimes there are ghost flickers…

---

<div class="post-metadata">

**Author:** ![Hartmann37](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hartmann37](https://forums.unrealengine.com/u/Hartmann37)\
**Post date:** [August 10, 2024, 1:04pm UTC](https://forums.unrealengine.com/t/viewport-ghosting-and-flickering-in-5-4-1-5-4-2-possibly-rect-lights/1889509/7 "2024-08-10T13:04:18Z")

</div>

This totally works. What a pro!

---

<div class="post-metadata">

**Author:** ![hugo.jackson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hugo.jackson](https://forums.unrealengine.com/u/hugo.jackson)\
**Post date:** [September 23, 2024, 3:52pm UTC](https://forums.unrealengine.com/t/viewport-ghosting-and-flickering-in-5-4-1-5-4-2-possibly-rect-lights/1889509/8 "2024-09-23T15:52:37Z")

</div>

Omg I finally found someone with the same issue I’ve had. The shadow denoiser off worked for me too, thanks!

---

<div class="post-metadata">

**Author:** ![metagrafox](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/metagrafox/32/980589_2.png) [@metagrafox](https://forums.unrealengine.com/u/metagrafox)\
**Post date:** [September 24, 2024, 6:07pm UTC](https://forums.unrealengine.com/t/viewport-ghosting-and-flickering-in-5-4-1-5-4-2-possibly-rect-lights/1889509/9 "2024-09-24T18:07:39Z")

</div>

Good find! I downgraded my GPU drivers to Version 551.86 and it fixed it; newer drivers have been released but I haven’t tested them.

So either setting the Denoiser to 0 or downgrading GPU drivers works!

---

<div class="post-metadata">

**Author:** ![Jgxxxx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jgxxxx](https://forums.unrealengine.com/u/Jgxxxx)\
**Post date:** [October 4, 2024, 10:05am UTC](https://forums.unrealengine.com/t/viewport-ghosting-and-flickering-in-5-4-1-5-4-2-possibly-rect-lights/1889509/10 "2024-10-04T10:05:59Z")

</div>

just tested 561.09 studio drivers, the issue is still present

---

<div class="post-metadata">

**Author:** ![FoodKingakku2009](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FoodKingakku2009](https://forums.unrealengine.com/u/FoodKingakku2009)\
**Post date:** [October 6, 2024, 2:03am UTC](https://forums.unrealengine.com/t/viewport-ghosting-and-flickering-in-5-4-1-5-4-2-possibly-rect-lights/1889509/11 "2024-10-06T02:03:02Z")

</div>

You are genius Buddy . Thank you, thank you, thank you

---

<div class="post-metadata">

**Author:** ![metagrafox](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/metagrafox/32/980589_2.png) [@metagrafox](https://forums.unrealengine.com/u/metagrafox)\
**Post date:** [October 14, 2024, 5:15pm UTC](https://forums.unrealengine.com/t/viewport-ghosting-and-flickering-in-5-4-1-5-4-2-possibly-rect-lights/1889509/12 "2024-10-14T17:15:15Z")

</div>

I just randomly started getting the ghosting artifacts again even with my still downgraded GPU drivers, so if anyone finds this, I highly recommend just using the

```auto
r.Shadow.Denoiser 0

```

console command. Maybe Nvidia will fix the problem eventually.

---

<div class="post-metadata">

**Author:** ![Tirano.D.REX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tirano.D.REX](https://forums.unrealengine.com/u/Tirano.D.REX)\
**Post date:** [October 14, 2024, 6:23pm UTC](https://forums.unrealengine.com/t/viewport-ghosting-and-flickering-in-5-4-1-5-4-2-possibly-rect-lights/1889509/13 "2024-10-14T18:23:31Z")

</div>

It totally worked, thank you. This guy is a pro, he saved my life and project 😁

---

<div class="post-metadata">

**Author:** ![metagrafox](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/metagrafox/32/980589_2.png) [@metagrafox](https://forums.unrealengine.com/u/metagrafox)\
**Post date:** [October 22, 2024, 4:33pm UTC](https://forums.unrealengine.com/t/viewport-ghosting-and-flickering-in-5-4-1-5-4-2-possibly-rect-lights/1889509/14 "2024-10-22T16:33:53Z")

</div>

One way to make sure the variable is always enabled is to create a Console Variable Collection in your Content Browser and add the variable, this is a good way if you don’t want to edit console variables in the project folder text files.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/b/0/1b032eb708b579677c05e5c780b1f88d8254f355.png)

---

<div class="post-metadata">

**Author:** ![jjzpgg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jjzpgg](https://forums.unrealengine.com/u/jjzpgg)\
**Post date:** [October 29, 2024, 5:48pm UTC](https://forums.unrealengine.com/t/viewport-ghosting-and-flickering-in-5-4-1-5-4-2-possibly-rect-lights/1889509/15 "2024-10-29T17:48:24Z")

</div>

My God thank you

---

<div class="post-metadata">

**Author:** ![asaffarii](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@asaffarii](https://forums.unrealengine.com/u/asaffarii)\
**Post date:** [October 30, 2024, 1:46pm UTC](https://forums.unrealengine.com/t/viewport-ghosting-and-flickering-in-5-4-1-5-4-2-possibly-rect-lights/1889509/16 "2024-10-30T13:46:02Z")

</div>

You saved me so many seizures

---

<div class="post-metadata">

**Author:** ![SilverEye91](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SilverEye91](https://forums.unrealengine.com/u/SilverEye91)\
**Post date:** [November 5, 2024, 11:00am UTC](https://forums.unrealengine.com/t/viewport-ghosting-and-flickering-in-5-4-1-5-4-2-possibly-rect-lights/1889509/17 "2024-11-05T11:00:43Z")

</div>

Has there been an updates to this problem? We tried the console variable but it did not help.  
Should it just be about running it in the Cmd in the editor like normal?

Reverting to the older drivers DID work, but won’t work as a proper solution when this is deployed ☹

---

<div class="post-metadata">

**Author:** ![Gallystops](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gallystops](https://forums.unrealengine.com/u/Gallystops)\
**Post date:** [November 27, 2024, 7:34am UTC](https://forums.unrealengine.com/t/viewport-ghosting-and-flickering-in-5-4-1-5-4-2-possibly-rect-lights/1889509/18 "2024-11-27T07:34:13Z")

</div>

r.Shadow.Denoiser 0

SAVED ME. THANK YOU!

---

<div class="post-metadata">

**Author:** ![siglacreative](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@siglacreative](https://forums.unrealengine.com/u/siglacreative)\
**Post date:** [December 3, 2024, 1:10pm UTC](https://forums.unrealengine.com/t/viewport-ghosting-and-flickering-in-5-4-1-5-4-2-possibly-rect-lights/1889509/19 "2024-12-03T13:10:43Z")

</div>

I dont know what type of graphics card you use but, for me, change the drivers from studio to game ready solved the problem

---

<div class="post-metadata">

**Author:** ![siglacreative](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@siglacreative](https://forums.unrealengine.com/u/siglacreative)\
**Post date:** [December 3, 2024, 1:11pm UTC](https://forums.unrealengine.com/t/viewport-ghosting-and-flickering-in-5-4-1-5-4-2-possibly-rect-lights/1889509/20 "2024-12-03T13:11:58Z")

</div>

Try to change the drivers from your card from studio to game ready

[Next page](https://forums.unrealengine.com/t/viewport-ghosting-and-flickering-in-5-4-1-5-4-2-possibly-rect-lights/1889509.md?page=2)
