17.1b7+ Crashing on Mac M1 - OpenCL

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

RikshaDriver

  • Posts: 651
  • Joined: Sun Aug 12, 2018 10:08 am
  • Location: Melbourne
  • Real Name: Asim Siddiqui

17.1b7+ Crashing on Mac M1 - OpenCL

PostThu Jan 21, 2021 8:23 am

When trying 17.1b7 on an M1 Mac using OpenCL, Resolve is crashing...


Code: Select all
==========[CRASH DUMP]==========
#TIME Thu Jan 21 19:05:30 2021 - Uptime 00:01:36 (hh:mm:ss)
#PROGRAM_NAME DaVinci Resolve Studio v17.1.0b.0013 (macOS/Clang arm64)
#BMD_ARCHITECTURE arm64
#BMD_BUILD_UUID 9ef5a4c6-8c38-4db0-9ee8-349231efbdc5
#BMD_GIT_COMMIT 9963cc10e804863fdce4bbd82e21abcf05dd5aa8
#BMD_UTIL_VERSION 17.1.0b.0013
#OS macOS

0   Resolve                             0x0000000102376294 Resolve + 352916
1   Resolve                             0x0000000102375578 Resolve + 349560
2   libsystem_platform.dylib            0x000000019fc1cc44 _sigtramp + 56
3   Resolve                             0x0000000104dd7aa8 _ZN17QtMetaTypePrivate23QMetaTypeFunctionHelperIP9QKeyEventLb1EE9ConstructEPvPKv + 307136
4   Resolve                             0x0000000104c354d8 _ZN7DaVinci9Converter5Video5dpx10INS1_12dpx10conv_LEEE18VectorConvertTo16uEPKciPciii + 223904
5   Resolve                             0x0000000104c34cb8 _ZN7DaVinci9Converter5Video5dpx10INS1_12dpx10conv_LEEE18VectorConvertTo16uEPKciPciii + 221824
6   Resolve                             0x0000000104c3634c _ZN7DaVinci9Converter5Video5dpx10INS1_12dpx10conv_LEEE18VectorConvertTo16uEPKciPciii + 227604
7   Resolve                             0x0000000104aa7410 _ZN33IOMXFDolbyVisionMetadataExtractor11IOMXFReader14s_ReceiveFrameEP18_MXFReaderListeneriPhj + 28740
8   Resolve                             0x0000000104b745e8 _ZN5boost16re_detail_10620012perl_matcherINSt3__111__wrap_iterIPKwEENS2_9allocatorINS_9sub_matchIS6_EEEENS_12regex_traitsIwNS_16cpp_regex_traitsIwEEEEE11unwind_caseEb + 465812
9   Resolve                             0x0000000104cf86c0 _ZN5boost16re_detail_10620012perl_matcherIPKcNSt3__19allocatorINS_9sub_matchIS3_EEEENS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE11unwind_caseEb + 107104
10  Resolve                             0x0000000104bb8f70 _ZN5boost16re_detail_10620012perl_matcherINSt3__111__wrap_iterIPKwEENS2_9allocatorINS_9sub_matchIS6_EEEENS_12regex_traitsIwNS_16cpp_regex_traitsIwEEEEE11unwind_caseEb + 746780
11  Resolve                             0x0000000104bbc81c _ZN5boost16re_detail_10620012perl_matcherINSt3__111__wrap_iterIPKwEENS2_9allocatorINS_9sub_matchIS6_EEEENS_12regex_traitsIwNS_16cpp_regex_traitsIwEEEEE11unwind_caseEb + 761288
12  Resolve                             0x0000000104ae7618 _ZN33IOMXFDolbyVisionMetadataExtractor11IOMXFReader14s_ReceiveFrameEP18_MXFReaderListeneriPhj + 291404
13  Resolve                             0x0000000103d2b004 _ZN5boost2io6detail13call_put_lastIcNSt3__111char_traitsIcEEKmEEvRNS3_13basic_ostreamIT_T0_EEPKv + 247600
14  Resolve                             0x0000000104df4c54 _ZN17FontRenderItemVec14CreateInstanceEv + 42232
15  Resolve                             0x0000000104df14f0 _ZN17FontRenderItemVec14CreateInstanceEv + 28052
16  Resolve                             0x0000000104e1e8b8 _ZN5boost6detail8function22void_function_invoker3IPFvibbEvibbE6invokeERNS1_15function_bufferEibb + 41968
17  Resolve                             0x0000000103d224b4 _ZN5boost2io6detail13call_put_lastIcNSt3__111char_traitsIcEEKmEEvRNS3_13basic_ostreamIT_T0_EEPKv + 211936
18  Resolve                             0x00000001024006b8 _ZN14BtSerializable14CreateInstanceEv + 54912
19  libsystem_pthread.dylib             0x000000019fbd506c _pthread_start + 320
20  libsystem_pthread.dylib             0x000000019fbcfda0 thread_start + 8
Signal Number = 11



It happens not long after Resolve is started when trying to add media into project (specifically where there are multiple media files in the Media Storage browser)
Last edited by RikshaDriver on Sun Feb 14, 2021 7:20 am, edited 2 times in total.
GitHub Projects: https://github.com/xtremestuff/
Commercial Plugins: https://xtremestuff.net/store/
Offline
User avatar

Mark Foster

  • Posts: 2089
  • Joined: Tue Oct 27, 2015 10:59 am
  • Location: austria - no kangaroos +g*

Re: 17b7 Crashing on Mac M1 - OpenCL

PostThu Jan 21, 2021 9:10 am

17.0 beta7 is not for the M1 !

you must wait BMD has 17.1 beta7 for download in a few days



and your signature is not funny, but prevents people from helping you,
because it does not show what hardware and system is used!




.
cMP 5.1 2x3,46/96GB/2x2TB SSD/4x4TB/7101A 4x2TB 970evo+/HP1344/BMD4k/RadeonVII
macOS 12.6.3
BMPCC 6k pro (7.9.1)
meike s35 cine 25mm, 35mm, 50mm, 75mm
resolve studio 18.1.4
mini panel
speed editor
desktop video 12.1
intensity pro 4k
atem extreme (8.6.1)
Offline

RikshaDriver

  • Posts: 651
  • Joined: Sun Aug 12, 2018 10:08 am
  • Location: Melbourne
  • Real Name: Asim Siddiqui

Re: 17.1b7 Crashing on Mac M1 - OpenCL

PostThu Jan 21, 2021 9:22 am

Typo on my part. It's 17.1 beta 7 - it's already on the support page
GitHub Projects: https://github.com/xtremestuff/
Commercial Plugins: https://xtremestuff.net/store/
Offline
User avatar

Mark Foster

  • Posts: 2089
  • Joined: Tue Oct 27, 2015 10:59 am
  • Location: austria - no kangaroos +g*

Re: 17.1b7 Crashing on Mac M1 - OpenCL

PostThu Jan 21, 2021 9:31 am

ok, wasn't yesterday
cMP 5.1 2x3,46/96GB/2x2TB SSD/4x4TB/7101A 4x2TB 970evo+/HP1344/BMD4k/RadeonVII
macOS 12.6.3
BMPCC 6k pro (7.9.1)
meike s35 cine 25mm, 35mm, 50mm, 75mm
resolve studio 18.1.4
mini panel
speed editor
desktop video 12.1
intensity pro 4k
atem extreme (8.6.1)
Offline

RikshaDriver

  • Posts: 651
  • Joined: Sun Aug 12, 2018 10:08 am
  • Location: Melbourne
  • Real Name: Asim Siddiqui

Re: 17.1b7 Crashing on Mac M1 - OpenCL

PostThu Jan 21, 2021 9:36 am

Further info:

It looks like this is happening on 8-bit 4:2:0 encoded media (H264)

10-bit 4:2:2 seems fine
GitHub Projects: https://github.com/xtremestuff/
Commercial Plugins: https://xtremestuff.net/store/
Offline
User avatar

