Hello, Peter. On Sat, Dec 31, 2022 at 16:13:23 +0000, Alan Mackenzie wrote: > On Sat, Dec 31, 2022 at 15:47:01 +0000, Peter Humphrey wrote: > > Hello Alan, > > On Saturday, 31 December 2022 14:08:43 GMT you wrote: [ .... ] > > I think you've put your finger on it: > > $ file /lib/rc/console/font > > /lib/rc/console/font: Linux/i386 PC Screen Font v2 data, 256 characters, > > Unicode directory, 22x11 > > I use consolefont="ter-122n" from the terminus-font package. It's a long time > > since I was able to read a high-resolution screen in its native resolution. That's a nice font. I could get used to it if I wasn't so attached to the 8x16 font. > > Is there some way I can get the UEFI BIOS to boot with that font, or a larger > > one? Or perhaps let the system boot without setting a font and then changing > > it later? > Probably, but it would be better if I just fixed the bug(s) in my changes to > the kernel. Changing font size is something one should be able to do. OK, the bug was that I was trying to free memory by calling the wrong kernel function kfree, when it should have been kvfree. With that correction, the kernel now boots in 11x22, at least for me. > > Neither of those looks easy to do. I'd better have a good root through the > > BIOS options to start with. > A happy new year to you (and everybody else here), and give me somewhere > between a few hours and a few days, and this bug should get fixed. The included patch is still imperfect. When booting in 11x22, it doesn't handle the early boot messages at all well. Also, I'm a little confused by what a low-level scroll function is meant to do - sometimes, scrolling happens when you type a CR, and want a line on the screen to be space filled. Other times, you type and don't want any space filling to happen. So I'm not convinced that scrolling, invoked by, say, an editor program, will work correctly. > Again, thanks for such effective testing! So, please try the attached patch, which is "at the same level" as my patch from three days ago. For anybody who wants to try it new, I'm repeating the instructions from that post: >>>> To use it, please apply the supplied patch ON TOP OF the patch I >>>> posted here on 12th December. Proceed as documented in that post, >>>> up until configuring the kernel - in Device drivers/Graphic >>>> support/Console display driver support, there's an extra item >>>> "Enable a working GPM for scrolled back scrollback buffer in System >>>> RAM" which should be enabled by default. Check this is set up >>>> properly. Then build and install the kernel. Then reboot into it >>>> and try it out. > > -- > > Regards, > > Peter. -- Alan Mackenzie (Nuremberg, Germany).