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
New MacStudio Ultra 60 core 128 GB Ram #348
Comments
Twice I could re-produce it 3rd time I filmed and it would not hang https://drive.google.com/file/d/15OhDWAWkbJ9eVm1ciU6IqGJzCrE-fJlM/view?usp=sharing |
Can you list all the codecs in use in the project which hangs? It might be easier and more informative to just get the MediaInfo or Invisor output of each one and attach that to this bug report. Also in FCP do OPT+Help>Gather App Diagnostics and attach that. It puts the .gz file on your desktop. The Resolve people are reporting red "Missing Media" warnings on some H.264 and HEVC codecs on M3 machines. Today I reproduced one problem on my M1 Ultra using both Resolve and FCP when playing or transcoding a 4k/23.98 8-bit 4:2:0 100 mbps clip from a DJI Inspire 2. That was FCP 10.7.1, Sonoma 14.3.1 and Resolve 18.6.6. I'm still investigating that, but in the event your case is related to the M1 Ultra parallel decoders, we need to know the codecs. I examined the spindump. Comments: Final Cut Pro is hanging or stuck in a deadlock situation involving multiple threads waiting on locks or resources held by other threads. Observations: The main thread (Thread 0x16248d) is stuck in a dispatched block, ie GCD, waiting on a shared lock via the -[FFSharedLock _readLock:] method. This lock seems to be heavily contended. Several other key threads are also stuck waiting on the same -[FFSharedLock _readLock:] call in various parts of the codebase: Thread 0x162d3d - in +[FFMotionEffect _processEffectsNeedingVideoStreamClose:] FFPlayer is the FCP playback engine. FF=Flexo Framework, the main FCP private framework. FFplayer render threads 0x162ccf and 0x162cde are mostly idle, periodically waking up to do some work but getting stuck on condition variable waits. In summary, it seems there is a deadlock around the heavily used FFSharedLock where multiple threads are stuck waiting to acquire a read lock on it. The contention spans areas like motion effects, audio unit allocation, frame thumbnail generation, ProRes decoding etc. |
How can I find all codecs I have some mixed old archive footage there Can I take codes from FCP Inspector? This is what in the FCP Codec field In hindsight, I say the vast majority of crashes in FCP happen when trying to do something and often when loading new Libraries Projects and being too quick wanting to do something in FCP |
and another one trying to export a project Date/Time: 2024-03-29 21:06:36.868 +1100 Data Source: Stackshots Duration: 10.00s Hardware model: Mac13,2 Time Since Boot: 44716s Fan speed: 1325 rpm Launchd throttled processes: Preferred User Language: en-AU Heavy format: stacks are sorted by countProcess: 1Password [587] Thread 0x1cd2 DispatchQueue "com.apple.main-thread"(1) Thread name "CrBrowserMain" 1001 samples (1-1001) priority 46 (base 46) cpu time <0.001s (1489.0K cycles, 1631.3K instructions, 0.91c/i) |
very disheartening after a clean re-install of everything and on a Mac Ultra with 128 GB ram |
I examined your latest spindump. There are several threads hung on AU (Audio Unit) functions. Are you using any third-party audio plugins? You are also using CoreMelt plugins. Are those all updated to the latest version? I am working on a simple utility to extract the metadata from all files used in your timeline. That is needed for this case and in general. Attached is a process list extracted from your spindump, in case that helps subsequent troubleshooting. |
A few more comments: The process list shows several instances of VTDecoderXPCService. That could imply the hang happens on the decode phase, before ever reaching the encode phase. Have you tried fully rendering the timeline before exporting it? IOW select all clips with CMD+A, then render them to cache with CTRL+R. The results might tell us something. The PFS processes are likely Pixel Film Studios plugins. There have long been reliability problems with those but I don't have first hand current information. The process list also implies you are running the Chrome browser. There was previously an issue whereby Chrome would misuse the MacOS Video Toolbox framework, thereby destabilizing FCP. I think was supposedly fixed around 2020 or 2021, but the people on the Apple Support FCP forum frequently tell users to remove Chrome and they have a whole procedure for that. You could try disabling hardware acceleration in Chrome:
Current versions of FCP and third-party plugins use the FxPlug 4.x framework, which runs plugin code in external host processes. This was intended to be more reliable than the previous FxPlug 3.x method of running those within the FCP process. However there are still lingering cases where a misbehaved plugin can destabilize or crash FCP. There are also cases where developers of audio plugins have not updated their produces to Apple Silicon. Since Rosetta 2 does not support mixed x86/ARM code, that would normally make it impossible to run those x86 plugins on Apple Silicon. However those developers sometimes recommend a procedure of forcing the x86 plugin to run under Rosetta in a separate process. I'm not sure what Apple's position on that is. |
Hi Joe, Thanks for the help. Yes, on this crash, I did not Render just clicked export, and yes, I did use one non apple audio plug in a Clarity Waves De-verb plug-in, which seems like it does not support FCP anymore. I deleted them now. I've been using Opera as my main Browser for quite some time. I think it's based on Chrome. I have now disabled the Graphic acceleration. I restarted FCP rendered first and it did not crash. FCP is so sensible and finicky |
Apple Feedback Assistant ID: MISSING
DESCRIBE THE BUG:
FCP is hanging when loading a project I previously finalised on a new machine. Everything installed from scratch no migration
TO REPRODUCE:
Open project and try to do anything in project FCP will hang and needs to be forced quite
EXPECTED BEHAVIOUR:
not to crash
SCREENSHOTS:
SPECS:
Apple M1 Ultra Sonoma 14.4.1
128GB Ram
ADDITIONAL COMMENTS:
Spindump.txt.zip
The text was updated successfully, but these errors were encountered: