[Bug 1736023] Re: Graphics is corrupt on VT1-VT7 even during boot

Colin Watson cjwatson at canonical.com
Mon Mar 5 20:34:15 UTC 2018


I don't think that patch actually results in any effective change at
boot time.

-      echo "	gfxmode \$linux_gfx_mode" | sed "s/^/$submenu_indentation/"
+      echo "	gfxpayload \$linux_gfx_payload" | sed "s/^/$submenu_indentation/"

... but gfxmode is a function, and its definition hasn't meaningfully
changed here.  All you've done is rename it.  Likewise, linux_gfx_mode
is only used within this file, and you've just changed all references to
it, so nothing actually changes.

And while in some ways it could be argued that the changed names are
less confusing, the value of GRUB's gfxpayload variable does still
describe a mode - the difference between the gfxmode and gfxpayload
variables is that the first sets the mode for GRUB's graphical terminal
while the second sets the mode that the Linux kernel starts in, but
they're still both modes, so I would definitely argue that
"linux_gfx_mode" is still a good choice of variable name.

The thing that confused you is that the "gfxmode" *function* is used to
set the "gfxpayload" *variable* (among other functions), which I'll
concede is a bit confusing.  But it doesn't make any difference to GRUB
that the argument passed to the gfxmode function isn't a valid value for
the gfxmode variable, because it isn't used to set that variable.

So ... I think you need to research this further, and the problem is
probably just that this is hardware on which gfxpayload=keep doesn't
work.  Perhaps this is a kernel bug, and/or perhaps it needs to be
blacklisted in the grub-gfxpayload-lists package (note also the update-
grub-gfxpayload manual page in that package that describes a local
workaround).

** Tags removed: patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1736023

Title:
  Graphics is corrupt on VT1-VT7 even during boot

Status in grub2 package in Ubuntu:
  New

Bug description:
  This is on an Acer Aspire One
  (https://en.wikipedia.org/wiki/Acer_Aspire_One) after upgrading from
  ubuntu 17.04 to 17.10

  When booting. At the time where the load screen flashing "Kubuntu" is
  normally displayed, the graphics is corrupted. Both on text terminals
  VT1-VT6 and graphics terminal VT7

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: grub2 (not installed)
  ProcVersionSignature: Ubuntu 4.13.0-17.20-generic 4.13.8
  Uname: Linux 4.13.0-17-generic i686
  ApportVersion: 2.20.7-0ubuntu3.5
  Architecture: i386
  CurrentDesktop: KDE
  Date: Sun Dec  3 20:44:14 2017
  InstallationDate: Installed on 2014-12-15 (1084 days ago)
  InstallationMedia: Kubuntu 14.10 "Utopic Unicorn" - Release i386 (20141022.1)
  SourcePackage: grub2
  UpgradeStatus: Upgraded to artful on 2017-12-02 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1736023/+subscriptions



More information about the foundations-bugs mailing list