I changed my primary graphics to internal but then there was no output to my monitor via discrete card. I then changed it back to PCIE but turned on multi monitor mode which allows the IG and discrete to both function and use the IG for an additional monitor output (nothing plugged into it). this worked! I now have the airplay icon in my toolbar, cool! sleep / restarting seems to be fine.
I have Sierra and skylake, I didnt have to do anything other than enable that in the bios - no config edits done.