SchmockLord / Hackintosh-Intel-i9-10900k-Gigabyte-Z490-Vision-D

https://www.patreon.com/SchmockLord
https://youtu.be/szOofRy7uBc
686 stars 125 forks source link

Apple TV occasionally crashes with headless iGPU enabled #58

Open nonnumericdave opened 4 years ago

nonnumericdave commented 4 years ago

I'm using an Intel 10900K CPU/Gigabyte Z490 Vision D/AMD Radeon Pro WX 4100 setup, and I've noticed certain media applications crash when I have the iGPU enabled for compute-only, i.e., headless. In particular, most of my movies purchased from the iTunes store work properly, but when I try to watch special features for certain movies, the Apple TV application will segfault. I've also noticed segfaults in Safari when trying to watch Amazon Prime video as well. If I disable the iGPU in the BIOS, both of the above work as expected. I'm currently using the 3.1 tag with only the necessary changes, but I've noticed this behavior with earlier tags as well. Is anyone else able to get either of the above working with headless iGPU enabled alongside a discrete GPU?

Here's the relevant parts of the crash log:

Process: TV [1213] Path: /System/Applications/TV.app/Contents/MacOS/TV Identifier: com.apple.TV Version: 1.0.6 (1.0.6) Build Info: TVDesktop-1000006008000~8 Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: TV [1213] User ID: 502

Date/Time: 2020-08-19 22:57:26.017 -0600 OS Version: Mac OS X 10.15.6 (19G73) Report Version: 12 Anonymous UUID: 7979A21C-DD8D-30A8-A7BB-F932A9D53C6F

Time Awake Since Boot: 6100 seconds

System Integrity Protection: disabled

Crashed Thread: 36 com.apple.coremedia.videomediaconverter

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x00007f8edb80001c Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [1213]

VM Regions Near 0x7f8edb80001c: MALLOC_SMALL 00007f8edb000000-00007f8edb800000 [ 8192K] rw-/rwx SM=PRV
--> MALLOC_MEDIUM 00007f8ee0000000-00007f8ee0800000 [ 8192K] rw-/rwx SM=PRV

Application Specific Information: dyld3 mode

Thread 0:: TV main Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff70ad8dfa mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff70ad9170 mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff3692cef5 CFRunLoopServiceMachPort + 247 3 com.apple.CoreFoundation 0x00007fff3692b9c2 CFRunLoopRun + 1319 4 com.apple.CoreFoundation 0x00007fff3692ae3e CFRunLoopRunSpecific + 462 5 com.apple.HIToolbox 0x00007fff35557abd RunCurrentEventLoopInMode + 292 6 com.apple.HIToolbox 0x00007fff355577d5 ReceiveNextEventCommon + 584 7 com.apple.HIToolbox 0x00007fff35557579 _BlockUntilNextEventMatchingListInModeWithFilter + 64 8 com.apple.AppKit 0x00007fff33b9d039 _DPSNextEvent + 883 9 com.apple.AppKit 0x00007fff33b9b880 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352 10 com.apple.AppKit 0x00007fff33b8d58e -[NSApplication run] + 658 11 com.apple.TV 0x000000010113a6fb 0x100d22000 + 4294395 12 libdyld.dylib 0x00007fff70997cc9 start + 1

Thread 1: 0 libsystem_pthread.dylib 0x00007fff70b97b68 start_wqthread + 0

Thread 2:: CFRunLoopThread 0 libsystem_kernel.dylib 0x00007fff70ad8dfa mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff70ad9170 mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff3692cef5 CFRunLoopServiceMachPort + 247 3 com.apple.CoreFoundation 0x00007fff3692b9c2 CFRunLoopRun + 1319 4 com.apple.CoreFoundation 0x00007fff3692ae3e CFRunLoopRunSpecific + 462 5 com.apple.CoreFoundation 0x00007fff369b3489 CFRunLoopRun + 40 6 com.apple.TV 0x0000000100f61d8e 0x100d22000 + 2358670 7 com.apple.TV 0x0000000100f1a17b 0x100d22000 + 2064763 8 libsystem_pthread.dylib 0x00007fff70b9c109 _pthread_start + 148 9 libsystem_pthread.dylib 0x00007fff70b97b8b thread_start + 15

Thread 3:: AMCP Logging Spool 0 libsystem_kernel.dylib 0x00007fff70ad8e36 semaphore_wait_trap + 10 1 com.apple.audio.caulk 0x00007fff6a56bb16 caulk::mach::semaphore::wait() + 16 2 com.apple.audio.caulk 0x00007fff6a56b9b2 caulk::semaphore::timed_wait(double) + 106 3 com.apple.audio.caulk 0x00007fff6a56b7c4 caulk::concurrent::details::worker_thread::run() + 30 4 com.apple.audio.caulk 0x00007fff6a56b1e4 void caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::)(), std::__1::tuple<caulk::concurrent::details::worker_thread> > >(void) + 45 5 libsystem_pthread.dylib 0x00007fff70b9c109 _pthread_start + 148 6 libsystem_pthread.dylib 0x00007fff70b97b8b thread_start + 15

Thread 4: 0 libsystem_kernel.dylib 0x00007fff70ad8e36 semaphore_wait_trap + 10 1 com.apple.audio.caulk 0x00007fff6a56bb16 caulk::mach::semaphore::wait() + 16 2 com.apple.audio.caulk 0x00007fff6a56b9b2 caulk::semaphore::timed_wait(double) + 106 3 com.apple.audio.caulk 0x00007fff6a56b7c4 caulk::concurrent::details::worker_thread::run() + 30 4 com.apple.audio.caulk 0x00007fff6a56b1e4 void caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::)(), std::__1::tuple<caulk::concurrent::details::worker_thread> > >(void) + 45 5 libsystem_pthread.dylib 0x00007fff70b9c109 _pthread_start + 148 6 libsystem_pthread.dylib 0x00007fff70b97b8b thread_start + 15

Thread 5:: CoreAudioNotificationThread 0 libsystem_kernel.dylib 0x00007fff70ad8dfa mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff70ad9170 mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff3692cef5 CFRunLoopServiceMachPort + 247 3 com.apple.CoreFoundation 0x00007fff3692b9c2 CFRunLoopRun + 1319 4 com.apple.CoreFoundation 0x00007fff3692ae3e CFRunLoopRunSpecific + 462 5 com.apple.CoreFoundation 0x00007fff369b3489 CFRunLoopRun + 40 6 com.apple.TV 0x0000000101b29794 0x100d22000 + 14710676 7 com.apple.TV 0x0000000100f1a17b 0x100d22000 + 2064763 8 libsystem_pthread.dylib 0x00007fff70b9c109 _pthread_start + 148 9 libsystem_pthread.dylib 0x00007fff70b97b8b thread_start + 15

Thread 6:: JavaScriptCore bmalloc scavenger 0 libsystem_kernel.dylib 0x00007fff70adb882 psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff70b9c425 _pthread_cond_wait + 698 2 libc++.1.dylib 0x00007fff6dc6a623 std::__1::condition_variable::do_timed_wait(std::1::unique_lock&, std::__1::chrono::time_point<std::1::chrono::system_clock, std::1::chrono::duration<long long, std::1::ratio<1l, 1000000000l> > >) + 93 3 com.apple.JavaScriptCore 0x00007fff3b12da45 bmalloc::Scavenger::threadRunLoop() + 741 4 com.apple.JavaScriptCore 0x00007fff3b12d459 bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger) + 9 5 com.apple.JavaScriptCore 0x00007fff3b12fb37 void std::1::thread_proxy<std::1::tuple<std::1::unique_ptr<std::1::thread_struct, std::__1::default_delete >, void ()(bmalloc::Scavenger), bmalloc::Scavenger> >(void) + 39 6 libsystem_pthread.dylib 0x00007fff70b9c109 _pthread_start + 148 7 libsystem_pthread.dylib 0x00007fff70b97b8b thread_start + 15

Thread 7:: com.apple.CFSocket.private 0 libsystem_kernel.dylib 0x00007fff70ae10fe select + 10 1 com.apple.CoreFoundation 0x00007fff36955c53 CFSocketManager + 641 2 libsystem_pthread.dylib 0x00007fff70b9c109 _pthread_start + 148 3 libsystem_pthread.dylib 0x00007fff70b97b8b thread_start + 15

