LogoopenSUSE Build Service > Projects
Sign Up | Log In

NVidia proprietary display driver

NVidia proprietary display driver.

Source Files

Filename Size Changed Actions
50-nvidia.conf 1.08 KB 11 months ago Download File
NVIDIA-Linux-x86_64-384.59.run 78 MB 9 months ago
nvidia-driver.changes 143 Bytes over 1 year ago Download File
nvidia-driver.spec 11.9 KB 9 months ago Download File
nvidia-drm-outputclass.conf 215 Bytes 9 months ago Download File
preamble 29 Bytes 9 months ago Download File

Comments for home:nuklly (10)

josue jose regataos wrote 12 months ago

Hello,

The driver unfortunately is not working as Encode/Decode NVENC. I did the test with OBS Studio with NVENC enabled and with FFmpeg compiled with NVENC. Can we fix this together?

Xu Zhao nuklly wrote 12 months ago

Could you please tell me what command are you using in ffmpeg? My ffmpeg -encoders results return nvenc and nvenc_h264 normally.

josue jose regataos wrote 12 months ago

I already did the test. The problem is not in the FFmpeg with NVENC, but in the driver. With the other NVIDIA driver for openSUSE, known as "G04" (ftp://download.nvidia.com/opensuse/leap/42.2/), everything works perfectly with OBS Studio.

I noticed that the "nvidia-uvm" module is not enabled by default, other than the "G04" driver that activates the "nvidia-uvm" module by default. Actually, I really do not know if that's the problem.

If you want to test with FFmpeg + NVENC and OBS Studio, you can find FFmpeg+NVENC here (I even compiled it): https://build.opensuse.org/package/show/home:regataos/ffmpeg

(Google Translate)

Xu Zhao nuklly wrote 12 months ago

Could you please try run sudo modprobe nvidia-uvm and sudo nvidia-cuda-mps-server on your machine?

josue jose regataos wrote 12 months ago

OK. Well, no error messages appear with both commands. The nvidia_uvm module is running. However, NVENC still does not work.

OBS Studio's message on Terminal before the two commands are executed:

[h264_nvenc @ 0x244dbe0] Cannot init CUDA warning: [NVENC encoder: 'simple_h264_stream'] Failed to open NVENC codec: Unknown error occurred

OBS Studio's message on Terminal after the two commands are executed:

[h264_nvenc @ 0x2f91f80] OpenEncodeSessionEx failed: unsupported device (2) [h264_nvenc @ 0x2f91f80] No NVENC capable devices found warning: [NVENC encoder: 'simple_h264_stream'] Failed to open NVENC codec: Generic error in an external library

Xu Zhao nuklly wrote 12 months ago

How about you try "cd /usr/lib64/nvidia && sudo ln -s libcuda.so.1 libcuda.so && sudo ldconfig"?

josue jose regataos wrote 12 months ago

Yes. I did what you said and now NVENC works perfectly with OBS Studio and SimpleScreenRecorder. I run the following commands in order:

sudo modprobe nvidia-uvm sudo nvidia-cuda-mps-server cd /usr/lib64/nvidia sudo ln -s libcuda.so.1 libcuda.so sudo ldconfig

This is fantastic. Thank you. Thank you very much!

Xu Zhao nuklly wrote 12 months ago

Glad I can help. Thank you for using my package!

josue jose regataos wrote 12 months ago

:D

Xu Zhao nuklly wrote 8 months ago

Note: SUSE and Nvidia now provides "official" repo for Nvidia driver under Linux: https://download.nvidia.com/opensuse/tumbleweed/ I have switched to using the official packaging RPM and would recommend that.