Jump to content

nvenc not being detected (Emby 4.4.3.0, Ubuntu 20.04, 1050Ti)


Recommended Posts

Karunamon
Posted (edited)

Hi all,

I'm running inside an ESXi VM with the 1050Ti passed through, emby installed using the .debĀ file from the download page. Using the Nvidia drivers v450.57.

No nvenc encoders/decoders are visible on the server > transcoding page, and all transcoding appears to be happening through the CPU when playback is attempted.

The hardware detection log shows nvenc being detected successfully at its end, and I can also see it being found if I manually run:

/opt/emby-server/bin/ffdetect -hide_banner -show_program_version -loglevel 99 -show_error -show_log 99 -print_format json nvencdec

(attached as well).

This is a fresh install on a fresh system.

I'm kinda at the end of my rope here. Any ideas what I need to do to get this activated?

Thanks!

hardware_detection-63731380471.txt embyserver.txt ffdetect.txt

Edited by Karunamon
Posted

Premiere?

Karunamon
Posted
42 minutes ago, speechles said:

Premiere?

Yep.

Karunamon
Posted

Found the solution here.

I noticed that nvidia-smi was returning an error:

'Unable to determine the device handle for GPU 0000:03:00.0: Unknown Error'

To fix this under ESXi, an option has to be added to the VMX file for the VM, which prevents the Nvidia driver from realizing that it's being run under a VM:

hypervisor.cpuid.v0 = "FALSE"

After this, nvidia-smi shows the information as expected, and the hardware transcoding settings page is populated, and all my videos now playback gloriously fast :)

Posted

Thanks for the feedback !

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...