chaiNNer icon indicating copy to clipboard operation
chaiNNer copied to clipboard

Fails to start

Open geoff-m opened this issue 1 year ago • 10 comments

  • 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 avatar Feb 24 '24 07:02 geoff-m

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

joeyballentine avatar Feb 24 '24 07:02 joeyballentine

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

geoff-m avatar Feb 25 '24 00:02 geoff-m

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

Codinablack avatar Feb 25 '24 02:02 Codinablack

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

geoff-m avatar Feb 25 '24 02:02 geoff-m

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

joeyballentine avatar Feb 25 '24 03:02 joeyballentine

Yes, both of those do.

geoff-m avatar Feb 25 '24 03:02 geoff-m

@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

joeyballentine avatar Feb 26 '24 21:02 joeyballentine

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.

scrawfor avatar Feb 26 '24 21:02 scrawfor

All good, glad it's working now

joeyballentine avatar Feb 26 '24 21:02 joeyballentine

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.

RunDevelopment avatar Apr 08 '24 12:04 RunDevelopment