Post

Replies

Boosts

Views

Activity

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:2764Backtrace (CPU 2), Frame : Return Address0xffffff8200b02e90 : 0xffffff800f53bb1b0xffffff8200b02ee0 : 0xffffff800f6733e50xffffff8200b02f20 : 0xffffff800f664e5e0xffffff8200b02f70 : 0xffffff800f4e2a400xffffff8200b02f90 : 0xffffff800f53b2070xffffff8200b03090 : 0xffffff800f53b5eb0xffffff8200b030e0 : 0xffffff800fcd24f90xffffff8200b03150 : 0xffffff7f937885b40xffffff8200b03160 : 0xffffff7f937043f90xffffff8200b03210 : 0xffffff7f9372748e0xffffff8200b03240 : 0xffffff7f937150c30xffffff8200b03300 : 0xffffff7f937111880xffffff8200b03370 : 0xffffff7f9373dc1f0xffffff8200b035a0 : 0xffffff7f937145990xffffff8200b035e0 : 0xffffff7f9327151f0xffffff8200b03610 : 0xffffff7f9371418a0xffffff8200b03650 : 0xffffff7f932716b60xffffff8200b03690 : 0xffffff7f93271cc90xffffff8200b03930 : 0xffffff7f93714b280xffffff8200b03960 : 0xffffff7f93272bfe0xffffff8200b039f0 : 0xffffff7f93270d800xffffff8200b03a50 : 0xffffff7f93270b6d0xffffff8200b03aa0 : 0xffffff7f9326fbb70xffffff8200b03ae0 : 0xffffff800fc66fcb0xffffff8200b03b30 : 0xffffff7f937147a20xffffff8200b03b60 : 0xffffff800fc700830xffffff8200b03ca0 : 0xffffff800f622c220xffffff8200b03db0 : 0xffffff800f5419980xffffff8200b03e10 : 0xffffff800f5186250xffffff8200b03e70 : 0xffffff800f52f0d50xffffff8200b03f00 : 0xffffff800f64b4850xffffff8200b03fa0 : 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]@0xffffff7f9322e000BSD process name corresponding to current thread: ModernRendererBoot args: chunklist-security-epoch=0 -chunklist-no-rev2-devMac OS version:19C57Kernel version:Darwin Kernel Version 19.2.0: Sat Nov 9 03:47:04 PST 2019; root:xnu-6153.61.1~20/RELEASE_X86_64Kernel UUID: C3E7E405-C692-356B-88D3-C30041FD1E72Kernel slide: 0x000000000f200000Kernel text base: 0xffffff800f400000__HIB text base: 0xffffff800f300000System model name: MacBookPro15,2 (Mac-827FB448E656EC26)System shutdown begun: NOSystem uptime in nanoseconds: 3638299676965last 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 5430com.intel.driver.EnergyDriver 3.6.1com.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 1Does 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 ThanksSanduleak
8
0
3.1k
Jan ’20
Dynamic Terrain application sample does not work on MacBook Pro
Dear All,I tried this sample application : https://developer.apple.com/documentation/metal/dynamic_terrain_with_argument_buffersThis application (targeted to MacOS), stopped with a SIGABRT :2020-01-01 17:35:12.334745+0100 DynamicTerrainWithArgumentBuffers[1788:43134] Metal GPU Frame Capture Enabled2020-01-01 17:35:12.335288+0100 DynamicTerrainWithArgumentBuffers[1788:43134] Metal API Validation Enabled2020-01-01 17:35:12.347575+0100 DynamicTerrainWithArgumentBuffers[1788:43134] sample running on: Intel(R) Iris(TM) Plus Graphics 655validateComputeFunctionArguments:834: failed assertion `Compute Function(TerrainKnl_ComputeOcclusionAndSlopeFromHeightmap): Shader uses texture(propTexture[1]) as read-write, but hardware does not support read-write texture of this pixel format.'Argument Buffers seems to be supported by Metal, if I do not make a mistake : https://developer.apple.com/metal/Metal-Featu…I cannot see any restrictions in the application documentation.Kind RegardsSanduleak
0
0
453
Jan ’20
Small source correction required in the sample "DeferredLighting"
Dear All,There is a small correction required to allow the sample : https://developer.apple.com/documentation/metal/deferred_lightingIn order to activate the buffer examination as explained in the readMe file, a change in file "AAPLConfig.h" is required:At the end of the file, the line #define SUPPORT_BUFFER_EXAMINATION 1should be: #define SUPPORT_BUFFER_EXAMINATION_MODE 1Kind RegardsSanduleak
0
0
420
Jan ’20
Cannot create a SwiftUI Table with more than 10 columns, attempts to use Group do not work .... HELP
Trying to overcome the 10 columns limit of Table in SwiftUI, I am trying to use Group to split the number of Views by group of 10. This generate a compiler error: The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions Here is the code import SwiftUI //--------------------------------------------------------------------------------------------- struct TestStruct : Identifiable {     var     id          =   UUID ()     var     name        :   String     var     val         :   Int } //--------------------------------------------------------------------------------------------- struct ContentView: View {     @State  var     testData    :   [ TestStruct ] = [ TestStruct ( name: "Leopold", val: 1 ), TestStruct ( name: "Napoleon", val: 2 ) ]     var body: some View     {         VStack         {             Table ( testData )             {                 Group                 {                     TableColumn ( "Name" ) { testStruct in Text ( testStruct.name ) }                     TableColumn ( "Value" ) { testStruct in Text ( String ( testStruct.val ) ) }                 }             }         }     } } //--------------------------------------------------------------------------------------------- struct ContentView_Previews: PreviewProvider {     static var previews: some View     {         ContentView ()     } } I tried to see if we can use the underlying protocols,... but this is too obscure for me, without an example at least. It would be nice to have either an Apple statement stating that this is impossible so we do not spend time to try this route, or to have an little example Many thanks for any help
0
0
1.6k
Sep ’22