flathub / com.obsproject.Studio

This repository is no longer used to build OBS. Issues should be reported at https://github.com/obsproject/obs-studio
https://github.com/obsproject/obs-studio
29 stars 21 forks source link

Failed to open NVENC codec: Unknown error occurred. Please make sure your video drivers are up to date. #89

Closed ewertonurias closed 2 years ago

ewertonurias commented 3 years ago

Operating System: openSUSE Tumbleweed 20201014 KDE Plasma Version: 5.20.0 KDE Frameworks Version: 5.75.0 Qt Version: 5.15.1 Kernel Version: 5.8.14-1-default OS Type: 64-bit Processors: 12 × AMD Ryzen 5 1600 Six-Core Processor Memory: 15.6 GiB of RAM Graphics Processor: GeForce GTX 960/PCIe/SSE2 Driver: x11-video-nvidiaG05 (450.80.02-32.1)

OBS Studio: 26.0.2 (Packman and Flathub): Output→Recording (Or Transmission)→Encoder: NVIDIA NVENC H.264:

"Failed to open NVENC codec: Unknown error occurred. Please make sure your video drivers are up to date."

sudo nvidia-modprobe -u -c=0 don't worked.

NVENC worked with me on other distributions, but I'm not getting it with openSUSE Tumbleweed.

Here are some screenshots, in case it helps.

image

image

jgrocha commented 3 years ago

Same problem here, on Ubuntu 20.04, nvidia drivers.

Uninstall flatpak version and install from ppa solves the issue. There is something related with packaging or permissions.

mystiquewolf commented 3 years ago

Same issue on Kubuntu 21.04. This project/package has a maintainer, hasn't it?

jgrocha commented 3 years ago

Maybe a duplicate of #83

TiZ-HugLife commented 2 years ago

I reently had a fight with this problem myself in Arch. Using NVENC requires the existence of the /dev/nvidia-uvm and /dev/nvidia-uvm-tools modules which aren't created even after loading the nvidia-uvm module. I documented what I had to do to make it work in the Arch Wiki. Maybe this info will help others facing this too.

TingPing commented 2 years ago

Added the Arch wiki link here: https://github.com/flathub/com.obsproject.Studio/wiki/NVENC-Support

GeorgesStavracas commented 2 years ago

Given this is not a bug in OBS Studio itself, nor in the Flathub package, I'll close this issue. If people file new issues with this problem but for different distros, let's increment that wiki page.