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

Error during image segmentation when selecting GPU #26

Open
Yasand123 opened this issue Aug 24, 2024 · 4 comments
Open

Error during image segmentation when selecting GPU #26

Yasand123 opened this issue Aug 24, 2024 · 4 comments

Comments

@Yasand123
Copy link

I installed this via the AUR package on Arch Linux. Everything seems to be running fine on default settings. However, when I switch to the GPU, I get the following error:

Error during image segmentation: /onnxruntime_src/onnxruntime/core/session/provider_bridge_ort.cc:1080 void onnxruntime::ProviderSharedLibrary::Ensure() [ONNXRuntimeError] : 1 : FAIL : Failed to load library libonnxruntime_providers_shared.so with error: libonnxruntime_providers_shared.so: cannot open shared object file: No such file or directory

I wonder what the issue is?

  • Nvidia 555.58.02-17
  • Arch Linux 6.10.6
  • Krita 5.2.3
@kro-ai
Copy link

kro-ai commented Oct 14, 2024

I'm also having this issue.

@Acly
Copy link
Owner

Acly commented Oct 14, 2024

GPU on Linux has a bunch of additional dependencies: Onnx GPU runtime, CUDA toolkit, cuDNN
It's generally not worth the hassle to try and make it work.

I think the GPU button is meant to be grayed out if it can't be initialized, but it's possible this error isn't detected until it's actually running, which makes it difficult.

@loesteem
Copy link

loesteem commented Dec 30, 2024

This also occurs on Win 11, Krita 5.2.6, Geforce RTX 3060 Laptop GPU (566.36)

Shouldn't it be working with this type of GPU on this OS?

Note: Error is slightly different:

Error during image segmentation: D:\a_work\1\s\onnxruntime\core\providers\dml\DmlExecutionProvider\src\ExecutionProvider.cpp(896)\onnxruntime.dll!00007FFC8F311B3D: (caller: 00007FFC8F311FB2) Exception(2) tid(2618) 887A0006 The GPU will not respond to more commands, most likely because of an invalid command passed by the calling application.

@seth100
Copy link

seth100 commented Jan 7, 2025

Same issue to me:
6.9.3-76060903-generic

Error during image segmentation: /onnxruntime_src/onnxruntime/core/session/provider_bridge_ort.cc:1080 void onnxruntime::ProviderSharedLibrary::Ensure() [ONNXRuntimeError] : 1 : FAIL : Failed to load library libonnxruntime_providers_shared.so with error: libonnxruntime_providers_shared.so: cannot open shared object file: No such file or directory
  • Krita 5.2.6 (flatpak version)
  • PopOS! 22.04
  • Kernel 6.9.3-76060903-generic
  • NVIDIA GeForce RTX 4060 Ti - NVIDIA-SMI 565.77 - CUDA Version: 12.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants