moonlight-stream / moonlight-qt

GameStream client for PCs (Windows, Mac, Linux, and Steam Link)
GNU General Public License v3.0
9.96k stars 579 forks source link

6.0 Kills MacBookPro M3 Max #1299

Open andruu opened 3 months ago

andruu commented 3 months ago

READ ME FIRST! If you're here because something basic is not working (like gamepad input, video, or similar), it's probably something specific to your setup, so make sure you've gone through the Troubleshooting Guide first: https://github.com/moonlight-stream/moonlight-docs/wiki/Troubleshooting

If you still have trouble with basic functionality after following the guide, join our Discord server where there are many other volunteers who can help (or direct you back here if it looks like a Moonlight bug after all). https://moonlight-stream.org/discord

Describe the bug Switching from version 5 to 6 opening the desktop to my windows machine it crashes and the whole computer restarts.

Steps to reproduce Open Desktop to a windows machine fullscreen.

Screenshots If applicable, add screenshots to help explain your problem. If the issue is related to video glitching or poor quality, please include screenshots.

Affected games This affects Desktop

Other Moonlight clients Moonlight 6.0 Mac

Moonlight settings (please complete the following information)

Gamepad-related issues (please complete if problem is gamepad-related)

Client PC details (please complete the following information)

Server PC details (please complete the following information)

Moonlight Logs (please attach) 00:00:00 - Qt Warning: Detected system locale encoding (US-ASCII, locale "C") is not UTF-8. Qt shall use a UTF-8 locale ("UTF-8") instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. 00:00:00 - SDL Info (0): Compiled with SDL 2.31.0 00:00:00 - SDL Info (0): Running with SDL 2.31.0 00:00:00 - Qt Info: No translation available for "en_CA" 00:00:00 - Qt Warning: Populating font family aliases took 92 ms. Replace uses of missing font family "Roboto" with one that exists to avoid this cost. 00:00:00 - Qt Warning: qrc:/gui/main.qml:13:1: QML ApplicationWindow: ToolTip must be attached to an Item 00:00:00 - Qt Info: Found "gamecontrollerdb.txt" at "/Users/andrew/Library/Caches/Moonlight Game Streaming Project/Moonlight/gamecontrollerdb.txt" 00:00:00 - SDL Info (0): Loaded 153 new gamepad mappings 00:00:00 - SDL Info (0): V-sync disabled 00:00:00 - Qt Info: Found "vt_renderer.metal" at ":/data/vt_renderer.metal" 00:00:00 - SDL Info (0): Using VideoToolbox Metal renderer 00:00:00 - FFmpeg: [hevc @ 0x15634b520] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0 00:00:00 - FFmpeg: [hevc @ 0x15634b520] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0 00:00:00 - FFmpeg: [hevc @ 0x15634b520] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0 00:00:00 - FFmpeg: [hevc @ 0x15634b520] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0 00:00:00 - FFmpeg: [hevc @ 0x15634b520] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0 00:00:00 - FFmpeg: [hevc @ 0x15634b520] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0 00:00:00 - FFmpeg: [hevc @ 0x15634b520] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0 00:00:00 - FFmpeg: [hevc @ 0x15634b520] Decoding VPS 00:00:00 - FFmpeg: [hevc @ 0x15634b520] Main 10 profile bitstream 00:00:00 - FFmpeg: [hevc @ 0x15634b520] Decoding SPS 00:00:00 - FFmpeg: [hevc @ 0x15634b520] Main 10 profile bitstream 00:00:00 - FFmpeg: [hevc @ 0x15634b520] Decoding VUI 00:00:00 - FFmpeg: [hevc @ 0x15634b520] Decoding PPS 00:00:00 - FFmpeg: [hevc @ 0x15634b520] Format videotoolbox_vld chosen by get_format(). 00:00:00 - FFmpeg: [hevc @ 0x15634b520] Format videotoolbox_vld requires hwaccel hevc_videotoolbox initialisation. 00:00:00 - FFmpeg: [hevc @ 0x15634b520] Output frame with POC 3. 00:00:00 - SDL Info (0): FFmpeg-based video decoder chosen 00:00:00 - Qt Info: Found "gamecontrollerdb.txt" at "/Users/andrew/Library/Caches/Moonlight Game Streaming Project/Moonlight/gamecontrollerdb.txt" 00:00:00 - SDL Info (0): Loaded 153 new gamepad mappings 00:00:00 - Qt Debug: Current Moonlight version: "6.0.0" 00:00:00 - Qt Info: Gamepad mappings are up to date 00:00:00 - Qt Info: Latest supported GFE server: "99.99.99.99" 00:00:00 - Qt Debug: Found update manifest match for current platform 00:00:00 - Qt Debug: Latest version of Moonlight for this platform is: "6.0.0" 00:00:00 - Qt Debug: Update manifest version equal to current version 00:00:50 - Qt Info: Discovered mDNS host: "R16.local." 00:00:50 - Qt Info: Resolved "R16.local." to QHostAddress("192.168.2.143") 00:00:50 - Qt Info: Resolved "R16.local." to QHostAddress("fe80::3178:5f61:3b2e:7869") 00:00:50 - Qt Info: "R16" is now online at "192.168.2.143:47989" 00:00:50 - Qt Info: "Blade" is now online at "192.168.2.42:47989" 00:00:52 - Qt Info: Processing new PC at "192.168.2.143:47989" from mDNS with IPv6 address "" 00:00:52 - Qt Info: Executing request: "http://192.168.2.143:47989/serverinfo?uniqueid=0123456789ABCDEF&uuid=6615dd40b4eb4fc4b77f9380d8d04b62" 00:00:52 - Qt Info: Executing request: "https://192.168.2.143:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=55299501daa043b786236d80791e90fe"

