On 27/02/2019 05:27, Gerd Hoffmann wrote: > On Tue, Feb 26, 2019 at 04:11:06PM -0500, G 3 wrote: >> When I use edid=on, I do see a lot of extra resolutions available in Mac OS >> 9 and Mac OS X, just not the resolution I want to use. Is there some kind >> of rule like the resolution value has to be divisible by a certain number? > > qemu doesn't have such a requirement. > Might be the guest drivers have. > Try making width/height multiple of 8 or 16.
Right, at the moment all the MacOS driver does is parse the resolution list from the EDID and add them to the dropdown list - it doesn't support the xres and yres properties. The main reason for this that OpenBIOS currently makes use of the -g XxYxD parameter to set up the display resolution and bit depth, and AFAICT we currently only have access to the X and Y resolutions via the EDID blob. So it's not clear whether EDID can completely replace the existing mechanism yet. The other issue to contend with is that some machines such as SPARC will reject invalid bit depths (i.e. d != 8 || d != 24) during machine init to prevent screen corruption, and I'm not yet sure how to enforce this with EDID. ATB, Mark.