w-okada / voice-changer

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

[ISSUE]: Start_http doesn't work #1288

Open lce52147 opened 1 month ago

lce52147 commented 1 month ago

Voice Changer Version

MMVCServerSIO_win_onnxgpu-cuda_v.1.5.3.15

Operational System

Windows 11 24H2 26120.1252 (Feature Experience Pack 1000.26100.11.0)

GPU

NV 4070Ti

Read carefully and check the options

Model Type

MMVC

Issue Description

try to run start_http , but got nothing

Application Screenshot

image

Logs on console

image

Kuuko-fokkusugaru commented 1 month ago

Did you run start_http.bat doing double click or using power she'll console?

lce52147 commented 1 month ago

Sure, and tried both(cmd and powershell). The pic above is running through powershell.

Kuuko-fokkusugaru commented 1 month ago

You are supposed to just double click it

Kuuko-fokkusugaru commented 1 month ago

Try decompressing into a new empty folder again and just double click the start_http.bat file and nothing else. Make sure that you're connected to the internet so the software downloads the necessary dependencies before the UI opens.

lce52147 commented 1 month ago

I've already tried what you said, and I've even tried extracting to the root directory to avoid any path errors. The reason for going through powershell is to try and see if there are any error messages. :(

Kuuko-fokkusugaru commented 1 month ago

The thing is that it should open with cmd, automatically. It would be best if you didn't try to open it through Powershell. When you run the bat normally just double-clicking it, it will open the console and, if there is any error, it will be there. But for whatever reason, the way you are executing the software is not executing the software and not spiting any errors in the console.

Either way, I have also tried opening it through Powershell and it should work.

image

image

Either way, I recommend not overcomplicating yourself, just double-clicking it and letting it open with the regular command line instead.

I have also noticed that you are using an outdated version of the software. It's there any reason for which you need an older version? Because there are chances that the latest version may have a fix for some starting bug that could affect you. Remember also to unlock the file, add to the firewall exceptions, and your antivirus because whatever is in your computer is closing the executable file right after it tries to start it with the arguments in the bat file, hence why nothing else is shown in the console.

Here is the link to the latest v1: MMVCServerSIO_win_onnxgpu-cuda_v.1.5.3.18a.zip

You can also try the new v2 but, due to its early stage in development, there are things still to iron out and fix, especially regarding CPU usage.

lce52147 commented 1 month ago

Dear, I've tried using v2 (double-clicked on the bat) and he did download it, but the cmd only comes up with the .json usage and not the next status. Same result as v1 I posted above. :(

The only reason why an older version will be used is to confirm if the problem is caused by a different version, but I'm getting the same problem from 15a~18a, and it's unclear why CMD is just closed during the execution phase.

image

The image is my attempt to use Start_http with v2. Since it has the same problem as v1 in that it closes CMD after execution, I started Start_http with CMD->./start_http.bat to start it.

Because he closed CMD automatically after the download and no message appeared, I ran the bat through cmd to confirm any possible messages.

The following two pictures show a comparison of v2 before and after execution, since CMD exits as it did in v1, there is no clear error message, and comparing it to a normal message, i can only tell that he didn't navigate to the " main"(booting) itself correctly, but nothing else(log.).

(before) Unzip it and pull it straight to F:/ I think he's clean. lol image (after) image

Kuuko-fokkusugaru commented 1 month ago

If the cmd closes right away after you run it that means that there is some issue with your windows installation. Either your firewall or windows is blocking the file, or you are missing something important on your end. You should try to update windows to the latest version. Update net framework if possible. Check that you have webview installed. Have you removed any important feature from windows in an attempt to uninstall unnecessary things? Have you tried disabling any security software like Windows security, firewall, antivirus, anti malware, et? What about disabling UAC?

If you can't make it to work v1 nor v2, you may be facing a bigger issue than we though. Because, in your case, not even the executable is opening at all.

Perhaps, @w-okada may be necessary for this one. I am not aware of all dependencies needed to run RVC, not even sure if there are any at all.

lce52147 commented 1 month ago

I thought I'd provide the current build which is 26120.1252 This is the win11 24H2 version installed on 4/6 it's Dev channel. So I'm not really sure what part of the OS problem I'm not catching. Maybe this is the latest version of the Dev channel provided by Microsoft ?

Kuuko-fokkusugaru commented 1 month ago

The only thing I can think of that is a bit out of the usual is that you are using Windows 11 24H2. That version is supposed to be in preview still besides some laptops that started coming with it in June. Windows 11 24H2 may not be available until later this year. So I am not sure if something related with being in that specific version or the preview channel may be interfering with RVC.

Kuuko-fokkusugaru commented 1 month ago

We wrote about the same thing at the same time lol

lce52147 commented 1 month ago

yeah. lol I'll try to see if the laptop I have has the same problem :/

lce52147 commented 1 month ago

Anyway, I tried it on win11 22H2, and the prompts that should have appeared did, or maybe it's really 24H2 or some other update that's conflicting? (for some reason my laptop is still stuck on version 23612.1000 and he freezes whenever he updates lol)

image

lce52147 commented 1 month ago

UTC+8 0934 I have tried to fix 26120.1252 windows 11 24H2 via ISO to ensure OS integrity, but still can't get start_http, start_https to run smoothly.

@w-okada Can you please take a look at the possible anomalies that can occur with 24H2? Or what kind of information do I need to provide?

Kuuko-fokkusugaru commented 1 month ago

As we can't be sure that the preview version may lack certain functionalities, we may need to wait for the final release of 24H2. It would still be interesting to take a look at it though, and get ready in case of incompatibility issues before release.

Btw, have you tried to set the executable to compatibility mode? Just wondering if that would have an impact. I guess if the executable is called through a command prompt, the compatibility mode would still be set.

lce52147 commented 1 month ago

I've just tried to enable it through the older compatibility mode, but it doesn't look like anything has changed.

lce52147 commented 1 month ago

Hi , good news image I downloaded the same version of the ISO to use as a virtual machine, and it's working, which means the problem is on my machine.

But it's not clear what's causing him to fail to run. Could it be due to python? Are there any similar cases that could provide clues?

Fa1thfall commented 1 month ago

Hi, ik it's only been a week but I was wondering if there's been any updates with this? I'm running into the same issue, albeit I don't know how to run a virtual machine as a backup

Kuuko-fokkusugaru commented 1 month ago

Hi, ik it's only been a week but I was wondering if there's been any updates with this? I'm running into the same issue, albeit I don't know how to run a virtual machine as a backup

Are you running Windows preview build too?