No hardware acceleration for proxy file generation?

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

boagz57

  • Posts: 22
  • Joined: Mon Apr 26, 2021 7:52 pm
  • Real Name: Jason Bogert

No hardware acceleration for proxy file generation?

PostSun Oct 02, 2022 6:48 pm

I'm curious as to when I can expect davinici resolve to utilize hardware acceleration. Does this feature apply to proxy file generation? I ask because my GPU it not being utilized for generating proxy files within resolve currently (even though my dedicated graphics card it checked in the preferences menu). Wasn't sure if this is expected behavior or if there was an issue here. My original video encodes use mostly the HVEC (H.265) codec but I thought I remembered seeing that Davinci supports hardware acceleration for this codec now.
Desktop
Computer: CPU[Ryzen 9 5900x] GPU[Gefore GTX 1660 Super 6GB VRAM, Driver ver 461.40] BIOS:[American Megatrends Inc. 4403]
OS: Windows 10 Pro Build 19044
Resolve: 18.0.4 (Paid Studio Version)
Offline
User avatar

Uli Plank

  • Posts: 21291
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: No hardware acceleration for proxy file generation?

PostSun Oct 02, 2022 8:42 pm

It does on the Mac. I think you need Studio for Windows, depending on codec.
No, an iGPU is not enough, and you can't use HEVC 10 bit 4:2:2 in the free version.

Studio 18.6.5, MacOS 13.6.5
MacBook M1 Pro, 16 GPU cores, 32 GB RAM and iPhone 15 Pro
Speed Editor, UltraStudio Monitor 3G, iMac 2017, eGPU
Offline

pixelated

  • Posts: 51
  • Joined: Fri Sep 09, 2022 1:27 am
  • Real Name: Barry Rubin

Re: No hardware acceleration for proxy file generation?

PostMon Oct 03, 2022 12:54 am

Is there a technical reason it only does so on the Mac?
Offline

boagz57

  • Posts: 22
  • Joined: Mon Apr 26, 2021 7:52 pm
  • Real Name: Jason Bogert

Re: No hardware acceleration for proxy file generation?

PostMon Oct 03, 2022 2:30 am

I do have the paid studio version for windows
Desktop
Computer: CPU[Ryzen 9 5900x] GPU[Gefore GTX 1660 Super 6GB VRAM, Driver ver 461.40] BIOS:[American Megatrends Inc. 4403]
OS: Windows 10 Pro Build 19044
Resolve: 18.0.4 (Paid Studio Version)
Offline

RCModelReviews

  • Posts: 1225
  • Joined: Wed Jun 06, 2018 1:39 am
  • Real Name: Bruce Simpson

Re: No hardware acceleration for proxy file generation?

PostMon Oct 03, 2022 3:28 am

boagz57 wrote:I do have the paid studio version for windows

Does it say "Studio" on the splash screen... plenty of people have paid for studio licenses and then downloaded or updated to the free version by mistake.
Resolve 18.1 Studio, Fusion 9 Studio
CPU: i7 8700, OS: Windows 10 32GB RAM, GPU: RTX3060
I'm refugee from Sony Vegas slicing video for my YouTube channels.
Offline

CougerJoe

  • Posts: 330
  • Joined: Wed Sep 18, 2019 5:15 am
  • Real Name: bob brady

Re: No hardware acceleration for proxy file generation?

PostMon Oct 03, 2022 6:29 am

boagz57 wrote:I'm curious as to when I can expect davinici resolve to utilize hardware acceleration. Does this feature apply to proxy file generation? I ask because my GPU it not being utilized for generating proxy files
My original video encodes use mostly the HVEC (H.265) codec but I thought I remembered seeing that Davinci supports hardware acceleration for this codec now.


It should Gpu decode your H.265 files if 4:2:0 color, but not 4:2:2 with your GPU, but unless you were building h.264 proxies using NVENC there isn't going to be any GPU encode. Gpu encoder does h.264/h.265 not any of the standard easy playback proxy formats.
Offline
User avatar

Uli Plank

  • Posts: 21291
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: No hardware acceleration for proxy file generation?

PostMon Oct 03, 2022 7:32 am

It's blazing fast here. It may be attractive to get a cheap Mac M1 only for proxy generation if you need that on a daily basis for professional work.
No, an iGPU is not enough, and you can't use HEVC 10 bit 4:2:2 in the free version.

