w-okada / voice-changer

リアルタイムボイスチェンジャー Realtime Voice Changer
Other
16.59k stars 1.81k forks source link

[ISSUE]: start_http.bat closes immediately – Tried multiple solutions, still not working. #1353

Open GenkiDerHusky opened 2 months ago

GenkiDerHusky commented 2 months ago

Voice Changer Version

MMVCServerSIO_win_onnxgpu-cuda_v.1.5.3.17b

Operational System

Windows 10

GPU

RTX 3080

Read carefully and check the options

Model Type

MMVC

Issue Description

Whenever I run "start_http.bat" on this PC, the window briefly opens and then closes immediately. I’ve tried different versions, both with and without admin rights, as well as various Python versions and different hard drives, but it never downloads anything. The antivirus was already turned off, but it still didn’t work. Additionally, I used a version from another PC where it ran smoothly, and it still doesn't work here. What could be the issue, and what can I do about it?

Application Screenshot

5qY5H6QqcB

Logs on console

F:\MMVCServerSIO_win_onnxgpu-cuda_v.1.5.3.17b\MMVCServerSIO.exe -p 18888 --https false --content_vec_500 pretrain/checkpoint_best_legacy_500.pt --content_vec_500_onnx pretrain/content_vec_500.onnx --content_vec_500_onnx_on true --hubert_base pretrain/hubert_base.pt --hubert_base_jp pretrain/rinna_hubert_base_jp.pt --hubert_soft pretrain/hubert/hubert-soft-0d54a1f4.pt --nsf_hifigan pretrain/nsf_hifigan/model --crepe_onnx_full pretrain/crepe_onnx_full.onnx --crepe_onnx_tiny pretrain/crepe_onnx_tiny.onnx --rmvpe pretrain/rmvpe.pt --model_dir model_dir --samples samples.json

Kuuko-fokkusugaru commented 2 months ago

Your version is not the latest one, try the latest one just in case. Additionally, try v2. You can download both of the latest builds for both versions at the following link: https://huggingface.co/wok000/vcclient000/tree/main

GenkiDerHusky commented 2 months ago

Your version is not the latest one, try the latest one just in case. Additionally, try v2. You can download both of the latest builds for both versions at the following link: https://huggingface.co/wok000/vcclient000/tree/main

I also test it, but same problem. Here I uploaded a video that shows my problem: https://youtu.be/l9Spb0j-FU8

Kuuko-fokkusugaru commented 2 months ago

I guess your GPU drivers are up to date. Considering that it ran fine on a different computer, something in your environment may prevent RVC from starting properly. You can try running it directly from the command line rather than the bat file. You should be able to do so by copying and pasting what you got in the logs since that's the full command line. In that way, the cmd window should show the error instead of closing. Then maybe we can guess what's actually failing.

GenkiDerHusky commented 2 months ago

cmd_WgtYbAkTC6 It is in every version that I use. With other AI Tools that I've installed local, I have no problems. :S And you are right, my gpu drivers are up-to-date.

Kuuko-fokkusugaru commented 2 months ago

cmd_WgtYbAkTC6 It is in every version that I use. With other AI Tools that I've installed local, I have no problems. :S And you are right, my gpu drivers are up-to-date.

Did the window close after this??

GenkiDerHusky commented 2 months ago

cmd_WgtYbAkTC6 It is in every version that I use. With other AI Tools that I've installed local, I have no problems. :S And you are right, my gpu drivers are up-to-date.

Did the window close after this??

No, it is still open, but nothing happened. Only that what you can see in the screenshot.

Kuuko-fokkusugaru commented 2 months ago

Open cmd with admin rights and run the following, not the bat file but the following:

F:\MMVCServerSIO_win_onnxgpu-cuda_v.1.5.3.18a\MMVCServerSIO.exe -p 18888 --https false --content_vec_500 pretrain/checkpoint_best_legacy_500.pt --content_vec_500_onnx pretrain/content_vec_500.onnx --content_vec_500_onnx_on true --hubert_base pretrain/hubert_base.pt --hubert_base_jp pretrain/rinna_hubert_base_jp.pt --hubert_soft pretrain/hubert/hubert-soft-0d54a1f4.pt --nsf_hifigan pretrain/nsf_hifigan/model --crepe_onnx_full pretrain/crepe_onnx_full.onnx --crepe_onnx_tiny pretrain/crepe_onnx_tiny.onnx --rmvpe pretrain/rmvpe.pt --model_dir model_dir --samples samples.json

GenkiDerHusky commented 2 months ago

cmd_YMqc0jQHpf

Nothing happened. It is trying to load something for 3 seconds and then it goes back. The window is still open.

Kuuko-fokkusugaru commented 2 months ago

Then my knowledge can't go beyond this. We need to wait for Okada to check. I am not aware of if RVC have some dependencies like visual C, net framework, etc or if the application is being blocked by a third party software like an antivirus or firewall.

GenkiDerHusky commented 2 months ago

Then my knowledge can't go beyond this. We need to wait for Okada to check. I am not aware of if RVC have some dependencies like visual C, net framework, etc or if the application is being blocked by a third party software like an antivirus or firewall.

Hopefully Okada will read it and can help, but thank you for your help. :) I used the software 2023 on the same pc and it wasn't a problem (same firewall, antivirus and so on) and now it doesn't work. :(

Kuuko-fokkusugaru commented 2 months ago

It is the exact same software installation that stopped working? or at some point, you delete the software and downloaded all over? Just wondering if at some point something broke it while being the same installation or if something between the installations did it. You can try adding all the exe files back to firewall and Windows Defender exclusion list just in case (if you didn't already). You could also try disabling all startup software that starts with window and see if that allows you to run the software again.

GenkiDerHusky commented 2 months ago

It is the exact same software installation that stopped working? or at some point, you delete the software and downloaded all over? Just wondering if at some point something broke it while being the same installation or if something between the installations did it. You can try adding all the exe files back to firewall and Windows Defender exclusion list just in case (if you didn't already). You could also try disabling all startup software that starts with window and see if that allows you to run the software again.

I had it on an external drive and it worked. Now I have everything on my computer and there are the troubles. But I don't have the external drive anymore, so no chance to test it. :( That's a pity. Do you mean this firewall? mmc_odGf5WHj5G

Is there any chance to contact you on discord?

Kuuko-fokkusugaru commented 2 months ago

Well, sometimes there are issues running it from certain folders like desktop or even C drives if some permissions aren't set correctly. But I see you are running it from F and not C. You can try decompressing the whole zip file again to a different drive, or even using C if you run out of drives to test on. Just make sure that you don't copy and paste the installation folder, just decompress it all over always. But if that doesn't helps and you have added all the executable files to the firewall as exceptions (you need to look for all the exe files because there are several of them even in subfolders if I recall correctly) then there isn't much to try other than waiting for Okada reply. You can add me on discord but I am not sure if I will be of much help. I can try though. ➡ @fokkusugaru

Krimkawaii commented 2 months ago

Your version is too old take the V2 it work well.

Kuuko-fokkusugaru commented 2 months ago

Your version is too old take the V2 it work well.

They already tested v2, it's already mentioned in the comments. Either way v1 should still work regardless.

Kuuko-fokkusugaru commented 1 month ago

Another user had a similar issue and they fixed uninstalling the software inside of the red rectangle. Could you check if you have something similar installed or something related with Sound Blaster or ASIO?

17278294750982828912193995440304

GenkiDerHusky commented 1 month ago

Another user had a similar issue and they fixed uninstalling the software inside of the red rectangle. Could you check if you have something similar installed or something related with Sound Blaster or ASIO?

17278294750982828912193995440304

ApplicationFrameHost_QK4Fdt8Log

Thanks for this information. Yes, it's my main sound card. I replaced the old sound blaster card with a newer version since February 2023. If I am right, I used this voice changer also with the new sound card. The only problem is when I uninstall this software, I cant use my sound card. :(

Kuuko-fokkusugaru commented 1 month ago

I wouldn't try to uninstall everything right away, but check if uninstalling one of the ASIO drivers makes it work. If it doesn't, try the other ASIO one. I think those shouldn't be necessary to use your sound card. With a bit of luck you can get it work without one of those. Another solution could be to either let Windows Update to download the necessary drivers which may install only the most necessary ones or, if that doesn't works, download the latest drivers. You can also try to see, if selecting custom installation for the drivers, it gives you options to select what to install. Maybe you can only install the required basic driver without the extra stuff and make it work. Worth trying I guess.