OBS Studio 25.0.8: failing to record screen when using nvenc or vaapi codecs

Hello, i have an issue when i set nvenc or vaapi codec to record my screen with OBS. Gives error [NVENC encoder: 'recording_h264'] Failed to open NVENC codec: Unknown error occurred.
I attached the full log. 2020-05-08 22-52-17.log (4.5 KB)

Please check if the nvidia-uvm module is loaded, if not run
nvidia-modprobe -u
and then try running obs again.

Hi and thank you for your fast response.
It turned out that loading uvm module works with AUR version.