Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: patch: shadowfb also for non-EFI boots



On Fri, 24 Apr 2026 at 18:08, Ignatios Souvatzis <is%netbsd.org@localhost> wrote:
>
> On Thu, Apr 09, 2026 at 12:28:12AM +0000, RVP wrote:
> > On Wed, 8 Apr 2026, is%netbsd.org@localhost wrote:
> >
> > > I've tested this on the machine in question, netbsd10.1 userland,
> > > with netbsd10, netbsd11 and netbsd-11.99.5 kernels (with this patch),
> > > and on a machine with intel graphics.
> > >
> >
> > There're 2 issues (both fairly minor) with enabling the shadow FB:
> >
> > 1. Addtl. mem. used for it (20+ MB easily for a 4K resolution).
>
> ... you wouldn't want to run that resolution on a memory-starved machine
> anyway. At least I wouldn't. Maybe shadowfb could be a build option?

Maybe an option to not attach in very low memory conditions? A compile
time option which will fail the attach if it would take the remaining
memory below it? Defaulting to something like 32M. This would be a
"nice to have", not a "delay the commit" change :)

David


Home | Main Index | Thread Index | Old Index