You are not logged in.

#1 2024-02-23 08:23:41

wizardfanfare
Member
Registered: 2024-02-23
Posts: 2

OBS: Failed to open NVENC codec (NVENC already Installed)

I'm getting following error in OBS when I try to record with NVENC:

Failed to open NVENC codec: Unknown error occurred
Try installing the latest NVIDIA driver.

Installed packages:

libva-nvidia-driver 0.0.11-1
nvenc 7.41-1
nvenc-debug 7.41-1
nvidia 545.29.06-19
nvidia-utils 545.29.06-4
opencl-nvidia 545.29.06-4
cuda 12.3.2-1
ffmpeg-cuda 1:6.1-2
ffmpeg-cuda-debug 1:6.1-2

awk '/H264|HEVC/' <<<$(vdpauinfo)  output:

H264_BASELINE                  51 65536  4096  4096
H264_MAIN                      51 65536  4096  4096
H264_HIGH                      51 65536  4096  4096
H264_CONSTRAINED_BASELINE      51 65536  4096  4096
H264_EXTENDED                  51 65536  4096  4096
H264_PROGRESSIVE_HIGH          51 65536  4096  4096
H264_CONSTRAINED_HIGH          51 65536  4096  4096
H264_HIGH_444_PREDICTIVE       51 65536  4096  4096
HEVC_MAIN                      153 262144  8192  8192
HEVC_MAIN_10                   153 262144  8192  8192
HEVC_MAIN_STILL                --- not supported ---
HEVC_MAIN_12                   153 262144  8192  8192
HEVC_MAIN_444                  153 262144  8192  8192
HEVC_MAIN_444_10               153 262144  8192  8192
HEVC_MAIN_444_12               153 262144  8192  8192

awk '/nvidia|vdpau/' <<<$(pacman -Qe)  output:

libva-nvidia-driver 0.0.11-1
nvidia 545.29.06-19
vdpauinfo 1.5-1

awk '{for (I=1;I<=NF;I++) if ($I ~ "nvenc") print $I}' <<<$(ffmpeg -codecs 2>&1) output:

--enable-nvenc
av1_nvenc
h264_nvenc
hevc_nvenc

Its official OBS flatpak package. What might be the problem?

Offline

#2 2024-02-23 08:34:17

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,923

Re: OBS: Failed to open NVENC codec (NVENC already Installed)

The entire point of flatpak is that all those libs should be irrelevant... Have you tried reproducing with the repo package? Which nvidia driver is installed in the flatpak?

Offline

#3 2024-02-23 09:57:44

wizardfanfare
Member
Registered: 2024-02-23
Posts: 2

Re: OBS: Failed to open NVENC codec (NVENC already Installed)

I could get the app work with the repo package due to some QT error.
OBS package works fine except this nvenc error.

These are the drivers installed in flatpak

flatpak list | grep nvidia
nvidia-545-29-06    org.freedesktop.Platform.GL.nvidia-545-29-06        1.4    system
nvidia-545-29-06    org.freedesktop.Platform.GL32.nvidia-545-29-06        1.4    system

Edit: I fixed the QT issue. It was easier than fixing the problem with the flatpak build.

Last edited by wizardfanfare (2024-02-23 10:21:29)

Offline

Board footer

Powered by FluxBB