Closed mfgering closed 1 year ago
Same with OBS 27.2.1
Smells like a binary incompatibility problem. I would re-build the windows binaries if I knew how. Is there a vm image or something to start with?
I've tried reaching out to kounoike on Twitter but I haven't gotten a response. I've used the plugin a lot and would like to see it updated and maintained
I can't reproduce with OBS 27.21 / obs-virtualbg v1.1.0. it works fine.
to all, please provide
OBS: 27.2.1 x64 (fresh install) VirtualBG: 1.1.0-win64 Freshly added Renderer and Detector to the scene
Log 2022-02-24 17-44-06 [Uploading Crash 2022-02-24 17-44-33.txt…]()
to all, please provide
- your OBS version
- your obs-virtualbg version
- crash log
- obs log
OBS version: obs-virtualbg version: Crash LOG: Crash 2022-02-24 16-16-48.txt OBS LOG: 2022-02-24 16-16-30.txt
to all, please provide
- your OBS version
- your obs-virtualbg version
- crash log
- obs log OBS version: 27.2.1 obs-virtualbg version: obs-virtualbg-v1.1.0-win64 Crash LOG:Crash 2022-02-15 04-24-33.txt
@kounoike Have you fixed the problem? 🙂
ah... I forgot GitHub's auto-close rule.
@Stifler82 I'm trying to fix this issue, please try this artifact if you can => https://github.com/kounoike/obs-virtualbg/actions/runs/1921740689
at https://github.com/kounoike/obs-virtualbg/issues/58#issuecomment-1050043333 I said, "I can't reproduce". so I can't test it.
@kounoike
I tried your artifact; it works fine on the old version of OBS, but still fails on 27.2.2, but differently.
The log contains many entries of:
11:11:07.416:
11:11:07.508: [Virtual BG detector] Can't create Session error: Exception during initialization: D:\a\_work\1\s\onnxruntime\core\providers\dml\DmlExecutionProvider\src\FusedGraphKernel.cpp(64)\onnxruntime.dll!0000
[2022-03-02 11-10-32.txt](https://github.com/kounoike/obs-virtualbg/files/8171158/2022-03-02.11-10-32.txt)
7FFDB4D471AA: (caller: 00007FFDB4D4661C) Exception(22) tid(6714) 80004002 No such interface supported
The window for editing the filters is black. 2022-03-02 11-10-32.txt
hmm... it seems as OnnxRuntime's problem. How about this artifact? it updates onnxruntime 1.9.0=>1.10.0, obs-27.2.2
👆 @mfgering
I updated OBS with the OnnxRuntime from above and OBS is now crashing with the detection filter is enabled. I attached the crash and log files. BTW, is there a relatively easy way to build this from a vm or docker image? 2022-03-02 11-39-18.txt Crash 2022-03-02 11-39-43.txt
@mfgering hmm... it maybe OnnxRuntime's issue. But, I can't reproduce it.
GitHub Actions build workflow is easy point to understand how to build.
But, it requires building OBS. so, you should read obs's build requirements
ah... I forgot GitHub's auto-close rule.
@Stifler82 I'm trying to fix this issue, please try this artifact if you can => https://github.com/kounoike/obs-virtualbg/actions/runs/1921740689
Ok So The artifact works but by defualt it starts out using the GPU and wont show anything. Unchecking the box makes it act as it should but now its showing OBS as using 30%+ cpu usage. Checking the GPU box doesnt seem to have any effect
Crashes OBS version 27.2.3 (64-bit) on Windows 10 Pro as well.
Steps to reproduce:
=> will reliably crash
please read this comment: https://github.com/kounoike/obs-virtualbg/issues/58#issuecomment-1050044047
Hi, all. I add CUDA version. Can someone please try the CUDA version? https://github.com/kounoike/obs-virtualbg/actions/runs/1946875535
Hi, all. I add CUDA version. Can someone please try the CUDA version? https://github.com/kounoike/obs-virtualbg/actions/runs/1946875535
It works for me.
Hi, all. I add CUDA version. Can someone please try the CUDA version? https://github.com/kounoike/obs-virtualbg/actions/runs/1946875535
Quickly tried the CUDA version with 27.2.3 and it appears to work.
The cuda version seems to work but still uses 38% cpu even with the GPU selected. The masking looks nicer and is much more responsive though. Am I missing someing?
what about intel igpu users?
updating win11 is best workaround.
@zenvolta please upload log file.
@zenvolta please upload log file. 2022-03-15 11-32-09.txt
crashes OBS 27.2.3 too Crash 2022-03-15 17-08-37.txt o
@mightysashiman logfile?
Another crash report for OBS Studio 27.2.3 and obs-virtualbg 1.1.0 2022-03-18 23-10-02.txt Crash 2022-03-18 23-10-09.txt
Unfortunately for me the CUDA version is not an option as I run a Radeon GPU.
I tried the latest build; when enabling the "Use GPU" flag, the CPU load remains the same and this pops up in the log:
14:42:48.692: [Virtual BG detector] Can't create Session error: Exception during initialization: D:\a\_work\1\s\onnxruntime\core\providers\dml\DmlExecutionProvider\src\FusedGraphKernel.cpp(64)\onnxruntime.dll!00007FF945A8ED9A: (caller: 00007FF945A8E20C) Exception(6) tid(1e88) 80004002 N�o h� suporte para esta interface
(the error message translates to "No such interface supported" - and its return code is E_NOINTERFACE)
Hmm, microsoft/onnxruntime#6457 hints that it might be loading the wrong DirectML...
@ElSaico You have a chance of contributing PR which support ROCm/MIGraphX 😁
DirectML dll is already included. So, 6457 is not related issue, maybe...
@ElSaico You have a chance of contributing PR which support ROCm/MIGraphX 😁
DirectML dll is already included. So, 6457 is not related issue, maybe...
Seems like ROCm (and thus MlGraphX) is Linux-only at this point, unfortunately - which is not an option for half the stuff I livestream.
OBS version: 27.2.3 (64-bit) obs-virtualbg version: obs-virtualbg-v1.1.0-win64 crash log: Crash 2022-06-24 17-02-28.txt obs log: 2022-06-24 17-02-17.txt
not owrking for me on 27.2.4 on windows, if someone could supply the cuda version mentioned above that would be helpful
same problem and same question.
This all sounds consistent with what I was just experiencing setting up 1.1.0 on OBS 27.2.4. I was able to resolve the issue by deactivating the video source before adding the filters. Then I unchecked "Use GPU" before activating the video source (uncertain whether or not this step was necessary). Everything appears to be working fine for me now, including using the GPU.
This all sounds consistent with what I was just experiencing setting up 1.1.0 on OBS 27.2.4. I was able to resolve the issue by deactivating the video source before adding the filters. Then I unchecked "Use GPU" before activating the video source (uncertain whether or not this step was necessary). Everything appears to be working fine for me now, including using the GPU.
Using the CUDA build for Windows from this artifact, I was able to finally add the filter without crashing thanks to this tip. OBS still crashes when I enable "Blurring mask edge" though. With that option disabled, everything else seems to work fine.
All of the artifacts are expired so can't test the cuda one? Anyway to fix this reliably?
I am still having the same error when trying to use the GPU option. Log file attached.
16:50:52.960: [Virtual BG detector] Can't create Session error: Exception during initialization:
Upgraded OBS to 27.2.0 and this plugin crashes it every time I enable the virtual background detector filter.
This is easy to reproduce. Simply add the detector filter and enable it. Boom!
The log complains:
The crash report complains:
Thread 6C28: libobs: graphics thread (Crashed) 2022-02-16 07-14-30.txt Crash 2022-02-16 07-14-45.txt