I have an Intel NUC6i7KYK (Intel Graphics 580) and Ubuntu 16.04. I'm trying to get around the problem of Ubuntu booting to a different resolution if it boots while the TV is turned off.
I know there is a hardware solution involving something like Dr HDMI, HDMI Detective etc but I'm trying to see if it's possible to solve this using software.
Here is what I have done, which according to various searches - in particular what I found from this link https://wiki.archlinux.org/index.php/kernel_mode_setting - ought to work.
I installed the read-edid package and then used get-edid to grab a copy of my TV's EDID when it is plugged in and switched-on. I named this "edid.bin".
I copied this into lib/firmware/edid/
I added "drm_kms_helper.edid_firmware=DP-1:edid/edid.bin video=DP-1:e" to the kernel command line
I unplugged the HDMI cable and rebooted.
It seems to load the EDID ok, and indeed the bottom of the Xorg log file shows it recognises all the different modes supported by the TV that it must have got from the EDID. However, none of these modes appear in the Display Settings of Ubuntu. Also, the Display Settings panel doesn't work properly - it shows the TV but it's not selected by default; you have to click on it to select it and then slide the On/Off switch to On but then it doesn't give any screen modes. Attempting to save the profile throws an error. I am guessing it has been disabled because there are no modes - which the output of xrandr also backs up.
So it seems that while my changes have made it read the EDID, this isn't resulting in a valid monitor being setup with the various modes available.
What am I missing here? There must be an additional step I need to take?
I have included the dmesg and Xorg logs and the output from "xrandr --query" for both when the TV is on and when it is off and also the parsed EDID output.
If anyone could shed any light or help me tweak my settings to make this work then I'd be grateful.
Thankyou.
Oliver
https://www.dropbox.com/sh/mo3y3y25qmgb6zm/AAAFJlAbW7KC83cYH9gXcWTla?dl=0