I tried it out, but the X server refuses to start (but no black screen). I think nvidia-drm is not loaded, since the server is trying out the different drivers, see Xorg.0.log. Compilation went through. I added the line to /boot/loader.conf. No .conf files in /usr/local/etc/X11/xorg.conf.d
[CODE ]
[ 799.938]
X.Org X Server 1.21.1.14
X Protocol Version 11, Revision 0
[ 799.938] Current Operating System: FreeBSD zenbook 14.2-RELEASE FreeBSD 14.2-RELEASE releng/14.2-n269506-c8918d6c7412 GENERIC amd64
[ 799.938]
[ 799.938] Current version of pixman: 0.42.2
[ 799.938] Before reporting problems, check
http://wiki.x.org
to make sure that you have the latest version.
[ 799.938] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 799.939] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan 11 10:39:20 2025
[ 799.939] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[ 799.939] (==) No Layout section. Using the first Screen section.
[ 799.939] (==) No screen section available. Using defaults.
[ 799.939] (**) |-->Screen "Default Screen Section" (0)
[ 799.939] (**) | |-->Monitor "<default monitor>"
[ 799.939] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 799.939] (**) Allowing byte-swapped clients
[ 799.939] (==) Automatically adding devices
[ 799.939] (==) Automatically enabling devices
[ 799.939] (==) Automatically adding GPU devices
[ 799.939] (==) Automatically binding GPU devices
[ 799.939] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 799.939] (==) FontPath set to:
/usr/local/share/fonts/misc/,
/usr/local/share/fonts/TTF/,
/usr/local/share/fonts/OTF/,
/usr/local/share/fonts/Type1/,
/usr/local/share/fonts/100dpi/,
/usr/local/share/fonts/75dpi/,
catalogue:/usr/local/etc/X11/fontpath.d
[ 799.940] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[ 799.940] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 799.940] (II) Module ABI versions:
[ 799.940] X.Org ANSI C Emulation: 0.4
[ 799.940] X.Org Video Driver: 25.2
[ 799.940] X.Org XInput driver : 24.4
[ 799.940] X.Org Server Extension : 10.0
[ 799.945] (--) PCI: (1@0:0:0) 10de:1c96:1043:1092 rev 161, Mem @ 0xfb000000/16777216, 0xb0000000/268435456, 0xc0000000/33554432, I/O @ 0x0000f000/128
[ 799.945] (--) PCI:*(4@0:0:0) 1002:1636:1043:1092 rev 194, Mem @ 0xd0000000/268435456, 0xe0000000/2097152, 0xfc500000/524288, I/O @ 0x0000e000/256, BIOS @ 0x????????/65536
[ 799.945] (II) LoadModule: "glx"
[ 799.946] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[ 799.947] (II) Module glx: vendor="X.Org Foundation"
[ 799.947] compiled for 1.21.1.14, module version = 1.0.0
[ 799.947] ABI class: X.Org Server Extension, version 10.0
[ 799.947] (==) Matched ati as autoconfigured driver 0
[ 799.947] (==) Matched modesetting as autoconfigured driver 1
[ 799.947] (==) Matched scfb as autoconfigured driver 2
[ 799.947] (==) Matched vesa as autoconfigured driver 3
[ 799.947] (==) Assigned the driver to the xf86ConfigLayout
[ 799.947] (II) LoadModule: "ati"
[ 799.947] (WW) Warning, couldn't open module ati
[ 799.947] (EE) Failed to load module "ati" (module does not exist, 0)
[ 799.947] (II) LoadModule: "modesetting"
[ 799.947] (II) Loading /usr/local/lib/xorg/modules/drivers/modesetting_drv.so
[ 799.947] (II) Module modesetting: vendor="X.Org Foundation"
[ 799.948] compiled for 1.21.1.14, module version = 1.21.1
[ 799.948] Module class: X.Org Video Driver
[ 799.948] ABI class: X.Org Video Driver, version 25.2
[ 799.948] (II) LoadModule: "scfb"
[ 799.948] (II) Loading /usr/local/lib/xorg/modules/drivers/scfb_drv.so
[ 799.948] (II) Module scfb: vendor="X.Org Foundation"
[ 799.948] compiled for 1.21.1.14, module version = 0.0.5
[ 799.948] ABI class: X.Org Video Driver, version 25.2
[ 799.948] (II) LoadModule: "vesa"
[ 799.948] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
[ 799.948] (II) Module vesa: vendor="X.Org Foundation"
[ 799.948] compiled for 1.21.1.14, module version = 2.5.0
[ 799.948] Module class: X.Org Video Driver
[ 799.948] ABI class: X.Org Video Driver, version 25.2
[ 799.948] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 799.948] (II) scfb: driver for wsdisplay framebuffer: scfb
[ 799.948] (II) VESA: driver for VESA chipsets: vesa
[ 799.948] (--) Using syscons driver with X support (version 2.0)
[ 799.948] (--) using VT number 9
[ 799.950] (EE) open /dev/dri/card0: No such file or directory
[ 799.950] (WW) Falling back to old probe method for modesetting
[ 799.950] (EE) open /dev/dri/card0: No such file or directory
[ 799.950] (WW) Falling back to old probe method for scfb
[ 799.950] scfb trace: probe start
[ 799.950] (II) scfb(1): using default device
[ 799.950] scfb trace: probe done
[ 799.950] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 799.950] (EE) Screen 0 deleted because of no matching config section.
[ 799.950] (II) UnloadModule: "modesetting"
[ 799.950] (EE)
Fatal server error:
[ 799.950] (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices
[ 799.950] (EE)
[ 799.950] (EE)
Please consult the The X.Org Foundation support
at
http://wiki.x.org
for help.
[ 799.951] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 799.951] (EE)
[ 799.952] (EE) Server terminated with error (1). Closing log file.
[/CODE]