Has anyone had success using @Paul_Dore 's DCTL on a Mac?
I keep getting import errors even though I am following the “install” directions from Blackmagic and placing the ACES_DCTL directory in the Resolve LUT/DCTL folder. Self-contained DCTLs still work fine but as soon as there is an include statement to import .h files, Resolve throws an error “Error Processing DaVinci CTL: DCTL/ACES_DCTL/ACES_Sample.dctl”.
The seemingly relevant line in the log file shows this error: Metal Error Message: Compilation failed: program_source:1193:10: fatal error: 'Library/Application Support/Blackmagic Design/DaVinci Resolve/LUT/DCTL/ACES_DCTL/ACES_LIB/ACES_IDT.h' file not found #include "/Library/Application Support/Blackmagic Design/DaVinci Resolve/LUT/DCTL/ACES_DCTL/ACES_LIB/ACES_IDT.h"
Has anyone gotten this to work on a Mac?
Has anybody else encountered similar issues?
Having similar problems on my MBP as well…
System Specs:
Mac OS 10.13.4
Mac Pro (Late 2013)
3 GHz 8-Core Intel Xeon E5
64 GB 1866 MHz DDR3
AMD FirePro D700 6144MB
DaVinci Resolve Studio 15 build 15.0.0B.046
This seems to happen even with the simplest scripts.
I copied the example files from Developer/DCTL called ‘ConvertToGrayscale.dctl’ and ‘ColorConversion.h’ into the LUT/DCTL folder. Files are at the same level since path to includes is relative.
I still get an error that it cannot find the include file.
Can anybody else try this on a Mac and see if they run into similar issues?
Yes OSX 12.6 with Cuda. I see that you have the .h in your paths. Normally, you don’t point to that file specifically. But I’m sure you know this better than me.
I just tested the DCTLs on Resolve 15 on my MacPro with an ATI cards (not Metal ready) and confirm the OpenCL backend is not working.
From what I saw, it’s mainly due to the scripts using C++ features like function overloading, default parameters, … that are supported by Cuda but not supported on the macOS OpenCL implementation (for me it’s 1.2, I think OpenCL support C++ langage features since 2.1 only).
Thank you for testing and confirming my suspicions.
It looks like we’ll need to hope Apple adds support for OpenCL 2.1+ (unlikely, considering their focus on Metal) or figure out how we need to modify the DCTL so it compiles in Metal.
Or, less convenient but more proactive, just put Resolve on a system with an NVIDIA card so I can use CUDA, which seems to work well.
Convenient timing for them to officially announce this. I think we all figured it was coming given their emphasis on Metal. Time to read the Metal documentation and try to figure out why it won’t find the include files in the DCTL…
Did you make any progress on this issue? Just spent two hours trying to make the dctls work on a new MacBook Pro. Moving include files between folders while investigating error logs. Just started to doubt my mind when I ultimately asked google to find this thread.