Descrete GPU encoding not being used.

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

nigels

  • Posts: 2
  • Joined: Wed Mar 08, 2023 3:38 pm
  • Real Name: Nigel Spowage

Descrete GPU encoding not being used.

PostWed Mar 08, 2023 3:56 pm

Hi,

I'm new here and fairly new to Resolve so I apologise if this is a stupid question.

I'm using Resolve (free) 18.1.4 on a laptop with an integrated Intel UHD 630 graphics card along side a discrete NVidia GTX 1650. When exporting from Resolve I don't think the NVidia cards NVEnc encoder is being used (the video encode graph in task manager is 0%).

Video profiles.png
Video profiles.png (45.15 KiB) Viewed 1762 times


I have read that GPU encoding was added in 17.4 to the free version and that there should be an option to select the NCEnv encoder in the output profile but the only options I see are 'auto' and 'native'.

Am I missing something obvious ? Should I be able to use the 1650's nvenc encoder and if so how ?

This is what my GPU settings looks like:
Video profiles.png
Video profiles.png (45.15 KiB) Viewed 1762 times
Attachments
gpu options.png
gpu options.png (58.56 KiB) Viewed 1762 times
Offline
User avatar

Dwaine Maggart

Blackmagic Design

  • Posts: 11548
  • Joined: Wed Aug 22, 2012 2:53 pm

Re: Descrete GPU encoding not being used.

PostThu Mar 09, 2023 2:45 am

The 17.4 release note says this:

Hardware accelerated H.265 encodes on free version on Windows.

What that refers to is the native Windows encoder ability to do H.265 encoding using supported GPU hardware.

If you watch the Task Manager GPU performance graph while doing an H.265 QuickTime or MP4 render, you'll see the NVIDIA GPU being used in the Video Encode area.

Prior to 17.4, we did not use the native Windows encoder ability to use the GPU. It was limited to CPU processing.

All that said, for better encoding performance, we still recommend Resolve Studio.

Here is a performance comparison:

4K DNX -> 4K HEVC: (on RTX 3060)
Studio version using NvEnc: 47fps
Free version using Windows: 17fps
Dwaine Maggart
Blackmagic Design DaVinci Support
Offline

nigels

  • Posts: 2
  • Joined: Wed Mar 08, 2023 3:38 pm
  • Real Name: Nigel Spowage

Re: Descrete GPU encoding not being used.

PostThu Mar 09, 2023 8:48 am

Thanks Dwaine.

So it was a misunderstanding on my part. It seems the hardware encoding on Resolve (Free) is only for H265, where I thought it was for both H264 and H265. Trying an export using H265 shows the GPU encoder being used in task manager.
Offline
User avatar

Gary Hango

  • Posts: 891
  • Joined: Mon Apr 09, 2018 10:35 pm
  • Location: Left Coast
  • Real Name: Gary Hango

Re: Descrete GPU encoding not being used.

PostThu Mar 09, 2023 2:52 pm

Although you will see a boost in encoding speed of h265 on the free version, the bottleneck may be the cpu decoding of long GOP sources. The real speed increases will come from the Studio’s ability to hardware encode “and” hardware decode sources.
Microsoft Windows 10 Pro x64
Intel(R) Core(TM) i7-6700, 3.40GHz, 32.0 GB
MB: MSI, BIOS: American Megatrends Inc. A.60, 12/17/2015
NVIDIA GeForce GTX 960, 2Gb
Resolve 18.1.1.0007(Free)
Offline

Mario Kalogjera

  • Posts: 1202
  • Joined: Sat Oct 31, 2015 8:44 pm

Re: Descrete GPU encoding not being used.

PostFri Mar 10, 2023 8:17 am

I don't quite understand. If Windows HEVC encoder also calls out to the gpu encoder (NVEnc) acceleration in the free version, is it deliberately slowed down vs. the Studio version? DNxHR in Dwaine's example is not long GOP so that's not why it's so much slower. H.265 encoder was never available in CPU with Resolve so the only way to have h.265 was hardware encoder.

Sent from my Mi 9T using Tapatalk
Asus Prime X370-Pro+R7 3700X@PBO+32 GB G.Skill AEGIS DDR-4@3200MHz
Sapphire RX6700 10GB
Adata A400 120GB System,A2000 500GB Scratch SSDs
Media storage:"Always in motion is it"
BMD Mini Monitor 4K
Windows 11 Pro+Resolve Studio 18+Fusion Studio 18
Offline
User avatar

Gary Hango

  • Posts: 891
  • Joined: Mon Apr 09, 2018 10:35 pm
  • Location: Left Coast
  • Real Name: Gary Hango

Re: Descrete GPU encoding not being used.

PostFri Mar 10, 2023 3:08 pm

I believe the Microsoft HEVC (h265) encoder uses Media Foundation to make calls to the GPU for hardware encoding. This probably adds overhead to encoding speed. In the Studio version, the encoders are most likely created using the respective hardware’s SDKs.
Microsoft Windows 10 Pro x64
Intel(R) Core(TM) i7-6700, 3.40GHz, 32.0 GB
MB: MSI, BIOS: American Megatrends Inc. A.60, 12/17/2015
NVIDIA GeForce GTX 960, 2Gb
Resolve 18.1.1.0007(Free)

Return to DaVinci Resolve

Who is online

Users browsing this forum: bclontz, Bing [Bot], ericgu, Google [Bot], JulianB, panos_mts, Sergeant_Ranger, shestakov.video and 183 guests