OpenFX is Single Threaded - Quite Slow

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

AdamSaka

  • Posts: 9
  • Joined: Tue Apr 13, 2021 1:50 am
  • Real Name: Adam Saka

OpenFX is Single Threaded - Quite Slow

PostTue Nov 29, 2022 8:54 am

Dear Developers...

OpenFX plugins in DaVinci resolve is quite slow because they are only single threaded. Can you please upgrade Resolve/Fusion to call them in multi-threaded mode?

Natron, for example, is 64 times quicker on my machine, because it runs an effect on 64 threads.

With all the optimisation work in the latest update, I think this is a pretty low hanging fruit. Simply implemeting the "OfxMultiThreadSuiteV1" suite to use multiple threads instead of one when called would be a huge optimisation.
Offline

Jim Simon

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

Re: OpenFX is Single Threaded - Quite Slow

PostTue Nov 29, 2022 2:05 pm

There is a separate forum for Feature Requests.

viewforum.php?f=33

Best practice is to search first, to see if someone already asked. If not, post one idea per thread with a very brief description of the idea in the thread's title.
My Biases:

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

Steve Alexander

  • Posts: 4571
  • Joined: Mon Mar 23, 2015 2:15 am

Re: OpenFX is Single Threaded - Quite Slow

PostTue Nov 29, 2022 2:10 pm

I'm surprised that OpenFX plugins are single-threaded. Does this include the built-in FX from BMD? Also, considering that most utilize the GPU, it could be the at the CPU level they are utilizing a single CPU thread (I'll take your word for it, I don't know) but they would certainly be using many GPU cores (e.g., CUDA), no?
Time Traveller
Resolve Studio 19.0b1 | Fusion Studio 19.0b1 | Win 11 Pro (22H2) | i9-7940x, P4000 (536.96, 8GB VRAM), 64GB RAM, M.2 boot, SSD scratch, RAID10 data | (laptop) 16" MacBook Pro M1 MAX, 32 GPU cores, 64 GB RAM, 2 TB SSD, Sonoma 14.4
Offline

AdamSaka

  • Posts: 9
  • Joined: Tue Apr 13, 2021 1:50 am
  • Real Name: Adam Saka

Re: OpenFX is Single Threaded - Quite Slow

PostWed Nov 30, 2022 1:29 am

OpenFX plugins written specifically for Resolve can use Cuda. (But this is not a standard OpenFX, its a BM exension). Besides, only certain types of calculations can be done on a GPU.

The standard multi-thread interface (OfxMultiThreadSuiteV1) is not fully implemeted. It is there, but it only runs one thread.
Offline

Steve Alexander

  • Posts: 4571
  • Joined: Mon Mar 23, 2015 2:15 am

Re: OpenFX is Single Threaded - Quite Slow

PostWed Nov 30, 2022 1:31 am

It's good to hear that there are avenues for future improvement, then.
Time Traveller
Resolve Studio 19.0b1 | Fusion Studio 19.0b1 | Win 11 Pro (22H2) | i9-7940x, P4000 (536.96, 8GB VRAM), 64GB RAM, M.2 boot, SSD scratch, RAID10 data | (laptop) 16" MacBook Pro M1 MAX, 32 GPU cores, 64 GB RAM, 2 TB SSD, Sonoma 14.4

Return to DaVinci Resolve

Who is online

Users browsing this forum: Animotion, Christopher Osborn, Google [Bot], panos_mts, Rickett, roger.magnusson and 208 guests