Skip to content
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

Fails to start #2607

Open
geoff-m opened this issue Feb 24, 2024 · 10 comments
Open

Fails to start #2607

geoff-m opened this issue Feb 24, 2024 · 10 comments
Labels
bug Something isn't working

Comments

@geoff-m
Copy link

geoff-m commented Feb 24, 2024

  • Chainner version: 0.22.0-portable
  • OS: Windows 11
  1. Download and unzip chaiNNer-win32-x64-0.22.0-portable.zip from Releases page.
  2. Run chaiNNer.exe

Output:

23:04:00.633 > chaiNNer Version: 0.22.0
23:04:00.652 > Attempting to check for a port...
23:04:00.670 > Port found: 8000
23:04:00.674 > Attempting to check Python env...
[30864:0223/230400.678:ERROR:gpu_process_host.cc(948)] GPU process launch failed: error_code=18
[30864:0223/230400.710:ERROR:gpu_process_host.cc(948)] GPU process launch failed: error_code=18
[30864:0223/230400.717:ERROR:gpu_process_host.cc(948)] GPU process launch failed: error_code=18
[30864:0223/230400.749:ERROR:gpu_process_host.cc(948)] GPU process launch failed: error_code=18
23:04:00.756 > Integrated Python not found at S:\chaiNNer-win32-x64-0.22.0-portable\python\python\python.exe
23:04:00.759 > Downloading integrated Python...
[30864:0223/230400.763:ERROR:gpu_process_host.cc(948)] GPU process launch failed: error_code=18
[30864:0223/230400.766:ERROR:gpu_process_host.cc(948)] GPU process launch failed: error_code=18
[30864:0223/230400.766:FATAL:gpu_data_manager_impl_private.cc(431)] GPU process isn't usable. Goodbye.

main.log

@geoff-m geoff-m added the bug Something isn't working label Feb 24, 2024
@joeyballentine
Copy link
Member

  1. what GPU do you have?
  2. are your drivers up to date?

@geoff-m
Copy link
Author

geoff-m commented Feb 25, 2024

  1. Nvidia RTX 3080 (10 GB).
  2. Yes.

@Codinablack
Copy link

Just for clarification, runs fine on my system, which is windows 10 22h2 with radeon 6400

@geoff-m
Copy link
Author

geoff-m commented Feb 25, 2024

Very clear, I'll be right over to use it!

@joeyballentine
Copy link
Member

Do any other electron based apps work on your computer? Such as discord or slack?

@geoff-m
Copy link
Author

geoff-m commented Feb 25, 2024

Yes, both of those do.

@joeyballentine
Copy link
Member

@scrawfor that issue is unrelated to your GPU. It looks like some dependencies failed to install. Since that's a portable build, my recommendation would be to delete the python folder at chaiNNer's root and then start chaiNNer up again. Let me know if that continues to happen

@scrawfor
Copy link

Ah, you're right. Just looked at his title and assumed it was the same issue. Missed his log. Reinstalling worked.

Sorry for the spam. I'll delete my message since it's irrelevant.

@joeyballentine
Copy link
Member

All good, glad it's working now

@RunDevelopment
Copy link
Member

I found this Electron issue where someone commented:

error_code=18 is SBOX_ERROR_CREATE_PROCESS and means that CreateProcess itself failed, so yeah it'd be expected that we don't see any crash dump data from the gpu process - it never started at all. Error 18 can be caused by running an Electron app from some kinds of non-local / mapped network drive. For example, if you try to run an Electron Windows app inside Parallels from a drive mapped to your Mac, you will get this error.

Looking at your log: Integrated Python not found at S:\chaiNNer-win32-x64-0.22.0-portable\python\python\python.exe (note the S:\) this seems to be the issue.

@geoff-m Try moving your portable installation to another drive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants