Page MenuHomeFreeBSD

Remove options VESA from x86 GENERIC

Authored by emaste on Nov 27 2021, 8:46 PM.



VESA is supported only by the legacy sc(4) console driver, not vt(4). As reported on the freebsd-hackers list[1] having VESA compiled into
the kernel or loaded as a module can cause issues with suspend/resume when the nvidia driver is in use.

Since VESA currently serves no purpose with vt(4), remove it from GENERIC and allow sc(4) users who need it to load it as a module. (It may still be worth adding VESA support to vt(4); we can revisit this change if that occurs.)


Diff Detail

R10 FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

emaste created this revision.

Clarification, options VESA and vesa.ko is supported only by sc(4). a4a10b37d422dcdff2b0d700ab073b3078627a08 added vt_vbefb but it does not use vesa.ko and doesn't support mode switching, it just supports the VBE mode left in place by the loader.

This revision is now accepted and ready to land.Nov 27 2021, 9:25 PM
This revision was automatically updated to reflect the committed changes.