Modern Rendering with Metal (Apple Sample application), make my MacBook to crash completely, need to reboot. Any other people with the same experience ?

Running the sample "Modern Rendering with Metal" found on https://developer.apple.com/metal/sample-code/

makes my Macbook pro to crash, the hard way, I need to reboot it.


This is the crash log displayed on reboot after this crash occurs:


panic(cpu 2 caller 0xffffff7f937885b4): "Submission on work queue 44 failed due to insufficient space!\n"@skl/sched3/IGGuC.cpp:2764

Backtrace (CPU 2), Frame : Return Address

0xffffff8200b02e90 : 0xffffff800f53bb1b

0xffffff8200b02ee0 : 0xffffff800f6733e5

0xffffff8200b02f20 : 0xffffff800f664e5e

0xffffff8200b02f70 : 0xffffff800f4e2a40

0xffffff8200b02f90 : 0xffffff800f53b207

0xffffff8200b03090 : 0xffffff800f53b5eb

0xffffff8200b030e0 : 0xffffff800fcd24f9

0xffffff8200b03150 : 0xffffff7f937885b4

0xffffff8200b03160 : 0xffffff7f937043f9

0xffffff8200b03210 : 0xffffff7f9372748e

0xffffff8200b03240 : 0xffffff7f937150c3

0xffffff8200b03300 : 0xffffff7f93711188

0xffffff8200b03370 : 0xffffff7f9373dc1f

0xffffff8200b035a0 : 0xffffff7f93714599

0xffffff8200b035e0 : 0xffffff7f9327151f

0xffffff8200b03610 : 0xffffff7f9371418a

0xffffff8200b03650 : 0xffffff7f932716b6

0xffffff8200b03690 : 0xffffff7f93271cc9

0xffffff8200b03930 : 0xffffff7f93714b28

0xffffff8200b03960 : 0xffffff7f93272bfe

0xffffff8200b039f0 : 0xffffff7f93270d80

0xffffff8200b03a50 : 0xffffff7f93270b6d

0xffffff8200b03aa0 : 0xffffff7f9326fbb7

0xffffff8200b03ae0 : 0xffffff800fc66fcb

0xffffff8200b03b30 : 0xffffff7f937147a2

0xffffff8200b03b60 : 0xffffff800fc70083

0xffffff8200b03ca0 : 0xffffff800f622c22

0xffffff8200b03db0 : 0xffffff800f541998

0xffffff8200b03e10 : 0xffffff800f518625

0xffffff8200b03e70 : 0xffffff800f52f0d5

0xffffff8200b03f00 : 0xffffff800f64b485

0xffffff8200b03fa0 : 0xffffff800f4e3226

Kernel Extensions in backtrace:

com.apple.iokit.IOAcceleratorFamily2(438.2.8)[9176E894-E24A-36BA-AFDA-0DB11F3F512A]@0xffffff7f9322e000->0xffffff7f932f0fff

dependency: com.apple.driver.AppleMobileFileIntegrity(1.0.5)[2FAEE793-59BC-3ADF-A5E2-3BC8760AFE0B]@0xffffff7f90621000

dependency: com.apple.iokit.IOPCIFamily(2.9)[1286D5E5-A6A1-3C44-A244-04C068903DB2]@0xffffff7f8ff10000

dependency: com.apple.iokit.IOSurface(269.6)[640503DC-6033-3EF6-85F4-F48282EF48DD]@0xffffff7f91a7f000

dependency: com.apple.iokit.IOGraphicsFamily(569.3)[7B5CA52B-0BD1-34AB-BFC9-7D5C3A0DBE7C]@0xffffff7f93193000

dependency: com.apple.iokit.IOReportFamily(47)[E3C37E96-3AFA-301F-B89C-719FB3D4DA53]@0xffffff7f8fe49000

com.apple.driver.AppleIntelKBLGraphics(14.0.3)[1B1F5C29-179F-374D-BACF-919D3A83FBBD]@0xffffff7f936ff000->0xffffff7f937f1fff

dependency: com.apple.iokit.IOPCIFamily(2.9)[1286D5E5-A6A1-3C44-A244-04C068903DB2]@0xffffff7f8ff10000

dependency: com.apple.iokit.IOSurface(269.6)[640503DC-6033-3EF6-85F4-F48282EF48DD]@0xffffff7f91a7f000

dependency: com.apple.iokit.IOGraphicsFamily(569.3)[7B5CA52B-0BD1-34AB-BFC9-7D5C3A0DBE7C]@0xffffff7f93193000

dependency: com.apple.iokit.IOAcceleratorFamily2(438.2.8)[9176E894-E24A-36BA-AFDA-0DB11F3F512A]@0xffffff7f9322e000



BSD process name corresponding to current thread: ModernRenderer

Boot args: chunklist-security-epoch=0 -chunklist-no-rev2-dev



Mac OS version:

19C57



Kernel version:

Darwin Kernel Version 19.2.0: Sat Nov 9 03:47:04 PST 2019; root:xnu-6153.61.1~20/RELEASE_X86_64

Kernel UUID: C3E7E405-C692-356B-88D3-C30041FD1E72

Kernel slide: 0x000000000f200000

Kernel text base: 0xffffff800f400000

__HIB text base: 0xffffff800f300000

System model name: MacBookPro15,2 (Mac-827FB448E656EC26)

System shutdown begun: NO



System uptime in nanoseconds: 3638299676965

last loaded kext at 377384581581: >!AXsanScheme 3 (addr 0xffffff7f935ed000, size 32768)

last unloaded kext at 846736836798: >!AXsanScheme 3 (addr 0xffffff7f935ed000, size 32768)

loaded kexts:

at.obdev.nke.LittleSnitch 5430

com.intel.driver.EnergyDriver 3.6.1

com.intel.kext.intelhaxm 6.0.5

@fileutil 20.036.15

>!AGraphicsDevicePolicy 4.5.21

@AGDCPluginDisplayMetrics 4.5.21

>!AHV 1

|IOUserEthernet 1.0.1

|IO!BSerialManager 7.0.2f4

>pmtelemetry 1

>!AUpstreamUserClient 3.6.8

>AGPM 111.4.1

>!APlatformEnabler 2.7.0d0

>X86PlatformShim 1.0.0

@Dont_Steal_Mac_OS_X 7.0.0

>!A!IKBLGraphics 14.0.3

>!AThunderboltIP 3.1.3

>BridgeAudioCommunication 6.60

>!ABacklight 180.1

>!ABridgeAudio!C 6.60

>!AGFXHDA 100.1.422

>!ATopCaseHIDEventDriver 3420.1

>!AHIDALSService 1

>!A!ICFLGraphicsFramebuffer 14.0.3

>!AAVEBridge 6.1

>!A!IPCHPMC 2.0.1

>!A!ISlowAdaptiveClocking 4.0.0

>!AMCCSControl 1.13

@filesystems.autofs 3.0

>usb.realtek8153patcher 5.0.0

@filesystems.apfs 1412.61.1

>BCMWLANFirmware4355.Hashstore 1

>BCMWLANFirmware4364.Hashstore 1

>BCMWLANFirmware4377.Hashstore 1

@filesystems.hfs.kext 522.0.9

@BootCache 40

@!AFSCompression.!AFSCompressionTypeDataless 1.0.0d1

@!AFSCompression.!AFSCompressionTypeZlib 1.0.0

>!AVirtIO 1.0

>!ABCMWLANBusInterfacePCIe 1

@private.KextAudit 1.0

>!ASmartBatteryManager 161.0.0

>!AACPIButtons 6.1

>!ASMBIOS 2.1

>!AACPIEC 6.1

>!AAPIC 1.7

$!AImage4 1

@nke.applicationfirewall 303

$TMSafetyNet 8

@!ASystemPolicy 2.0.0

|EndpointSecurity 1

>!AGraphicsControl 4.5.21

|IOAVB!F 800.17

>!ASSE 1.0

@!AGPUWrangler 4.5.21

>!ABacklightExpert 1.1.0

>!UAudio 320.49

|IONDRVSupport 569.3

>!AActuatorDriver 3420.2

>!AHIDKeyboard 209

>!AHS!BDriver 3420.1

>IO!BHIDDriver 7.0.2f4

>!AMultitouchDriver 3420.2

>!AInputDeviceSupport 3420.4

|IO!BHost!CUARTTransport 7.0.2f4

|IO!BHost!CTransport 7.0.2f4

>!A!ILpssUARTv1 3.0.60

>!A!ILpssUARTCommon 3.0.60

>!AOnboardSerial 1.0

@!AGraphicsDeviceControl 4.5.21

|IOAccelerator!F2 438.2.8

>X86PlatformPlugin 1.0.0

>IOPlatformPlugin!F 6.0.0d8

|IOSlowAdaptiveClocking!F 1.0.0

>!ASMBus!C 1.0.18d1

|IOGraphics!F 569.3

@plugin.IOgPTPPlugin 800.14

|IOEthernetAVB!C 1.1.0

@kext.triggers 1.0

>usb.cdc.ncm 5.0.0

>usb.cdc 5.0.0

>usb.networking 5.0.0

>usb.!UHostCompositeDevice 1.2

>!AThunderboltDPOutAdapter 6.2.4

>!AThunderboltPCIUpAdapter 2.5.2

>usb.!UHub 1.2

>usb.!UVHCIBCE 1.2

>usb.!UVHCI 1.2

>usb.!UVHCICommonBCE 1.0

>usb.!UVHCICommon 1.0

>!AEffaceableNOR 1.0

|IOBufferCopy!C 1.1.0

|IOBufferCopyEngine!F 1

|IONVMe!F 2.1.0

>!AThunderboltPCIDownAdapter 2.5.2

>!AThunderboltDPInAdapter 6.2.4

>!AThunderboltDPAdapter!F 6.2.4

>!AHPM 3.4.4

>!A!ILpssI2C!C 3.0.60

>!A!ILpssDmac 3.0.60

|IOSurface 269.6

@filesystems.hfs.encodings.kext 1

|IOAudio!F 300.2

@vecLib.kext 1.2.0

>!AThunderboltNHI 5.8.1

|IOThunderbolt!F 7.4.7

>!ABCMWLANCore 1.0.0

>mDNSOffloadUserClient 1.0.1b8

>IOImageLoader 1.0.0

|IOSerial!F 11

|IO80211!FV2 1200.12.2b1

>corecapture 1.0.4

|IOSkywalk!F 1

|IOUSB!F 900.4.2

>!A!ILpssI2C 3.0.60

>usb.!UXHCIPCI 1.2

>usb.!UXHCI 1.2

>!AEFINVRAM 2.1

>!AEFIRuntime 2.1

>!ASMCRTC 1.0

|IOSMBus!F 1.1

|IOHID!F 2.0.0

$quarantine 4

$sandbox 300.0

@kext.!AMatch 1.0.0d1

>!AKeyStore 2

>!UTDM 489.60.3

|IOSCSIBlockCommandsDevice 422.0.2

>!ACredentialManager 1.0

>KernelRelayHost 1

>!ASEPManager 1.0.1

>IOSlaveProcessor 1

>!AFDEKeyStore 28.30

>!AEffaceable!S 1.0

>!AMobileFileIntegrity 1.0.5

@kext.CoreTrust 1

|CoreAnalytics!F 1

|IOTimeSync!F 800.14

|IONetworking!F 3.4

>DiskImages 493.0.0

|IO!B!F 7.0.2f4

|IO!BPacketLogger 7.0.2f4

|IOUSBMass!SDriver 157.40.7

|IOSCSIArchitectureModel!F 422.0.2

|IO!S!F 2.1

|IOUSBHost!F 1.2

>usb.!UCommon 1.0

>!UHostMergeProperties 1.2

>!ABusPower!C 1.0

|IOReport!F 47

>!AACPIPlatform 6.1

>!ASMC 3.1.9

>watchdog 1

|IOPCI!F 2.9

|IOACPI!F 1.4

@kec.pthread 1

@kec.corecrypto 1.0

@kec.Libm 1




Does someone experience the same problem? Is it linked to my setup (Macbook pro 2018, Iris Plus655, 16GB RAM)? Or does this sample requires some review for Catalina....


Many Thanks

Sanduleak

Replies

Hi,


Yes.. we have reproduced this on two Intel GPU MacBook Pros on all released 10.15 macOS's. The Metal drivers are .. about this good.


After an e-mail with devsupport yesterday about how to get Metal driver issues resolved I ended up filing a TSI.

Update,


Apple replied to the TSI today that there is nothing that they can / will do, and reimbursed the TSI.

LxLasso, re: "there is nothing that they can / will do" - is not accurate and not what was communicated to you.


We are aware of the defect in the sample (most unfortunate) and had asked you follow-up with your bug report.


Rest assurred this situation is being addressed. Please do follow-up with your bug report.

4k4,


I have no particular desire be querulant but I believe it to be the sum of all that has been communicated to us. Our bug reports are not being responded to, when mailing DTS we were told to file a TSI and when filing a TSI it is closed and we're told to ask for reponse to bug reports instead of filing TSI's.


Is FB7432403 the bug report you are referring to?


Your words of assurance are welcome. All we really want to hear is that at least someone is working on all the issues.

LxLasso, we the hope this brings more clarity to the situation, and we're glad you're reassured.

We also appreciate your frankness and drawing attention developer support.


FWIW DTS wouldn't take your time and money if there wasn't a workaround to pursue.

This particular issue (FB7432403) presents a number of challenges.


Getting feedback on bug reports can still be a challenge even with the new Feedback Assistant.

It looks like you sought an update back in Novemeber without getting a reply so I've updated the bug report and requested that you be sent an update.

Hi,

I have troubles running ModernRendering on my MacBook Pro.

When I run on Radeon Pro 5500M, the sample shows nothing excepts lighting effects and when I capture GPU frames, the system hangs and finally get kernel panic :-(

It runs pretty well on Intel Graphics 630. But I have to make some tweaks to resolve some texture loading issues.


MacBook Pro 16 inch 2019, macOS 10.15.2

I encountered the same thing with a Radeon RX 5500 XT in an eGPU enclosure. (It works on other Radeon GPUs though, such as the M395X and the Radeon 560.)


I submitted FB7536665 for the rendering issues and FB7536675 for the kernel panic.

I'm very looking forward to Apple's feedback! 😁

Please let me know!