Hello Everyone,
I too have one of these shiny black metal trashcans that freeze undeterministically. To be completely sure that the freezes do not occur due to some devices that are plugged into the Mac I have replaced each and every external periphery that I use with my Mac by now.
I have tested the Mac in various places / different building to make sure that its not the outdated power supply of my home that causes the problems.
I had the machine sent to Apple Technicians at least twice. Even took it even more often to my local Mac distributor. Apparently the hardware is all good.
Since nothing helped and the extent of the problem changes sometimes with the current macOS version I can only conclude that there is a software problem so that macOS is not able to properly handle the two D300s.
What I realised while programming for the GPUs is that it seamed to me that even tho the cards are labeled A and B, the internal order of the GPUs switches while the system is running. I do not have any experience with other dual GPU systems, so I'm not sure if this is uncommon. But still this drew my attention.
Also interesting to me was the behaviour of `top` when SSHing onto the Mac while it is frozen. usually top shows all the processes that are currently running plus how much memory and cpu they are currently using. When the Mac's GPU is frozen it is still possible to SSH onto it and do all sorts of things. But top will not give you the proper information that it should.
So for now I have a solution, not to stop the Mac from freezing, but to calm me at least a little bit with this issue. Since it is possible to SSH onto the device and restart it remotely, I have programmed a tiny App for my phone to do exactly that for me. You would only have to open the app on your phone, select the device in your local network and tell it to restart or shutdown. Since admin names and passwords can be saved in the keychain it is only a matter of three taps to restart your frozen Mac. Whenever I do not have my Macbook running next to my Mac Pro this is a way faster solution than using ssh from a terminal. If anyone is interested you can get it in your local stores near you!
. Just search for
DEFROST PRO
I really do hope that you don't mind that I take a minimal fee simply because putting an app in the App Store is not free either and I don't suspect to make profit whit it. I will make it a free app as soon as I have the money back for the app distribution account.