Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 599508 - sys-boot/grub-2.02_beta3-r1 : Allow GFXPAYLOAD to fallback to KEEP GRUB_GFXMODE
Summary: sys-boot/grub-2.02_beta3-r1 : Allow GFXPAYLOAD to fallback to KEEP GRUB_GFXMODE
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-11 17:22 UTC by Phil Stracchino (Unix Ronin)
Modified: 2016-11-11 17:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Stracchino (Unix Ronin) 2016-11-11 17:22:12 UTC
sys-boot/grub allows specification in /etc/defaults/grub of GRUB_GFXMODE.  This works pretty well, and is pretty easy to test and set up.

It also allows specification of the console video mode by setting GRUB_GFXPAYLOAD_LINUX, with in theory the same set of video modes offered for GRUB_GFXMODE, plus the option 'keep' to keep whatever video mode grub ended up using.  This does not necessarily work so well, especially when using nVidia binary drivers.

GRUB_GFXPAYLOAD_LINUX allows you to specify a list of video modes to be tried in turn.  It would be nice if KEEP could be placed at the end of that list as a fail-safe, so that in the event of all previously listed video modes failing, the console would fall back to whatever video mode worked for grub itself.  Grub would of course replace KEEP, on the kernel command line, with whatever mode it ended up using.  If GRUB_GFXPAYLOAD_LINUX is empty, possibly Grub should *assume* KEEP.

Of course, once a working GRUB_GFXMODE has been found, one can always put this as the last entry in GRUB_GFXPAYLOAD_LINUX, which has the same effect.  So this is far from a priority.  It's just an idea.
Comment 1 Mike Gilbert gentoo-dev 2016-11-11 17:30:58 UTC
I don't generally implement new features/enhancements. You are welcome to make this request upstream.