You are not logged in.

#1 2020-10-18 21:15:51

QueenVakarian
Member
Registered: 2019-09-18
Posts: 10

[SOLVED] OBS "Failed to Open NVENC codec" after Nvidia Driver Update

Hello,

OBS is not recognizing my new Nvidia drivers after updating today (455.28-4 > 455.28-7) I've rebooted - no luck. I attempted to revert the driver back, however, my Xorg refuses the start when I do that. Nothing additional with Nvidia was updated other than the driver (no utils or settings).

I get the below error when attempting to record with OBS:

[h264_nvenc @ 0x5604fdea8c80] dl_fn->cuda_dl->cuInit(0) failed -> CUDA_ERROR_UNKNOWN: unknown error
warning: [NVENC encoder: 'simple_h264_recording'] Failed to open NVENC codec: Unknown error occurred

I'm not sure what my next step should be if I'm unable to revert the driver back.

Last edited by QueenVakarian (2020-10-18 21:26:25)

Offline

#2 2020-10-18 21:20:43

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 8,414

Re: [SOLVED] OBS "Failed to Open NVENC codec" after Nvidia Driver Update

Nothing? Not even the kernel? If not, you're doing things very wrong.

Offline

#3 2020-10-18 21:23:00

QueenVakarian
Member
Registered: 2019-09-18
Posts: 10

Re: [SOLVED] OBS "Failed to Open NVENC codec" after Nvidia Driver Update

Yes the kernel did as well among others.
Sorry, I fixed the language to specifically speak to updates that would apply to Nvidia.

Offline

#4 2020-10-18 21:24:36

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 8,414

Re: [SOLVED] OBS "Failed to Open NVENC codec" after Nvidia Driver Update

The kernel's the main issue here. It's been covered in other threads, and in plenty of linux news outlets.

Offline

#5 2020-10-18 21:25:57

QueenVakarian
Member
Registered: 2019-09-18
Posts: 10

Re: [SOLVED] OBS "Failed to Open NVENC codec" after Nvidia Driver Update

Oh ok! Sorry for the post. I should have looked further.

Is it worth reverting the kernel back or is that a huge headache?

Offline

#6 2020-10-23 06:02:58

artemklevtsov
Member
Registered: 2015-08-24
Posts: 2

Re: [SOLVED] OBS "Failed to Open NVENC codec" after Nvidia Driver Update

I have the same problem on 2 Arch Linux installations.

[h264_nvenc @ 0x559bc8871280] dl_fn->cuda_dl->cuInit(0) failed -> CUDA_ERROR_UNKNOWN: unknown error
warning: [NVENC encoder: 'recording_h264'] Failed to open NVENC codec: Unknown error occurred

Package versions:

- obs-studio 26.0.2-2
- nvidia-dkms 455.28-1
- linux-zen 5.9.1.zen2-1
- linux-zen-headers 5.9.1.zen2-1

Offline

#7 2020-10-23 06:08:36

progandy
Member
Registered: 2012-05-17
Posts: 4,225

Re: [SOLVED] OBS "Failed to Open NVENC codec" after Nvidia Driver Update

As mentioned in the news, anything other than pure graphics is currently broken in a nvidia/linux5.9 setup.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

Board footer

Powered by FluxBB