Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums DaVinci Resolve CUDA acceleration in preview window but no when render to the file (Windows)

  • CUDA acceleration in preview window but no when render to the file (Windows)

    Posted by Tomasz Swierczynski on February 16, 2012 at 3:45 pm

    Hi everybody, first of all I apologise for my bad English. I’m very new into colour grading software – I just started playing with a free version of DaVinci Resolve for Windows (beta 2,3 and recent 4). In my particular case, this software not utilise any GPU acceleration when exporting (rendering) to the file (no matter which codec I use). On beginning of rendering, for a short while (a second)I can see a green bar (in the top left corner, just after word “GPU”) indicating that some acceleration is in use, with fps count 10-15. Then green bar turns into red and disappear completely – fps count dropped just to 4-6, which is clearly only CPU based. But when I preview video in Resolve player/preview window, GPU/CUDA real-time acceleration working fine – GPU green bar appear all the time. I suspect, is that because in Resolve’s preview mode only decoding is in use and there are no further encoding or disk writing operations.
    I have just one, not particularly fast hard drive in my system. However I set a temporary ramdisk as a fast output drive for my test files but the problem remains. Is possible that my CPU (AMD Phenom II X6 1055T) is not fast enough to cooperate stable with GPU (ASUS NVidia GTX 560 Ti 1GB) with decoding-encoding job? Or this is caused by a single hard drive reading/writing bottleneck? Not enough of RAM (I have 16GB)? Or I just missed a “magic” setting in configuration menu/file/registry key?
    I already tried the latest stable and beta drivers from Nvidia.
    Thanks
    Tom

    Tomasz Swierczynski replied 14 years, 3 months ago 5 Members · 11 Replies
  • 11 Replies
  • Ola Haldor voll

    February 16, 2012 at 4:02 pm

    I can’t imagine your computer isn’t utilizing the GPU. The manual clearly states

    DaVinci Resolve uses GPUs for image processing, so the GPU status indicates the percentage of use that the current color correction demands of the GPU. A full green indication shows there is plenty of GPU headroom. As the GPU processing resources are used by additional color correction the green bars will reduce. A flashing red indication means that the GPU is unable to consistently process the correction in real time.

    The fact that you can play the video means things are working as they should. During rendering, its perfectly normal that performance goes down. This is due to the writing speed of your hard drives and how powerful the CPU is, which, if I’m not mistaken, is responsible for moving data and writing it to the HDD.

    But then again, this is a BETA. Things will break. So report it to davincihelp@blackmagic-design.com anyway.

    And not least, this is on a totally new platform for DaVinci Resolve. It will take a little time until things are perfectly normal. The problem is that there are thousands of different configuration possibilities. BMD can only support so much, and that’s the reason they have put a few high-end systems in their conig guide – because they know they can do the job properly.

    It would be helpful to know what read/write speeds you’re getting. Use BMDs own speed check and tell us the numbers you get on the different drives you use for media/rendering.

  • Vladimir Kucherov

    February 16, 2012 at 4:08 pm

    Also remember, during playback, your computer is reading video, processing the image, and that’s it.

    During render, it also has to compress, and write frames to disk, so, depending on drives and CPU bottlenecking, framerate WILL drop compared to playback.

  • Tomasz Swierczynski

    February 16, 2012 at 4:20 pm

    Thank you for quick response. So if I understand correctly, if there is no green or red bar after “GPU”, that’s mean that GPU resources are utilised in 100%? I thought it was the other way around – that longer green bar shows bigger GPU utilisation. Once again thank you very much.
    Tom

  • Ola Haldor voll

    February 16, 2012 at 9:43 pm

    As I interpret this – yes.

  • Peter Chamberlain

    February 17, 2012 at 12:52 am

    Resolve uses CUDA for image processing and the CPUs for decompression and compression, disk I/O, memory buffer etc… my guess is the system config you have does not match the config guide so you are interpreting the GPU meter and slow speed of renders as a CUDA issue but its not. If you can play in real time and render a fraction of that the issue is likely disk I/O. One disk is too few for a compressed HD image. Try playing back from one and rendering to a second. That way the drives don’t need to change from read to write for each frame. The 1GB of ram in the GPU will also reach its limits if you have a few nodes, and you don’t mention the UI GPU, which should be separate.

    Sounds like the application is working as it should given the hardware config.
    Peter

  • Lauri Laidna

    February 17, 2012 at 11:48 am

    I understand that you are only using 1 GPU for both UI and GPU? From my experience when I only had one 1GB GTX285 installed, it did get slower and slower and slower. I think the memory (1GB) ran out. After restarting Resolve it was fast again for a while. With additional GPU for UI the same GTX285 does not show such problem.

    I think this is your case also. So please use 2 GPU cards like suggeste by DaVinci.

    Also try different output types (containers/codecs). Just did a test. Quicktime H264 got me 15fps, while Avid DNxHD 1080p 36 got 50-60fps rendering speed! Find your (or program) bottlenecks and try to avoid them. I hadn’t rendered out to H264 before from Resolve – this looks to be very slow and not optimized yet, CPUs were very little utilezed.

    Have Task Manager runnig at all times and GPU-Z for GPU monitoring. This way you will see what is maxing out on your system.

  • Tomasz Swierczynski

    February 17, 2012 at 12:15 pm

    Yes – I had a pop up message when Resolve started that this software working better with two graphic cards – one for GUI and another for CUDA acceleration. If this GUI card is for display only – that, in my opinion, could be any card supporting full HD resolution – not necessarily another CUDA compatible NVidia . Why not i.e. my on-board chip ATI 4250? So I turned on my ATI and plugged my monitor to it. The pop up message is now gone, but slow rendering problem remains. That possibly means, sadly for me, that GTX 560 Ti with 1GB ram is not efficient enough to work with DaVinci Resolve.

  • Lauri Laidna

    February 17, 2012 at 1:14 pm

    Yes, any card is fine for monitors. In my case it is still nVidia because of Adobe and Avid.

    GTX 560 Ti by the specs looks more powerful than GTX285 that I’ve used most. 560Ti has 384 cores while 285 has only 240. So 560Ti should be more than enough for even quite complex grading! You should get more than 50 fps rendering most of the time!

    What codec are you rendering out to? Try Avid DNxHD 1080p. Are you running striped RAID? Rendering from one drive to another?

    Sidenote: Looks like Resolve’s Quicktime h264 and MPEG4 encoding is done by a 32-bit process and it is VERY SLOW. Not utilizing CPU power available.

  • Tomasz Swierczynski

    February 17, 2012 at 1:34 pm

    As I mentioned, I have just one, SATA 3, but still slow hard drive. This could be the possible bottleneck in my system. I’ve just ordered two additional Sagate Barracudas 7200. I hope they will solve my problem.

  • Ola Haldor voll

    February 17, 2012 at 1:50 pm

    Did you read what we suggested? It doesn’t look like the bottleneck is the GPU. It’s most probably the CPU and/or hard drives you read/write to.

Page 1 of 2

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy