NatronGitHub / openfx-misc

Miscellaneous OFX / OpenFX / Open Effects plugins
GNU General Public License v2.0
287 stars 91 forks source link

Plugins not appearing in Resolve #54

Open masterex1000 opened 6 years ago

masterex1000 commented 6 years ago

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 commented 6 years ago

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

masterex1000 commented 6 years ago

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 commented 6 years ago

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 : https://github.com/NatronGitHub/openfx/commit/1ddffffc088d1376579c3debec7db95079474e41 I will try Resolve 15 on CImg.ofx later

devernay commented 6 years ago

For DenoiseSharpen-only issues, please use https://github.com/NatronGitHub/openfx-misc/issues/46

devernay commented 6 years ago

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

devernay commented 6 years ago

Even Shadertoy works on Resolve

masterex1000 commented 6 years ago

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 commented 6 years ago

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

MrMikeReigle commented 5 years ago

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:

`

`
devernay commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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

Golem235 commented 5 years ago

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

devernay commented 5 years ago

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

Golem235 commented 5 years ago

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 commented 5 years ago
provanguard commented 4 years ago

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 commented 4 years ago

@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 commented 4 years ago

@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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 3 years ago

It may be fixed see https://github.com/NatronGitHub/openfx-misc/issues/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.