On 11/22/2016 04:45 PM, L A Walsh wrote:
I found that it's the boot loader that sets the initial screen mode before the kernel is loaded.
It is often set again during boot by programs that set the console keyboard and font -- and seems to be separate from the mode one is in during a graphical boot.
Dunno. I've been using grub2 for ages and have none of the jumping around or inconsistent - you say 'non-deterministic' - display you describe. I can only be of limited help. Perhaps https://www.kernel.org/doc/Documentation/svga.txt would be useful You will need to know what what modes your VGA framebuffer supports. On boot, go into grub command line and use
vbeinfo
Does anyone know how to do set the VGA mode from userland so kexec will start in a known state?
By 'userland' do you mean as a user process after boot has completed?? Sort of like in /etc/init.d/boot.local you mean? (assuming it you don't want to do it via a one-time systemd init.) I'm unclear why, once the resolution/font is set in grub, it gets changed, unless you have quite explicitly configured it so. If I were you I'd check the paths to see if it hasn't been done. Its the sort of check I might carry you if I 'inherited' a machine that had been configured by someone else and I was uncomfortable with that was going on. It strikes me that this 'userland' setting is forcing the issue after the "non-deterministic" behaviour rather than uncovering why it behaves that way. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org