-
Notifications
You must be signed in to change notification settings - Fork 47
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
unable to load the "mod-openvino" module #8
Comments
Hi @merasmus44, Sorry you're having trouble. Something that I'm finding out as we go along is that some Windows installs do not have the required VC redistributable's installed by default. Could you try downloading / installing https://aka.ms/vs/17/release/vc_redist.x64.exe? (and that is from here: https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170) Once installed, open Audacity and go to Preferences/Modules, change 'mod-openvino' back to Enabled, close and re-open it. Do you still see the error? Thanks, |
It still fails even after installing and restarting my computer. |
Hi @merasmus44, which version of Windows are you running? And just double checking that you're using x64 version of Audacity. Something that I typically use to debug DLL load issues is: https://github.com/lucasg/Dependencies/releases/tag/v1.11.1 For example, if you download Dependencies_x64_Release.zip, run DependenciesGUI.exe, and drag modules/mod-openvino.dll, it should (hopefully) give more information about the reason why mod-openvino.dll is failing to load. |
I'm running windows 10, and I do have x64 version of audacity. When I put mod-openvino.dll into the gui, it tells me that it can't find audacity.exe and other various DLLs that all exist in the parent folder (the one with audacity.exe in it). If I move the DLL from the modules folder to the parent folder, it no longer shows any errors, but audacity won't recognize it. |
Hmm, did you open a cmd-prompt and set Path environment as I showed in previous comment? That should have made openvino.dll (and other DLL's) to show as resolved. |
I did set the path variable in the last screenshot, and I did it again just before posting this to double check and I got the same result. |
Hi @merasmus44, sorry for the delayed response. I don't really understand what is happening here, and why it doesn't work as expected. Can you give a screenshot of your Audacity folder (the one containing Audacity.exe)? |
Hi @merasmus44 & @Tecytic, Sorry, I made a mistake in my instructions. Can you try cmd.exe commands again, but without adding quotes to
@Tecytic, if you can find DependenciesGUI.exe with windows explorer, you can right-click (or shift-right-click on Windows 10) and choose "Copy as path", and paste that into the cmd.exe window (replacing what I have above, Thanks, |
Hi @Tecytic, which version of Windows are you using? |
@Tecytic, let me see if I can dig up a similar system to try on. I see that you are running on an Intel Core i7 CPU 920, which is pretty old at this point (~2008). I know that OpenVINO only claims support for Intel Core 6th Gen (~2015 version) and later, but I'm not sure if this would trigger some kind of DLL initialization error (which is what I translated from one of your screenshots). @merasmus44, what CPU are you running on? |
Intel(R) Celeron(R) N5100 @ 1.10GHz (laptop) |
Hi @MissMixi,
Strange. After googling this error message, results seem to imply that it can happen if there is a mismatch between architecture & DLL types (32 / 64-bit). But in your case I do see that you are on a 64-bit processor / OS, so I'm not sure why it's throwing this error. And just to double confirm -- you're using 64-bit version of Audacity? @merasmus44 -- sorry for delayed response. I'm not sure what exactly is going wrong. I think to debug some of these initialization error cases, I'm going to write some kind of isolated test executable. So I'll probably share that in the next day or so. Thanks, |
Hi @merasmus44, @Tecytic, @MissMixi, If you have time, can you try something that might help to give some initial results about whether OpenVINO is loading properly or not. First, download copy the following .exe (hello_query_device.exe) to the same folder where Audacity.exe is installed (e.g. Then, open a cmd.exe shell, cd to the Audacity directory and run If it succeeds, you should get a list of 'available devices'. For example, my (abridged) output:
Thanks in advance! |
Here's what I get... PS C:\Program Files (x86)\Audacity> .\hello_query_device.exe |
[ INFO ] Build ................................. 2023.1.0-12185-9e6b00e51cd-releases/2023/1 |
Hi @merasmus44, @petapika, @Tecytic, @MissMixi, Thanks for helping with the first round of experiments. It helps to know that OpenVINO is able to run fine on your systems in a standalone environment (outside of Audacity, without the complexity of the stuff I'm stacking on top). If you could help with a second round of experiments, the information shared by you will be extremely useful in narrowing down this 'unable to load module' error. First, download this zip file: In here, you'll find 4 folders:
And in each of these folders, there is a mod-openvino.dll. For each of these folders, can you take the mod-openvino.dll and overwrite the one that came with Audacity-OpenVINO-2023.2-Module-3.4.2-R1.zip? For example, if Audacity is installed here: Each time you overwrite a new DLL, you'll need to:
I would recommend trying the DLL's in the following order.
And for each of these DLLs, if you could just tell me whether it worked or not, and any short description of what went wrong in the case it doesn't work. For example:
Thank you all very much for your time and support! Best Regards, |
I followed the instructions on replacing the 'mod-openvino.dll' files, and all of them resulted in an error."
The other files resulted in an error that opened a window with the error log; it is included in the file. |
Hi @mballem, Thanks for sharing your results. Would you mind also trying the 'hello_query_device' experiment, described above (#8 (comment))? Also, what kind of hardware setup are you running (CPU / GPU), and OS (looks like Windows 10 from your log)? Thanks, |
When executing "hello_query_device" I got the following response:
O.S |
Hi @mballem, Okay, looks like even standalone OpenVINO sample is failing in your case. You might want to try downloading the release zip file / re-extracting it, just to be sure that there isn't a corrupted file or something. Thanks, |
Hi @RyanMetcalfeInt8. |
I tried all 4. All worked except Whisper which had the same "unable to load mod-openvino" as the original report. This is on Win11 Pro aarch64 virtualized on QEMU with UTM on a Macbook Pro M1 max. I haven't tried the actual Noise Supression Effect to see if it actually works on my audio sample, but I will do that next. FWIW, I tried openvino on a 2015 intel macbook with Windows 10 pro running on Virtualbox and openvino worked and processed a WAV file. Sorry it took so long to get to this. Let me know if I can help with anything else. Cheers and thanks for all you're doing to get this working! |
Hey Ryan, the second testmod "Whisper Transcription" was not working, all the other worked! This is my pc. Apparaatnaam DESKTOP-I6L23H0 Winver 10 22H2 |
Hi there, Don't know if this can be of any help. Feel free to ignore |
Thanks! I was finally able to reproduce this on a machine that doesn't support AVX/AVX2. The culprit is whisper.dll (from whisper.cpp). The default build for whisper.cpp enabled AVX/AVX2 instructions by default, and so this becomes problematic in the DLL load routines when running on a system that doesn't support this instruction set. |
I have to add to this. At first I had OpenVINO running on an AMD 6 Core & was running well. The motherboard went on me, so I had to switch to a Xeon processor, and have had the same error ever since: Unable to load the "mod-openvio" module. Error: A dynamic link library (DLL) initialization routine failed My original rig was: Swapped to: Since the motherboard chipset & firmware drivers were done & device manager was clean of errors, tried Audacity & Intel VINO wouldn't initialise anymore. Tried to fully reinstall x64 Audacity, as well as try the modified DLL files above, still the same, would go from Enabled to FAILED. Unfortunately I'm guessing the CPU instruction set on the older processors are not capable of it? Unfortunate, as I was about 400 mp3's in removing guitar from songs so I can use them in guitar practice: https://www.youtube.com/watch?v=KDllcgfUbIk (the sheer power of this 4 branch restemming is, game changing). 🥰😎 |
Hi @Holomatrix263, Sorry to hear that the plugins stopped working when you swapped to that older Xeon processor.
Correct, the specs of that processor show that it only supports Instruction Set Extensions of SSE4.2. (it currently requires AVX2) I'm still considering ways to potentially resolve this, or at least isolate the issue to whisper... as this is by far the most commonly reported issue. Thanks, |
My CPU supports AVX though: Intel(R) Core(TM) i7-3610QM |
Hi @aauro,
Right, your CPU supports AVX but not AVX2. |
Dear Ryan, Thank you for all your efforts and the support you provide to everyone here. I encountered the same DLL issue as well, but running music_separation was seamless, thanks to your distribution of DLL files for different actions above. I would recommend mentioning/including that file directly in the README of this repository, with an explanation that if the plug-in does not run otherwise, some of the functions might work if tested separately. My rationale is that since the whisper service tends to crash but can be used without issues via Google Colaboratory, it's not as crucial as some other tools in your repository. Once again, thank you very much for your invaluable contribution. |
Hi @vljlangen, I'm glad you were able to use some of the 'trimmed down' DLL's to bypass the issues related to whisper.dll! I had considered posting a something to the README, etc. -- maybe I still will -- I had made a fix for this that will be included in the next release (which will be installer based), so I've been trying to get that pushed out. Thanks! |
Hi all! Our new release is available here: https://github.com/intel/openvino-plugins-ai-audacity/releases/tag/v3.5.0-R2 This release should resolve 'module load' issues for x86 CPUs that do not have AVX / AVX2 support. I'm going to close this issue for now, but feel free to keep commenting if you have questions / want to share results. Otherwise, please file a new issue if you have trouble with the updated release. Cheers! Ryan |
Hi Ryan, THANK YOU so much for the work, it's faster too! (encoding a 4:54 track in approximately 6 minutes). Many Thanks |
I installed it from the zip file and it worked correctly. An Audacity update came out, I installed it and saw that it didn't work in this version. I uninstalled, deleted the files in "Roaming", "local" and so on. I installed the previous version and the error message appeared. I downloaded the openvino EXE and it worked correctly again. I hope it helps. |
hy |
Hi @omarelganzoury, if you are using latest version of Audacity (3.5.1), please download and install this version of the plugins: https://github.com/intel/openvino-plugins-ai-audacity/releases/tag/v3.5.1-R2.1 |
hy
i have oredy tryed installing this version and it deadnt work it tells me
codnt be found
…On Mon, May 6, 2024 at 10:49 PM Ryan Metcalfe ***@***.***> wrote:
Hi @omarelganzoury <https://github.com/omarelganzoury>, if you are using
latest version of Audacity (3.5.1), please download and install this
version of the plugins:
https://github.com/intel/openvino-plugins-ai-audacity/releases/tag/v3.5.1-R2.1
—
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BIKDADPX3EUVXGYCK6UNAZDZA7NFBAVCNFSM6AAAAABA3UETQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWG44DQMJRHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi @omarelganzoury, I'll need some more information then. I'm not sure what you mean by 'it tells me codnt be found'. Can you post a screenshot of the error? Thanks, |
hy i am blind so i got my brother but this is the screen shotBBBb
…On Mon, May 6, 2024 at 10:59 PM Ryan Metcalfe ***@***.***> wrote:
Hi @omarelganzoury <https://github.com/omarelganzoury>,
I'll need some more information then. I'm not sure what you mean by 'it
tells me codnt be found'. Can you post a screenshot of the error?
Thanks,
Ryan
—
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BIKDADKXJ6BRZ5552FZJPETZA7OLBAVCNFSM6AAAAABA3UETQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWHAYDIMZZGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi @omarelganzoury, It looks like the screenshot didn't come through correctly. But, I suspect that perhaps your system is missing OpenCL.dll, which may be causing a 'the specified module can not found' error. Can you try the following?
Our installer doesn't package / distribute this, as we've found it to be included by Windows on all systems we've been testing. But recently we realized that may not necessarily be the case for all Windows installations... anyway, let me know if that resolves your issue. |
it worked now i will install the models thank
…On Mon, May 6, 2024 at 11:56 PM Ryan Metcalfe ***@***.***> wrote:
Hi @omarelganzoury <https://github.com/omarelganzoury>,
It looks like the screenshot didn't come through correctly. But, I suspect
that perhaps your system is missing OpenCL.dll, which may be causing a 'the
specified module can not found' error.
Can you try the following?
1.
Download this:
https://github.com/KhronosGroup/OpenCL-SDK/releases/download/v2023.04.17/OpenCL-SDK-v2023.04.17-Win-x64.zip
2.
Inside this zip folder, inside bin folder, you'll find OpenCL.dll. Can
you try copying this into your Audacity folder?
3.
Re-set Audacity module to 'Enabled' in preferences, and restart
Audacity.
Our installer doesn't package / distribute this, as we've found it to be
included by Windows on all systems we've been testing. But recently we
realized that may not necessarily be the case for *all* Windows
installations... anyway, let me know if that resolves your issue.
—
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BIKDADOOLBOPTTVF6XNV4Q3ZA7U7DAVCNFSM6AAAAABA3UETQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWHA4TSNJZGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Раян! Привет из России, город Нижний Тагил Свердловской области! Дружище, вы так мне помогли! Я слепой человек и ни как не мог справиться с openwino. А когда вставил в папку Audacity файлик из вашего архива, то всё заработало. Спасибо вам за ваш труд! |
Great to hear! Cheers! |
After opening Audacity with this module enabled, it says "Error: DLL initialization failed" and it won't load this module at all. I'm using audacity 3.4.2, and I followed all the steps exactly. I tried uninstalling and reinstalling audacity, then following the step again, but that didn't help and gave me the same error. How do I fix this?
The text was updated successfully, but these errors were encountered: