Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugins not appearing in Resolve #54

Open
masterex1000 opened this issue Jun 6, 2018 · 24 comments
Open

Plugins not appearing in Resolve #54

masterex1000 opened this issue Jun 6, 2018 · 24 comments

Comments

@masterex1000
Copy link

I'm currently using the Resolve 15 public beta to learn some video editing and I can across these plugins. I tried building them with Visual Studio 2017, but for some reason, that failed horribly, So I installed Natron to get the prebuilt binaries so I wouldn't need to figure out why the build didn't work. (I rarely venture into native development so it's all new to me, I wouldn't know where to start) I pulled the plugins that natron installed from "C:\Program Files\INRIA\Natron-2.3.12\Plugins\OFX\Natron", which were a bunch of *.ofx.bundle folders and I copied them to my "C:\Program Files\Common Files\OFX\Plugins" directory. After launching resolve I can't find the plugins anywhere. This is probably a problem that hopefully, has a simple fix that I'm not seeing.

The OFXPluginCache.xml file in my C:\ProgramData\Blackmagic Design\DaVinci Resolve\Support dir also shows all off the bundles being detected, with an entry for every file.

@devernay
Copy link
Member

devernay commented Jun 6, 2018

Can you try with the appveyor build? https://ci.appveyor.com/project/NatronGitHub/openfx-misc/build/artifacts

@masterex1000
Copy link
Author

For some reason, It crashes when I have the cimg bundle installed, and it crashes when I try to use one of the filters from misc. I can't find any way to get a crash report from resolve, it seems to only want to send a report and not let you save it. At least the misc plugins are now showing up.

@devernay
Copy link
Member

devernay commented Jun 7, 2018

On macOS I have to launch Resolve and activate OpenFX twice. It crashes the first time, then it worked. I just fixed a bug on Resolve 14 : NatronGitHub/openfx@1ddffff
I will try Resolve 15 on CImg.ofx later

@devernay
Copy link
Member

devernay commented Jun 7, 2018

For DenoiseSharpen-only issues, please use #46

@devernay
Copy link
Member

devernay commented Jun 7, 2018

CImg plugins works on Resolve 14 / macOS, but Resolve has to be launched three times after installation. Plugins appear on the third launch.

@devernay
Copy link
Member

devernay commented Jun 7, 2018

Even Shadertoy works on Resolve

@masterex1000
Copy link
Author

masterex1000 commented Jun 7, 2018

It's now launching with cimg installed. But when using shadertoy it says that it can't detect the OpenGL version. Im using the latest build artifiact from ~1hr or 2 ago

@masterex1000
Copy link
Author

The exact error that shadertoy is giving is "Can not render: glGetString(GL_VERSION) failed" Is this a resolve 15 specific issue?

@MrMikeReigle
Copy link

MrMikeReigle commented Apr 22, 2019

I'd like to do the same thing on Windows 10, and I'm having the same problem. I copied the Plugins folder from my Natron install and I just can't find the plugins inside of Resolve of Fusion. I would try the AppVeyor build -- but it has expired and is no longer available. My log file (as a guess) looks like it sees the OFX bundles but doesn't do anything with them.

Here's an excerpt from my Resolve log OFXCache.xml, I believe there should be a bunch more lines inside of each tag:

<bundle> <binary bundle_path="C:\Program Files\Common Files\OFX\Plugins\Misc.ofx.bundle" path="C:\Program Files\Common Files\OFX\Plugins\Misc.ofx.bundle\Contents\win64\Misc.ofx" mtime="1532957788" size="14428672" /> </bundle> <bundle> <binary bundle_path="C:\Program Files\Common Files\OFX\Plugins\Arena.ofx.bundle" path="C:\Program Files\Common Files\OFX\Plugins\Arena.ofx.bundle\Contents\win64\Arena.ofx" mtime="1532957943" size="8728576" /> </bundle> <bundle> <binary bundle_path="C:\Program Files\Common Files\OFX\Plugins\CImg.ofx.bundle" path="C:\Program Files\Common Files\OFX\Plugins\CImg.ofx.bundle\Contents\win64\CImg.ofx" mtime="1532957787" size="2694656" /> </bundle> <bundle> <binary bundle_path="C:\Program Files\Common Files\OFX\Plugins\GMIC.ofx.bundle" path="C:\Program Files\Common Files\OFX\Plugins\GMIC.ofx.bundle\Contents\win64\GMIC.ofx" mtime="1532957943" size="6889472" /> </bundle> <bundle> <binary bundle_path="C:\Program Files\Common Files\OFX\Plugins\IO.ofx.bundle" path="C:\Program Files\Common Files\OFX\Plugins\IO.ofx.bundle\Contents\win64\IO.ofx" mtime="1532957785" size="2314752" /> </bundle> <bundle> <binary bundle_path="C:\Program Files\Common Files\OFX\Plugins\Shadertoy.ofx.bundle" path="C:\Program Files\Common Files\OFX\Plugins\Shadertoy.ofx.bundle\Contents\win64\Shadertoy.ofx" mtime="1532957788" size="601600" /> </bundle>

@devernay
Copy link
Member

OK I fixed an issue with resolve, can you try again with the plugins from https://ci.appveyor.com/project/NatronGitHub/openfx-misc/build/artifacts ?
At one point there was a plan to make a list of plugins that would be valuable for Resolve. DenoiseSharpen was the first one and I'm pretty sure you can find DenoiseSharpen binaries floating around on the web.

@Golem235
Copy link

Hello, I have a similar problem.
I wrote my own plugin that I tested on 5 machines. On two of them it is not displayed in Resolve.
Then I compiled and tested openfx-misc. This doesn't show up either. If I take Frédéric's compilation, which is linked here, it shows up.

What am I doing wrong?
To compile it I use minGW64 and run the Makefile. The compilation process runs error-free.

@devernay
Copy link
Member

@Golem235 look at what I fixed recently in openfx-misc and do the same in your plugin

@Golem235
Copy link

@masterex1000 I tryed the current master (last commit from 25.7.)
Your fix (NatronGitHub/openfx@1ddffff) is already implemented.

@devernay
Copy link
Member

devernay commented Jul 29, 2019

look for the string "checkBadRenderScale" in openfx-misc. That's the fix I'm mentioning.
other fixes:

  • 8475347 (for Fusion, why may be running inside resolve now)
  • b8c0ab6 and compile with -DNDEBUG. One of these sanity check is probably failing on Resolve. Check which one it is by using printf() and launching resolve from a command-line

@Golem235
Copy link

The commandline on windows doesn't show any prompts. So I tried to print some outputs to a file.
But nothing. My logfile was not even created. It looks like none of the code has been executed.

@devernay
Copy link
Member

  • Compile you plugin(s) in DEBUG mode
  • Avoid multibundle plugins for testing. Just compile and install one plugin at a time.
  • Try setting the OFX_PLUGIN_LOGFILE environment variable to a place where Resolve should be able to write files. Resolve may do some kind of sandboxing to execute on windows, in which case there would be a limited number of places where you are allowed to write. If you can find a place where Resolve writes its own logs, then it's probably a good idea to set OFX_PLUGIN_LOGFILE to a filename inside the same folder
  • You can also contact the Resolve team to help you. My point of contact used to be Rohit Gupta.

@provanguard
Copy link

provanguard commented Oct 20, 2019

I am running the current stable Resolve 16.1 (not Studio). I have placed content of the install.zip artifact into C:\Program Files\Common Files\OFX\Plugins folder on Windows 10. (Tried few newest builds). The OpenFX button in Resolve does not show any plugins.

When inspecting the log file found in C:\Users\xxx\AppData\Roaming\Blackmagic Design\DaVinci Resolve\Support\logs\LogArchive I am seeing lots of entries like this:

[0x00003460] | OpenFX               | INFO  | 2019-10-20 21:00:36,652 | OFX: loading net.sf.openfx.Deinterlace

[0x00003460] | OpenFX               | WARN  | 2019-10-20 21:00:36,653 | propGetDimension: unknown object (NatronOfxPropNativeOverlays)

and also one like this:

Duplicated plugin [net.sf.openfx.LensDistortion] is found in [C:\Program Files\Common Files\OFX\Plugins\Misc.ofx.bundle], unload it from binary [C:\Program Files\Common Files\OFX\Plugins\Misc.ofx.bundle].Duplicated plugin [net.sf.openfx.ShufflePlugin] is found in [C:\Program Files\Common Files\OFX\Plugins\Misc.ofx.bundle], unload it from binary [C:\Program Files\Common Files\OFX\Plugins\Misc.ofx.bundle].[0x00004404] | SyManager            | WARN  | 2019-10-20 21:00:37,524 | socket failed to connect to server, error: 10061

I have also tried to use the binaries provided inside the natron portable distributable package.
In that case I am getting another error in the logs:

[0x000053b4] | Fusion               | INFO  | 2019-10-20 21:31:51,778 | Module Handle 000001261DB40000 utilities.plugin

couldn't open library C:\Program Files\Common Files\OFX\Plugins\Misc.ofx.bundle\Contents\win64\Misc.ofx because The specified module could not be found.

 was returned

I am interested in using the Deinterlace plugin. Can anyone point me in the direction of how to make it work?

@devernay
Copy link
Member

@provangard did you test with the latest appveyor builds ? https://ci.appveyor.com/project/NatronGitHub/openfx-misc/build/artifacts
I fixed many resolve-related issues, including those you mention.
I would love to have more feedback from you (use this GitHub issue)

@provanguard
Copy link

@devernay I have tested with 154, 153, 141 and latest natron package. The very latest build 155 failed and there is no artifact available for it. Please let me know what I can do to help in finding the solution.

@rodlie
Copy link
Contributor

rodlie commented Oct 20, 2019

This file includes only DeInterlace Misc.ofx.bundle.zip (built from master), everything seems to work, but I don't see any difference in the image.

Built on Linux using MXE (gcc7.4), tested on Resolve 15 (Win10).

@provanguard
Copy link

provanguard commented Oct 21, 2019

I have loaded the file you provided @rodlie . Still no plugins are showing up in Resolve 16.1. Here is part of the log I am getting:

[0x000013a8] | Fusion               | INFO  | 2019-10-21 17:54:53,154 | Module Handle 000001538C190000 openfx.plugin

[0x000013a8] | Fusion               | INFO  | 2019-10-21 17:54:53,159 | Module Handle 000001538A7F0000 openvr.plugin

[0x000013a8] | Fusion               | INFO  | 2019-10-21 17:54:53,162 | Module Handle 00000153D1C70000 paint.plugin

[0x000013a8] | Fusion               | INFO  | 2019-10-21 17:54:53,166 | Module Handle 00000153D1F90000 particles.plugin

[0x000013a8] | Fusion               | INFO  | 2019-10-21 17:54:53,169 | Module Handle 00000153F49F0000 text.plugin

[0x000013a8] | Fusion               | INFO  | 2019-10-21 17:54:53,171 | Module Handle 0000015395BC0000 utilities.plugin

[0x000013a8] | OpenFX               | INFO  | 2019-10-21 17:54:53,176 | OFX: loading net.sf.openfx.Deinterlace

[0x000013a8] | OpenFX               | WARN  | 2019-10-21 17:54:53,176 | propGetDimension: unknown object (NatronOfxPropNativeOverlays)

[0x0000145c] | SyManager            | WARN  | 2019-10-21 17:54:54,021 | socket failed to connect to server, error: 10061


[0x000013a8] | UI                   | WARN  | 2019-10-21 17:54:55,340 | Failed to load media metadata preset list or the list is empty.

[0x000013a8] | UI                   | WARN  | 2019-10-21 17:54:55,344 | Failed to load media metadata preset list or the list is empty.

[0x000013a8] | UI.MenuBar           | INFO  | 2019-10-21 17:54:55,425 | Rebind actions failed: Action Connector (Viewer) is not activated yet(error: Owner is invisible)

[0x000013a8] | UI                   | INFO  | 2019-10-21 17:54:55,510 | Not creating special GL widget for screen 0

@provanguard
Copy link

I need to add correction to my report. The plugin is visible and selectable in the Cut view. It is in the Color view where I assume it should be possible to click on the OpenFX button in the top right corner and to get the list of plugins, which I could use to create nodes. I am a new Resolve user and perhaps I am doing something wrong here. If so, then please let me know.

@senarvi
Copy link

senarvi commented Jan 31, 2020

I copied both CImg.ofx.bundle and Misc.ofx.bundle from install.zip. At first Resolve was apparently not reading the plugins - they were not visible in the Color screen. Restarted a couple of times, and then clearly Resolve tried to read them, but crashed every time on startup. I removed the CImg plugin, and now it starts. I can find the DeinterlaceOFX plugin under Time, and that's the only plugin I was interested in.

@devernay
Copy link
Member

It may be fixed see #75
@masterex1000 @Golem235 @provanguard can you please try with recent artifacts from https://ci.appveyor.com/project/NatronGitHub/openfx-misc/build/artifacts ?
If it's still not working, I'll leave this open, else I'll close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants