Error with hdmi 1

I have a problem with kodi 17. It has always been there since the start of kodi 17 across all versions (including the libreelec variations based on kodi 17). I have an Intel Broadwell 5500 and basically if you set the output to hdmi 1 (instead of default or edp1) the laptop screen goes blank but no picture comes through the hdmi. I have found a workaround to the problem but this involves starting kodi through Ubuntu 16.10 first after setting the display settings in Ubuntu first to use the hdmi 1, then when I log out of Ubuntu and into kodi directly the laptop displays correctly through hdmi 1 with no duplicate on the laptop screen (obviously with blank other displays checked). I didn’t mind the workaround but after trying libreelec based on kodi 17 I am having the same problem only with no workaround as there is no other system to set the display settings. Sorry to have only just mentioned this but I thought others would have had this problem and lazily left it to someone else to report. I do apologise but I am staying in a hotel tonight with a TV that looks like it was lifted out of a skip and does not have an hdmi port (it’s not even wide-screen loooool) however when I get home tomorrow night I will upload a debug of both kodi (and libreelec if you want?)