Additional context Anything else you think may be relevant to the issue

cgutman commented 3 months ago

Switching from version 5 to 6 opening the desktop to my windows machine it crashes and the whole computer restarts.

I assume by "it" you mean your Mac here? Do you get a kernel panic message or it just reboots without notice?

andruu commented 3 months ago

It shows the top 1/4 of the client desktop briefly for a second with green underneath and the machine just reboots.

andruu commented 3 months ago

Just tested again this is what was in the Problem Report when I rebooted

Attempting to forcibly halt cpu 1
cpu 1 failed to halt with error -5: halt not supported for this configuration
Debugger synchronization timed out; waited 240000 nanoseconds
panic(cpu 0 caller 0xfffffe001f094a8c): "AMCC0 DCS GROUP 0 CHANNEL 0 M3_AIC_IRQ_EN_FLD error: INTSTS 0x00000008 STS:0x3e0f STS1:0x7f007f00 DISP0:0x7f7f001f ISP:0x7f7f001f SIO:0x7f7f0000 DISPEXT0:0x7f00001f DISPEXT1:0x7f7f001f DISPEXT2:0x7f7f001f DISPEXT3:0x7f7f001f SCODEC:0x7f7f001f AOP:0x7f7f0000 AOP_AUDIO:0x7f7f0000 EVT_STS:0x0 DATA0:0x0 DATA1:0x0" @AppleH15PlatformErrorHandler.cpp:3330
Debugger message: panic
Memory ID: 0xff
OS release type: User
OS version: 23F79
Kernel version: Darwin Kernel Version 23.5.0: Wed May  1 20:17:33 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6031
Fileset Kernelcache UUID: A8D88D75EBE4B242B44DDE149C211BBF
Kernel UUID: 2B000325-33E6-3C70-8909-3D2A7CFB59A0
Boot session UUID: C0F7E8F7-A870-4AE6-94CB-5077290EE21D
iBoot version: iBoot-10151.121.1
secure boot?: YES
roots installed: 0
Paniclog version: 14
KernelCache slide: 0x000000001585c000
KernelCache base:  0xfffffe001c860000
Kernel slide:      0x0000000015864000
Kernel text base:  0xfffffe001c868000
Kernel text exec slide: 0x0000000016dd0000
Kernel text exec base:  0xfffffe001ddd4000
mach_absolute_time: 0x9202650e59
Epoch Time:        sec       usec
  Boot    : 0x66634e1f 0x000c1ab9
  Sleep   : 0x66644526 0x00058db9
  Wake    : 0x666445b3 0x0005c9a6
  Calendar: 0x6664495e 0x00035cad

Zone info:
  Zone map: 0xfffffe10201d4000 - 0xfffffe30201d4000
  . VM    : 0xfffffe10201d4000 - 0xfffffe14ecea0000
  . RO    : 0xfffffe14ecea0000 - 0xfffffe1686838000
  . GEN0  : 0xfffffe1686838000 - 0xfffffe1b53504000
  . GEN1  : 0xfffffe1b53504000 - 0xfffffe20201d0000
  . GEN2  : 0xfffffe20201d0000 - 0xfffffe24ece9c000
  . GEN3  : 0xfffffe24ece9c000 - 0xfffffe29b9b68000
  . DATA  : 0xfffffe29b9b68000 - 0xfffffe30201d4000
  Metadata: 0xfffffe6655338000 - 0xfffffe665d338000
  Bitmaps : 0xfffffe665d338000 - 0xfffffe6663c08000
  Extra   : 0 - 0

CORE 0 recently retired instr at 0xfffffe001df7fa2c
CORE 1 recently retired instr at 0xfffffe001de2ba80
CORE 2 recently retired instr at 0xfffffe001df81160
CORE 3 recently retired instr at 0xfffffe001df81160
CORE 4 recently retired instr at 0xfffffe001df81160
CORE 5 recently retired instr at 0xfffffe001df81160
CORE 6 recently retired instr at 0xfffffe001df81160
CORE 7 recently retired instr at 0xfffffe001df81160
CORE 8 recently retired instr at 0xfffffe001df81160
CORE 9 recently retired instr at 0xfffffe001df81160
CORE 10 recently retired instr at 0xfffffe001df81160
CORE 11 recently retired instr at 0xfffffe001df81160
CORE 12 recently retired instr at 0xfffffe001df81160
CORE 13 recently retired instr at 0xfffffe001df81160
TPIDRx_ELy = {1: 0xfffffe20206837f8  0: 0x0000000000000000  0ro: 0x0000000000000000 }
CORE 0 PVH locks held: None
CORE 1 PVH locks held: None
CORE 2 PVH locks held: None
CORE 3 PVH locks held: None
CORE 4 PVH locks held: None
CORE 5 PVH locks held: None
CORE 6 PVH locks held: None
CORE 7 PVH locks held: None
CORE 8 PVH locks held: None
CORE 9 PVH locks held: None
CORE 10 PVH locks held: None
CORE 11 PVH locks held: None
CORE 12 PVH locks held: None
CORE 13 PVH locks held: None
CORE 0 is the one that panicked. Check the full backtrace for details.
CORE 1: PC=0xfffffe001de66754, LR=0xfffffe001de66754, FP=0xfffffe6664ba7ef0
CORE 2: PC=0xfffffe001de66754, LR=0xfffffe001de66754, FP=0xfffffe66664b7ef0
CORE 3: PC=0xfffffe001de66754, LR=0xfffffe001de66754, FP=0xfffffe6665da7ef0
CORE 4: PC=0xfffffe001de66754, LR=0xfffffe001de66754, FP=0xfffffe6666937ef0
CORE 5: PC=0xfffffe001de66754, LR=0xfffffe001de66754, FP=0xfffffe6666d87ef0
CORE 6: PC=0xfffffe001de66758, LR=0xfffffe001de66754, FP=0xfffffe6666627ef0
CORE 7: PC=0xfffffe001de66754, LR=0xfffffe001de66754, FP=0xfffffe6666847ef0
CORE 8: PC=0xfffffe001de66754, LR=0xfffffe001de66754, FP=0xfffffe6666acfef0
CORE 9: PC=0xfffffe001de66754, LR=0xfffffe001de66754, FP=0xfffffe6666b8fef0
CORE 10: PC=0xfffffe001de66758, LR=0xfffffe001de66754, FP=0xfffffe66669bbef0
CORE 11: PC=0xfffffe001de66758, LR=0xfffffe001de66754, FP=0xfffffe6665e43ef0
CORE 12: PC=0xfffffe001de66758, LR=0xfffffe001de66754, FP=0xfffffe66661ebef0
CORE 13: PC=0xfffffe001df7bc48, LR=0xfffffe001df7bc44, FP=0xfffffe66649afe80
Compressor Info: 0% of compressed pages limit (OK) and 0% of segments limit (OK) with 0 swapfiles and OK swap space
Panicked task 0xfffffe24ecf30fb8: 0 pages, 708 threads: pid 0: kernel_task
Panicked thread: 0xfffffe20206837f8, backtrace: 0xfffffe8fff302e10, tid: 532
          lr: 0xfffffe001de2bf18  fp: 0xfffffe8fff302ea0
          lr: 0xfffffe001df78040  fp: 0xfffffe8fff302f10
          lr: 0xfffffe001df764a0  fp: 0xfffffe8fff302fe0
          lr: 0xfffffe001dddb8cc  fp: 0xfffffe8fff302ff0
          lr: 0xfffffe001de2b80c  fp: 0xfffffe8fff3033a0
          lr: 0xfffffe001e6321d4  fp: 0xfffffe8fff3033c0
          lr: 0xfffffe001f094a8c  fp: 0xfffffe8fff303660
          lr: 0xfffffe001f094cdc  fp: 0xfffffe8fff303f30
          lr: 0xfffffe001f1fafd8  fp: 0xfffffe8fff303fd0
          lr: 0xfffffe001df79984  fp: 0xfffffe8fff303fe0
          lr: 0xfffffe001dddb940  fp: 0xfffffe8fff303ff0
          lr: 0xfffffe001de66754  fp: 0xfffffe6664727ef0
          lr: 0xfffffe001de6696c  fp: 0xfffffe6664727f20
          lr: 0xfffffe001dde58a4  fp: 0x0000000000000000
      Kernel Extensions in backtrace:
         com.apple.driver.AppleH15MCD(1.0)[B9EAC215-358D-3590-A1FD-AF725E9EE5C9]@0xfffffe001f08d0a0->0xfffffe001f0a08b7
            dependency: com.apple.driver.AppleARMPlatform(1.0.2)[111F012A-F12D-349B-A25C-6EC373681EBF]@0xfffffe001e7d9730->0xfffffe001e82d74f
            dependency: com.apple.driver.AppleEverestErrorHandler(1)[0F2BCADA-DF7C-36D3-8508-0C634E62B85B]@0xfffffe001ef46210->0xfffffe001ef47193
            dependency: com.apple.iokit.IOReportFamily(47)[1C7E94EA-C1DD-3617-B228-227559227E76]@0xfffffe00205b0840->0xfffffe00205b3853
         com.apple.driver.AppleInterruptControllerV3(1.0d1)[34C105A1-89B4-36D5-9981-25302EFBF1FC]@0xfffffe001f1f80a0->0xfffffe001f1fc277
            dependency: com.apple.driver.AppleARMPlatform(1.0.2)[111F012A-F12D-349B-A25C-6EC373681EBF]@0xfffffe001e7d9730->0xfffffe001e82d74f

last started kext at 47557813473: com.apple.filesystems.smbfs   5.1 (addr 0xfffffe001d2c2fe0, size 82354)
loaded kexts:
com.apple.filesystems.smbfs 5.1
com.apple.filesystems.autofs    3.0
com.apple.UVCService    1
com.apple.driver.AppleTopCaseHIDEventDriver 7440.8
com.apple.driver.usb.realtek8153patcher 5.0.0
com.apple.driver.CoreKDL    1
com.apple.driver.AppleBiometricServices 1
com.apple.driver.DiskImages.ReadWriteDiskImage  493.0.0
com.apple.driver.DiskImages.UDIFDiskImage   493.0.0
com.apple.driver.DiskImages.RAMBackingStore 493.0.0
com.apple.driver.DiskImages.FileBackingStore    493.0.0
com.apple.driver.AppleALSColorSensor    1.0.0d1
com.apple.driver.AppleAOPVoiceTrigger   340.42
com.apple.driver.BCMWLANFirmware4388.Hashstore  1
com.apple.driver.AppleThunderboltIP 4.0.3
com.apple.driver.AppleUSBDeviceNCM  5.0.0
com.apple.driver.AppleFileSystemDriver  3.0.1
com.apple.driver.AppleSmartIO2  1
com.apple.nke.l2tp  1.9
com.apple.filesystems.tmpfs 1
com.apple.driver.ApplePMP   1
com.apple.driver.SEPHibernation 1
com.apple.driver.AppleJPEGDriver    6.6.2
com.apple.driver.ApplePMPFirmware   1
com.apple.driver.AppleProResHW  350.47.0
com.apple.driver.AppleSmartBatteryManager   161.0.0
com.apple.driver.AppleMobileDispT603C-DCP   140.0
com.apple.filesystems.nfs   1
com.apple.filesystems.lifs  1
com.apple.filesystems.apfs  2236.120.10
com.apple.IOTextEncryptionFamily    1.0.0
com.apple.filesystems.hfs.kext  650.120.1
com.apple.security.BootPolicy   1
com.apple.BootCache 40
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.driver.AppleAVE2  760.30.1
com.apple.AGXG15C   282.14
com.apple.driver.AppleAVD   742
com.apple.driver.AppleCS42L84Audio  740.41
com.apple.driver.AppleSN012776Amp   740.41
com.apple.AppleEmbeddedSimpleSPINORFlasher  1
com.apple.driver.AppleTypeCRetimer  1.0.0
com.apple.driver.AppleT6031CLPC 1
com.apple.driver.AppleT6031SOCTuner 1
com.apple.driver.AppleDPDisplayTCON 1
com.apple.driver.AppleM68Buttons    1.0.0d1
com.apple.driver.usb.AppleSynopsysUSB40XHCI 1
com.apple.driver.AppleSamsungSerial 1.0.0d1
com.apple.driver.AppleSerialShim    1
com.apple.driver.AppleS5L8960XNCO   1
com.apple.driver.AppleEventLogHandler   1
com.apple.driver.AppleT6031PMGR 1
com.apple.driver.AppleS8000AES  1
com.apple.driver.AppleS8000DWI  1.0.0d1
com.apple.driver.AppleInterruptControllerV3 1.0.0d1
com.apple.driver.AppleBluetoothModule   1
com.apple.driver.AppleBCMWLANBusInterfacePCIe   1
com.apple.driver.AppleS5L8920XPWM   1.0.0d1
com.apple.driver.AudioDMAController-T603x   350.2
com.apple.driver.AppleSPIMC 1
com.apple.driver.AppleS5L8940XI2C   1.0.0d2
com.apple.driver.AppleT8110DART 1
com.apple.driver.AppleH15MCD    1
com.apple.driver.AppleSDXC  3.5.1
com.apple.iokit.IOUserEthernet  1.0.1
com.apple.driver.usb.AppleUSBUserHCI    1
com.apple.iokit.IOKitRegistryCompatibility  1
com.apple.iokit.EndpointSecurity    1
com.apple.driver.AppleUIO   1
com.apple.driver.AppleDiskImages2   276.120.5
com.apple.AppleSystemPolicy 2.0.0
com.apple.nke.applicationfirewall   405
com.apple.kec.InvalidateHmac    1
com.apple.kec.AppleEncryptedArchive 1
com.apple.driver.driverkit.serial   6.0.0
com.apple.iokit.IOAVBFamily 1220.1
com.apple.driver.AppleHSBluetoothDriver 7440.8
com.apple.driver.IOBluetoothHIDDriver   9.0.0
com.apple.driver.AppleHIDKeyboard   7440.3
com.apple.driver.AppleActuatorDriver    7440.9
com.apple.driver.AppleMultitouchDriver  7440.9
com.apple.driver.usb.cdc.acm    5.0.0
com.apple.driver.usb.serial 6.0.0
com.apple.driver.usb.cdc.ecm    5.0.0
com.apple.driver.usb.IOUSBHostHIDDevice 1.2
com.apple.driver.usb.cdc    5.0.0
com.apple.driver.AppleUSBAudio  640.12
com.apple.iokit.IOAudioFamily   540.3
com.apple.vecLib.kext   1.2.0
com.apple.driver.AppleMesaSEPDriver 100.99
com.apple.iokit.IOBiometricFamily   1
com.apple.driver.DiskImages.KernelBacked    493.0.0
com.apple.driver.AppleXsanScheme    3
com.apple.driver.AppleAOPAudio  340.4
com.apple.driver.AppleConvergedIPCOLYBTControl  1
com.apple.driver.AppleConvergedPCI  1
com.apple.driver.AppleBluetoothDebug    1
com.apple.driver.AppleUVDMDriver    1.0.0
com.apple.driver.AppleUVDM  1.0.0
com.apple.driver.usb.networking 5.0.0
com.apple.driver.AppleThunderboltUSBDownAdapter 1.0.4
com.apple.driver.AppleThunderboltDPInAdapter    8.5.1
com.apple.driver.AppleThunderboltDPAdapterFamily    8.5.1
com.apple.driver.AppleThunderboltPCIDownAdapter 4.1.1
com.apple.AGXFirmwareKextG15CRTBuddy    1
com.apple.AGXFirmwareKextRTBuddy64  282.14
com.apple.driver.AppleBTM   1.0.1
com.apple.plugin.IOgPTPPlugin   1250.2
com.apple.driver.AppleDCPDPTXProxy  1.0.0
com.apple.driver.DCPDPFamilyProxy   1
com.apple.driver.AppleStockholmControl  1.0.0
com.apple.nke.ppp   1.9
com.apple.driver.AppleSEPHDCPManager    1.0.1
com.apple.driver.AppleTrustedAccessory  1
com.apple.iokit.AppleSEPGenericTransfer 1
com.apple.driver.AppleDiagnosticDataAccessReadOnly  1.0.0
com.apple.iokit.IOMobileGraphicsFamily-DCP  343.0.0
com.apple.driver.AppleDCP   1
com.apple.iokit.IOMobileGraphicsFamily  343.0.0
com.apple.driver.AppleM2ScalerCSCDriver 265.0.0
com.apple.driver.AppleBSDKextStarter    3
com.apple.kext.triggers 1.0
com.apple.driver.IOHIDPowerSource   1
com.apple.driver.AppleCallbackPowerSource   1
com.apple.filesystems.hfs.encodings.kext    1
com.apple.driver.AppleSyntheticGameController   11.5.1
com.apple.driver.DCPAVFamilyProxy   1
com.apple.iokit.IONVMeFamily    2.1.0
com.apple.driver.AppleNANDConfigAccess  1.0.0
com.apple.driver.usb.AppleUSBHostPacketFilter   1.0
com.apple.iokit.IOGPUFamily 93.40.3
com.apple.driver.AppleCSEmbeddedAudio   740.41
com.apple.driver.AppleEmbeddedAudio 740.41
com.apple.iokit.AppleARMIISAudio    340.16
com.apple.driver.IISAudioIsolatedStreamECProxy  340.16
com.apple.driver.ExclavesAudioKext  1
com.apple.driver.AppleSPMIPMU   1.0.1
com.apple.driver.AppleDialogPMU 1.0.1
com.apple.driver.AppleSPMI  1.0.1
com.apple.driver.ApplePassthroughPPM    3.0
com.apple.driver.AppleFirmwareKit   1
com.apple.driver.AppleHIDTransportFIFO  7440.1
com.apple.driver.AppleHIDTransport  7440.1
com.apple.driver.AppleSPU   1
com.apple.driver.AppleInputDeviceSupport    7440.1
com.apple.driver.AppleUSBXDCIARM    1.0
com.apple.driver.AppleUSBXDCI   1.0
com.apple.iokit.IOUSBDeviceFamily   2.0.0
com.apple.driver.usb.AppleSynopsysUSBXHCI   1
com.apple.driver.usb.AppleUSBXHCI   1.2
com.apple.driver.AppleEmbeddedUSBHost   1
com.apple.driver.usb.AppleUSBHub    1.2
com.apple.driver.usb.AppleUSBHostCompositeDevice    1.2
com.apple.driver.AppleT8122TypeCPhy 1
com.apple.driver.AppleHPM   3.4.4
com.apple.driver.ApplePTD   1.0.0
com.apple.driver.AppleSART  1
com.apple.driver.ApplePMGR  1
com.apple.driver.AppleARMWatchdogTimer  1
com.apple.driver.AppleDisplayCrossbar   1.0.0
com.apple.iokit.IODisplayPortFamily 1.0.0
com.apple.driver.AppleTypeCPhy  1
com.apple.driver.AppleMultiFunctionManager  1
com.apple.driver.AppleBluetoothDebugService 1
com.apple.driver.AppleBCMWLANCore   1.0.0
com.apple.iokit.IO80211Family   1200.13.0
com.apple.driver.IOImageLoader  1.0.0
com.apple.driver.AppleOLYHAL    1
com.apple.driver.corecapture    1.0.4
com.apple.driver.AppleA7IOP-MXWrap-v1   1.0.2
com.apple.driver.AppleThunderboltNHI    7.2.81
com.apple.driver.AppleT8122PCIeC    1
com.apple.iokit.IOThunderboltFamily 9.3.3
com.apple.iokit.IOPortFamily    1.0
com.apple.driver.ApplePIODMA    1
com.apple.driver.AppleT6031PCIe 1
com.apple.driver.AppleMCA2-T603x    840.3
com.apple.driver.AppleEmbeddedAudioLibs 340.8
com.apple.driver.AppleFirmwareUpdateKext    1
com.apple.driver.AppleH13CameraInterface    8.502.0
com.apple.driver.AppleGPIOICController  1.0.2
com.apple.driver.AppleA7IOP-ASCWrap-v6  1.0.2
com.apple.driver.AppleDockChannel   1
com.apple.driver.AppleEverestErrorHandler   1
com.apple.driver.AppleEmbeddedPCIE  1
com.apple.driver.AppleMobileApNonce 1
com.apple.iokit.IOTimeSyncFamily    1250.2
com.apple.driver.DiskImages 493.0.0
com.apple.iokit.IOGraphicsFamily    598
com.apple.iokit.IOBluetoothFamily   9.0.0
com.apple.driver.AppleT6031ANEHAL   7.453.0
com.apple.driver.AppleSSE   1.0
com.apple.driver.AppleSEPKeyStore   2
com.apple.driver.AppleUSBTDM    556
com.apple.iokit.IOUSBMassStorageDriver  245
com.apple.iokit.IOPCIFamily 2.9
com.apple.iokit.IOUSBHostFamily 1.2
com.apple.driver.AppleUSBHostMergeProperties    1.2
com.apple.driver.usb.AppleUSBCommon 1.0
com.apple.driver.AppleSMC   3.1.9
com.apple.driver.RTBuddy    1.0.0
com.apple.driver.AppleEmbeddedTempSensor    1.0.0
com.apple.driver.AppleARMPMU    1.0
com.apple.iokit.IOAccessoryManager  1.0.0
com.apple.driver.AppleOnboardSerial 1.0
com.apple.iokit.IOSerialFamily  11
com.apple.iokit.IOSCSIBlockCommandsDevice   495
com.apple.iokit.IOSCSIArchitectureModelFamily   495
com.apple.driver.AppleRSMChannel    1
com.apple.iokit.IORSMFamily 1
com.apple.driver.AppleLockdownMode  1
com.apple.driver.AppleIPAppender    1.0
com.apple.iokit.IOSkywalkFamily 1.0
com.apple.driver.mDNSOffloadUserClient  1.0.1b8
com.apple.iokit.IONetworkingFamily  3.4
com.apple.driver.AppleFDEKeyStore   28.30
com.apple.driver.AppleEffaceableStorage 1.0
com.apple.driver.AppleCredentialManager 1.0
com.apple.driver.AppleSEPManager    1.0.1
com.apple.driver.AppleA7IOP 1.0.2
com.apple.driver.IOSlaveProcessor   1
com.apple.driver.AppleBiometricSensor   2
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.driver.AppleANELoadBalancer   7.453.0
com.apple.driver.AppleH11ANEInterface   7.453.0
com.apple.driver.IODARTFamily   1
com.apple.AUC   1.0
com.apple.iokit.IOSurface   352.50.1
com.apple.iokit.IOAVFamily  1.0.0
com.apple.iokit.IOHDCPFamily    1.0.0
com.apple.iokit.IOCECFamily 1
com.apple.iokit.IOAudio2Family  1.0
com.apple.driver.AppleIISController 340.1
com.apple.driver.AppleAudioClockLibs    340.8
com.apple.driver.FairPlayIOKit  71.10.0
com.apple.driver.AppleARMPlatform   1.0.2
com.apple.iokit.IOSlowAdaptiveClockingFamily    1.0.0
com.apple.iokit.IOReportFamily  47
com.apple.security.quarantine   4
com.apple.security.sandbox  300.0
com.apple.iokit.IOStorageFamily 2.1
com.apple.kext.AppleMatch   1.0.0d1
com.apple.driver.AppleMobileFileIntegrity   1.0.5
com.apple.iokit.CoreAnalyticsFamily 1
com.apple.security.AppleImage4  6.3.0
com.apple.kext.CoreTrust    1
com.apple.iokit.IOCryptoAcceleratorFamily   1.0.1
com.apple.kec.pthread   1
com.apple.kec.Libm  1
com.apple.kec.Compression   1.0
com.apple.kec.corecrypto    14.0

