On Mon, Aug 10, 2009 at 01:49:40PM +0200, Robert Millan wrote: > On Mon, Aug 10, 2009 at 12:01:02PM +0100, Colin Watson wrote: > > If the user set "keep" in gfxpayload, as I understand it, that indicates > > that they want the graphical mode set by GRUB to persist through to the > > kernel. In order for this to actually work with Linux, we need to set up > > the vid_mode boot parameter to indicate that it should keep the current > > video mode, otherwise it'll just reset the mode to text at boot and > > nothing much is gained. This patch fixes that. > > Nice catch, I wasn't aware an extra flag was needed.
It also seems that doing this right is tricky on the kernel side (see https://lists.ubuntu.com/archives/kernel-team/2009-August/006773.html and thread), so I probably won't be turning this on by default yet in our configuration - but of course if you explicitly say "keep" then you should get what you asked for. > > Note that I'm explicitly not enabling GRUB_ASSUME_LINUX_HAS_FB_SUPPORT > > in the Ubuntu grub2 package. > > Actually, the Debian package stopped enabling it too. I had my reservations > when "keep" was introduced, but now I see that Vladimir's idea is a much > better option than hardcoding in the binary. > > I think I'll remove GRUB_ASSUME_LINUX_HAS_FB_SUPPORT. It seems that nobody > is going to use it, so all it does is add complexity. This will also make > your patch simpler. > > Is there any objection to that? Not from me at least. Thanks, -- Colin Watson [cjwat...@ubuntu.com] _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel