locaal-ai / obs-localvocal

OBS plugin for local speech recognition and captioning using AI
https://obsproject.com/forum/resources/localvocal-live-stream-ai-assistant.1769/
GNU General Public License v2.0
559 stars 42 forks source link

LocalVocal 0.3.4 Crash - Windows 10 - Cuda 12 (causes memory dump and OBS to crash with nothing in the logs) #156

Open accessiblepixel opened 3 months ago

accessiblepixel commented 3 months ago

Hi.

Firstly thank you for the effort that has been put into localvocal so far.

Unfortunately, I've encountered a crash in LocalVocal 0.3.4 on Windows 10 with Cuda 12

Whenever this version of localvocal runs, it'll be fine until it attempts it's first transcription and then it will hard crash OBS, cause windows to do a memory dump of obs64.exe and not write anything to it's own logs.

I've traced through Windows eventvwr logs and found that this is which module is causing the crash

Faulting application name: obs64.exe, version: 30.2.3.0, time stamp: 0x2f5c70eb
Faulting module name: ucrtbase.dll, version: 10.0.19041.3636, time stamp: 0x81cf5d89
Exception code: 0xc0000409
Fault offset: 0x000000000007286e

I notice recently that there's now some difference between the CUDA builds, since for 0.3.3 there was a CUDA 11 build and one for CUDA 12 - I've always gotten the one for 12 and that's typically worked fine for me, so could it be related to this change?

Thank you for reading and I hope you may have some ideas. Please let me know if there's anything I can provide. For now I've just rolled back to 0.3.3 and that seems to work okay. <3

royshil commented 3 months ago

@accessiblepixel upgrade your Nvidia drivers this crash has been reported, and obs v30.2.x has asked users to update Nvidia display drivers becasue of compatibility issues

accessiblepixel commented 3 months ago

@royshil Thanks for the reply. I'm already running a version higher than it says it needed to be in the OBS update, do I need to go newer than that?

I'm running a RTX3060 and driver version 536.40

Also, I noticed that when I left my computer for a while with OBS open and localvocal with 0.33 there was some kinda memory leak happening after a few hours.