Mozer / talk-llama-fast

Port of OpenAI's Whisper model in C/C++ with xtts and wav2lip
MIT License
704 stars 62 forks source link

audio.init() failed! (No audio device found (0x88780078)) #17

Open nicksan4ez opened 2 months ago

nicksan4ez commented 2 months ago

I installed and started all modules according to the instructions, silly_extras and xtts_wav2lip start without errors, but when starting talk-lama-wav2lip-ru I get an error connecting to the microphone (No audio device found (0x88780078)). I used different microphones (external USB and built-in laptop, updated drivers on both microphones, in startup parameters of talk-lama.exe I manually set the device selection via "-c 1", changed default devices in Windows settings. The error did not disappear image

I tried to fix it by changing the driver to DirectSound, but got the same thing. Even updated DirectX, the problem did not go away

image

Windows 10 Pro 64

Mozer commented 2 months ago

I was thinking that maybe win10 is not supported, but 1 person in chat reported that everything is ok in win10. Try running original talk-llama.exe by gerganov https://github.com/ggerganov/whisper.cpp/releases/tag/v1.5.4 whisper-cublas-11.8.0-bin-x64.zip Maybe it can help to identify the problem.

nicksan4ez commented 2 months ago

I ran the original talk-llama.exe by gerganov, removed unnecessary startup parameters, left the same models that you use, but got the same errors

image

and with the DirectSound driver the same

image

Mozer commented 2 months ago

try running from CMD instead of bat. Open cmd from the dir where the exe is located. Maybe it can't find sdl2.dll that is there. Try another mic. Try android app (wo mic) as a mic. Try to reinstall OS maybe something happened with your audio drivers.