Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering fails on 2013 Mac Pro with Dual AMD FirePro D500 #25

Closed
latenitefilms opened this issue Jan 9, 2023 Discussed in #14 · 87 comments
Closed

Rendering fails on 2013 Mac Pro with Dual AMD FirePro D500 #25

latenitefilms opened this issue Jan 9, 2023 Discussed in #14 · 87 comments
Assignees
Labels
bug Something isn't working waiting on apple Waiting on Apple to reply or fix

Comments

@latenitefilms
Copy link
Owner

Discussed in #14

Originally posted by tangierc January 1, 2023
Hello Chris. One of the things I was particularly hopeful for is just bringing in Braw video that I can use in a proxy/original workflow and allow FCP or Sync-N-Link to do my syncing using XML. A large part of this equation is being able to relink clips as needed, but BRAW Toolbox imports are don't allow me access to FCP's native reveal in browser, reveal, in finder, and relinking capabilities.

My proxies were already made using Premiere Pro and migrating the project to FCP, I wanted to link those proxies to their original counterpart using BRAW Toolbox and in the end send to Resolve for color. Would these capabilities be possible in a future update? I know this is a beta. As it stands I am unable to use BRAW Toolbox imports both due to playback and scrubbing performance issues (on an Intel Mac) and no access to FCP's native clip management features.

Thank you for all of your hard work.

@latenitefilms latenitefilms added the bug Something isn't working label Jan 9, 2023
@latenitefilms latenitefilms self-assigned this Jan 9, 2023
@latenitefilms
Copy link
Owner Author

This will HOPEFULLY be fixed in the next public beta @tangierc.

@latenitefilms latenitefilms changed the title Issues with 2013 Mac Pro with Dual AMD FirePro D500 Rendering fails on 2013 and 2019 Mac Pro's with Dual GPUs Jan 14, 2023
@latenitefilms
Copy link
Owner Author

@tangierc has a 2013 Mac Pro with Dual AMD FirePro D500 and reports:

Plugin Not Responding. On a 2013 Mac Pro with Dual AMD FirePro 500 GPUs, the BRAW clip plays fine inside the workflow extension window, but once it's in the FCP library the clip displays solid green and blue frames along with bits of the video footage when scrubbing or attempting playback. Then the clip goes offline with a plugin not responding notice. This is using FCP 10.6.5.

Jamie Lejeune has a 2019 Mac Pro with 2x W5700X GPU and reports:

Dang, the new beta is actually a lot worse than the last version on my machine. Attempts at playback result in flashing green in the viewer. And then pretty quickly, sometimes within seconds, sometimes a minute or two, it locks up my entire system — not just FCP, but the whole OS. I have to do a hard restart holding down the power button to regain control. And, on that reboot, if I’m not fast enough to force quit FCP, it locks up the system all over again. I can’t even get far enough to check the implementation of the HDR.

The last beta that I was testing didn’t have any of these issues. The only hiccups was occasionally the viewer image would turn blue, but that was usually because I kept changing the parameters or toggling the effect.

@latenitefilms latenitefilms reopened this Jan 14, 2023
@tangierc
Copy link

tangierc commented Jan 14, 2023 via email

@latenitefilms
Copy link
Owner Author

@tangierc - It would still be really handy to have a look at your logs and crash logs.

You can find the log files here:

/Users/YOUR-USER-NAME/Library/Group Containers/A5HDJTY9X5.com.latenitefilms.BRAWToolbox/Library/Application Support/

You can find any crash reports here (basically anything with a BRAW in the file name):

/Users/YOUR-USER-NAME/Library/Logs/DiagnosticReports

You can upload here:

https://latenitefilms.digitalpigeon.com

Are you also able to share a screenshot of the options in the Render/Share GPU dropdown in FCPX Preferences?

image

In the meantime, I'll have another look and try some different things - it's just tricky because I only currently have access to single GPU machines.

@tangierc
Copy link

tangierc commented Jan 14, 2023 via email

@latenitefilms
Copy link
Owner Author

I'm uploading a new build to TestFlight now. Let me know if there's any improvement.

@latenitefilms
Copy link
Owner Author

Interestingly, @tangierc's GPUs just appear as one in the Final Cut Pro interface:

FCP Render Share image

@tangierc
Copy link

tangierc commented Jan 14, 2023 via email

@latenitefilms
Copy link
Owner Author

@tangierc - I believe the GPUs in the Trashcan 2013 Mac Pro work a bit differently to older and newer Cheese-grater Mac Pro models, and Mac with eGPUs.

I just saw your screen recording. As soon as FCPX marks a plugin as "not responding", it won't work again until you restart Final Cut Pro.

Let me know if the latest beta - 1.0.0 (21) - Public Beta 8 - offers any improvement?

@tangierc
Copy link

tangierc commented Jan 14, 2023 via email

@latenitefilms
Copy link
Owner Author

