thewh1teagle / vibe

Transcribe on your own!
https://thewh1teagle.github.io/vibe/
MIT License
430 stars 28 forks source link

Vibe doesn't open #153

Closed Danthig closed 3 days ago

Danthig commented 4 days ago

What happened?

I reinstalled Windows, and now when installing the software VIBE does not open for me.

Steps to reproduce

It seems to be a problem with the software's viewer, since the software is open in the task manager, and when I install VIBE again, the installer asks to close the software.

What OS are you seeing the problem on?

No response

Relevant log output

Microsoft Windows [Version 10.0.22631.3810]
(c) Microsoft Corporation. כל הזכויות שמורות.

C:\Users\1234\Desktop\תיקיה חדשה\whisper-bin-x64>main.exe -m "%localappdata%\github.com.thewh1teagle.vibe\ggml-medium.bin" -f "samples_single.wav"
whisper_init_from_file_with_params_no_state: loading model from 'C:\Users\1234\AppData\Local\github.com.thewh1teagle.vibe\ggml-medium.bin'
whisper_model_load: loading model
whisper_model_load: n_vocab       = 51865
whisper_model_load: n_audio_ctx   = 1500
whisper_model_load: n_audio_state = 1024
whisper_model_load: n_audio_head  = 16
whisper_model_load: n_audio_layer = 24
whisper_model_load: n_text_ctx    = 448
whisper_model_load: n_text_state  = 1024
whisper_model_load: n_text_head   = 16
whisper_model_load: n_text_layer  = 24
whisper_model_load: n_mels        = 80
whisper_model_load: ftype         = 1
whisper_model_load: qntvr         = 0
whisper_model_load: type          = 4 (medium)
whisper_model_load: adding 1608 extra tokens
whisper_model_load: n_langs       = 99
whisper_model_load:      CPU buffer size =  1533.52 MB
whisper_model_load: model size    = 1533.14 MB
whisper_init_state: kv self size  =  132.12 MB
whisper_init_state: kv cross size =  147.46 MB
whisper_init_state: compute buffer (conv)   =   25.61 MB
whisper_init_state: compute buffer (encode) =  170.28 MB
whisper_init_state: compute buffer (cross)  =    7.85 MB
whisper_init_state: compute buffer (decode) =   98.32 MB

system_info: n_threads = 4 / 8 | AVX = 1 | AVX2 = 1 | AVX512 = 0 | FMA = 1 | NEON = 0 | ARM_FMA = 0 | METAL = 0 | F16C = 1 | FP16_VA = 0 | WASM_SIMD = 0 | BLAS = 0 | SSE3 = 1 | SSSE3 = 0 | VSX = 0 | CUDA = 0 | COREML = 0 | OPENVINO = 0 |

main: processing 'samples_single.wav' (176000 samples, 11.0 sec), 4 threads, 1 processors, 5 beams + best of 5, lang = en, task = transcribe, timestamps = 1 ...

[00:00:00.000 --> 00:00:11.000]   And so my fellow Americans, ask not what your country can do for you, ask what you can do for your country.

whisper_print_timings:     load time =  2284.10 ms
whisper_print_timings:     fallbacks =   0 p /   0 h
whisper_print_timings:      mel time =    12.22 ms
whisper_print_timings:   sample time =   144.71 ms /   140 runs (    1.03 ms per run)
whisper_print_timings:   encode time = 22095.33 ms /     1 runs (22095.33 ms per run)
whisper_print_timings:   decode time =    67.20 ms /     2 runs (   33.60 ms per run)
whisper_print_timings:   batchd time =  3021.05 ms /   136 runs (   22.21 ms per run)
whisper_print_timings:   prompt time =     0.00 ms /     1 runs (    0.00 ms per run)
whisper_print_timings:    total time = 27631.72 ms

C:\Users\1234\Desktop\תיקיה חדשה\whisper-bin-x64>
thewh1teagle commented 4 days ago

Hi, thanks for reporting the bug! Can you try running vibe from terminal with log? Open the terminal with cmd.exe (not powershell) and run:

set RUST_LOG=debug
%localappdata%\vibe\vibe
thewh1teagle commented 4 days ago

Anyway, after you see the output or errors (you can paste here) try to install Microsoft's webview2 You might be missing it after formatting https://developer.microsoft.com/en-us/microsoft-edge/webview2/consumer/?form=MA13LH&ch=1

Danthig commented 4 days ago
Microsoft Windows [Version 10.0.22631.3810]
(c) Microsoft Corporation. כל הזכויות שמורות.

C:\Users\1234>set RUST_LOG=debug

C:\Users\1234>%localappdata%\vibe\vibe

C:\Users\1234>[2024-06-30T23:19:39Z DEBUG vibe_desktop] Vibe App Running
[2024-06-30T23:19:39Z ERROR tauri_runtime_wry] failed to create webview: WebView2 error: WindowsError(Error { code: HRESULT(0x80004002), message: "No such interface supported" })
[2024-06-30T23:19:39Z DEBUG vibe_desktop::setup] webview version: 100.0.1185.36
[2024-06-30T23:19:39Z DEBUG vibe_desktop::setup] CPU Features:
    AVX: true
    AVX2: true
    AVX512: true
    AVX512-VBMI: true
    AVX512-VNNI: true
    FMA: true
    F16C: true
[2024-06-30T23:19:39Z DEBUG vibe_desktop::setup] COMMIT_HASH: cc1bb4f721a794c58081b139e57808c6ec8e00a5

image

thewh1teagle commented 4 days ago

Thanks, the log is very helpful As I thought there is a problem with webview2 Can you try restarting the computer?

Danthig commented 4 days ago

I restarted the computer and you are the result. In advance I thought that the problem was with webview2, but I have another software that uses webview2, and it works properly. On the other hand, both vibe and lingo do not work for me!

thewh1teagle commented 4 days ago

Ok, the problem is that the version of webview2 is too old according to the log you posted earlier Your version is 100.0.1185.36 and the minimum version is 101.0.1210.39

You can see information about the problem here https://github.com/tauri-apps/tauri/issues/4230

Webview2 needs to be updated.

Try again like this:

  1. On the page https://developer.microsoft.com/en-us/microsoft-edge/webview2, select ``Evergreen Bootstrapper'' and click on download (you need to scroll and confirm before it starts downloading)
  2. Run the downloaded file as administrator. This will take a few seconds / minutes and will update webview2 in the background
  3. Restart vibe (you can close the previous one from the task manager)
Danthig commented 4 days ago

אתה תותח!!! ניסיתי לעדכן את webview2, ולא הצלחתי, אבל בקישור שהבאת התעדכן, ועכשיו התוכנה עובדת. תודה רבה!!!

thewh1teagle commented 3 days ago

עכשיו גם אחרי שדיווחתי לtauri על התקלה בפעם הבאה זה יעבוד גם על גרסה ישנה ובנוסף אני אסדר בעתיד שיציג שגיאות נורמלי ולא פשוט ירוץ ברקע שמח שזה עבד! :)