On 04/22/20 09:42, Hou Qiming wrote: > A little off topic thing: isn't the default resolution supposed to be > 1024x768?
No. > This is the Microsoft regulation which all my physical devices > seem to follow: > > https://docs.microsoft.com/en-us/windows-hardware/test/hlk/testref/6afc8979-df62-4d86-8f6a-99f05bbdc7f3 Key term being "Microsoft regulation". The UEFI spec requires discrete ("plug-in") graphics devices to support at least either 800x600x32 or 640x480x32. And the edk2 (not just OVMF) default for the console resolution is 800x600. (See PcdVideoHorizontalResolution and PcdVideoVerticalResolution in "MdeModulePkg/MdeModulePkg.dec".) > And when the user provides an EDID one should parse it and set the default > resolution to match it. But that's a less important feature. It's more complex than you might think, and (to me personally) it seems to require more time than its importance justifies. https://bugzilla.redhat.com/show_bug.cgi?id=1749250 Laszlo