Studio 18.6.5, MacOS 13.6.5
MacBook M1 Pro, 16 GPU cores, 32 GB RAM and iPhone 15 Pro
Speed Editor, UltraStudio Monitor 3G, iMac 2017, eGPU
Offline

boagz57

  • Posts: 22
  • Joined: Mon Apr 26, 2021 7:52 pm
  • Real Name: Jason Bogert

Re: No hardware acceleration for proxy file generation?

PostTue Oct 04, 2022 12:48 am

CougerJoe wrote:
boagz57 wrote:I'm curious as to when I can expect davinici resolve to utilize hardware acceleration. Does this feature apply to proxy file generation? I ask because my GPU it not being utilized for generating proxy files
My original video encodes use mostly the HVEC (H.265) codec but I thought I remembered seeing that Davinci supports hardware acceleration for this codec now.


It should Gpu decode your H.265 files if 4:2:0 color, but not 4:2:2 with your GPU, but unless you were building h.264 proxies using NVENC there isn't going to be any GPU encode. Gpu encoder does h.264/h.265 not any of the standard easy playback proxy formats.


Okay, I'll look into this. It seems like it does decode with my GPU with some videos so this could be it. Will test it tmmr
Desktop
Computer: CPU[Ryzen 9 5900x] GPU[Gefore GTX 1660 Super 6GB VRAM, Driver ver 461.40] BIOS:[American Megatrends Inc. 4403]
OS: Windows 10 Pro Build 19044
Resolve: 18.0.4 (Paid Studio Version)
Offline

ZRGARDNE

  • Posts: 684
  • Joined: Sun May 16, 2021 12:32 am
  • Real Name: Zeb Gardner

Re: No hardware acceleration for proxy file generation?

PostTue Oct 04, 2022 12:35 pm

This matrix details what GPU can accelerate what codec

https://www.pugetsystems.com/labs/artic ... udio-2122/
Offline
User avatar

joema4

  • Posts: 130
  • Joined: Wed Feb 03, 2021 3:26 pm
  • Real Name: Joe Marler

Re: No hardware acceleration for proxy file generation?

PostTue Oct 04, 2022 2:26 pm

boagz57 wrote:...My original video encodes use mostly the HVEC (H.265) codec but I thought I remembered seeing that Davinci supports hardware acceleration for this codec now...


I don't have a Windows machine to test but on my M1 Ultra Mac Studio running Resolve Studio 18.0.4 using a 4k/23.98 10-bit 4:2:2 HEVC source file, it generated 50% ProRes proxies at about 400 frames/sec. IOW it would take about 35 sec to create proxies on a 10-minute 4k/23.98 10-bit 4:2:2 HEVC source clip. At least on that platform it seems to be using hardware acceleration for decode and probably for ProRes encode but even with hardware acceleration it's probably throttled by the single-stream HEVC decode rate. The performance was about equal between FCP 10.6.4 and Resolve Studio 18.0.4 on this hardware, which shows how fast Resolve is despite being multi-platform.

I then tried using Apple Compressor (which can transcode multiple streams in parallel) to create proxies on four 10-bit 4:2:2 HEVC input files, and the aggregate conversion rate was 620 frames/sec, so definitely not linear performance scaling (despite the Ultra CPU's four independent decode/encode units). As nVidia and AMD begin creating GPUs with multiple video accelerators, that will be an interesting to watch on Windows platforms -- IOW how well parallel encode/decode tasks scale across the multiple units. Using Apple Compressor on M1 Ultra, it's not currently working as well as you might hope.
Offline

boagz57

  • Posts: 22
  • Joined: Mon Apr 26, 2021 7:52 pm
  • Real Name: Jason Bogert

Re: No hardware acceleration for proxy file generation?

PostTue Oct 04, 2022 9:39 pm

I have a file which is davinci lists the codec as H.264 High 10 L4.1. The codec has the chroma subsampling of 4:2:0. However, davinici is not utilizing hardware decoding for this one. The following video information on it (from media info) is:

ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High 10@L4.1
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1 h 30 min
Bit rate : 7 349 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 23.976 (24000/1001) FPS
Minimum frame rate : 23.810 FPS
Maximum frame rate : 24.390 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.148
Stream size : 4.62 GiB (78%)
Title : [sergey_krs]
Writing library : x264 core 144 r2525 40bb568
Encoding settings : cabac=1 / ref=4 / deblock=1:-2:-2 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=0.70:0.00 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc=crf / mbtree=0 / crf=16.0 / qcomp=0.60 / qpmin=8 / qpmax=38 / qpstep=4 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00
Language : Japanese
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Menus : 4
Codec configuration box : avcC

Is there a reason this one won't be decoded with davinci? As mentioned previously other videos have worked with the hardware decode.
Desktop
Computer: CPU[Ryzen 9 5900x] GPU[Gefore GTX 1660 Super 6GB VRAM, Driver ver 461.40] BIOS:[American Megatrends Inc. 4403]
OS: Windows 10 Pro Build 19044
Resolve: 18.0.4 (Paid Studio Version)
Offline

VMFXBV

  • Posts: 577
  • Joined: Wed Aug 24, 2022 8:41 pm
  • Real Name: Andrew I. Veli

Re: No hardware acceleration for proxy file generation?

PostTue Oct 04, 2022 10:22 pm

boagz57 wrote:
Is there a reason this one won't be decoded with davinci? As mentioned previously other videos have worked with the hardware decode.


Have you checked that it doesn't use the GPU? In Task Manager tab you can see if it does. The default tab is set for 3D so it won't show utilization for anything else.

If you swap one of those tabs from the arrows you can choose Video Encode / Video Decode / Video Codec. Or something similar (its different for AMD and Nvidia) There it shows if the decoders are used or not.

If you already did that then this could be the weird issue : Frame rate mode : Variable. I don't think Resolve likes VFR...
AMD Ryzen 5800X3D
AMD Radeon 7900XTX
Ursa Mini 4.6K
Pocket 4K
Offline

boagz57

  • Posts: 22
  • Joined: Mon Apr 26, 2021 7:52 pm
  • Real Name: Jason Bogert

Re: No hardware acceleration for proxy file generation?

PostTue Oct 04, 2022 11:42 pm

VMFXBV wrote:
boagz57 wrote:
Is there a reason this one won't be decoded with davinci? As mentioned previously other videos have worked with the hardware decode.


Have you checked that it doesn't use the GPU? In Task Manager tab you can see if it does. The default tab is set for 3D so it won't show utilization for anything else.

If you swap one of those tabs from the arrows you can choose Video Encode / Video Decode / Video Codec. Or something similar (its different for AMD and Nvidia) There it shows if the decoders are used or not.

If you already did that then this could be the weird issue : Frame rate mode : Variable. I don't think Resolve likes VFR...


Ya, I checked the task manager and saw no usage of my GPU. It also took at least 5x as long to decode as some other of my videos so definitely no hardware acceleration. Now that you mention it I wanna say I saw somewhere the VFR does effect the decode (though I'm not 100 percent sure). My guess is the video is VFR given it has a min and max frame rate listed in that description?
Desktop
Computer: CPU[Ryzen 9 5900x] GPU[Gefore GTX 1660 Super 6GB VRAM, Driver ver 461.40] BIOS:[American Megatrends Inc. 4403]
OS: Windows 10 Pro Build 19044
Resolve: 18.0.4 (Paid Studio Version)
Offline

VMFXBV

  • Posts: 577
  • Joined: Wed Aug 24, 2022 8:41 pm
  • Real Name: Andrew I. Veli

Re: No hardware acceleration for proxy file generation?

PostTue Oct 04, 2022 11:57 pm

boagz57 wrote:
VMFXBV wrote:
Ya, I checked the task manager and saw no usage of my GPU. It also took at least 5x as long to decode as some other of my videos so definitely no hardware acceleration. Now that you mention it I wanna say I saw somewhere the VFR does effect the decode (though I'm not 100 percent sure). My guess is the video is VFR given it has a min and max frame rate listed in that description?


If the GPU isn't used then your CPU should spike upwards to 100% on a lot of cores.

And yes, because of that and also it says frame rate mode : variable. And its an x264 file (not hevc). Which means its most likely ffmpeg related (OBS maybe?). If OBS then VFR is a high probability.

But you should know where the files originated from.
AMD Ryzen 5800X3D
AMD Radeon 7900XTX
Ursa Mini 4.6K
Pocket 4K

Return to DaVinci Resolve

Who is online

Users browsing this forum: Google [Bot], John Nolan, pixeljunkie and 186 guests