Re: Reasons for keeping sc(4) and libvgl ?

From: Ed Maste <emaste_at_freebsd.org>
Date: Sun, 28 Nov 2021 16:43:44 UTC
On Fri, 26 Nov 2021 at 10:45, Stefan Blachmann <sblachmann@gmail.com> wrote:
>
> Main technical reasons why I consider sc(4) essential:
>
> - vt/vesa.ko break suspend/resume on nvidia cards. To make
> suspend/resume work on computers with nvidia, it is necessary to build
> a kernel *without* vt/vesa modules. See
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253733

To wrap up this one - this is an issue with `options VESA` / vesa.ko.
It is not related to vt(4), which does not use that VESA driver.

I have removed `options VESA` from GENERIC now in b8cf1c5c30a5. It
serves no purpose when vt(4) is in use, and the kernel module is still
available for sc(4) users who want to set a VBE mode.

As an aside, the loader can set a VBE mode and vt(4) will make use of
that, it just does not support mode changing after boot.