Can you send a screenshot of Activity Monitor on the Memory panel and with the GPU History open during playback?

@tangierc
Copy link

tangierc commented Jan 14, 2023 via email

@latenitefilms
Copy link
Owner Author

@tangierc - Thanks for the new screen recording! Very helpful! To be honest, I have absolutely no idea why this is happening. It's not an issue with the BRAW SDK, as it's obviously playing fine in the Workflow Extension, and it's rendering frames normally in FCPX most of the time. Something in FxPlug4 is failing. I'll reach out to Apple and see if they have any words of wisdom.

I'm also waiting to hear back from Jamie Lejeune who has a 2019 Mac Pro with 2 x W5700X GPU (16GB VRAM).

It could just be a VRAM issue as the Dual AMD FirePro D500 only has 3GB VRAM, as 1.0.0 (21) - Public Beta 8 is doing a single frame on the one GPU.

@tangierc
Copy link

tangierc commented Jan 14, 2023 via email

@tangierc
Copy link

tangierc commented Jan 14, 2023 via email

@latenitefilms
Copy link
Owner Author

@tangierc - Each time you get a blue render frame does it write something like ERROR - Failed to get processedImage. in ~/Library/Group Containers/A5HDJTY9X5.com.latenitefilms.BRAWToolbox/Library/Application Support/FxPlug.log?

@latenitefilms
Copy link
Owner Author