!! debugger synchronization failed, no stackshot !!
cgutman commented 3 months ago
Panicked task 0xfffffe24ecf30fb8: 0 pages, 708 threads: pid 0: kernel_task
Panicked thread: 0xfffffe20206837f8, backtrace: 0xfffffe8fff302e10, tid: 532
          lr: 0xfffffe001de2bf18  fp: 0xfffffe8fff302ea0
          lr: 0xfffffe001df78040  fp: 0xfffffe8fff302f10
          lr: 0xfffffe001df764a0  fp: 0xfffffe8fff302fe0
          lr: 0xfffffe001dddb8cc  fp: 0xfffffe8fff302ff0
          lr: 0xfffffe001de2b80c  fp: 0xfffffe8fff3033a0
          lr: 0xfffffe001e6321d4  fp: 0xfffffe8fff3033c0
          lr: 0xfffffe001f094a8c  fp: 0xfffffe8fff303660
          lr: 0xfffffe001f094cdc  fp: 0xfffffe8fff303f30
          lr: 0xfffffe001f1fafd8  fp: 0xfffffe8fff303fd0
          lr: 0xfffffe001df79984  fp: 0xfffffe8fff303fe0
          lr: 0xfffffe001dddb940  fp: 0xfffffe8fff303ff0
          lr: 0xfffffe001de66754  fp: 0xfffffe6664727ef0
          lr: 0xfffffe001de6696c  fp: 0xfffffe6664727f20
          lr: 0xfffffe001dde58a4  fp: 0x0000000000000000
      Kernel Extensions in backtrace:
         com.apple.driver.AppleH15MCD(1.0)[B9EAC215-358D-3590-A1FD-AF725E9EE5C9]@0xfffffe001f08d0a0->0xfffffe001f0a08b7
            dependency: com.apple.driver.AppleARMPlatform(1.0.2)[111F012A-F12D-349B-A25C-6EC373681EBF]@0xfffffe001e7d9730->0xfffffe001e82d74f
            dependency: com.apple.driver.AppleEverestErrorHandler(1)[0F2BCADA-DF7C-36D3-8508-0C634E62B85B]@0xfffffe001ef46210->0xfffffe001ef47193
            dependency: com.apple.iokit.IOReportFamily(47)[1C7E94EA-C1DD-3617-B228-227559227E76]@0xfffffe00205b0840->0xfffffe00205b3853
         com.apple.driver.AppleInterruptControllerV3(1.0d1)[34C105A1-89B4-36D5-9981-25302EFBF1FC]@0xfffffe001f1f80a0->0xfffffe001f1fc277
            dependency: com.apple.driver.AppleARMPlatform(1.0.2)[111F012A-F12D-349B-A25C-6EC373681EBF]@0xfffffe001e7d9730->0xfffffe001e82d74f

The crash is in the kernel itself with only Apple extension on the crashing stack, so looks like a bug in macOS that Moonlight just happens to trigger. It seems to be rather rare since the macOS build of Moonlight v6.0.0 has been downloaded over 6,000 times so far and you're the only one who has reported a kernel panic like this.

When searching I also found another instance of a very similar crash stack, also on a MacBook Pro M3 Max, so it's definitely not unique to Moonlight. I don't think there's anything we can do for this on our side. Apple needs to fix the bug in their kernel extension.

ohheyjosh commented 2 months ago

Experiencing the same crash on an M3 Pro.

brianschrameck commented 2 months ago

I seem to be having a similar crash. Basically, after quitting a stream, sometimes the display will lock up with half the desktop and half the stream showing. Eventually the laptop just restarts on its own.

jgenc commented 1 month ago

It shows the top 1/4 of the client desktop briefly for a second with green underneath and the machine just reboots.

I also experience the same exact crash using an M3 Pro.

I've had the same issue with the native port of Path of Exile. Interestingly, this seems to happen only when I start a stream using either "Borderless windowed" or "Windowed" mode. "Fullscreen" mode works flawlessly, unless I switch windows or desktops, then the kernel crash takes place again.