[Solved AMD&DNxHR] Render cache fusion output 100% Crash

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

human890209

  • Posts: 5
  • Joined: Tue Sep 15, 2020 1:44 pm
  • Real Name: Yuelong YANG

[Solved AMD&DNxHR] Render cache fusion output 100% Crash

PostTue Sep 15, 2020 2:04 pm

Diagnostics Log Zip:
DaVinci-Resolve-logs-20200915-212200.zip
Diagnostics Log Zip
(833.13 KiB) Downloaded 4 times


I tested with simple project simple contents, crashed 100%.

New project. Add 1 short clip to the timeline. Go to the Fusion page. Add a simple fusion element and merge it. Go to the Edit page. Trigger Render cache fusion output. Render status red line displayed. Freeze 3~5 seconds. Crash!

I tested with very simple fusion contents as a Text merged with my clip or a Background merged with my clip. No matter how I trigger Render cache fusion output, Davinci Resolve crashed.

Other functions works, only fusion cache rendering. Help!

I tried older versions like 16.1 and 15.3, got the same crash behavior.
Last edited by human890209 on Thu Sep 17, 2020 12:26 am, edited 1 time in total.
Offline
User avatar

Dwaine Maggart

Blackmagic Design

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

Re: [Crash Dump] Help! Render cache fusion output 100% Crash

PostTue Sep 15, 2020 5:37 pm

Export a project export .drp of your Test project to your cache path:

C:\Users\human\Videos\Davinci Resolve Cache

This is to validate that Resolve can actually write to that path.

If that works, please send the .drp file.

Please also provide a Windows System Information .NFO file.
Dwaine Maggart
Blackmagic Design DaVinci Support
Offline

human890209

  • Posts: 5
  • Joined: Tue Sep 15, 2020 1:44 pm
  • Real Name: Yuelong YANG

Re: [Crash Dump] Help! Render cache fusion output 100% Crash

PostWed Sep 16, 2020 12:07 am

Hi,
The test.drp file can be written to C:\Users\human\Videos\Davinci Resolve Cache

I zip test.drp and Windows Info.nfo into drp&nfo.zip here.
drp&nfo.zip
(311.81 KiB) Downloaded 4 times


These 2 files are generated without a new crash. I think they match with the log.zip of Davinci Resolve.

I will trigger the crash several times and send you new set files to make sure today's crash is all done by Davinci Resolve 16.2.6.
Offline
User avatar

Dwaine Maggart

Blackmagic Design

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

Re: [Crash Dump] Help! Render cache fusion output 100% Crash

PostWed Sep 16, 2020 3:30 am

You are using a generic Windows driver (432.00) for the GTX 960 GPU.

Go to the NVIDIA Driver Download site and download and install the current driver for the GTX 960, which at the moment is: 452.06.
Dwaine Maggart
Blackmagic Design DaVinci Support
Offline

human890209

  • Posts: 5
  • Joined: Tue Sep 15, 2020 1:44 pm
  • Real Name: Yuelong YANG

Re: [Crash Dump] Help! Render cache fusion output 100% Crash

PostWed Sep 16, 2020 3:33 am

Solved myself. Thanks for your tip about windows nfo file.

I got some clues. DNxHR.dll doesn't work perfectly with some old AMD CPU without SSSE3.1 instruction set.
Older post: viewtopic.php?t=39949

I tested more on DNxHR.dll, I could deliver video with DNxHR codec. I could import the delivered DNxHR video into media.
Render Color Output with DNxHR works. But Render Fusion Ouput will crash Davinci Resolve. No chance to save my project.

So as an old AMD user, things get a bit hardcore. 2 walkarounds for me:
A: Change render cache format to other format for every project. DNxHR should works in other situations for now.
B: Renamed the DNxHR.dll into DNxHR_backup.dll. It cancels all the DNxHR option in Resolve. DNxHR files can't be imported into media pool and deliver as Output codec.

I choose walkaround A for now. Final test is adding fusion to the delivered DNxHR clips and render cache into GoPro CineForm, no crash!

Maybe there is still some improvement could be done with DNxHR.dll or Davinci Resolve.
I hope Davinci Resolve could add some benchmark or test wizard to test the situations and combinations automatically. If error happens, report to the user before he starts a real project. If a fatal bug is found later, fixing the whole project takes much time.

Here's my test log:

------Crash Test 1
1 Create new project: crash test.
2 Go to Project Settings. Uncheck render fusion in user mode, change the Optimized media and Render Cach format into DNxHR HQ. Save.
3 Go to Media page add a clip.
4 Go to Edit page. Play the clip in media bin and set out point to get a small part of the clip, add to the end of timeline. The clip' duration is about 8 seconds.
5 Cut the clip of the timeline into 3 parts. Select the middle part.
6 Go to Fusion page. Add a white text ABC make it larger and merge with MediaIn1. Play it in Fusion page and it works. Save project.
7 Go to Edit page. Play the whole timeline. Everything works. Save project.
8 Check the Playback>Render cache, it set to User. I guess after adding the first fusion it will automaticly change from None to User.
9 Right click the middle fusion clip, set Render Fusion Output from Auto to On.
10 Red line shows up. A short blue line in the middle near current frame I guess. Freeze.
11 Crash. Davinci Resolve window disappears.


I output the files and check windows report, it says DNxHR.dll crashed. I used to generate optimized media with DNxHR HQ, it worked.
I plan to generate optimized media of the clip with DNxHR before I crash it again.

