This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[HELP] Unable to encode with NVEnC
#1
Sad 
Hello Selur & others...

I recently upgraded my GPU to a RTX 5070. Latest drivers (game ready & studio) are installed.

I've been trying to encode using my GPU through NVenC but the job always crashes when starting.

Things i've done so far:

-Updated NvenC to version 9.0 

-Cleared cache tool info after copying and renaming NVEnCx64.exe to NVEnC.exe. (I also copied the rest of .dll from the latest NVEnC version into 64bit folder in Hybrid installation)

-Tool versions detects NVEnC as version 9

Jobs will always crash if "Use only encoder" checkbox is active, whatever the setting in NVEnC is. If not checked, the encoding will work but at my CPU speed (arround 165fps) and using 100% of the CPU and not even a 5% of my GPU.

I also tried checking the "Use gpu for decoding" box with no luck.

With my older GTX 1060, it used to encode at arround 350fps.

I'm attaching debug and report.

Thank you!


Report

Debug
Reply
#2
AFK atm try latest dev, will test tomorrow
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#3
What format is the input in?
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#4
(07.09.2025, 08:57)Selur Wrote: What format is the input in?

Hello, the file is YUV V210 (10 bit uncompressed). I've spent a few hours reading some documentation and it seems that uncompressed video is not compatible with CUDA (at least through this method)

It seems funny, but if using NVIDIA as an encoder in Resolve and inputting the same file in order to reencode into MP4, it will work with an estimate of 500fps. This got me confused.

Thank you!
Reply
#5
Yup, with 'only use encoder' Hybrid will tell NVEncC to use the hardware decoder chip which can only decode some stuff.
For some formats NVEncC will automatically switch to software decoding, but especially uncompressed usually is not supported.
Resolve uses software decoding. Smile
Side note: Software encoding can be faster depending on your hardware. Wink

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#6
(07.09.2025, 11:22)Selur Wrote: Yup, with 'only use encoder' Hybrid will tell NVEncC to use the hardware decoder chip which can only decode some stuff.
For some formats NVEncC will automatically switch to software decoding, but especially uncompressed usually is not supported.
Resolve uses software decoding. Smile
Side note: Software encoding can be faster depending on your hardware. Wink

Cu Selur

Thank you Selur,

Is there a way I can speed up encodings using both CPU and GPU ? I'm actually converting this file to ProRes422Proxy + QTGMC(faster)+BOB and getting arround 120fps.

My PC specs are:

-Intel I5 12400F (2.5Ghz)
-32 GB RAM DDR5 3200
-RTX 5070 12GB

Both file input and outpur are in the same NVME drive (WD SN850X)

Thanks again!
Reply
#7
Since Windows has no ProRes hardware encoding or decoding and your source isn't in a format that is supported by hardware decoder, only way where you can benefit for the gpu is during filtering.
Enabling both 'OpenCL' and 'DFTTest2' might help a bit.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)