-
-
Notifications
You must be signed in to change notification settings - Fork 203
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
[LINUX][NVIDIA] Doesn't work properly with NVIDIA GPU #591
Comments
can you please share the OBS logs so we can investigate? |
Ubuntu 24.04 error: [obs-backgroundremoval] /onnxruntime_src/onnxruntime/core/session/provider_bridge_ort.cc:1209 onnxruntime::Provider& onnxruntime::ProviderLibrary::Get() [ONNXRuntimeError] : 1 : FAIL : Failed to load library libonnxruntime_providers_tensorrt.so with error: libnvinfer.so.8: cannot open shared object file: No such file or directory error: [obs-backgroundremoval] Failed to create ONNXRuntime session. Error code: 5 |
What version of CUDA do you have? |
@royshil I suppose many want to use our plugin with CUDA 12. Are you okay with our plugin supporting CUDA 12 and dropping support for CUDA 11? Users who wish to use our plugin with CUDA 11 can still use the older version of our plugin. |
12.2 |
CUDA 12 is not supported. Can you try CUDA 11? |
I would try it if I could find a way to downgrade the version |
11 is not supported anymore and no way to downgrade either on Fedora or even Arch it will always give an error |
Same issue here. Even if I were to hack around the issue, it would be onerous to have to switch CUDA versions every time I want to use OBS - and would make it impossible to use both at once. |
Also would love to see support for CUDA 12 for this amazing plugin. Without it, I am forced to use CPU. In order to have acceptable results with CPU it introduces significant CPU consumption which leads to encoder overload and dropped frames. Took a cursory glance at the codebase but didn't see where the tensorrt relevant code was. Could you point to what makes this break on CUDA 12? |
I don't think nothing would break with CUDA 12. We are just searching for people who can make changes to support CUDA 12 for our code. |
Does tensorrt need to be installed for this to function properly? Or is CUDA theoretically enough (assuming on the supported version). Wonder if that could be the root of the issue as I have the same exact symptoms and only have CUDA 12 installed. |
The problem right now is that it targets the wrong version of the libraries - so it's simply a File Not Found. Since there's a major version change in the library versions, there could be breaking changes. The way I would approach it would be to target the later library version(s) and then test. Others might list all the API calls and form a gap analysis between the library versions, then make targeted fixes if there are any. |
Does disabling "Skip image based on similarity" in the advanced settings fix the issue? |
Doesn't change anything for me. Running on openSUSE Tumbleweed:
Cuda 12.6, TensorRT 10.3.0.26 Is there any documentation on what version to use/what to specifically install? Some more info if you find it useful:
|
Looking forward to a new build with support for CUDA 12 |
Same error here using CUDA 12.6, can't downgrade. |
Why not support current CUDA, and people who stay on old versions use the CPU? In general, we use "enterprise" distributions such as Debian for servers and opt for distributions that provide a better desktop and laptop experience. |
Same error here. OS: Linux Mint 21.3 x86_64 |
Confirmed here. KDE Plasma X11, RTX 3070, drivers 550.127.05, distro openSuSE Tumbleweed. I don't think updating drivers will help, and won't do that anyway until they're in opensuse repo to avoid problems. |
When using the "CPU" option, the background remover updates as you move around and continues removing the background. When you switch to "GPU - TensorRT" option, it updates the silhouette once and then doesn't update or do anything after the first time.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Supposed to update the background using the "GPU" option
Desktop (please complete the following information):
OS: Arch Linux x86_64
Kernel: 6.9.9-arch1-1
DE: Plasma 6.1.2
CPU: Intel i7-10750H (12) @ 5.000GHz
GPU: NVIDIA GeForce RTX 2060 Mobile
Browser: Firefox
OBS Version: 30.2.0
The text was updated successfully, but these errors were encountered: