I have the same problem for some time. Before i did not give him so much weight as it rarely happened to me, now that the Mac Pro is turned on day and night i notice that the problem has become more present.
The panic report has always reported the following string :
*** Panic Report ***
panic(cpu 0 caller 0xffffff7f9d11ed7a): "bool IOAccelDisplayMachine2::display_mode_did_change(uint32_t): vendor driver returns false"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/IOAcceleratorFamily_kexts/IOAcceleratorFamily-378.18.1/Kext2/IOAccelDisplayMachine.cpp:490
Going to analyze the system logs i found that always, just before going into the kernel panic, this error was present :
Jun 4 23:59:52 Mac-Pro-di-Eugenio com.apple.xpc.launchd[1] (com.apple.preference.displays.MirrorDisplays): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
After a series of searches i managed to eliminate this error from the console by following this steps :
- Disable System Integrity Protection so you can edit the .plist file. Do this by rebooting into the recovery partition with cmd-R, open Terminal from the Utilities menu, and type:
csrutil disable
- Reboot into yoru system, then edit the .plist file with this command:
sudo vi /System/Library/LaunchAgents/com.apple.preference.displays.MirrorDisplays.plist
- Comment out the line that causes the MirrorDisplays tool to load. Change this line:
<string>Aqua</string>
to this:
<!-- <string>Aqua</string> -->
- Then, reboot and reenable System Integrity Protection using the recovery partition as described above and type:
csrutil enable
After having made this change the log file no longer contains the error indicated above and, at least for the moment, i no longer had kernel panics.
P.S. i apologize for any writing errors