Thread 8:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x00007fff70ad8dfa mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff70ad9170 mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff3692cef5 CFRunLoopServiceMachPort + 247 3 com.apple.CoreFoundation 0x00007fff3692b9c2 CFRunLoopRun + 1319 4 com.apple.CoreFoundation 0x00007fff3692ae3e CFRunLoopRunSpecific + 462 5 com.apple.AppKit 0x00007fff33d3e954 _NSEventThread + 132 6 libsystem_pthread.dylib 0x00007fff70b9c109 _pthread_start + 148 7 libsystem_pthread.dylib 0x00007fff70b97b8b thread_start + 15

Thread 9:: AMPLibraryClient FetchChanges - Client Command Processor Thread 0 libsystem_kernel.dylib 0x00007fff70adb882 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff70b9c425 _pthread_cond_wait + 698 2 com.apple.TV 0x0000000100ee7fb5 0x100d22000 + 1859509 3 com.apple.TV 0x0000000100ee80da 0x100d22000 + 1859802 4 com.apple.TV 0x0000000100f60c66 0x100d22000 + 2354278 5 com.apple.TV 0x0000000100f1a17b 0x100d22000 + 2064763 6 libsystem_pthread.dylib 0x00007fff70b9c109 _pthread_start + 148 7 libsystem_pthread.dylib 0x00007fff70b97b8b thread_start + 15

Thread 10:: com.apple.NSURLConnectionLoader 0 libsystem_kernel.dylib 0x00007fff70ad8dfa mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff70ad9170 mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff3692cef5 CFRunLoopServiceMachPort + 247 3 com.apple.CoreFoundation 0x00007fff3692b9c2 CFRunLoopRun + 1319 4 com.apple.CoreFoundation 0x00007fff3692ae3e CFRunLoopRunSpecific + 462 5 com.apple.CFNetwork 0x00007fff35162e32 0x7fff35118000 + 306738 6 com.apple.Foundation 0x00007fff38fbe7a2 NSThreadstart__ + 1064 7 libsystem_pthread.dylib 0x00007fff70b9c109 _pthread_start + 148 8 libsystem_pthread.dylib 0x00007fff70b97b8b thread_start + 15

Thread 11: 0 libsystem_kernel.dylib 0x00007fff70adb882 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff70b9c425 _pthread_cond_wait + 698 2 com.apple.AppleVPAFramework 0x00007fff4a8daa30 0x7fff4a8b2000 + 166448 3 libsystem_pthread.dylib 0x00007fff70b9c109 _pthread_start + 148 4 libsystem_pthread.dylib 0x00007fff70b97b8b thread_start + 15

Thread 12: 0 libsystem_kernel.dylib 0x00007fff70ad8dfa mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff70ad9170 mach_msg + 60 2 com.apple.TV 0x0000000100fb0bcf 0x100d22000 + 2681807 3 com.apple.TV 0x0000000100faa590 0x100d22000 + 2655632 4 com.apple.TV 0x0000000100faa223 0x100d22000 + 2654755 5 com.apple.TV 0x0000000100faa15f 0x100d22000 + 2654559 6 com.apple.TV 0x0000000100ee8d2e 0x100d22000 + 1862958 7 com.apple.TV 0x0000000101945846 0x100d22000 + 12728390 8 com.apple.TV 0x0000000101958b0c 0x100d22000 + 12806924 9 com.apple.TV 0x000000010196cf08 0x100d22000 + 12889864 10 com.apple.TV 0x0000000100fa9a98 0x100d22000 + 2652824 11 com.apple.TV 0x0000000100f1a17b 0x100d22000 + 2064763 12 libsystem_pthread.dylib 0x00007fff70b9c109 _pthread_start + 148 13 libsystem_pthread.dylib 0x00007fff70b97b8b thread_start + 15

Thread 13: 0 libsystem_pthread.dylib 0x00007fff70b97b68 start_wqthread + 0

Thread 14: 0 libsystem_pthread.dylib 0x00007fff70b97b68 start_wqthread + 0

Thread 15: 0 libsystem_pthread.dylib 0x00007fff70b97b68 start_wqthread + 0

Thread 16:: com.apple.coreanimation.render-server 0 libsystem_kernel.dylib 0x00007fff70ad8dfa mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff70ad9170 mach_msg + 60 2 com.apple.QuartzCore 0x00007fff42443c8e CA::Render::Server::server_thread(void) + 496 3 com.apple.QuartzCore 0x00007fff42443a97 thread_fun(void) + 25 4 libsystem_pthread.dylib 0x00007fff70b9c109 _pthread_start + 148 5 libsystem_pthread.dylib 0x00007fff70b97b8b thread_start + 15

Thread 17: 0 libsystem_pthread.dylib 0x00007fff70b97b68 start_wqthread + 0

Thread 18: 0 libsystem_kernel.dylib 0x00007fff70ad8e4e semaphore_timedwait_trap + 10 1 libdispatch.dylib 0x00007fff7093eb6b _dispatch_sema4_timedwait + 76 2 libdispatch.dylib 0x00007fff7093ef97 _dispatch_semaphore_wait_slow + 58 3 libdispatch.dylib 0x00007fff7094c795 _dispatch_worker_thread + 284 4 libsystem_pthread.dylib 0x00007fff70b9c109 _pthread_start + 148 5 libsystem_pthread.dylib 0x00007fff70b97b8b thread_start + 15

Thread 19: 0 libsystem_kernel.dylib 0x00007fff70ad8e4e semaphore_timedwait_trap + 10 1 libdispatch.dylib 0x00007fff7093eb6b _dispatch_sema4_timedwait + 76 2 libdispatch.dylib 0x00007fff7093ef97 _dispatch_semaphore_wait_slow + 58 3 libdispatch.dylib 0x00007fff7094c795 _dispatch_worker_thread + 284 4 libsystem_pthread.dylib 0x00007fff70b9c109 _pthread_start + 148 5 libsystem_pthread.dylib 0x00007fff70b97b8b thread_start + 15

Thread 20: 0 libsystem_kernel.dylib 0x00007fff70ad8e4e semaphore_timedwait_trap + 10 1 libdispatch.dylib 0x00007fff7093eb6b _dispatch_sema4_timedwait + 76 2 libdispatch.dylib 0x00007fff7093ef97 _dispatch_semaphore_wait_slow + 58 3 libdispatch.dylib 0x00007fff7094c795 _dispatch_worker_thread + 284 4 libsystem_pthread.dylib 0x00007fff70b9c109 _pthread_start + 148 5 libsystem_pthread.dylib 0x00007fff70b97b8b thread_start + 15

Thread 21: 0 libsystem_kernel.dylib 0x00007fff70ad8e4e semaphore_timedwait_trap + 10 1 libdispatch.dylib 0x00007fff7093eb6b _dispatch_sema4_timedwait + 76 2 libdispatch.dylib 0x00007fff7093ef97 _dispatch_semaphore_wait_slow + 58 3 libdispatch.dylib 0x00007fff7094c795 _dispatch_worker_thread + 284 4 libsystem_pthread.dylib 0x00007fff70b9c109 _pthread_start + 148 5 libsystem_pthread.dylib 0x00007fff70b97b8b thread_start + 15

Thread 22: 0 libsystem_pthread.dylib 0x00007fff70b97b68 start_wqthread + 0

Thread 23: 0 libsystem_pthread.dylib 0x00007fff70b97b68 start_wqthread + 0

Thread 24: 0 libsystem_kernel.dylib 0x00007fff70ad8e4e semaphore_timedwait_trap + 10 1 libdispatch.dylib 0x00007fff7093eb6b _dispatch_sema4_timedwait + 76 2 libdispatch.dylib 0x00007fff7093ef97 _dispatch_semaphore_wait_slow + 58 3 libdispatch.dylib 0x00007fff7094c795 _dispatch_worker_thread + 284 4 libsystem_pthread.dylib 0x00007fff70b9c109 _pthread_start + 148 5 libsystem_pthread.dylib 0x00007fff70b97b8b thread_start + 15

Thread 25: 0 libsystem_kernel.dylib 0x00007fff70ad8e4e semaphore_timedwait_trap + 10 1 libdispatch.dylib 0x00007fff7093eb6b _dispatch_sema4_timedwait + 76 2 libdispatch.dylib 0x00007fff7093ef97 _dispatch_semaphore_wait_slow + 58 3 libdispatch.dylib 0x00007fff7094c795 _dispatch_worker_thread + 284 4 libsystem_pthread.dylib 0x00007fff70b9c109 _pthread_start + 148 5 libsystem_pthread.dylib 0x00007fff70b97b8b thread_start + 15

Thread 26: 0 libsystem_kernel.dylib 0x00007fff70ad8e4e semaphore_timedwait_trap + 10 1 libdispatch.dylib 0x00007fff7093eb6b _dispatch_sema4_timedwait + 76 2 libdispatch.dylib 0x00007fff7093ef97 _dispatch_semaphore_wait_slow + 58 3 libdispatch.dylib 0x00007fff7094c795 _dispatch_worker_thread + 284 4 libsystem_pthread.dylib 0x00007fff70b9c109 _pthread_start + 148 5 libsystem_pthread.dylib 0x00007fff70b97b8b thread_start + 15

Thread 27: 0 libsystem_kernel.dylib 0x00007fff70ad8e4e semaphore_timedwait_trap + 10 1 libdispatch.dylib 0x00007fff7093eb6b _dispatch_sema4_timedwait + 76 2 libdispatch.dylib 0x00007fff7093ef97 _dispatch_semaphore_wait_slow + 58 3 libdispatch.dylib 0x00007fff7094c795 _dispatch_worker_thread + 284 4 libsystem_pthread.dylib 0x00007fff70b9c109 _pthread_start + 148 5 libsystem_pthread.dylib 0x00007fff70b97b8b thread_start + 15

Thread 28: 0 libsystem_pthread.dylib 0x00007fff70b97b68 start_wqthread + 0

Thread 29: 0 libsystem_pthread.dylib 0x00007fff70b97b68 start_wqthread + 0

Thread 30: 0 libsystem_pthread.dylib 0x00007fff70b97b68 start_wqthread + 0

Thread 31: 0 libsystem_pthread.dylib 0x00007fff70b97b68 start_wqthread + 0

Thread 32: 0 libsystem_pthread.dylib 0x00007fff70b97b68 start_wqthread + 0

Thread 33: 0 libsystem_pthread.dylib 0x00007fff70b97b68 start_wqthread + 0

Thread 34: 0 libsystem_kernel.dylib 0x00007fff70adb756 __semwait_signal + 10 1 libsystem_c.dylib 0x00007fff70a5eeea nanosleep + 196 2 libsystem_c.dylib 0x00007fff70a5ed52 sleep + 41 3 com.apple.CoreLSKD 0x0000000113768db1 0x112a34000 + 13847985 4 libsystem_pthread.dylib 0x00007fff70b9c109 _pthread_start + 148 5 libsystem_pthread.dylib 0x00007fff70b97b8b thread_start + 15

Thread 35:: com.apple.coremedia.imagequeue.coreanimation.common 0 libsystem_kernel.dylib 0x00007fff70adb882 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff70b9c425 _pthread_cond_wait + 698 2 com.apple.CoreMedia 0x00007fff37ae8925 WaitOnConditionTimed + 92 3 com.apple.CoreMedia 0x00007fff37ad3218 FigSemaphoreWaitRelative + 152 4 com.apple.MediaToolbox 0x00007fff3b9ca289 0x7fff3b6d1000 + 3117705 5 com.apple.CoreMedia 0x00007fff37ae85c3 figThreadMain + 276 6 libsystem_pthread.dylib 0x00007fff70b9c109 _pthread_start + 148 7 libsystem_pthread.dylib 0x00007fff70b97b8b thread_start + 15

Thread 36 Crashed:: com.apple.coremedia.videomediaconverter 0 com.apple.AppleGVAFramework 0x00007fff4a20b9ba 0x7fff4a1fa000 + 72122 1 com.apple.AppleGVAFramework 0x00007fff4a20bb9d 0x7fff4a1fa000 + 72605 2 com.apple.AppleGVAFramework 0x00007fff4a234d54 0x7fff4a1fa000 + 240980 3 com.apple.AppleGVAFramework 0x00007fff4a2400c9 0x7fff4a1fa000 + 286921 4 com.apple.VideoToolbox 0x00007fff4466c4f4 0x7fff445a7000 + 808180 5 com.apple.VideoToolbox 0x00007fff445bf9c1 0x7fff445a7000 + 100801 6 com.apple.VideoToolbox 0x00007fff445be55b 0x7fff445a7000 + 95579 7 com.apple.MediaToolbox 0x00007fff3b791645 0x7fff3b6d1000 + 788037 8 com.apple.MediaToolbox 0x00007fff3b9c8a4f 0x7fff3b6d1000 + 3111503 9 com.apple.CoreMedia 0x00007fff37ae85c3 figThreadMain + 276 10 libsystem_pthread.dylib 0x00007fff70b9c109 _pthread_start + 148 11 libsystem_pthread.dylib 0x00007fff70b97b8b thread_start + 15

Thread 37: 0 libsystem_kernel.dylib 0x00007fff70adb062 __psynch_mutexwait + 10 1 libsystem_pthread.dylib 0x00007fff70b99917 _pthread_mutex_firstfit_lock_wait + 83 2 libsystem_pthread.dylib 0x00007fff70b97937 _pthread_mutex_firstfit_lock_slow + 222 3 com.apple.AppleGVAFramework 0x00007fff4a235f6f 0x7fff4a1fa000 + 245615 4 com.apple.AppleGVAFramework 0x00007fff4a235d51 0x7fff4a1fa000 + 245073 5 libsystem_pthread.dylib 0x00007fff70b9c109 _pthread_start + 148 6 libsystem_pthread.dylib 0x00007fff70b97b8b thread_start + 15

Thread 38: 0 libsystem_kernel.dylib 0x00007fff70ad8e4e semaphore_timedwait_trap + 10 1 libdispatch.dylib 0x00007fff7093eb6b _dispatch_sema4_timedwait + 76 2 libdispatch.dylib 0x00007fff7093ef97 _dispatch_semaphore_wait_slow + 58 3 libdispatch.dylib 0x00007fff7094c795 _dispatch_worker_thread + 284 4 libsystem_pthread.dylib 0x00007fff70b9c109 _pthread_start + 148 5 libsystem_pthread.dylib 0x00007fff70b97b8b thread_start + 15

Thread 39:: com.apple.coreaudio.AQClient 0 libsystem_kernel.dylib 0x00007fff70ad8dfa mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff70ad9170 mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff3692cef5 CFRunLoopServiceMachPort + 247 3 com.apple.CoreFoundation 0x00007fff3692b9c2 CFRunLoopRun + 1319 4 com.apple.CoreFoundation 0x00007fff3692ae3e CFRunLoopRunSpecific + 462 5 com.apple.audio.toolbox.AudioToolbox 0x00007fff34cb22e8 GenericRunLoopThread::Entry(void) + 166 6 libAudioToolboxUtility.dylib 0x00007fff6d3af6c9 CAPThread::Entry(CAPThread) + 77 7 libsystem_pthread.dylib 0x00007fff70b9c109 _pthread_start + 148 8 libsystem_pthread.dylib 0x00007fff70b97b8b thread_start + 15

Thread 40:: com.apple.coremedia.audioqueue.source 0 libsystem_kernel.dylib 0x00007fff70adb882 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff70b9c425 _pthread_cond_wait + 698 2 com.apple.CoreMedia 0x00007fff37ae9b37 WaitOnCondition + 11 3 com.apple.CoreMedia 0x00007fff37ad3211 FigSemaphoreWaitRelative + 145 4 com.apple.MediaToolbox 0x00007fff3b7822ca 0x7fff3b6d1000 + 725706 5 com.apple.CoreMedia 0x00007fff37ae85c3 figThreadMain + 276 6 libsystem_pthread.dylib 0x00007fff70b9c109 _pthread_start + 148 7 libsystem_pthread.dylib 0x00007fff70b97b8b thread_start + 15

Thread 41: 0 libsystem_kernel.dylib 0x00007fff70ad8e4e semaphore_timedwait_trap + 10 1 libdispatch.dylib 0x00007fff7093eb6b _dispatch_sema4_timedwait + 76 2 libdispatch.dylib 0x00007fff7093ef97 _dispatch_semaphore_wait_slow + 58 3 libdispatch.dylib 0x00007fff7094c795 _dispatch_worker_thread + 284 4 libsystem_pthread.dylib 0x00007fff70b9c109 _pthread_start + 148 5 libsystem_pthread.dylib 0x00007fff70b97b8b thread_start + 15

