-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GUI won't start on Windows (unhandled exception in ggml_vk_available_devices) #1477
Comments
It would be really helpful if you could build GPT4All from source in Debug mode, and run it under either the Visual Studio debugger, or windbg, in order to get the call stack. Unfortunately, the binaries we publish are stripped Release builds with very little information to assist debugging. |
That won't be easy. I'm not much of a developer, and cpp is not among the languages I know well. Also, I have security constraints, imposed by my enterprise, to install/run third party's code (I had to ask permission and wait for a week just to have the program installed). All in all, I don't see myself doing that. |
You mean 2.4.19 not 2.4.9, right? First of all, one thing you can try is rename your settings file, which is located at If that doesn't help, you can also try adding a line [General]
device=CPU
... Close the program before you do that and restart it afterwards. |
Yes, sorry, already updated the issue title.
Changed the extension, no success: GPT4All still won't start.
|
I uploaded a debug build of the installer to the releases page, it's called
|
Can you continue past that with F5? I think that's just another bug in Windows breakpoint handling, not an actual issue with the code. You should be able to continue until you get a call stack with lines other than |
Yes, that is very helpful, thanks. edit: Could you please try to get info for the exception by running the |
Unfortunately, I'm not sure how to get the exception message with WinDbg. Here's another option: I uploaded a console-enabled build ( It would be helpful if you could start chat.exe via the command line - install that version, use "Open File Location" on the shortcut to find chat.exe, shift-right-click in the folder and open a powershell or command prompt there, and run If there is any console output, please post it here. |
So, are we out of luck, @cebtenzzre ? |
Unless you can debug it with Visual Studio (which I know will provide the exception information), I'm not sure what else to do. |
Just a suggestion for debugging this. What about using |
@ADD-eNavarro run the following and attach the dump. Since procdump defaults to not dump on unhandled exceptions, it lost the actual exception in the minidump. |
Here's the result of that last procdump run: |
Now we're getting somewhere:
Unfortunately, I no longer have a copy of the debug info for that build of GPT4All, so I can't resolve Here is a newer build that you can install and run the same procdump command on: gpt4all-installer-win64-v2.5.2.r8.gd4ce9f4-debug-console.exe I'll keep that build tree in a separate folder so I'll be able to debug it when you reply. |
New dump: |
Anything I can do then? |
From my perspective, unless you can suggest a patch, looks like you'll need to wait for the developers to do something. One thing I'd suggest is updating drivers, since this seems to be a driver issue. I actually was suffering from this issue too, but "something changed" and it started working again. Maybe I updated drivers, but I can't be certain. I have NVIDIA card, so I may have updated the driver + CUDA. |
Sometimes Vulkan is not available due to VK_ERROR_INITIALIZATION_FAILED or VK_ERROR_DEVICE_LOST. Ingore the exception instead of crashing. Fixes nomic-ai/gpt4all#1477
Sometimes Vulkan is not available due to VK_ERROR_INITIALIZATION_FAILED or VK_ERROR_DEVICE_LOST. Ignore the exception instead of crashing. Fixes nomic-ai/gpt4all#1477
Following @H4CKS4F3 advice, we've updated the CUDA to version 12.3.1, which updated NVidia drivers from 545.84 to 546.12. But GPT4All still doesn't start. So maybe it's not the drivers. |
Fixes nomic-ai#1477 Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This comment was marked as off-topic.
This comment was marked as off-topic.
Different issue. OP experienced a crash caused by a bad interaction with a non-functional Vulkan driver. |
System Info
Hi, I'm running GPT4All on Windows Server 2022 Standard, AMD EPYC 7313 16-Core Processor at 3GHz, 30GB of RAM.
This computer also happens to have an A100, I'm hoping the issue is not there!
GPT4All was working fine until the other day, when I updated to version 2.4.9 and all of a sudden it wouldn't start. No feedback whatsoever, it just doesn't start.
I've downloaded the 2.5 pre-release today but I'm still having the same issue. Here's the event viewer record detail:
Error GPT4All pre-release.txt
Information
Related Components
Reproduction
GPT4All just doesn't start, even with admin privileges granted.
Expected behavior
Should start!
The text was updated successfully, but these errors were encountered: