i trying to use obs studio with nvenc on my laptop with 2 video adapter:
VGA = Intel
3D = NVIDIA GTX 850M
but i had always Error Cannot CUDA init.
I solved (after some strace use) simple to add:
- Code: Select all
# ln -s /usr/lib64/nvidia-current/bin/nvidia-modprobe /usr/bin/nvidia-modprobe
# ln -s /usr/lib64/nvidia-current/bin/nvidia-smi /usr/bin/nvidia-smi
i think that symlink wasn't created directlly probably because main video adapter is INTEL and NVIDIA is active only with primusrun/optirun.