Thread 42: 0 libsystem_kernel.dylib 0x00007fff70ad8e4e semaphore_timedwait_trap + 10 1 libdispatch.dylib 0x00007fff7093eb6b _dispatch_sema4_timedwait + 76 2 libdispatch.dylib 0x00007fff7093ef97 _dispatch_semaphore_wait_slow + 58 3 libdispatch.dylib 0x00007fff7094c795 _dispatch_worker_thread + 284 4 libsystem_pthread.dylib 0x00007fff70b9c109 _pthread_start + 148 5 libsystem_pthread.dylib 0x00007fff70b97b8b thread_start + 15

Thread 36 crashed with X86 Thread State (64-bit): rax: 0x00000000000522b3 rbx: 0x00007f8eda375000 rcx: 0x000000000148acc0 rdx: 0x0000000000000000 rdi: 0x0000000000000001 rsi: 0x00000000000522b3 rbp: 0x00007000037137a0 rsp: 0x0000700003713790 r8: 0x0000000000000000 r9: 0x0000000000000037 r10: 0x00000000ffffffdc r11: 0xffffa0010d59dea1 r12: 0x0000000000000000 r13: 0x000000010eb03dac r14: 0x000000010eb03dac r15: 0x00007f8ee0040000 rip: 0x00007fff4a20b9ba rfl: 0x0000000000010206 cr2: 0x00007f8edb80001c

Logical CPU: 12 Error Code: 0x00000006 (no mapping for user data write) Trap Number: 14

davidhole commented 4 years ago

I had similar problems with apps crashing relating to internal GPU...

I ended up changing the ig-platform-id to the one specified in this repo (very similar components): https://github.com/samuel21119/Intel-i9-10900-Gigabyte-Z490-Vision-G-Hackintosh

Specifically looking at the iGPU UHD-630 section

Changing from: AAPL,ig-platform-id: 07009B3E to: AAPL,ig-platform-id: 0300923E solved it all for me :)

nonnumericdave commented 4 years ago

Thanks for the response!

Unfortunately, I just tried switched the platform id to 0300923E, and I'm still seeing both crashes.

The first crash only happens with iTunes Special Features, e.g., deleted scenes, etc.

The second crash happens when I'm watching Amazon Prime video in Safari. It doesn't occur when watching the same Amazon Prime video in Chrome, which leads me to suspect it is some kind of DRM issue, as I believe Safari has DRM content privileges on MacOS. Oddly enough, the same issue does not occur with Netflix in Safari -- I can watch in 1080P just fine.

I will say the crashing thread looks slightly different this second time around -- it appears to have gotten a few calls deeper into the stack, but I don't have symbols for the AppleGVAFramework, so it is not clear if this is just a byproduct of the crash reporter.

Again, neither crash occurs with the iGPU disabled in the BIOS. I'd like to keep the iGPU enabled so I can take advantage of the compute, but I may just turn it off for now.

I thought about attaching LLDB to TV.app to get more details, but I have SIP on, so that'll probably have to wait until the weekend.

SchmockLord commented 4 years ago

You are aware that you have to change to iMac19,1 if you use 07009B3E and iMacPro1,1 if you use 0300C89B ?

Maybe you should also try to set your Internal Graphics from Auto to 64M in BIOS.

nonnumericdave commented 4 years ago

I'm not sure why one would use 07009B3E for iMac19,1 as I don't believe its headless, but it doesn't appear to address the issue. I also already had my 64MB preallocated for the iGPU in the BIOS.

I'm literally just wondering if someone can try either of the following cases when they have the iGPU enabled in headless mode alongside a dGPU:

1) Watching the Special Features of a movie they purchased on iTunes via TV.app, e.g., a deleted scene.

2) Watching an Amazon Prime video in Safari.

jamesfawcett commented 4 years ago

Hello, are there any other options to test the crash? I don't have amazon prime or any purchased movies unfortunately but willing to test for you!

SchmockLord commented 4 years ago

So yesterday I tried to run my system iGPU-only and tried different approaches.

My findings:

So I guess, longterm we will need iMac20,1 or 20,2 to watch Prime/Netflix in Safari. But both are not fully implemented in OpenCore/Whatevergreen etc. yet. And I don't know if that will be so easy because the iMac20,1 and 20,2 have T2-Security chips.

pekflyer commented 4 years ago

One data point: On Catalina 10.15.7, updated to the Lord's latest EFI release. Prime/Netflix not working, but Apple TV+ works fine. I am on iMac20,2 with 5700xt