Uli Plank

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

Re: 17.1b7 Crashing on Mac M1 - OpenCL

PostThu Jan 21, 2021 10:49 am

Why not use Metal? The GPU is optimised for that.
I can export H.264 8 bit just fine.
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

RikshaDriver

  • Posts: 651
  • Joined: Sun Aug 12, 2018 10:08 am
  • Location: Melbourne
  • Real Name: Asim Siddiqui

Re: 17.1b7 Crashing on Mac M1 - OpenCL

PostThu Jan 21, 2021 1:22 pm

Uli Plank wrote:Why not use Metal? The GPU is optimised for that.
I can export H.264 8 bit just fine.


I came across the issue as part of some dev testing, hence why I've reported it. As it stands, OpenCL may be deprecated but it's still not removed.

The problem is observed when trying to import media. It could possibly manifest elsewhere as well, but that's what I've noted.
GitHub Projects: https://github.com/xtremestuff/
Commercial Plugins: https://xtremestuff.net/store/
Offline

SeaRefractor

  • Posts: 51
  • Joined: Fri Nov 27, 2020 5:37 am
  • Real Name: William Turner

Re: 17.1b7 Crashing on Mac M1 - OpenCL

PostThu Jan 21, 2021 4:00 pm

Sounds like a feature more than a bug. It's for those V-LOG L users that insist on using 8-bit rather than 10-bit and complaining about the resulting banding/etc in their color graded work. Just kidding.

I see two reasons I didn't run into this then, I use the default metal for GPU and I always use 10-bit 4-2-2 All-I for my footage (yeah, you can easily tell I'm a Panasonic user).

As a dev/tester, kudos for catching an issue that many might not encounter so that BMD can correct it. Helps for the OpenCL situations if/when Apple designs an "Apple Silicon Mac Pro" in the future. Suspect however most would still work with the defaults, like myself, and this bug would not have been detected.
DaVinci Resolve Studio and Speed Editor on an Apple MacBook Pro M1 Max.
Offline

RikshaDriver

  • Posts: 651
  • Joined: Sun Aug 12, 2018 10:08 am
  • Location: Melbourne
  • Real Name: Asim Siddiqui

Re: 17.1b7+ Crashing on Mac M1 - OpenCL

PostSat Feb 06, 2021 8:05 am

Still getting crashes in Beta 8.

This issue doesn't appear to manifest in Beta 6 or earlier.
GitHub Projects: https://github.com/xtremestuff/
Commercial Plugins: https://xtremestuff.net/store/
Offline

RikshaDriver

  • Posts: 651
  • Joined: Sun Aug 12, 2018 10:08 am
  • Location: Melbourne
  • Real Name: Asim Siddiqui

Re: 17.1b7+ Crashing on Mac M1 - OpenCL

PostSun Feb 14, 2021 7:19 am

Also getting crashes in Beta 9.

After some further testing, I've narrowed it down to 4K (UHD) 8-bit 4:2:0 footage.

In my particular case, this was observed with XAVC footage, though other codecs might have the same issues.

Sample file for testing: https://gofile.io/d/py9tga
GitHub Projects: https://github.com/xtremestuff/
Commercial Plugins: https://xtremestuff.net/store/
Offline
User avatar

Uli Plank

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

Re: 17.1b7+ Crashing on Mac M1 - OpenCL

PostSun Feb 14, 2021 12:00 pm

I can confirm this. Crashing if set to OpenCL, playing without a problem if set to Metal.
Maybe the devs should abandon Open CL for M1?

Please PM if my log is needed too.
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

Rohit Gupta

Blackmagic Design

  • Posts: 1671
  • Joined: Wed Aug 22, 2012 5:00 am

Re: 17.1b7+ Crashing on Mac M1 - OpenCL

PostSun Feb 14, 2021 2:16 pm

Please do not use OpenCL on M1. Only use Metal.
Rohit Gupta

DaVinci Resolve Software Development
Blackmagic Design

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], KrunoSmithy, panos_mts, qsipher and 275 guests