Open happyme531 opened 3 months ago
I've had this issue as well and wasn't able to find a fix for it sadly.. so I just downgraded my obs version. If someone else wants to take a look at this they can, but I just recently switched to Wayland so I'm not of much help anymore. (i'm on 30.1.2-2)
NVIDIA is currently in the process of rewriting basically all of NvFBC, they added support for EGL in the latest update and in the beta they are adding a pipewire backend for wlroots based compositors on wayland, therefore I don't really know how this is going to continue
We've taken another look at this, it seems like the dlsym hook simply ceased to exist.. I pushed a dirty commit that creates a separate library that can be LD_PRELOAD'ed and it does fix the crashing issues. However I'm on driver version 560, where practically everything was rewritten.. The library doesn't even load Vulkan anymore. The official Capture SDK update is not out yet and my attempts at using the old API simply result in an "UNSUPPORTED" error. For now there's nothing I can really do. Perhaps if you downgrade your nvidia driver and use LD_PRELOAD the new preload.so you might be able to get it to work again.. but that's not a solution I am satisfied with.
As the title said, OBS crashed when adding nvfbc capture source.