DR - All Versions - Mono Thread Behavior - Playback Slows

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

dariobigi

  • Posts: 469
  • Joined: Thu Aug 23, 2012 4:52 am
  • Location: New York City

DR - All Versions - Mono Thread Behavior - Playback Slows

PostFri Apr 16, 2021 5:47 pm

Members of the CSI believe we found an issue in resolve, and wanted to let you know about it. It's fairly easy to reproduce, and seems to be across all versions, on Mac and Linux (I haven't access to a windows resolve workstation).

The steps to reproduce are :
- Create a simple HD project, import a sample Prores HD file (my guess is you can use any media), create a timeline from the Prores.
- Add temporal NR on a node. Only 1 frame is enough, and I've found all of the other settings to be irrelevant. At that point playback should be real-time. Depending on the hardware config, the GPU is working at 30-60% of its capacity.
- Add 40+ nodes (doesn't matter if they are serial or parallel) in the clip node tree or the timeline node tree (it also works with less, but depends on the machine, I've seen the problem happen with 25 nodes). You can let them be, or disable them, both situations work to reproduce the bug.
Once they exist, if you try to play your sequence back, you won't have real time playback anymore.

This issue was a problem to us since our colourists usually work with groups using fixed node trees with ~15 nodes, so 15 in group pre-clip, 15 in clip, 15 in group post clip. So even with relatively simple colour setups that include a bit of NR, we can lose real-time playback even though the processing power required is way less than what the workstation is capable of.

We've tested on v17.1.1, v16.2.[5,6,7,8], and also 12.5.6 (we had a hunch that before then, the NR was working differently) on Linux, and on v16.2.8 on macos. System specs are overkill for playing back with only the NR activated, we can play it back smoothly before adding the nodes.

Last (maybe) relevant info, with the 40+ nodes active, I can see on Linux that there is a resolve process that's running at 100% all the time. If I do a strace on it, I see that it's only opening /dev/urandom, reading a few bytes of it, then closing it, in a loop. When the playback is smooth, the same process is not capped at 100% anymore. It's maybe irrelevant, but that is the only thing that I found interesting while troubleshooting.

Thanks for your consideration in reviewing this issue
And as always, thanks for all your hard work in making DR a great program.

On behalf of the CSI and CSWAG - Dario
[b]Dario Bigi, Colorist
http://dariobigi.com
New York
C: 1-646-436-4600

HPz840 - 2x 14 Core 2.6GHz - 64GB RAM
Windows 10 Pro 20H2
2x RTX 2080Ti (SD 461.92)
Resolve Studio 17.1
Decklink 4K Extreme (12.0)
FSI CM250
Panasonic FZ1000
Mini Panel
Offline

José Santos

  • Posts: 52
  • Joined: Wed Mar 11, 2015 1:46 pm

Re: DR - All Versions - Mono Thread Behavior - Playback Slow

PostFri Apr 16, 2021 6:00 pm

+1

I have been able to replicate this issue following these steps. Empty nodes, even nodes that are turned off have an impact on performance.


Sent from my iPhone using Tapatalk
Offline

tobytomkins

  • Posts: 22
  • Joined: Sun Jul 20, 2014 5:09 pm

Re: DR - All Versions - Mono Thread Behavior - Playback Slow

PostFri Apr 16, 2021 8:32 pm

+1

This issue has plagued me and my team at Cheat for years across multiple versions of Resolve. If this can be improved or fixed I would be a very happy boy.
Offline

tobytomkins

  • Posts: 22
  • Joined: Sun Jul 20, 2014 5:09 pm

Re: DR - All Versions - Mono Thread Behavior - Playback Slow

PostSat May 15, 2021 11:48 am

Worth noting that this issue is further compounded by Raw formats, especially Arriraw where the effect is 3-4x worse, so even on a very powerful system it could limit you to only 10-15 nodes before playback drops
Offline

twainrichardson

  • Posts: 130
  • Joined: Wed Mar 27, 2019 2:19 pm
  • Real Name: Twain Richardson

Re: DR - All Versions - Mono Thread Behavior - Playback Slow

PostSat May 15, 2021 5:39 pm

+1
2018 15' MBP - i9 - 32GB Ram, Radeon Pro Vega 20 4GB - macOS BigSur
2020 27' iMac - i7 - 72GB Ram, Radeon Pro 5700XT 16GB - macOS BigSur

Return to DaVinci Resolve

Who is online

Users browsing this forum: 2D3D4K, Baidu [Spider], blue_cable, bryanstephens, lacobo, Majestic-12 [Bot], mpetech, Sander de Regt and 110 guests