Diamond shaped glitches with noise reduction

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

shadewind

  • Posts: 117
  • Joined: Tue Jan 19, 2021 3:30 pm
  • Real Name: Emil Sahlén

Diamond shaped glitches with noise reduction

PostSun Jul 11, 2021 3:48 pm

I sometimes get diamond shaped glitches in frames when I use noise reduction. I attached a photo to illustrate the problem. Anyone seen anything similar?

Screenshot 2021-07-11 174640.png
Screenshot 2021-07-11 174640.png (593.9 KiB) Viewed 1666 times
Online
User avatar

Uli Plank

  • Posts: 25533
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: Diamond shaped glitches with noise reduction

PostSun Jul 11, 2021 5:05 pm

What's your GPU and the timeline resolution?
My disaster protection: export a .drp file to a physically separated storage regularly.
Please visit digitalproduction.com/author/uliplank/

Studio 19.1.3
2017 iMac, MacOS 13.7.4
MacBook M1 Pro, OS 14.7.6 and M4 Pro mini, OS 15.5
Offline

Hendrik Proosa

  • Posts: 3403
  • Joined: Wed Aug 22, 2012 6:53 am
  • Location: Estonia

Re: Diamond shaped glitches with noise reduction

PostSun Jul 11, 2021 6:44 pm

Just a random thought but artifacts of squares and similar can be produced by negative or NaN values polluting downstream operations. What is your processing before the noise reduction, including color management/transforms? Footage might need some ”sanitizing” before it hits the NR.
I do stuff
Offline

shadewind

  • Posts: 117
  • Joined: Tue Jan 19, 2021 3:30 pm
  • Real Name: Emil Sahlén

Re: Diamond shaped glitches with noise reduction

PostSun Jul 11, 2021 8:48 pm

Uli Plank wrote:What's your GPU and the timeline resolution?

RTX 2080 Ti and my timeline resolution is 4K.
Offline

shadewind

  • Posts: 117
  • Joined: Tue Jan 19, 2021 3:30 pm
  • Real Name: Emil Sahlén

Re: Diamond shaped glitches with noise reduction

PostSun Jul 11, 2021 8:50 pm

Hendrik Proosa wrote:Just a random thought but artifacts of squares and similar can be produced by negative or NaN values polluting downstream operations. What is your processing before the noise reduction, including color management/transforms? Footage might need some ”sanitizing” before it hits the NR.

Footage is pretty standard, in this case H264 from my DJI Mini 2. Thus it should be 8-bit integral values, I doubt conversion to float from that would cause this. The processing is nothing but Resolve Color Management. The denoiser is the first node.
Online
User avatar

Uli Plank

  • Posts: 25533
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: Diamond shaped glitches with noise reduction

PostMon Jul 12, 2021 6:41 am

Do you see this in DR or in a rendered file? If the latter, which codec?
My disaster protection: export a .drp file to a physically separated storage regularly.
Please visit digitalproduction.com/author/uliplank/

Studio 19.1.3
2017 iMac, MacOS 13.7.4
MacBook M1 Pro, OS 14.7.6 and M4 Pro mini, OS 15.5
Online
User avatar

Marc Wielage

  • Posts: 13314
  • Joined: Fri Oct 18, 2013 2:46 am
  • Location: Palm Springs, California

Re: Diamond shaped glitches with noise reduction

PostMon Jul 12, 2021 8:13 am

My advice is to convert H.264 source 8-bit material to something easier for Resolve to handle, like DNxHR or ProRes. The problem with using it for rendering is the computer has to work twice as hard: first to decode the files, then to apply the color correction and noise reduction. If it just has to do the latter, it's a lot less stressful for the system.

Worst case, you could consider going to a Proxy workflow within Resolve, which can work. Another possibility would be to simply slow down the render, maybe to 10fps or even 5fps, which will lighten the load for the CPU and GPU.
Certified DaVinci Resolve Color Trainer • AdvancedColorTraining.com
Offline

shadewind

  • Posts: 117
  • Joined: Tue Jan 19, 2021 3:30 pm
  • Real Name: Emil Sahlén

Re: Diamond shaped glitches with noise reduction

PostMon Jul 12, 2021 11:05 am

Uli Plank wrote:Do you see this in DR or in a rendered file? If the latter, which codec?


I haven't seen this in rendered files, only when working in the Color tab.
Offline

shadewind

  • Posts: 117
  • Joined: Tue Jan 19, 2021 3:30 pm
  • Real Name: Emil Sahlén

Re: Diamond shaped glitches with noise reduction

PostMon Jul 12, 2021 11:07 am

Marc Wielage wrote:My advice is to convert H.264 source 8-bit material to something easier for Resolve to handle, like DNxHR or ProRes. The problem with using it for rendering is the computer has to work twice as hard: first to decode the files, then to apply the color correction and noise reduction. If it just has to do the latter, it's a lot less stressful for the system.

Worst case, you could consider going to a Proxy workflow within Resolve, which can work. Another possibility would be to simply slow down the render, maybe to 10fps or even 5fps, which will lighten the load for the CPU and GPU.


While this might indeed solve my issue, that these glitches are present is most definitely a bug in software and not just a natural result of an overtaxed system.
Offline

Jim Simon

  • Posts: 36257
  • Joined: Fri Dec 23, 2016 1:47 am

Re: Diamond shaped glitches with noise reduction

PostMon Jul 12, 2021 3:08 pm

shadewind wrote:I haven't seen this in rendered files, only when working in the Color tab.
That suggests it's just a display issue. The GUI in Resolve isn't meant for critical evaluation anyway, so it's probably fine to just ignore it.
My Biases:

You NEED training.
You NEED a desktop.
You NEED a calibrated (non-computer) display.
Offline

Hendrik Proosa

  • Posts: 3403
  • Joined: Wed Aug 22, 2012 6:53 am
  • Location: Estonia

Re: Diamond shaped glitches with noise reduction

PostMon Jul 12, 2021 7:14 pm

Jim Simon wrote:
shadewind wrote:I haven't seen this in rendered files, only when working in the Color tab.
That suggests it's just a display issue. The GUI in Resolve isn't meant for critical evaluation anyway, so it's probably fine to just ignore it.

GUI in resolve shows the same image that is sent to IO device. If it shows in color but not in rendered files it is rather something triggered in view mode, something either performance mode related or proxy etc.
I do stuff
Offline

mpetech

  • Posts: 895
  • Joined: Wed Sep 04, 2013 9:52 pm
  • Real Name: Dom Silverio

Re: Diamond shaped glitches with noise reduction

PostMon Jul 12, 2021 7:20 pm

Check your GPU cooling.
Offline

Jim Simon

  • Posts: 36257
  • Joined: Fri Dec 23, 2016 1:47 am

Re: Diamond shaped glitches with noise reduction

PostWed Jul 14, 2021 6:29 pm

Hendrik Proosa wrote:GUI in resolve shows the same image that is sent to IO device.
That doesn't make sense to me. The GUI in Resolve has to go through the Display Driver. The whole point of using a dedicated I/O device is to remove that from the signal path.

Can you expand a bit?
My Biases:

You NEED training.
You NEED a desktop.
You NEED a calibrated (non-computer) display.
Offline

Hendrik Proosa

  • Posts: 3403
  • Joined: Wed Aug 22, 2012 6:53 am
  • Location: Estonia

Re: Diamond shaped glitches with noise reduction

PostWed Jul 14, 2021 6:51 pm

Jim Simon wrote:
Hendrik Proosa wrote:GUI in resolve shows the same image that is sent to IO device.
That doesn't make sense to me. The GUI in Resolve has to go through the Display Driver. The whole point of using a dedicated I/O device is to remove that from the signal path.

Can you expand a bit?

Resolve does not calculate image twice, once for gui viewer, once for io device. Same image is produced in engine and sent to both. Or are you implying display driver adds diamond artifacts into a perfectly fine image? Maybe it does, dunno.

A simple test to try for OP: pan/zoom the image around in viewer. If artifacts change it might be it. If artifacts stay the same, it most probably is processing related. Additional thing to test: add a blur after denoise. Does it expand/change these artifact areas? If yes, it is definitely processing related.
I do stuff
Offline

shadewind

  • Posts: 117
  • Joined: Tue Jan 19, 2021 3:30 pm
  • Real Name: Emil Sahlén

Re: Diamond shaped glitches with noise reduction

PostWed Jul 14, 2021 7:04 pm

Hendrik Proosa wrote:
Jim Simon wrote:
Hendrik Proosa wrote:GUI in resolve shows the same image that is sent to IO device.
That doesn't make sense to me. The GUI in Resolve has to go through the Display Driver. The whole point of using a dedicated I/O device is to remove that from the signal path.

Can you expand a bit?

Resolve does not calculate image twice, once for gui viewer, once for io device. Same image is produced in engine and sent to both. Or are you implying display driver adds diamond artifacts into a perfectly fine image? Maybe it does, dunno.

A simple test to try for OP: pan/zoom the image around in viewer. If artifacts change it might be it. If artifacts stay the same, it most probably is processing related. Additional thing to test: add a blur after denoise. Does it expand/change these artifact areas? If yes, it is definitely processing related.


I don't remember zooming having any effect. Jogging/seeking the clip does, however. Sometimes, it feels like the cache gets messed up or something.
Online
User avatar

Marc Wielage

  • Posts: 13314
  • Joined: Fri Oct 18, 2013 2:46 am
  • Location: Palm Springs, California

Re: Diamond shaped glitches with noise reduction

PostThu Jul 15, 2021 3:46 am

shadewind wrote:While this might indeed solve my issue, that these glitches are present is most definitely a bug in software and not just a natural result of an overtaxed system.

Whether it's a bug or not, what I say is still true. Overtaxed hardware will produce glitches, even with Premiere or After Effects. We just threw lots and lots of hardware at Resolve and it's extremely rare we ever encounter a slowdown or glitch. But we're careful about what formats we use, what workflow we employ, and how we render.
Certified DaVinci Resolve Color Trainer • AdvancedColorTraining.com
Offline

shadewind

  • Posts: 117
  • Joined: Tue Jan 19, 2021 3:30 pm
  • Real Name: Emil Sahlén

Re: Diamond shaped glitches with noise reduction

PostThu Jul 15, 2021 7:59 am

Marc Wielage wrote:
shadewind wrote:While this might indeed solve my issue, that these glitches are present is most definitely a bug in software and not just a natural result of an overtaxed system.

Whether it's a bug or not, what I say is still true. Overtaxed hardware will produce glitches, even with Premiere or After Effects. We just threw lots and lots of hardware at Resolve and it's extremely rare we ever encounter a slowdown or glitch. But we're careful about what formats we use, what workflow we employ, and how we render.


My typical workflow is to record in a space efficient codec (V90 SD cards are expensive) and then generate DNxHR proxies in Resolve. My experience is that, indeed, this results in a much better experience with fewer glitches. However, in this case, I did not have the hard drive space for this. But in general, I agree with you, life will be easier if you choose better formats, no doubt.

However, I still maintain that this is a bug that can be fixed by BMD (unless it's a driver problem, of course). First of all my system wasn't very taxed. Second, if it was overtaxed I would expect the application to tell me it's out of resources rather than subtly glitching.
Offline

Jim Simon

  • Posts: 36257
  • Joined: Fri Dec 23, 2016 1:47 am

Re: Diamond shaped glitches with noise reduction

PostThu Jul 15, 2021 2:46 pm

Hendrik Proosa wrote:are you implying display driver adds diamond artifacts into a perfectly fine image?
Yes, that. I've seen some odd artifacts with player scaling that aren't in the actual image. I thought this might be similar, since it only appears in the GUI and not in the export. An artifact added by the GPU driver somehow.
My Biases:

You NEED training.
You NEED a desktop.
You NEED a calibrated (non-computer) display.

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bing [Bot], cat_what_edits, Uli Plank and 241 guests