Unable to access GPU video engine with NVIDIA 520.61.05 aka CUDA driver

I tried this before and had same results, but here it goes…

So I had 515.76 and I was able to stream via nvenc x264 and record via hevc_nvenc and also a built in nvenc into OBS that wasn’t custom. SO I uninstall the old driver and install the new one via

`ryan@CLR-BP-GLBWRMRRSSCC~ $ sudo sh ./cuda_11.8.0_520.61.05_linux.run --silent --override
`

I boot in and it works and all. THis is with OBS.
Here are two videos for proof it worked.
The first one is a copy and paste from the stream from twitch.

The second is a video using OBS’s built in hhevc_nvenc…

It worked. OBS can’t access driver. I tried to install mango hud and it was unable to find NVCtrl.h

nor with Green with Envy nvml share librarys will not be found. These are all normal bugs and all. It is just if I uninstall that CUDA driver this stuff will all work excluding MangoHud because I do not know and have never used it before. SHould I keep using the driver here? Can I count on this being fixed or do I have to continue using the game ready drivers.

FYI FFMPEG VAAPI has never worked. I don’t know what to do to get that going, or if that is evan worth it or not.

If I manualy add in custom output hevc_nvenc it says permission denied

Screenshot from 2022-10-05 15-48-02

I can still access fan control as well as mem speed and gpu clock



1 Like

Hi, I know this is bit out of date but the issue still remains with obs on flatpak not working with Nvidia. This is because, currently the Nvidia-uvm driver is not loaded automatically. Once the Nvidia-uvm module is loaded Nvidia recording on obs flatpak works fine.

1 Like

Being a Flatpak issue, the following is a guess.

Depending on which NVIDIA installation method used, the required /usr/bin/nvidia-modprobe file may not exists. This is a special executable for the NVIDIA proprietary installation. The display driver is hard-coded to look for nvidia-modprobe residing in /usr/bin. I do not recall if a symbolic link will suffice, but vaguely remember not.

$ sudo cp -a /opt/nvidia/bin/nvidia-modprobe /usr/bin/.

For user applications (running as a user), the nvidia-modprobe utility is what loads NVIDIA modules automatically (as root behind the scene). For example, running clinfo as a normal user works fine. That command too requires NVIDIA uvm.

$ ls -l /usr/bin/nvidia-modprobe 
-rwsr-xr-x 1 root root 39240 Aug 14 18:27 /usr/bin/nvidia-modprobe
1 Like