thewh1teagle / vibe

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

Bug: "Vibe has stopped working" #64

Closed Nomizak closed 1 month ago

Nomizak commented 1 month ago

What happened?

After selecting an .mp3 file, when I click Transcribe, I immediately get the "Vibe has stopped working" window and have to close the program. stopped working

Steps to reproduce

  1. Clicked "Select Audio File"
  2. Selected an .mp3 file
  3. Clicked "Transcribe"

What OS are you seeing the problem on?

Window

Relevant log output

App Version: 1.0.5
Commit Hash: 3b4d74fa6b8f3171078df97f14add4a7463e7624
Arch: x86_64
Platform: windows
Kernel Version: 10.0.19045
OS: windows
OS Version: 10.0.19045
Models: ggml-medium.bin
Default Model: "C:\\Users\\Tom\\AppData\\Local\\github.com.thewh1teagle.vibe\\ggml-medium.bin"
thewh1teagle commented 1 month ago

@Nomizak Thanks for reporting! Do you see any text file logs in the logs folder? (you can open it from settings page at the bottom)

Nomizak commented 1 month ago

Yeah, in a file called ".window-state.json". Here is the log: { "main": { "width": 800.0, "height": 700.0, "x": 2504, "y": 174, "prev_x": 0, "prev_y": 0, "maximized": false, "visible": true, "decorated": true, "fullscreen": false } }

thewh1teagle commented 1 month ago

@Nomizak Unfortunately that's not the log file, it's possible that there's no logs. Can you try update Vibe + try on another file?

Nomizak commented 1 month ago

Oh, I'm sorry. I'm redownloading it now to try with the latest version. Update: I'm getting the same exact error with no log file.

thewh1teagle commented 1 month ago

Not sure why it's happening. Can you try it with original whisper binary so we can understand if it's an upstream issue?

  1. Download whisper.cpp/releases/download/v1.5.4/whisper-bin-x64.zip and unzip it
  2. Download vibe/samples/single.wav and place it in the same folder (and check that the file is ok)
  3. Open cmd.exe there (in folder Ctrl + l and type cmd.exe then Enter) and execute
    main.exe -m "%localappdata%\github.com.thewh1teagle.vibe\ggml-medium.bin" -f "samples_single.wav"

    Check if it works, compare the result by trying with vibe app.

If possible, try even also with whisper.cpp/releases/download/v1.6.0/whisper-bin-x64.zip And with whisper.cpp/releases/download/v1.6.0/whisper-blas-clblast-bin-x64.zip

YOSEFTT commented 1 month ago

גם לי יש את אותו בעי', שהתוכנה קורסת עוד לפני שהיא טוענת את מודל ה BIN, אין שום לוגים בתיקי', ניסיתי בדרך שכתבת הקישור הראשון והשני [את השלישי לא ניסיתי]. הנה צילומי מסך של התוצאות: image image

לא קיבלתי שום פלט [או שלא ידעתי היכן לחפש אותו].

thewh1teagle commented 1 month ago

שיפרתי את הלוגים בVibe והעלתי מחדש את גרסה 1.0.7 עכשיו אפשר להריץ ככה ולראות מה קורה תכלס בVibe עצמה.

set RUST_LOG=trace
%localappdata%\vibe\vibe.exe

זה יפתח את התוכנה ואס אפשר לנסות לתמלל ולחזור לטרמינל לראות איפה קרס ואם יש שגיאות

thewh1teagle commented 1 month ago

Looks related to https://github.com/thewh1teagle/vibe/issues/79 I suspect that it's related to the CPU model / GPU. If possible, please share the output of the following command in cmd.exe

winget install neofetch
neofetch
Y-PLONI commented 1 month ago

גם אני חשדתי כך, לא יכולתי להגיב עד עכשיו. ווינדוס 11 [64 ביט] הנה צילו"מ: image image image

thewh1teagle commented 1 month ago

@Y-PLONI

~תראה את תגובה https://github.com/thewh1teagle/vibe/issues/79#issuecomment-2125781420 העלתי שני קבצים לrelease האחרון, נסה אותם וגם בתגובה האחרונה ששלחתי יש אפשרות לקבל לוג שיציג במה המעבד תומך, תוכל להריץ ולראות אם עובד / לשלוח את הלוג~

עדכון

תראה את תגובה https://github.com/thewh1teagle/vibe/issues/79#issuecomment-2125917792 - הבעיה נפתרה

Y-PLONI commented 1 month ago

הקובץ הראשון שהעלית שם עובד, וגם מנצל את הGPU [אם כי לא מהיר כפי שהייתי מצפה לראות]. השני מתקין, אך לא מצליח להפעיל. אני מקבל את השגיאה הזו:


vibe.exe - Entry Point Not Found

The procedure entry point cuMemUnmap could not be located in the dynamic link library C:\Users\user\AppData\Local\vibe\vibe.exe. 
Y-PLONI commented 1 month ago

אני לא מצליח לשנות את הפוסט שיוצג באופן נורמלי.

thewh1teagle commented 1 month ago

@Y-PLONI

טוב לדעת שעבד לך!! אז נראה שזה קשור למעבד עצמו כמו שכתבתי שם. מעניין איזה פיצ'ר היה חסר במעבד שלך - תוכל לראות עם הפקודה הזו בcmd.exe:

set RUST_LOG=vibe=debug,whisper_rs=debug
%localappdata%\vibe\vibe.exe

ומעניין גם איזה כ"מ ומעבד יש לך תוכל לבדוק בקלות עם

winget install neofetch
neofetch

יכול להיות שהתוכנה עם nvidia לא עובדת בגלל שאין לך כרטיס מסך שלהם.

thewh1teagle commented 1 month ago

אפשר לנסות את גרסה 2.0 בנוסף במחשבים שלא נתמכים בגלל מעבד ישן תופיע שגיאה עם הוראות במקום שהתוכנה תקרוס :)