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

How to configure so no errors when OpenCL not supported? #313

Closed
sharygin opened this issue Aug 30, 2020 · 3 comments
Closed

How to configure so no errors when OpenCL not supported? #313

sharygin opened this issue Aug 30, 2020 · 3 comments
Labels

Comments

@sharygin
Copy link

This line: LoadPlugin("C:\Programs\StaxRip-x64-2.1.3.0\Apps\Plugins\Dual\KNLMeansCL\KNLMeansCL.dll") causes an error. My research suggests that it is because the laptop I'm using doesn't have OpenCL drivers available (gen 1 core i5-520M). When I manually went in to remove that line in the script, it was added again automatically. The only solution I found was to create a dummy file with the same name as the dll. I expected that if I am not using the plugin, that it should not be loaded. Or if they didn't load, alternative/fallback could be selected. What would be the correct way to address this?

@stax76
Copy link
Contributor

stax76 commented Aug 30, 2020

A creative workaround is taking another plugin like ffms2.dll and rename it to KNLMeansCL.dll and put it in the location of KNLMeansCL.dll.

Another way is to disable manual plugin loading in the staxrip settings and put all needed plugins in the plugin auto load folder.

@sharygin
Copy link
Author

thanks, that works but... why does it try to load the plugins if they aren't needed, and overwrite if I edit the script?

@stax76
Copy link
Contributor

stax76 commented Oct 5, 2020

Building a better detection is either not possible or too difficult.

@stax76 stax76 closed this as completed Oct 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants