bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #49814] vbe does not reset display start


From: Andrei Borzenkov
Subject: [bug #49814] vbe does not reset display start
Date: Thu, 6 Apr 2017 12:48:26 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/57.0.2987.98 Chrome/57.0.2987.98 Safari/537.36

Follow-up Comment #5, bug #49814 (project grub):

> The bug happens only if grub works in gfx 
> mode but the boot happens in text mode. 

Good catch. I won't claim to fully understand this code, but as far as I can
tell in grub_video_set_mode()

- if we have "keep" we simply return keeping current adapter
- if we have graphic mode, we reinitialize adapter

in both cases we later reset current page in
grub_video_fb_get_info_and_fini(). But if we have test mode then

- we shut down current video adapter *without* changing current page, and
probably reset it to NULL

it means we are left with whatever was set before.

May be we need wrapper around ->fini() method that resets current page (moving
code from grub_video_fb_get_info_and_fini()).

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49814>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]