Bug 1173862

Summary: hardware encoding not working with nvidia driver provided by repository
Product: [openSUSE] openSUSE Distribution Reporter: Cor Blom <cornelis>
Component: X11 3rd Party DriverAssignee: Stefan Dirsch <sndirsch>
Status: RESOLVED DUPLICATE QA Contact: Stefan Dirsch <sndirsch>
Severity: Normal    
Priority: P5 - None    
Version: Leap 15.2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Cor Blom 2020-07-07 20:57:29 UTC
When I install the nvidia driver from https://download.nvidia.com/opensuse/leap/15.2/ ffmpeg with nvenc does not work as normal user. It does work under root.

When I install the driver directly (the so-called hard way) ffmpeg with nvenc *does* work under a normal user account.

I see this when executing a command like:

ffmpeg -i input.mp4 -c:v h264_nvenc out.mp4

I found similar issues on the forum:

* https://forums.opensuse.org/showthread.php/540150-NVidia-installer-broke-CUDA-support-for-Repo-driver

* https://forums.opensuse.org/showthread.php/538981-Blender-and-Davinci-resolve-can-t-see-Graphics-cards-after-fresh-Tumbleweed-install
Comment 1 Cor Blom 2020-07-07 21:39:59 UTC
Just saw bug #1173733. Seems to be the same.
Comment 2 Stefan Dirsch 2020-07-07 23:24:08 UTC
Indeed this looks like a duplicate.

*** This bug has been marked as a duplicate of bug 1173733 ***