[ipxe-devel] [ipxe] [efi] Add options to set console to native monitor resolution (#47)

Jonathan Dieter notifications at github.com
Sat Mar 12 20:48:47 UTC 2016


Currently, there's no way to change the screen mode to the optimum mode for the monitor.  This patch adds two options to rectify that.  The first option, '-a' or '--auto', chooses the first EFI graphics mode, which on most systems is the native mode.

However, on some systems the first mode is the mode the BIOS interface is designed to use, and may not actually be the native resolution of the monitor (i.e. the monitor resolution is 1600x900, while the first mode is 1280x1024).  So the second option, '-w' or '--max-width', chooses the widest EFI graphics mode, on the assumption that that is the native monitor resolution.

In this patch, -w takes precedence over -a and both override the sizes given by -x, -y and -p.
You can view, comment on, or merge this pull request online at:

  https://github.com/ipxe/ipxe/pull/47

-- Commit Summary --

  * [efi] Add options to set console to native resolution

-- File Changes --

    M src/hci/commands/console_cmd.c (4)
    M src/include/ipxe/console.h (4)
    M src/interface/efi/efi_fbcon.c (59)

-- Patch Links --

https://github.com/ipxe/ipxe/pull/47.patch
https://github.com/ipxe/ipxe/pull/47.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/ipxe/ipxe/pull/47
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20160312/ffdd5c7e/attachment.htm>


More information about the ipxe-devel mailing list