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

Nvidia VFX Filters cannot be loaded #11813

Closed
Ancillius opened this issue Feb 1, 2025 · 13 comments · Fixed by #11814
Closed

Nvidia VFX Filters cannot be loaded #11813

Ancillius opened this issue Feb 1, 2025 · 13 comments · Fixed by #11814
Assignees
Labels
Confirmed This bug report has been confirmed by project members

Comments

@Ancillius
Copy link

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

31.0.1

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/peeUpdhn6kxm7mjA

OBS Studio Crash Log URL

No response

Expected Behavior

Nvidia VFX Filters show up.

Current Behavior

They dont. Log confirmes:

12:23:02.992: Failed to get nvARPose.dll version info size
12:23:03.002: [NVIDIA Audio Effects:] version: 1.6.1.2
12:23:15.328: [NVIDIA Audio Effects:] enabled
12:23:15.329: [NVIDIA VIDEO FX]: NVIDIA VIDEO FX version: 0.7.6.0
12:23:15.340: [NVIDIA VIDEO FX]: FX disabled, redistributable not found or could not be loaded.

Steps to Reproduce

  1. Install Nvidia SFX SDK https://international.download.nvidia.com/Windows/broadcast/sdk/VFX/nvidia_video_effects_sdk_installer_v0.7.6_ampere.exe
  2. Start OBS
  3. Check Filters

Anything else we should know?

Steps looked up:

Used Driver 32.0.15.6636 -> issue exists
Updated to Driver Version: 32.0.15.7216 -> issue still exists

Looked up used cudart dlls:
NVIDIA Broadcast.exe 13836 cudart64_12.dll 6.14.11.12010 C:\ProgramData\NVIDIA\NGX\models\nvbcast\versions\2049\files\170_E658703\cudart64_12.dll

Looked up installed nvidia SDKs:

Image

Info: Audio FX Filers show up (also shown in log)

@Penwywern in the OBS DC has a hunch that it is related to: "because obs tries to load three things, the third of which is cudart64_110.dll, i.e. something from cuda version 11." (DC link: https://discord.com/channels/348973006581923840/374636015396192257/1335220036205281352 )

@Ancillius
Copy link
Author

Ancillius commented Feb 1, 2025

Add Info:

Full quote from the DC ( I accidentally shortened it:)

so I have a hunch because obs tries to load three things, the third of which is cudart64_110.dll, i.e. something from cuda version 11.
that folder, on the other hand, shows cudart64_12.dll, i.e. from cuda version 12.
My hunch is that the sdk updated the version of CUDA it uses and that causes to break obs loading it.

And used SDK Version/Files are:

Image

@pkviet pkviet self-assigned this Feb 1, 2025
@pkviet
Copy link
Member

pkviet commented Feb 1, 2025

yes the sdk updated the cudart dlls;
it shouldn't try to load previous versions.
I didn't have that issue with the test versions of the sdk.
Gonna investigate.
Thanks for the report

@pkviet
Copy link
Member

pkviet commented Feb 1, 2025

Fixed here:
#11814

@pkviet
Copy link
Member

pkviet commented Feb 1, 2025

Test builds:
https://github.com/obsproject/obs-studio/actions/runs/13090458553/artifacts/2521514958

@Ancillius
Please test and report.

pkviet added a commit to pkviet/obs-studio that referenced this issue Feb 1, 2025
We don't use any more cuda RT functions.
So this commit removes their loading from the cudaRT dll.
This fixes also a crash when loading different versions of cudaRT when
the SDK is updated [1].

[1] obsproject#11813

Signed-off-by: pkv <[email protected]>
@pkviet
Copy link
Member

pkviet commented Feb 1, 2025

updated the artefact link since I modified a bit the PR

@pkviet pkviet added the Confirmed This bug report has been confirmed by project members label Feb 1, 2025
@pkviet pkviet added this to the OBS Studio 31.1 milestone Feb 1, 2025
@Ancillius
Copy link
Author

Ok. I have copied the files over the installed version...

Nvidia Filters show up now:

https://obsproject.com/tools/analyzer?log_url=https%3A%2F%2Fobsproject.com%2Flogs%2F2kdwGBzm3QiLBa9E

but twitch events dock and chat dock are gone missing now... -.-

@pkviet
Copy link
Member

pkviet commented Feb 1, 2025

Ok the bug is fixed.
The docks bug is something unrelated.

@Ancillius
Copy link
Author

Yes, whatever it was.. reverting to the current stable and reconnecting the account fixed the twitch issue.. also (didnt even notice) the given version was english instead of german and also hat a .. idk polish? text for the "statbar" on the bottom)...

@pkviet
Copy link
Member

pkviet commented Feb 1, 2025

Sidenote, when one wants to test the zips, it's enough to unzip in an arbitrary folder and launch obs.exe from the bin subfolder.
In that way, the install in Program Files is untouched.

@Ancillius
Copy link
Author

Yeah would have been smarter I guess :)

@pkviet
Copy link
Member

pkviet commented Feb 2, 2025

i'm closing the issue ; feel free to reopen, if something else comes up related to this.

@pkviet pkviet closed this as completed Feb 2, 2025
pkviet added a commit to pkviet/obs-studio that referenced this issue Feb 4, 2025
We don't use any more CUDA RT functions.
So this commit removes their loading from the CUDA RT DLL.
This also fixes a crash when loading different versions of CUDA RT when
the SDK is updated [1].

[1] obsproject#11813

Signed-off-by: pkv <[email protected]>
pkviet added a commit to pkviet/obs-studio that referenced this issue Feb 4, 2025
We don't use CUDA RT functions anymore.
So this commit removes their loading from the CUDA RT DLL.
This also fixes a crash when loading different versions of CUDA RT when
the SDK is updated [1].

[1] obsproject#11813

Signed-off-by: pkv <[email protected]>
@RytoEX RytoEX reopened this Feb 4, 2025
@pkviet
Copy link
Member

pkviet commented Feb 4, 2025

reopened; it'll be closed automatically when the linked PR is merged.

RytoEX pushed a commit that referenced this issue Feb 5, 2025
We don't use CUDA RT functions anymore.
So this commit removes their loading from the CUDA RT DLL.
This also fixes a crash when loading different versions of CUDA RT when
the SDK is updated [1].

[1] #11813

Signed-off-by: pkv <[email protected]>
@julian-becker
Copy link

Test builds: https://github.com/obsproject/obs-studio/actions/runs/13090458553/artifacts/2521514958

@Ancillius Please test and report.

In my case, this fixes the issue and I can use the NVIDIA Video FX again ❤️🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Confirmed This bug report has been confirmed by project members
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants