Gentoo Archives: gentoo-user

From: Alan Mackenzie <acm@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Soft scrolling on framebuffer consoles - New (?final) version of the patch - with GPM handling.
Date: Fri, 03 Feb 2023 18:56:37
Message-Id: Y91Y2zILfZafrHlY@ACM
In Reply to: Re: [gentoo-user] Soft scrolling on framebuffer consoles - New version of the patch - with GPM handling. by Peter Humphrey
1 Hello, Peter.
2
3 I have another version of the patch which makes GPM usable on scrolled
4 consoles. I'd like to think that it's now final.
5
6 On Sat, Jan 28, 2023 at 14:41:53 +0000, Peter Humphrey wrote:
7 > On Friday, 27 January 2023 22:31:17 GMT Alan Mackenzie wrote:
8 > > On Fri, Jan 27, 2023 at 12:24:41 +0000, Peter Humphrey wrote:
9
10 > --->8
11
12 > > > I've attached the reject files.
13 > >
14 > > Thanks for these! It looks like it'll probably be straightforward to
15 > > amend the patch for 6.1.8. Are you currently running 6.1.8 as your main
16 > > kernel?
17
18 > Yes Alan, I'm running ~amd64, so 6.1.8 is the current kernel. I have 5.15.88
19 > as a backup.
20
21 OK, I'm enclosing a patch for each version, 5.15.x and 6.1.y. I'm not
22 aware of any outstanding bugs in these patches. In particular, the
23 following have been fixed since the previous version:
24 (i) The synchronisation between the "mouse" character buffer and the
25 contents of the screen is now 100%. In particular, when changing
26 fonts (e.g. at bootup), and when the Tux logos get removed from the
27 screen, things continue working.
28 (ii) CONFIG_LOGO (i.e. the Tuxes on bootup) can now be freely configured
29 without losing functionality.
30
31 Just a quick reminder of how to use these files for anybody else who
32 might be interested:
33 (i) cd /usr/src/linux-5.15.88-gentoo, or similar. (Or
34 ...-6.1.x-gentoo).
35 (ii) patch -p1 < 5.15.80-GPM.20230203.diff (or the other one).
36 (iii) Configure the kernel as normal. Additionally, under Device
37 drivers/Graphic Support/Console display driver support, enable
38 CONFIG_FRAMEBUFFER_CONSOLE_SOFT_SCROLLBACK, set the buffer size to
39 taste (it's default is 128 kB) and accept the default enablement of
40 CONFIG_FRAMEBUFFER_CONSOLE_SOFT_SCROLLBACK_GPM.
41 (iv) Build the kernel and install it into your boot manager.
42 (v) Reboot and enjoy! You can now use GPM in scrolled consoles.
43
44 > --
45 > Regards,
46 > Peter.
47
48 --
49 Alan Mackenzie (Nuremberg, Germany).

Attachments

File name MIME type
5.15.80-GPM.20230203.diff text/plain
6.1.8-GPM.20230203.diff text/plain