resolve sample plugin / debugging ofx tips

95 views
Skip to first unread message

Mike Woodworth

unread,
Feb 26, 2018, 5:59:51 PM2/26/18
to ofx-discussion
Hello,

After having success building a simple plugin off the OFX sample gain plugin, I'm now trying to port it to GPU based rendering. I'm quite comfortable with the computation side, but I'm having problems getting a simple plugin up and running. At the moment I'm only concerned with getting things running in Resolve, and the samples I've seen are all OpenGL based which seems to be a non-starter in Resolve. 

Resolve ships with a sample plugin based on the same gain plugin but ported to metal/ OpenCL/ Cuda which is perfect for my needs, but I can't get it to do anything but silently fail. The plugin compiles fine, but doesn't show up in the OFX plugin list (i see it in OFXPluginCache.xml, but only the plugin name, not the parameters). I can't find any errors logged that might help me debug... I've tried adding printfs, but it doesn't even seem to be getting to the point of calling into the plugin. 

I know this is a vague question, but any idea where to look? Is there a secret place I should be looking for Resolves errors to be logged? Is there another host to test in that might be more verbose with when failing? How do others debug these kinds of things?

mike
--
mike woodworth


PierreJasmin_REVisionEffects

unread,
Feb 26, 2018, 6:20:37 PM2/26/18
to ofx-discussion
Option 1: Resolve will quarantine the plugin if you failed one time. Delete plugin, restart Resolve, exit Resolve. Put plugin back. Restart Resolve. Compile debug and advance line by line in the Describe in Context to see that you actually say to Resolve you work in it...

Option 2: If you don't place your plugins in standard OFX_PATH and downloaded the version from Apple Store, it is sandboxed.  Uninstall and download version from blackmagicdesign.com

For further assistance contact the friendly dev support at blackmagic - I think it's develo...@blackmagicdesign.com

Pierre
Reply all
Reply to author
Forward
0 new messages