Re: patch: jump scrolling text consoles

RVP <[email protected]> Sun, 1 Mar 2026 06:54:03 +0000 (UTC)
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
On Sat, 7 Feb 2026, Ignatios Souvatzis wrote:

> as nouveau doesn't work on my Thinkpad W701 with its NVIDIA G92
> (see port-amd64/58305), I'm running it for non-test uses with
>
> menu=Boot 10 nonouveautest:vesa 0x165;rndseed /etc/entropy-file;userconf disable nouveau*;boot netbsd10.test
>
> where netbsd10.test has the patch below to make the console scroll
> half the screen (instead of one line) when reaching bottom.
>
> The reason is that until a certain point in the boot process, scrolling
> is very slow (about 1-2 seconds per line).
>

Can you, instead, try changing this test:

https://github.com/NetBSD/src/blob/trunk/sys/arch/x86/x86/genfb_machdep.c#L156

to just:

```
 	if (x86_genfb_use_shadowfb) {
```

I see no reason why a shadow FB should be restricted to only EFI framebuffers.

-RVP