[Bug 277365] x11/nvidia-driver: Allow building without syscons(4) support

[email protected] Sun, 02 Aug 2026 10:07:27 +0000
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277365

Tomoaki AOKI <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #264238|0                           |1
        is obsolete|                            |

--- Comment #8 from Tomoaki AOKI <[email protected]> ---
Created attachment 273395
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D273395&action=
=3Dedit
Updated patch to allow absense of sc driver

Updated patch as below:
  *Try supporting legacy BIOS boots without sc driver by adding routine for
vbefb.

  *Try to make it easier to be incorporated upstream (NVIDIA).

  *Support legacy 470 series and later, including New Feature Branch (NFB) =
610.


What's tested:
  *Build/install/run on main, amd64 built with WITHOUT_SYSCONS=3Dyes in
/etc/src.conf
   at commit base a3a884c0d43ab02187022be9ae9084e6c725ba68 with OPTIONS SYS=
CONF
   disabled. UEFI boot. Driver version is NFB 610.43.03 (-devel bariant).

  *Build/install/run on stable/15, amd64 having SYSCONS
   at commit base bf0ffcaa564949f2eb086a05f718d2f358c7afec with OPTIONS SYS=
CONF
   enabled (default) and disabled. UEFI boot. Driver version is NFB 610.43.=
03
   (-devel bariant).

What's untested:
  *Legacy BIOS boots that is estimated to require vbefb support.

So currently I'm not enough sure added vbefb support is correct or not.


For the existence of opt_syscons.h in src/nvidia-drm/Makefile, drop handlin=
g it
this time.
This is because I couldn't find any code calling sc driver specific functio=
ns
in nvidia-drm.ko and opt_syscons.h has "#define DEV_VT 1" line in it, thus,
seems unlikely to be deleted.

--=20
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.=