Optimized Media crashes, "Media Offline" and other issues

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

wolfgang.b

  • Posts: 5
  • Joined: Fri Jan 29, 2021 8:01 am
  • Real Name: Wolfgang Brömmelkamp

Optimized Media crashes, "Media Offline" and other issues

PostFri Jan 29, 2021 8:27 am

I've been having issues with Optimized Media on my machine. When I import H.264 files recorded in OBS, the timeline scrubbing is very choppy and I basically can't play them back until the Optimized Media versions are generated. However, when I work on the timeline with Optimized Media, Davinci would sometimes quit without any warning. No error message, nothing. At the same time, the Davinci process would stay open (I can still see it in the Task Manager) and consume GPU memory and RAM. Unless I kill it manually, the new instance of Davinci would quickly run out of GPU memory and, once again, crash.

Moreover, the generated Optimized Media files would randomly go offline, with "Media Offline" screen being played back instead of the actual files. This happens intermittently and requires me to restart the application mid-work, which is really frustrating.

I have a 12-core CPU and a 3080, so yes, my computer is powerful enough for 4k25p footage.

Things I've tried that didn't help:
  • Changing the Optimized Media format – currently set to DNxHQ, switching formats doesn't help.
  • Setting a scratch drive to a non-boot NVMe SSD
  • Reinstalling Windows
  • Upgrading my hardware – used to have Ryzen 2600 and NVIDIA 2060 Super
  • Downgrading to the latest stable versions and upgrading to the last Public Beta
My hardware configuration:
  • AMD Ryzen 5900X
  • NVIDIA RTX 3080 10G
  • 32GB DDR4 3600Mhz CL18
  • Reinstalling the NVIDIA drivers, installing a newer version, downgrading, installing Studio Drivers, etc.

Software configuration:
  • Windows 10 20H1
  • Nvidia Drivers
  • Davinci Resolve Studio 17 Public Beta 6 (the problem also persists on stable versions (16.x))

Relevant lines in the logs:

Code: Select all
[0x00003270] | DVIP  | ERROR | 2021-01-27 21:42:04,055 | cudaMalloc failed: Requested size 19.0 MiB
[0x00003270] | DVIP  | ERROR | 2021-01-27 21:42:04,055 | DeviceResourceTypeCUDA.cpp:97: CUDA error cudaErrorMemoryAllocation (2)
[0x00003270] | DVIP | ERROR | 2021-01-27 21:42:04,055 | Cuda Memory Status : free 0.0 MiB total 10240.0 MiB
[0x00003138] | IO | ERROR | 2021-01-27 21:42:04,055 | Nvidia codec fails to create decoder 2
[0x00003138] | IO | ERROR | 2021-01-27 21:42:04,055 | Nvidia codec fails to parse video data 999
[0x00003138] | IO | ERROR | 2021-01-27 21:42:04,055 | 3rd Party Decode Err(Failed to decode the video frame.)
[0x00003270] | GPU.SingleBoardMgr   | ERROR | 2021-01-27 21:42:04,055 | DVIP exception caught: DVIP Exception: Position DeviceResourceTypeCUDA.cpp:97
 - API: CUDA
 - API Error Code: cudaErrorMemoryAllocation (2)
 - Call stack:
   00007FF771261AED
   00007FF771357431
   00007FF771355DD6
   00007FF771356556
   00007FF771356BB3
   00007FF7713587A4
   00007FF773720E50
   00007FFA284D1080
   00007FFA284D26B5
   00007FFA2F0F0486
   00007FF771359D3A
   00007FF771316731
   00007FF7713152BB
   00007FF7712836A4
   00007FF772CFD798
   00007FF772CFD1C8
   00007FF772CCCC7A
   00007FF772D41ECB
   00007FF772CE41D1
   00007FF772CB9FF8
   00007FF772C0A296
   00007FF772C077F6
   00007FF772C08CE8
   00007FF772C04809
   00007FFA2CFD14C2
   00007FFA2DF97034
Offline

Jim Simon

  • Posts: 34455
  • Joined: Fri Dec 23, 2016 1:47 am

Re: Optimized Media crashes, "Media Offline" and other issue

PostFri Jan 29, 2021 3:41 pm

I always recommend hardware recorders for screen capture you intend to edit. They typically offer editing friendly options like DNx and ProRes, whereas software normally doesn't.

https://www.blackmagicdesign.com/produc ... ideoassist
My Biases:

You NEED training.
You NEED a desktop.
You NEED a calibrated (non-computer) display.
Offline

wolfgang.b

  • Posts: 5
  • Joined: Fri Jan 29, 2021 8:01 am
  • Real Name: Wolfgang Brömmelkamp

Re: Optimized Media crashes, "Media Offline" and other issue

PostFri Jan 29, 2021 5:32 pm

Jim Simon wrote:I always recommend hardware recorders for screen capture you intend to edit. They typically offer editing friendly options like DNx and ProRes, whereas software normally doesn't.

That sounds like a solid option, but not very cost efficient since it starts at $495. Resolve should normally be able to handle H264 footage (I have no issues with the videos filmed on my A6400)
Offline
User avatar

Uli Plank

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

Re: Optimized Media crashes, "Media Offline" and other issue

PostSun Jan 31, 2021 5:16 am

Yes, it's all fine with camera recordings. Unfortunately, OBS is not delivering constant frame rates, like every camera other than those in smartphones. Resolve is incompatible with such files. Get an amateur editing software, they are more tolerant.
My disaster protection: export a .drp file to a physically separated storage regularly.

Studio 19.1.3
MacOS 13.7.4, 2017 iMac, 32 GB, Radeon Pro 580 + eGPU
MacBook M1 Pro, 16 GPU cores, 32 GB RAM, MacOS 14.7.2
SE, USM G3
Offline

wolfgang.b

  • Posts: 5
  • Joined: Fri Jan 29, 2021 8:01 am
  • Real Name: Wolfgang Brömmelkamp

Re: Optimized Media crashes, "Media Offline" and other issue

PostTue Feb 09, 2021 5:47 pm

Uli Plank wrote:Yes, it's all fine with camera recordings. Unfortunately, OBS is not delivering constant frame rates, like every camera other than those in smartphones. Resolve is incompatible with such files. Get an amateur editing software, they are more tolerant.


The framerate is locked at 60FPS in my OBS Settings, so no, variable FPS is not the issue.
Apart from that, I just realized that the crashes also happen without OBS footage on the timeline – it seems that anything that isn't camera footage will sooner or later cause Resolve to crash. Screencasts recorded with QuickTime on macOS cause similar issues and won't render properly – the resulting files contain artifcats and 'glitches'
Offline
User avatar

Uli Plank

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

Re: Optimized Media crashes, "Media Offline" and other issue

PostTue Feb 09, 2021 11:52 pm

When there is heavy load on the machine besides OBS itself, like gameplay, in my experience OBS doesn't respect that setting anymore. You can check for free with MediaInfo (second tab).
My disaster protection: export a .drp file to a physically separated storage regularly.

Studio 19.1.3
MacOS 13.7.4, 2017 iMac, 32 GB, Radeon Pro 580 + eGPU
MacBook M1 Pro, 16 GPU cores, 32 GB RAM, MacOS 14.7.2
SE, USM G3

Return to DaVinci Resolve

Who is online

Users browsing this forum: dirk-pel, Fully_Loaded34, qsipher, Robert John and 273 guests