------Crash Test 2
1 Open project crash test. (Output Crash Test 1 Log to Desktop)
2 Go to Edit page, right-click the clip, select generate optimiazed media. Processing... 10mins later optimized media is ready.
3 Go to Playback, make sure Use optimized media if available checked.
4 Play the whole timeline, everything works.
5 Go to Playback click Delete render cache > All. Make sure last crash's render cache is deleted if it exists. Save project.
6 Right click the middle fusion clip, set Render Fusion Output from Auto to On.
7 Red line shows up. Freeze.
8 Crash. Davinci Resolve window disappears.


Windows report says DNxHR.dll crashed again.
I plan to set the render cache format into uncompressed format before I crash it again.

------Crash Test 3 (No crash: Uncompressed 10 bit)
1 Open project crash test. (Output Crash Test 2 Log to Desktop)
2 Go to Project Settings. Change the Optimized media and Render Cach format into Uncompressed 10 bit. Save.
3 Go to Edit Page. Play the whole timeline. Everything works. Save project.
4 Go to Playback click Delete render cache > All. Make sure last crash's render cache is deleted if it exists. Save project.
5 Right click the middle fusion clip, set Render Fusion Output from Auto to On.
6 Red line shows up. Turn into Blue line. No crash!

This time render into uncompressed 10 bit no crash. I plan to test with the Title Zipper which is the starter of my crashing experiences

7 Go to Effects Library > Titles. Add Title Zipper above the 3rd clip.
8 Check show all video frames. Play the 3rd clip to render every frame into RAM I guess.
9 Play the whole timeline. Everything works in 24fps. Save Project.
5 Right click the 3rd fusion clip, set Render Fusion Output from Auto to On.
6 Red line shows up. Turn into Blue line. No crash!
7 Play the whole timeline. Everything works. Save Project.
8 Close Davinci Resolve. Restart it to check if the render cache really works.
9 Open crash test.
10 Go to Edit page. Make sure show all video frames is checked.
11 Play the whole timeline. Everything works in 24fps. Render is working. Save project.

No crash. I plan to delete the optimized media and test again.

-------Crash Test 4 (No crash)
1 Go to Playback, set Render cache to None.
2 Delete optimized media.
3 Delete render cache > All. Save Project.
4 Set Render cache to User.
5 Red line into blue line. No crash.
6 Play the whole timeline. Everything works. Save Project.

No crash. I plan to try other cache file format.

-------Crash Test 5 (No crash: Uncompressed 16 bit HDR)
1 Go to Playback, set Render cache to None.
2 Delete render cache > All.
3 Go to Project Settings. Change the Optimized media and Render Cach format into Uncompressed 16 bit float HDR. Save.
4 Set Render cache to User.
5 Red line into blue line. No crash.
6 Play the whole timeline. Everything works and my PC is not good enough for this HDR format, playback is about 15~16fps. Save Project.

-------Crash Test 6 (No crash: GoPro CineForm RGB 16 bit)
1 Go to Playback, set Render cache to None.
2 Delete render cache > All.
3 Go to Project Settings. Change the Optimized media and Render Cach format into GoPro CineForm RGB 16 bit. Save.
4 Set Render cache to User.
5 Red line into blue line. No crash.
6 Play the whole timeline. Everything works in 24fps. Save Project.

-------Crash Test 7 (No crash: GoPro CineForm YUV 10 bit)
1 Go to Playback, set Render cache to None.
2 Delete render cache > All.
3 Go to Project Settings. Change the Optimized media and Render Cach format into GoPro CineForm YUV 10 bit. Save.
4 Set Render cache to User.
5 Red line into blue line. No crash.
6 Play the whole timeline. Everything works in 24fps. Save Project.

No crash. I plan to try DNxHR SQ.

-------Crash Test 8 (Crashed: DNxHR SQ)
1 Go to Project Settings. Change the Optimized media and Render Cach format into DNxHR SQ. Save.
2 Crashed.
Offline

human890209

  • Posts: 5
  • Joined: Tue Sep 15, 2020 1:44 pm
  • Real Name: Yuelong YANG

Re: [Crash Dump] Help! Render cache fusion output 100% Crash

PostWed Sep 16, 2020 3:41 am

Dwaine Maggart wrote:You are using a generic Windows driver (432.00) for the GTX 960 GPU.

Go to the NVIDIA Driver Download site and download and install the current driver for the GTX 960, which at the moment is: 452.06.


I use 452.06 before the crash is found. I tried different versions of Davinci Resolve and Nivida Drivers yesterday, same crashes. As it is old AMD and DNxHR.dll problem, I switch back to 452.06 now.
Offline
User avatar

Dwaine Maggart

Blackmagic Design

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

Re: [Crash Dump] Help! Render cache fusion output 100% Crash

PostWed Sep 16, 2020 4:33 pm

I was going to mention that your CPU won't work with BRAW files.

Interesting it has the DNxHR issue as well, that is only exposed when used to create cache files.

Thanks for posting your solution.
Dwaine Maggart
Blackmagic Design DaVinci Support
Offline

human890209

  • Posts: 5
  • Joined: Tue Sep 15, 2020 1:44 pm
  • Real Name: Yuelong YANG

Re: [Crash Dump] Help! Render cache fusion output 100% Crash

PostThu Sep 17, 2020 12:25 am

Thanks for your BRAW file tip.

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bing [Bot], Dave Shortman, Domingo Olmo Martin, Google [Bot], JeffLeinbaugh, Johannes Hoffmann, John Griffin, Lucas D. and 65 guests