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
_______________________________________________
ipxe-devel mailing list
ipxe-devel@lists.ipxe.org
https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel

Reply via email to