(FYI: I don't think your attachments come through when you reply via email)

@tangierc
Copy link

tangierc commented Jan 14, 2023 via email

@tangierc
Copy link

tangierc commented Jan 15, 2023 via email

@latenitefilms
Copy link
Owner Author

@tangierc - Interestingly, all the crash reports you sent all seem to crash in similar code, in the AMD Metal Driver.

Thread 531 Crashed::  Dispatch queue: com.apple.root.user-interactive-qos
0   AMDMTLBronzeDriver            	    0x7ffa3347f029 amdBronzeMtlTextureStdWriteTile256ByteChunkedDisp3(void*, void*, unsigned int, unsigned int) + 52
1   AMDMTLBronzeDriver            	    0x7ffa3347c963 BronzeGenerateMicroTileAddresses2D(BronzeCpuTexInterfaceRec const*, ATIMipmapBufferHeader const*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, void (*)(unsigned long long, unsigned int, unsigned int, unsigned int, void*), void*) + 1245
2   AMDMTLBronzeDriver            	    0x7ffa3347d356 amdMtlBronzeTextureStdReplaceTiles(BronzeCpuTexInterfaceRec const*, ATIMipmapBufferHeader const*, ati_si_format_info const*, unsigned long, unsigned int, unsigned long, unsigned long, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) + 268
3   AMDMTLBronzeDriver            	    0x7ffa3347ce4a amdMtlBronzeTextureStdAccessRegion(BronzeCpuTexInterfaceRec const*, void (*)(BronzeCpuTexInterfaceRec const*, ATIMipmapBufferHeader const*, ati_si_format_info const*, unsigned long, unsigned int, unsigned long, unsigned long, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int), void (*)(BronzeCpuTexInterfaceRec const*, ATIMipmapBufferHeader const*, ati_si_format_info const*, unsigned long, unsigned int, unsigned long, unsigned long, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int), ATIMipmapBufferHeader const*, ati_si_format_info const*, unsigned long, unsigned int, unsigned long, unsigned long, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) + 573
4   AMDMTLBronzeDriver            	    0x7ffa3347d1df amdMtlBronzeTextureStdReplaceRegion(BronzeCpuTexInterfaceRec const*, ATIMipmapBufferHeader const*, ati_si_format_info const*, void*, unsigned int, unsigned long, unsigned long, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) + 294
5   AMDMTLBronzeDriver            	    0x7ffa335004f1 -[BronzeMtlTexture replaceRegion:mipmapLevel:withBytes:bytesPerRow:] + 564
6   BRAW Toolbox Renderer         	       0x10e25cd7e 0x10e250000 + 52606
7   FxPlug                        	       0x10e601d6d __123-[FxRemotePluginCoordinator tileablePlugin:renderWithState:withImageInputs:withOutput:rendererRegistryID:atTime:withReply:]_block_invoke + 254
8   libdispatch.dylib             	    0x7ff816ce60cc _dispatch_call_block_and_release + 12
9   libdispatch.dylib             	    0x7ff816ce7317 _dispatch_client_callout + 8
10  libdispatch.dylib             	    0x7ff816cf6c0c _dispatch_root_queue_drain + 673
11  libdispatch.dylib             	    0x7ff816cf725c _dispatch_worker_thread2 + 160
12  libsystem_pthread.dylib       	    0x7ff816e9af8a _pthread_wqthread + 256
13  libsystem_pthread.dylib       	    0x7ff816e99f57 start_wqthread + 15
Thread 69 Crashed::  Dispatch queue: com.apple.root.user-interactive-qos
0   libsystem_kernel.dylib        	    0x7ff8018e700e __pthread_kill + 10
1   libsystem_pthread.dylib       	    0x7ff80191d1ff pthread_kill + 263
2   libsystem_c.dylib             	    0x7ff801868d24 abort + 123
3   libsystem_c.dylib             	    0x7ff8018680cb __assert_rtn + 314
4   AMDMTLBronzeDriver            	    0x7ffa1e071a8a amdMtlBronzeCmdBufUpdateRsrc(BronzeCmdBufInfoRec*, MTLIOAccelResource*, unsigned int, unsigned int) (.cold.1) + 35
5   AMDMTLBronzeDriver            	    0x7ffa1df573bd amdMtlBronzeCmdBufUpdateRsrc(BronzeCmdBufInfoRec*, MTLIOAccelResource*, unsigned int, unsigned int) + 173
6   AMDMTLBronzeDriver            	    0x7ffa1dfef496 amdMtlBronzeHandleLoadActions(BronzeDeviceMembersRec*, BronzeSurfSyncMgrRec*, BronzeCmdBufInfoRec*, AMDBitVectorRec*, MTLRenderPassDescriptor const*, BronzeLoadStoreInfo*, ATI_BOOL) + 2128
7   AMDMTLBronzeDriver            	    0x7ffa1df764da -[BronzeMtlRenderCmdEncoder initWithCommandBuffer:descriptor:] + 1454
8   AMDMTLBronzeDriver            	    0x7ffa1df59a81 -[BronzeMtlCmdBuffer renderCommandEncoderWithDescriptor:] + 52
9   BRAW Toolbox Renderer         	       0x107a445d3 0x107a38000 + 50643
10  FxPlug                        	       0x107de9d6d __123-[FxRemotePluginCoordinator tileablePlugin:renderWithState:withImageInputs:withOutput:rendererRegistryID:atTime:withReply:]_block_invoke + 254
11  libdispatch.dylib             	    0x7ff8017650cc _dispatch_call_block_and_release + 12
12  libdispatch.dylib             	    0x7ff801766317 _dispatch_client_callout + 8
13  libdispatch.dylib             	    0x7ff801775c0c _dispatch_root_queue_drain + 673
14  libdispatch.dylib             	    0x7ff80177625c _dispatch_worker_thread2 + 160
15  libsystem_pthread.dylib       	    0x7ff801919f8a _pthread_wqthread + 256
16  libsystem_pthread.dylib       	    0x7ff801918f57 start_wqthread + 15
Thread 1 Crashed::  Dispatch queue: com.apple.root.user-interactive-qos
0   libsystem_kernel.dylib        	    0x7ff8018e700e __pthread_kill + 10
1   libsystem_pthread.dylib       	    0x7ff80191d1ff pthread_kill + 263
2   libsystem_c.dylib             	    0x7ff801868d24 abort + 123
3   libsystem_c.dylib             	    0x7ff8018680cb __assert_rtn + 314
4   AMDMTLBronzeDriver            	    0x7ffa1e071a8a amdMtlBronzeCmdBufUpdateRsrc(BronzeCmdBufInfoRec*, MTLIOAccelResource*, unsigned int, unsigned int) (.cold.1) + 35
5   AMDMTLBronzeDriver            	    0x7ffa1df573bd amdMtlBronzeCmdBufUpdateRsrc(BronzeCmdBufInfoRec*, MTLIOAccelResource*, unsigned int, unsigned int) + 173
6   AMDMTLBronzeDriver            	    0x7ffa1dfef496 amdMtlBronzeHandleLoadActions(BronzeDeviceMembersRec*, BronzeSurfSyncMgrRec*, BronzeCmdBufInfoRec*, AMDBitVectorRec*, MTLRenderPassDescriptor const*, BronzeLoadStoreInfo*, ATI_BOOL) + 2128
7   AMDMTLBronzeDriver            	    0x7ffa1df764da -[BronzeMtlRenderCmdEncoder initWithCommandBuffer:descriptor:] + 1454
8   AMDMTLBronzeDriver            	    0x7ffa1df59a81 -[BronzeMtlCmdBuffer renderCommandEncoderWithDescriptor:] + 52
9   BRAW Toolbox Renderer         	       0x10dc775d3 0x10dc6b000 + 50643
10  FxPlug                        	       0x10e01cd6d __123-[FxRemotePluginCoordinator tileablePlugin:renderWithState:withImageInputs:withOutput:rendererRegistryID:atTime:withReply:]_block_invoke + 254
11  libdispatch.dylib             	    0x7ff8017650cc _dispatch_call_block_and_release + 12
12  libdispatch.dylib             	    0x7ff801766317 _dispatch_client_callout + 8
13  libdispatch.dylib             	    0x7ff801775c0c _dispatch_root_queue_drain + 673
14  libdispatch.dylib             	    0x7ff80177625c _dispatch_worker_thread2 + 160
15  libsystem_pthread.dylib       	    0x7ff801919f8a _pthread_wqthread + 256
16  libsystem_pthread.dylib       	    0x7ff801918f57 start_wqthread + 15
Thread 53 Crashed::  Dispatch queue: com.apple.root.user-interactive-qos
0   libsystem_kernel.dylib        	    0x7ff8018e700e __pthread_kill + 10
1   libsystem_pthread.dylib       	    0x7ff80191d1ff pthread_kill + 263
2   libsystem_c.dylib             	    0x7ff801868d24 abort + 123
3   libsystem_c.dylib             	    0x7ff8018680cb __assert_rtn + 314
4   AMDMTLBronzeDriver            	    0x7ffa1e071a8a amdMtlBronzeCmdBufUpdateRsrc(BronzeCmdBufInfoRec*, MTLIOAccelResource*, unsigned int, unsigned int) (.cold.1) + 35
5   AMDMTLBronzeDriver            	    0x7ffa1df573bd amdMtlBronzeCmdBufUpdateRsrc(BronzeCmdBufInfoRec*, MTLIOAccelResource*, unsigned int, unsigned int) + 173
6   AMDMTLBronzeDriver            	    0x7ffa1dfef496 amdMtlBronzeHandleLoadActions(BronzeDeviceMembersRec*, BronzeSurfSyncMgrRec*, BronzeCmdBufInfoRec*, AMDBitVectorRec*, MTLRenderPassDescriptor const*, BronzeLoadStoreInfo*, ATI_BOOL) + 2128
7   AMDMTLBronzeDriver            	    0x7ffa1df764da -[BronzeMtlRenderCmdEncoder initWithCommandBuffer:descriptor:] + 1454
8   AMDMTLBronzeDriver            	    0x7ffa1df59a81 -[BronzeMtlCmdBuffer renderCommandEncoderWithDescriptor:] + 52
9   BRAW Toolbox Renderer         	       0x108b105d3 0x108b04000 + 50643
10  FxPlug                        	       0x108eb5d6d __123-[FxRemotePluginCoordinator tileablePlugin:renderWithState:withImageInputs:withOutput:rendererRegistryID:atTime:withReply:]_block_invoke + 254
11  libdispatch.dylib             	    0x7ff8017650cc _dispatch_call_block_and_release + 12
12  libdispatch.dylib             	    0x7ff801766317 _dispatch_client_callout + 8
13  libdispatch.dylib             	    0x7ff801775c0c _dispatch_root_queue_drain + 673
14  libdispatch.dylib             	    0x7ff80177625c _dispatch_worker_thread2 + 160
15  libsystem_pthread.dylib       	    0x7ff801919f8a _pthread_wqthread + 256
16  libsystem_pthread.dylib       	    0x7ff801918f57 start_wqthread + 15
Thread 53 Crashed::  Dispatch queue: com.apple.root.user-interactive-qos
0   libsystem_kernel.dylib        	    0x7ff8018e700e __pthread_kill + 10
1   libsystem_pthread.dylib       	    0x7ff80191d1ff pthread_kill + 263
2   libsystem_c.dylib             	    0x7ff801868d24 abort + 123
3   libsystem_c.dylib             	    0x7ff8018680cb __assert_rtn + 314
4   AMDMTLBronzeDriver            	    0x7ffa1e071a8a amdMtlBronzeCmdBufUpdateRsrc(BronzeCmdBufInfoRec*, MTLIOAccelResource*, unsigned int, unsigned int) (.cold.1) + 35
5   AMDMTLBronzeDriver            	    0x7ffa1df573bd amdMtlBronzeCmdBufUpdateRsrc(BronzeCmdBufInfoRec*, MTLIOAccelResource*, unsigned int, unsigned int) + 173
6   AMDMTLBronzeDriver            	    0x7ffa1dfef496 amdMtlBronzeHandleLoadActions(BronzeDeviceMembersRec*, BronzeSurfSyncMgrRec*, BronzeCmdBufInfoRec*, AMDBitVectorRec*, MTLRenderPassDescriptor const*, BronzeLoadStoreInfo*, ATI_BOOL) + 2128
7   AMDMTLBronzeDriver            	    0x7ffa1df764da -[BronzeMtlRenderCmdEncoder initWithCommandBuffer:descriptor:] + 1454
8   AMDMTLBronzeDriver            	    0x7ffa1df59a81 -[BronzeMtlCmdBuffer renderCommandEncoderWithDescriptor:] + 52
9   BRAW Toolbox Renderer         	       0x10f6b45d3 0x10f6a8000 + 50643
10  FxPlug                        	       0x1108cbd6d __123-[FxRemotePluginCoordinator tileablePlugin:renderWithState:withImageInputs:withOutput:rendererRegistryID:atTime:withReply:]_block_invoke + 254
11  libdispatch.dylib             	    0x7ff8017650cc _dispatch_call_block_and_release + 12
12  libdispatch.dylib             	    0x7ff801766317 _dispatch_client_callout + 8
13  libdispatch.dylib             	    0x7ff801775c0c _dispatch_root_queue_drain + 673
14  libdispatch.dylib             	    0x7ff80177625c _dispatch_worker_thread2 + 160
15  libsystem_pthread.dylib       	    0x7ff801919f8a _pthread_wqthread + 256
16  libsystem_pthread.dylib       	    0x7ff801918f57 start_wqthread + 15
Thread 98 Crashed::  Dispatch queue: com.apple.root.user-interactive-qos
0   libsystem_kernel.dylib        	    0x7ff81125b00e __pthread_kill + 10
1   libsystem_pthread.dylib       	    0x7ff8112911ff pthread_kill + 263
2   libsystem_c.dylib             	    0x7ff8111dcd24 abort + 123
3   libsystem_c.dylib             	    0x7ff8111dc0cb __assert_rtn + 314
4   AMDMTLBronzeDriver            	    0x7ffa2d9e5a8a amdMtlBronzeCmdBufUpdateRsrc(BronzeCmdBufInfoRec*, MTLIOAccelResource*, unsigned int, unsigned int) (.cold.1) + 35
5   AMDMTLBronzeDriver            	    0x7ffa2d8cb3bd amdMtlBronzeCmdBufUpdateRsrc(BronzeCmdBufInfoRec*, MTLIOAccelResource*, unsigned int, unsigned int) + 173
6   AMDMTLBronzeDriver            	    0x7ffa2d963496 amdMtlBronzeHandleLoadActions(BronzeDeviceMembersRec*, BronzeSurfSyncMgrRec*, BronzeCmdBufInfoRec*, AMDBitVectorRec*, MTLRenderPassDescriptor const*, BronzeLoadStoreInfo*, ATI_BOOL) + 2128
7   AMDMTLBronzeDriver            	    0x7ffa2d8ea4da -[BronzeMtlRenderCmdEncoder initWithCommandBuffer:descriptor:] + 1454
8   AMDMTLBronzeDriver            	    0x7ffa2d8cda81 -[BronzeMtlCmdBuffer renderCommandEncoderWithDescriptor:] + 52
9   BRAW Toolbox Renderer         	       0x10340a5d3 0x1033fe000 + 50643
10  FxPlug                        	       0x1037afd6d __123-[FxRemotePluginCoordinator tileablePlugin:renderWithState:withImageInputs:withOutput:rendererRegistryID:atTime:withReply:]_block_invoke + 254
11  libdispatch.dylib             	    0x7ff8110d90cc _dispatch_call_block_and_release + 12
12  libdispatch.dylib             	    0x7ff8110da317 _dispatch_client_callout + 8
13  libdispatch.dylib             	    0x7ff8110e9c0c _dispatch_root_queue_drain + 673
14  libdispatch.dylib             	    0x7ff8110ea25c _dispatch_worker_thread2 + 160
15  libsystem_pthread.dylib       	    0x7ff81128df8a _pthread_wqthread + 256
16  libsystem_pthread.dylib       	    0x7ff81128cf57 start_wqthread + 15
Thread 2 Crashed::  Dispatch queue: com.apple.root.user-interactive-qos
0   libsystem_kernel.dylib        	    0x7ff81125b00e __pthread_kill + 10
1   libsystem_pthread.dylib       	    0x7ff8112911ff pthread_kill + 263
2   libsystem_c.dylib             	    0x7ff8111dcd24 abort + 123
3   libsystem_c.dylib             	    0x7ff8111dc0cb __assert_rtn + 314
4   AMDMTLBronzeDriver            	    0x7ffa2d9e5a8a amdMtlBronzeCmdBufUpdateRsrc(BronzeCmdBufInfoRec*, MTLIOAccelResource*, unsigned int, unsigned int) (.cold.1) + 35
5   AMDMTLBronzeDriver            	    0x7ffa2d8cb3bd amdMtlBronzeCmdBufUpdateRsrc(BronzeCmdBufInfoRec*, MTLIOAccelResource*, unsigned int, unsigned int) + 173
6   AMDMTLBronzeDriver            	    0x7ffa2d963496 amdMtlBronzeHandleLoadActions(BronzeDeviceMembersRec*, BronzeSurfSyncMgrRec*, BronzeCmdBufInfoRec*, AMDBitVectorRec*, MTLRenderPassDescriptor const*, BronzeLoadStoreInfo*, ATI_BOOL) + 2128
7   AMDMTLBronzeDriver            	    0x7ffa2d8ea4da -[BronzeMtlRenderCmdEncoder initWithCommandBuffer:descriptor:] + 1454
8   AMDMTLBronzeDriver            	    0x7ffa2d8cda81 -[BronzeMtlCmdBuffer renderCommandEncoderWithDescriptor:] + 52
9   BRAW Toolbox Renderer         	       0x1011ff5d3 0x1011f3000 + 50643
10  FxPlug                        	       0x1015a4d6d __123-[FxRemotePluginCoordinator tileablePlugin:renderWithState:withImageInputs:withOutput:rendererRegistryID:atTime:withReply:]_block_invoke + 254
11  libdispatch.dylib             	    0x7ff8110d90cc _dispatch_call_block_and_release + 12
12  libdispatch.dylib             	    0x7ff8110da317 _dispatch_client_callout + 8
13  libdispatch.dylib             	    0x7ff8110e9c0c _dispatch_root_queue_drain + 673
14  libdispatch.dylib             	    0x7ff8110ea25c _dispatch_worker_thread2 + 160
15  libsystem_pthread.dylib       	    0x7ff81128df8a _pthread_wqthread + 256
16  libsystem_pthread.dylib       	    0x7ff81128cf57 start_wqthread + 15
Thread 1 Crashed::  Dispatch queue: com.apple.root.user-interactive-qos
0   libsystem_kernel.dylib        	    0x7ff81125b00e __pthread_kill + 10
1   libsystem_pthread.dylib       	    0x7ff8112911ff pthread_kill + 263
2   libsystem_c.dylib             	    0x7ff8111dcd24 abort + 123
3   libsystem_c.dylib             	    0x7ff8111dc0cb __assert_rtn + 314
4   AMDMTLBronzeDriver            	    0x7ffa2d9e5a8a amdMtlBronzeCmdBufUpdateRsrc(BronzeCmdBufInfoRec*, MTLIOAccelResource*, unsigned int, unsigned int) (.cold.1) + 35
5   AMDMTLBronzeDriver            	    0x7ffa2d8cb3bd amdMtlBronzeCmdBufUpdateRsrc(BronzeCmdBufInfoRec*, MTLIOAccelResource*, unsigned int, unsigned int) + 173
6   AMDMTLBronzeDriver            	    0x7ffa2d963496 amdMtlBronzeHandleLoadActions(BronzeDeviceMembersRec*, BronzeSurfSyncMgrRec*, BronzeCmdBufInfoRec*, AMDBitVectorRec*, MTLRenderPassDescriptor const*, BronzeLoadStoreInfo*, ATI_BOOL) + 2128
7   AMDMTLBronzeDriver            	    0x7ffa2d8ea4da -[BronzeMtlRenderCmdEncoder initWithCommandBuffer:descriptor:] + 1454
8   AMDMTLBronzeDriver            	    0x7ffa2d8cda81 -[BronzeMtlCmdBuffer renderCommandEncoderWithDescriptor:] + 52
9   BRAW Toolbox Renderer         	       0x10a9d75d3 0x10a9cb000 + 50643
10  FxPlug                        	       0x10ad7cd6d __123-[FxRemotePluginCoordinator tileablePlugin:renderWithState:withImageInputs:withOutput:rendererRegistryID:atTime:withReply:]_block_invoke + 254
11  libdispatch.dylib             	    0x7ff8110d90cc _dispatch_call_block_and_release + 12
12  libdispatch.dylib             	    0x7ff8110da317 _dispatch_client_callout + 8
13  libdispatch.dylib             	    0x7ff8110e9c0c _dispatch_root_queue_drain + 673
14  libdispatch.dylib             	    0x7ff8110ea25c _dispatch_worker_thread2 + 160
15  libsystem_pthread.dylib       	    0x7ff81128df8a _pthread_wqthread + 256
16  libsystem_pthread.dylib       	    0x7ff81128cf57 start_wqthread + 15
Thread 168 Crashed::  Dispatch queue: com.apple.root.user-interactive-qos
0   libsystem_kernel.dylib        	    0x7ff81125b00e __pthread_kill + 10
1   libsystem_pthread.dylib       	    0x7ff8112911ff pthread_kill + 263
2   libsystem_c.dylib             	    0x7ff8111dcd24 abort + 123
3   libsystem_c.dylib             	    0x7ff8111dc0cb __assert_rtn + 314
4   AMDMTLBronzeDriver            	    0x7ffa2d9e5a8a amdMtlBronzeCmdBufUpdateRsrc(BronzeCmdBufInfoRec*, MTLIOAccelResource*, unsigned int, unsigned int) (.cold.1) + 35
5   AMDMTLBronzeDriver            	    0x7ffa2d8cb3bd amdMtlBronzeCmdBufUpdateRsrc(BronzeCmdBufInfoRec*, MTLIOAccelResource*, unsigned int, unsigned int) + 173
6   AMDMTLBronzeDriver            	    0x7ffa2d963496 amdMtlBronzeHandleLoadActions(BronzeDeviceMembersRec*, BronzeSurfSyncMgrRec*, BronzeCmdBufInfoRec*, AMDBitVectorRec*, MTLRenderPassDescriptor const*, BronzeLoadStoreInfo*, ATI_BOOL) + 2128
7   AMDMTLBronzeDriver            	    0x7ffa2d8ea4da -[BronzeMtlRenderCmdEncoder initWithCommandBuffer:descriptor:] + 1454
8   AMDMTLBronzeDriver            	    0x7ffa2d8cda81 -[BronzeMtlCmdBuffer renderCommandEncoderWithDescriptor:] + 52
9   BRAW Toolbox Renderer         	       0x10abec5d3 0x10abe0000 + 50643
10  FxPlug                        	       0x10af91d6d __123-[FxRemotePluginCoordinator tileablePlugin:renderWithState:withImageInputs:withOutput:rendererRegistryID:atTime:withReply:]_block_invoke + 254
11  libdispatch.dylib             	    0x7ff8110d90cc _dispatch_call_block_and_release + 12
12  libdispatch.dylib             	    0x7ff8110da317 _dispatch_client_callout + 8
13  libdispatch.dylib             	    0x7ff8110e9c0c _dispatch_root_queue_drain + 673
14  libdispatch.dylib             	    0x7ff8110ea25c _dispatch_worker_thread2 + 160
15  libsystem_pthread.dylib       	    0x7ff81128df8a _pthread_wqthread + 256
16  libsystem_pthread.dylib       	    0x7ff81128cf57 start_wqthread + 15
Thread 98 Crashed::  Dispatch queue: com.apple.root.user-interactive-qos
0   libsystem_kernel.dylib        	    0x7ff81125b00e __pthread_kill + 10
1   libsystem_pthread.dylib       	    0x7ff8112911ff pthread_kill + 263
2   libsystem_c.dylib             	    0x7ff8111dcd24 abort + 123
3   libsystem_c.dylib             	    0x7ff8111dc0cb __assert_rtn + 314
4   AMDMTLBronzeDriver            	    0x7ffa2d9e5a8a amdMtlBronzeCmdBufUpdateRsrc(BronzeCmdBufInfoRec*, MTLIOAccelResource*, unsigned int, unsigned int) (.cold.1) + 35
5   AMDMTLBronzeDriver            	    0x7ffa2d8cb3bd amdMtlBronzeCmdBufUpdateRsrc(BronzeCmdBufInfoRec*, MTLIOAccelResource*, unsigned int, unsigned int) + 173
6   AMDMTLBronzeDriver            	    0x7ffa2d963496 amdMtlBronzeHandleLoadActions(BronzeDeviceMembersRec*, BronzeSurfSyncMgrRec*, BronzeCmdBufInfoRec*, AMDBitVectorRec*, MTLRenderPassDescriptor const*, BronzeLoadStoreInfo*, ATI_BOOL) + 2128
7   AMDMTLBronzeDriver            	    0x7ffa2d8ea4da -[BronzeMtlRenderCmdEncoder initWithCommandBuffer:descriptor:] + 1454
8   AMDMTLBronzeDriver            	    0x7ffa2d8cda81 -[BronzeMtlCmdBuffer renderCommandEncoderWithDescriptor:] + 52
9   BRAW Toolbox Renderer         	       0x10a8ce5d3 0x10a8c2000 + 50643
10  FxPlug                        	       0x10ac73d6d __123-[FxRemotePluginCoordinator tileablePlugin:renderWithState:withImageInputs:withOutput:rendererRegistryID:atTime:withReply:]_block_invoke + 254
11  libdispatch.dylib             	    0x7ff8110d90cc _dispatch_call_block_and_release + 12
12  libdispatch.dylib             	    0x7ff8110da317 _dispatch_client_callout + 8
13  libdispatch.dylib             	    0x7ff8110e9c0c _dispatch_root_queue_drain + 673
14  libdispatch.dylib             	    0x7ff8110ea25c _dispatch_worker_thread2 + 160
15  libsystem_pthread.dylib       	    0x7ff81128df8a _pthread_wqthread + 256
16  libsystem_pthread.dylib       	    0x7ff81128cf57 start_wqthread + 15

@latenitefilms
Copy link
Owner Author

@tangierc - I'm uploading a new build shortly with some very minor changes. I'm not sure it'll have any impact, but I guess we'll wait and see.

@tangierc
Copy link

tangierc commented Jan 15, 2023 via email

@latenitefilms
Copy link
Owner Author

1.0.0 (22) - Public Beta 9 should now be up.

@latenitefilms latenitefilms reopened this Jan 15, 2023
@tangierc
Copy link

tangierc commented Jan 19, 2023 via email

@tangierc
Copy link

tangierc commented Jan 19, 2023 via email

@latenitefilms
Copy link
Owner Author

What was the difference between the BRAW files? Are the original clips higher quality?

It could just be a matter of your GPUs not being able to easily handle the resolution of 12K files or something?

Rather than using the Workflow Extension, you could try manually applying the BRAW Toolbox effect on a black generator in a HD timeline with the original clips and see if that works?

@latenitefilms
Copy link
Owner Author

Looking at the PDF you posted earlier, you're working with 6176x3472 BRAW files @ 23.976fps. The Workflow Extension will create a Sync Clip with the same resolution (regardless of Decode Quality), so again, maybe try making it UltraHD instead and see if that has any impact?

@tangierc
Copy link

tangierc commented Jan 20, 2023 via email

@latenitefilms
Copy link
Owner Author

I'm going to guess that the MacBook Pro will still work if you connect the same external monitors to it?

What results do you get if you run the Blackmagic BRAW Speed Test on both machines?

@tangierc
Copy link

Here's the results. The First is the 2013 3.5 GHz 6-core / Dual AMD D500s Mac Pro, the second is the 2016 Intel 15" MBP w/Touchbar
Screen Shot 2023-01-20 at 7 51 05 PM
Screen Shot 2023-01-20 at 8 00 37 PM

@latenitefilms
Copy link
Owner Author

So strange. Well, unfortunately I'm totally out of ideas.

I haven't heard anything back from Apple. I also haven't had any other feedback from other users reporting similar issues.

Given this, I'm going to close this issue for now, as I can only ASSUME it's something funky on that particular machine.

If I learn anything else, I'll definitely update this issue.

@latenitefilms
Copy link
Owner Author

@tangierc - If you have time, are you able to download the v1.0.1 TestFlight release and see if that has any impact on your MacPro?

https://testflight.apple.com/join/GC92jL9o

@tangierc
Copy link

tangierc commented Feb 8, 2023 via email

@latenitefilms
Copy link
Owner Author

Yes, correct. Please close Final Cut Pro, send the /Applications/BRAW Toolbox.app from the Mac App Store to trash, then download the v1.0.1 beta from TestFlight and give that a go.

I have no idea if it'll have an impact or not - but hey, it's worth a shot!

@tangierc
Copy link

tangierc commented Feb 8, 2023 via email

@latenitefilms
Copy link
Owner Author

Woohoo! Great news!

The main change I made, which I THINK is what is fixing your issue is that if a BRAW frame fails to render for whatever reason, we now retry five times before giving up. I'm not really sure WHY it fails in some cases - but at least now it tries five times first before outputting an error message.

There's still one remaining thing that I want to try solve in v1.0.1 before I push out publicly - the BRAW Toolbox Renderer seems to be using a LOT of threads, which most likely means I'm not releasing something properly somewhere in the BRAW code. I'm currently working with Apple and Blackmagic to try and resolve this - but aside from that, it seems very stable and reliable on all the machines I tested it on.

@latenitefilms
Copy link
Owner Author

v1.0.1 (34) will hit TestFlight shortly. Are you able to check that it still works on your machine. Assuming all is good, this will be the version we release publicly. Thanks!

@tangierc
Copy link

tangierc commented Feb 8, 2023 via email

@tangierc
Copy link

tangierc commented Feb 8, 2023 via email

@tangierc
Copy link

tangierc commented Feb 13, 2023 via email

@tangierc
Copy link

tangierc commented Feb 13, 2023 via email

@latenitefilms
Copy link
Owner Author

You could try this:

https://brawtoolbox.io/toolbox/#add-braw-toolbox-to-proxy-clips-within-an-event

If it doesn't work in this use case, send me a FCPXML via email and I'll have a think/play.

@tangierc
Copy link

tangierc commented Feb 14, 2023 via email

@latenitefilms
Copy link
Owner Author

The Add BRAW Toolbox to Proxy Clips within an EVENT Toolbox basically does what it says - it adds the BRAW Toolbox effect to any of the .mov proxy files that exist in that Final Cut Pro event. The proxy file needs to be in the same folder as the BRAW file. So basically, "inside" each of your proxy clips, if you Open Clip, the BRAW Toolbox effect will be applied so you can modify the metadata there.

If it doesn't work, what you MIGHT have to do is Open Clip, apply any other effect (i.e. just apply a colour grade effect that doesn't do anything), and then try again - it really depends on what the FCPXML looks like coming back from SendToX.

Does that make sense?

@tangierc
Copy link

tangierc commented Feb 14, 2023 via email

@latenitefilms
Copy link
Owner Author

The extra characters at the end are just random characters. We add them because it's possible that a user might import several BRAW files that all have the same name, and the audio all lives in the one folder.

@tangierc
Copy link

tangierc commented Feb 14, 2023 via email

@tangierc
Copy link

tangierc commented Feb 15, 2023 via email

@latenitefilms
Copy link
Owner Author

Try using "Top-Level Clip Names":

image

image

Although, I am curious why you're using a EDL for Resolve and not a FCPXML?

@tangierc
Copy link

tangierc commented Feb 15, 2023 via email

@tangierc
Copy link

tangierc commented Mar 25, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working waiting on apple Waiting on Apple to reply or fix
Projects
None yet
Development

No branches or pull requests

2 participants