Hi goalque,
Let me begin by sending a huge thanks for all your efforts.
I've been experimenting with eGPU for the past few days, mostly to run PG-Strom on my Mac, which I finally managed to do. My setup is based on Sonnet Echo Express III-d.
Unfortunatelly, between 3 different cards, 4 Macs, 3 displays and 1 external PSU, I've never been able to get external displays (connected via eGPUs to work).
GPUs: 750 Ti, 960, 980 Ti
Macs: 5K 2014 @ 295X (had do fix line 62 of your script), Mac Mini 2015 @ Iris, rMBP 2013 @ 780M, iMac 2013 @ 680M
The scenario is always similar: I do manage to get the card to work, I can run CUDA programs, it's listed in System Report, but I have yet to see one external display detected by OSX.
I tried DP, HDMI, VGA, 3 different screens, with and without external Thermaltake 650W PSU - nothing. Can you please shed some light on what I might be doing wrong? It's really frustrating seeing as it's mostly a plug and play experience for most folks...