Solved alderlake, tigerlake and rtw89

I have got one of these cheap small boxes, with a N150.

Freebsd installs nice and easy.
freebsd-version -kru
14.2-RELEASE-p1 14.2-RELEASE-p1 14.2-RELEASE-p3

All seems to be working, except alderlake, tigerlake and rtw89.

Installed from my poudriere repo:
pkg prime-origins
graphics/drm-kmod net/wifi-firmware-rtw89-kmod

rc.conf
kld_list="${kld_list} i915kms" kld_list="${kld_list} if_rtw89"

kldstat
4 1 0xffffffff839f9000 1e2228 i915kms.ko 11 1 0xffffffff83e00000 24fee0 if_rtw89.ko

First of all, rtw89:

ifconfig -l
igc0 lo0

Nice fast intel wired, but no wireless.

Now alderlake:

pciconf -lv | grep -B4 VGA
pciconf -lv | grep -B4 VGA vgapci0@pci0:0:2:0: class=0x030000 rev=0x00 hdr=0x00 vendor=0x8086 device=0x46d4 subvendor=0x0301 subdevice=0x02f3 vendor = 'Intel Corporation' device = 'Alder Lake-N [Intel Graphics]' class = display subclass = VGA

Have tried with no xorg.conf and with, with all permutations of
Section "Device" Identifier "Card0" Driver "intel" # Driver "modesetting" BusID "PCI:0:2:0" EndSection.

Without xorg.conf:
[ 1973.699]
X.Org X Server 1.21.1.16
X Protocol Version 11, Revision 0
[ 1973.699] Current Operating System: FreeBSD viridian.local.minium.com 14.2-RELEASE-p1 FreeBSD 14.2-RELEASE-p1 GENERIC amd64
[ 1973.699]
[ 1973.699] Current version of pixman: 0.44.2
[ 1973.699] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 1973.699] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1973.699] (==) Log file: "/var/log/Xorg.0.log", Time: Fri May 2 13:52:10 2025
[ 1973.700] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[ 1973.701] (==) No Layout section. Using the first Screen section.
[ 1973.701] (==) No screen section available. Using defaults.
[ 1973.701] (**) |-->Screen "Default Screen Section" (0)
[ 1973.701] (**) | |-->Monitor "<default monitor>"
[ 1973.702] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 1973.702] (**) Allowing byte-swapped clients
[ 1973.702] (==) Automatically adding devices
[ 1973.702] (==) Automatically enabling devices
[ 1973.702] (==) Automatically adding GPU devices
[ 1973.702] (==) Automatically binding GPU devices
[ 1973.702] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 1973.706] (==) 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
[ 1973.706] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[ 1973.706] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 1973.706] (II) Module ABI versions:
[ 1973.706] X.Org ANSI C Emulation: 0.4
[ 1973.706] X.Org Video Driver: 25.2
[ 1973.706] X.Org XInput driver : 24.4
[ 1973.706] X.Org Server Extension : 10.0
[ 1973.717] (--) PCI:*(0@0:2:0) 8086:46d4:0301:02f3 rev 0, Mem @ 0x6000000000/16777216, 0x4000000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/65536
[ 1973.717] (II) LoadModule: "glx"
[ 1973.717] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[ 1973.723] (II) Module glx: vendor="X.Org Foundation"
[ 1973.723] compiled for 1.21.1.16, module version = 1.0.0
[ 1973.723] ABI class: X.Org Server Extension, version 10.0
[ 1973.723] (==) Matched intel as autoconfigured driver 0
[ 1973.723] (==) Matched modesetting as autoconfigured driver 1
[ 1973.723] (==) Matched scfb as autoconfigured driver 2
[ 1973.723] (==) Matched vesa as autoconfigured driver 3
[ 1973.723] (==) Assigned the driver to the xf86ConfigLayout
[ 1973.723] (II) LoadModule: "intel"
[ 1973.724] (WW) Warning, couldn't open module intel
[ 1973.724] (EE) Failed to load module "intel" (module does not exist, 0)
[ 1973.724] (II) LoadModule: "modesetting"
[ 1973.724] (II) Loading /usr/local/lib/xorg/modules/drivers/modesetting_drv.so
[ 1973.728] (II) Module modesetting: vendor="X.Org Foundation"
[ 1973.728] compiled for 1.21.1.16, module version = 1.21.1
[ 1973.728] Module class: X.Org Video Driver
[ 1973.728] ABI class: X.Org Video Driver, version 25.2
[ 1973.728] (II) LoadModule: "scfb"
[ 1973.728] (II) Loading /usr/local/lib/xorg/modules/drivers/scfb_drv.so
[ 1973.729] (II) Module scfb: vendor="X.Org Foundation"
[ 1973.729] compiled for 1.21.1.16, module version = 0.0.5
[ 1973.729] ABI class: X.Org Video Driver, version 25.2
[ 1973.729] (II) LoadModule: "vesa"
[ 1973.729] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
[ 1973.729] (II) Module vesa: vendor="X.Org Foundation"
[ 1973.729] compiled for 1.21.1.16, module version = 2.5.0
[ 1973.729] Module class: X.Org Video Driver
[ 1973.729] ABI class: X.Org Video Driver, version 25.2
[ 1973.729] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 1973.729] (II) scfb: driver for wsdisplay framebuffer: scfb
[ 1973.729] (II) VESA: driver for VESA chipsets: vesa
[ 1973.729] (--) Using syscons driver with X support (version 2.0)
[ 1973.729] (--) using VT number 9

[ 1973.730] (EE) open /dev/dri/card0: No such file or directory
[ 1973.730] (WW) Falling back to old probe method for modesetting
[ 1973.730] (EE) open /dev/dri/card0: No such file or directory
[ 1973.730] (WW) Falling back to old probe method for scfb
[ 1973.730] scfb trace: probe start
[ 1973.730] (II) scfb(1): using default device
[ 1973.730] scfb trace: probe done
[ 1973.730] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 1973.730] (EE) Screen 0 deleted because of no matching config section.
[ 1973.730] (II) UnloadModule: "modesetting"
[ 1973.730] (EE)
Fatal server error:
[ 1973.730] (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices
[ 1973.730] (EE)
[ 1973.730] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 1973.730] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 1973.730] (EE)
[ 1973.730] (EE) Server terminated with error (1). Closing log file.

With xorg.conf:
[ 2460.924]
X.Org X Server 1.21.1.16
X Protocol Version 11, Revision 0
[ 2460.924] Current Operating System: FreeBSD viridian.local.minium.com 14.2-RELEASE-p1 FreeBSD 14.2-RELEASE-p1 GENERIC amd64
[ 2460.924]
[ 2460.924] Current version of pixman: 0.44.2
[ 2460.924] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 2460.924] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 2460.924] (==) Log file: "/var/log/Xorg.0.log", Time: Fri May 2 14:00:17 2025
[ 2460.924] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
[ 2460.924] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[ 2460.924] (==) No Layout section. Using the first Screen section.
[ 2460.924] (==) No screen section available. Using defaults.
[ 2460.924] (**) |-->Screen "Default Screen Section" (0)
[ 2460.924] (**) | |-->Monitor "<default monitor>"
[ 2460.924] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 2460.925] (**) | |-->Device "Card0"
[ 2460.925] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 2460.925] (**) Allowing byte-swapped clients
[ 2460.925] (==) Automatically adding devices
[ 2460.925] (==) Automatically enabling devices
[ 2460.925] (==) Automatically adding GPU devices
[ 2460.925] (==) Automatically binding GPU devices
[ 2460.925] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 2460.925] (==) 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
[ 2460.925] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[ 2460.925] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 2460.925] (II) Module ABI versions:
[ 2460.925] X.Org ANSI C Emulation: 0.4
[ 2460.925] X.Org Video Driver: 25.2
[ 2460.925] X.Org XInput driver : 24.4
[ 2460.925] X.Org Server Extension : 10.0
[ 2460.930] (--) PCI:*(0@0:2:0) 8086:46d4:0301:02f3 rev 0, Mem @ 0x6000000000/16777216, 0x4000000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/65536
[ 2460.930] (II) LoadModule: "glx"
[ 2460.930] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[ 2460.931] (II) Module glx: vendor="X.Org Foundation"
[ 2460.931] compiled for 1.21.1.16, module version = 1.0.0
[ 2460.931] ABI class: X.Org Server Extension, version 10.0
[ 2460.931] (II) LoadModule: "intel"
[ 2460.931] (WW) Warning, couldn't open module intel
[ 2460.931] (EE) Failed to load module "intel" (module does not exist, 0)
[ 2460.931] (EE) No drivers available.
[ 2460.931] (EE)
Fatal server error:
[ 2460.931] (EE) no screens found(EE)
[ 2460.931] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 2460.931] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 2460.931] (EE)
[ 2460.931] (EE) Server terminated with error (1). Closing log file.

Have tried kldload all of:
i915_adlp_dmc_bin.ko i915_adlp_dmc_ver2_10_bin.ko i915_adlp_dmc_ver2_16_bin.ko i915_adlp_guc_62_0_3_bin.ko i915_adlp_guc_70_bin.ko i915_adls_dmc_ver2_01_bin.ko i915_tgl_dmc_ver2_08_bin.ko i915_tgl_dmc_ver2_12_bin.ko i915_tgl_guc_35_2_0_bin.ko i915_tgl_guc_62_0_0_bin.ko i915_tgl_guc_70_1_1_bin.ko i915_tgl_guc_70_bin.ko i915_tgl_huc_7_5_0_bin.ko i915_tgl_huc_7_9_3_bin.ko i915_tgl_huc_bin.ko

Now I note from man rtw89
Code:
This driver requires firmware to be loaded before it will work.  The
     package wifi-firmware-rtw89-kmod from the
     ports/net/wifi-firmware-rtw89-kmod port needs to be installed before the
     driver is loaded.  Otherwise no wlan(4) interface can be created using
     ifconfig(8).  One should use fwget(8) to install the correct firmware
     package.

fwget
Needed firmware packages: 'gpu-firmware-intel-kmod-alderlake gpu-firmware-intel-kmod-tigerlake wifi-firmware-rtw89-kmod-rtw8852b' The most recent versions of packages are already installed

"Needed firmware packages" and "packages are already installed"
What does that mean?

Is there anything I have to do that I have not done yet?

How do I get alderlake, tigerlake and rtw89 working?
 
Have tried with no xorg.conf and with, with all permutations of
Have you tried only "Identifier" and "BusID", without any "Driver" configuration?


Regarding rtw89(4), the driver doesn't need a "kld_list" entry. The driver auto-loads using devmatch(8), enabled by default: /etc/defaults/rc.conf
Code:
devmatch_enable="YES"   # Demand load kernel modules based on device ids.

Which chipset has the wifi card?: pciconf -lv | grep -B3 network.

"Needed firmware packages" and "packages are already installed"
What does that mean?
Check if the package is indeed installed (pkg-info(8)). The firmware is installed under /boot/firmware. This driver needs LinuxKPI memory limit enabled. This is configured in /boot/loader.conf.d/rtw89.conf. To take effect, the system must be rebooted:
Code:
% pkg list -x wifi-firmware-rtw89-kmod
/boot/firmware/rtw89/rtw8851b_fw.bin
/boot/firmware/rtw89/rtw8852a_fw.bin
/boot/firmware/rtw89/rtw8852b_fw-1.bin
/boot/firmware/rtw89/rtw8852b_fw.bin
/boot/firmware/rtw89/rtw8852c_fw-1.bin
/boot/firmware/rtw89/rtw8852c_fw.bin
/boot/firmware/rtw89/rtw8922a_fw-1.bin
/boot/firmware/rtw89/rtw8922a_fw-2.bin
/boot/firmware/rtw89/rtw8922a_fw.bin
/boot/loader.conf.d/rtw89.conf

I have a Realtek RTL8852AE in a laptop (AMD ThinkPad), but it isn't quite stable on 14.2-RELEASE. Sometimes the kernel panics.


Apropos, you don't need multiple kld_list lines. One line, kernel modules separated by whitespace, side by side will do.
 
Have you tried only "Identifier" and "BusID", without any "Driver" configuration?
Yes. Didn't work either:
[ 6061.845]
X.Org X Server 1.21.1.16
X Protocol Version 11, Revision 0
[ 6061.845] Current Operating System: FreeBSD viridian.local.minium.com 14.2-RELEASE-p1 FreeBSD 14.2-RELEASE-p1 GENERIC amd64
[ 6061.845]
[ 6061.845] Current version of pixman: 0.44.2
[ 6061.845] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 6061.845] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 6061.845] (==) Log file: "/var/log/Xorg.0.log", Time: Fri May 2 16:26:18 2025
[ 6061.846] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
[ 6061.846] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[ 6061.847] (==) No Layout section. Using the first Screen section.
[ 6061.847] (==) No screen section available. Using defaults.
[ 6061.847] (**) |-->Screen "Default Screen Section" (0)
[ 6061.847] (**) | |-->Monitor "<default monitor>"
[ 6061.848] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 6061.848] (**) | |-->Device "Card0"
[ 6061.848] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 6061.848] (**) Allowing byte-swapped clients
[ 6061.848] (==) Automatically adding devices
[ 6061.848] (==) Automatically enabling devices
[ 6061.848] (==) Automatically adding GPU devices
[ 6061.848] (==) Automatically binding GPU devices
[ 6061.848] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 6061.853] (==) 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
[ 6061.853] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[ 6061.853] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 6061.853] (II) Module ABI versions:
[ 6061.853] X.Org ANSI C Emulation: 0.4
[ 6061.853] X.Org Video Driver: 25.2
[ 6061.853] X.Org XInput driver : 24.4
[ 6061.853] X.Org Server Extension : 10.0
[ 6061.864] (--) PCI:*(0@0:2:0) 8086:46d4:0301:02f3 rev 0, Mem @ 0x6000000000/16777216, 0x4000000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/65536
[ 6061.864] (II) LoadModule: "glx"
[ 6061.865] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[ 6061.874] (II) Module glx: vendor="X.Org Foundation"
[ 6061.874] compiled for 1.21.1.16, module version = 1.0.0
[ 6061.874] ABI class: X.Org Server Extension, version 10.0
[ 6061.874] (==) Matched intel as autoconfigured driver 0
[ 6061.874] (==) Matched modesetting as autoconfigured driver 1
[ 6061.874] (==) Matched scfb as autoconfigured driver 2
[ 6061.874] (==) Matched vesa as autoconfigured driver 3
[ 6061.875] (==) Assigned the driver to the xf86ConfigLayout
[ 6061.875] (II) LoadModule: "intel"
[ 6061.875] (WW) Warning, couldn't open module intel
[ 6061.875] (EE) Failed to load module "intel" (module does not exist, 0)
[ 6061.875] (II) LoadModule: "modesetting"
[ 6061.875] (II) Loading /usr/local/lib/xorg/modules/drivers/modesetting_drv.so
[ 6061.880] (II) Module modesetting: vendor="X.Org Foundation"
[ 6061.880] compiled for 1.21.1.16, module version = 1.21.1
[ 6061.880] Module class: X.Org Video Driver
[ 6061.880] ABI class: X.Org Video Driver, version 25.2
[ 6061.880] (II) LoadModule: "scfb"
[ 6061.880] (II) Loading /usr/local/lib/xorg/modules/drivers/scfb_drv.so
[ 6061.881] (II) Module scfb: vendor="X.Org Foundation"
[ 6061.881] compiled for 1.21.1.16, module version = 0.0.5
[ 6061.881] ABI class: X.Org Video Driver, version 25.2
[ 6061.881] (II) LoadModule: "vesa"
[ 6061.881] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
[ 6061.881] (II) Module vesa: vendor="X.Org Foundation"
[ 6061.881] compiled for 1.21.1.16, module version = 2.5.0
[ 6061.881] Module class: X.Org Video Driver
[ 6061.881] ABI class: X.Org Video Driver, version 25.2
[ 6061.881] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 6061.881] (II) scfb: driver for wsdisplay framebuffer: scfb
[ 6061.882] (II) VESA: driver for VESA chipsets: vesa
[ 6061.882] (--) Using syscons driver with X support (version 2.0)
[ 6061.882] (--) using VT number 9

[ 6061.882] (EE) open /dev/dri/card0: No such file or directory
[ 6061.882] (WW) Falling back to old probe method for modesetting
[ 6061.882] (EE) open /dev/dri/card0: No such file or directory
[ 6061.882] (WW) Falling back to old probe method for scfb
[ 6061.882] scfb trace: probe start
[ 6061.882] (II) scfb(1): using default device
[ 6061.882] scfb trace: probe done
[ 6061.882] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 6061.882] (EE) Screen 0 deleted because of no matching config section.
[ 6061.882] (II) UnloadModule: "modesetting"
[ 6061.882] (EE)
Fatal server error:
[ 6061.882] (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices
[ 6061.882] (EE)
[ 6061.882] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 6061.883] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 6061.883] (EE)
[ 6061.883] (EE) Server terminated with error (1). Closing log file.

Regarding rtw89(4), the driver doesn't need a "kld_list" entry. The driver auto-loads using devmatch(8), enabled by default: /etc/defaults/rc.conf
Code:
devmatch_enable="YES"   # Demand load kernel modules based on device ids.

Which chipset has the wifi card?: pciconf -lv | grep -B3 network.
rtw890@pci0:1:0:0: class=0x028000 rev=0x00 hdr=0x00 vendor=0x10ec device=0xb852 subvendor=0x10ec subdevice=0xb852
vendor = 'Realtek Semiconductor Co., Ltd.'
device = 'RTL8852BE PCIe 802.11ax Wireless Network Controller'
class = network
Check if the package is indeed installed (pkg-info(8)). The firmware is installed under /boot/firmware. This driver needs LinuxKPI memory limit enabled. This is configured in /boot/loader.conf.d/rtw89.conf. To take effect, the system must be rebooted:
Code:
% pkg list -x wifi-firmware-rtw89-kmod
/boot/firmware/rtw89/rtw8851b_fw.bin
/boot/firmware/rtw89/rtw8852a_fw.bin
/boot/firmware/rtw89/rtw8852b_fw-1.bin
/boot/firmware/rtw89/rtw8852b_fw.bin
/boot/firmware/rtw89/rtw8852c_fw-1.bin
/boot/firmware/rtw89/rtw8852c_fw.bin
/boot/firmware/rtw89/rtw8922a_fw-1.bin
/boot/firmware/rtw89/rtw8922a_fw-2.bin
/boot/firmware/rtw89/rtw8922a_fw.bin
/boot/loader.conf.d/rtw89.conf
ls -l /boot/firmware/rtw89

-r--r--r-- 1 root wheel 1162024 Apr 12 14:03 rtw8851b_fw.bin
-r--r--r-- 1 root wheel 1423232 Apr 12 08:55 rtw8852a_fw.bin
-r--r--r-- 1 root wheel 1242808 Apr 12 13:27 rtw8852b_fw-1.bin
-r--r--r-- 1 root wheel 1035232 Apr 12 08:55 rtw8852b_fw.bin
-r--r--r-- 1 root wheel 2180616 Apr 12 12:55 rtw8852c_fw-1.bin
-r--r--r-- 1 root wheel 1532656 Apr 12 12:55 rtw8852c_fw.bin
-r--r--r-- 1 root wheel 1583434 Apr 12 08:47 rtw8922a_fw-1.bin
-r--r--r-- 1 root wheel 1586954 Apr 12 08:47 rtw8922a_fw-2.bin
-r--r--r-- 1 root wheel 1537690 Apr 12 08:47 rtw8922a_fw.bin
Apropos, you don't need multiple kld_list lines. One line, kernel modules separated by whitespace, side by side will do.
Yes. I like them one per line, so I can comment them.

Still no further.
 
Rich (BB code):
rtw890@pci0:1:0:0: class=0x028000 rev=0x00 hdr=0x00 vendor=0x10ec device=0xb852 subvendor=0x10ec subdevice=0xb852
vendor = 'Realtek Semiconductor Co., Ltd.'
device = 'RTL8852BE PCIe 802.11ax Wireless Network Controller'
class = network
The driver has attached to the device, there should be similar output in dmesg like below:
Code:
% dmesg  | grep rtw89
Autoloading module: if_rtw89
rtw890: <rtw89_8852ae> port 0x2000-0x20ff mem 0xfd400000-0xfd4fffff at device 0.0 on pci3
rtw890: successfully loaded firmware image 'rtw89/rtw8852a_fw.bin'
rtw890: loaded firmware rtw89/rtw8852a_fw.bin
rtw890: Firmware version 0.13.36.0 (c33d3f88), cmd version 0, type 1
rtw890: Firmware version 0.13.36.0 (c33d3f88), cmd version 0, type 3
rtw890: chip rfe_type is 1

How did you configure the wlandev device, manually or by rc.conf? rc.conf example, assuming /etc/wpa_supplicant.conf is configured properly:
Code:
wlans_rtw890="wlan0"
ifconfig_wlan0="WPA DHCP"
 
Is the user in the "video" group?
Yes.
grep video /etc/group
video:*:44:geezer
Rich (BB code):
% ls -l /dev/dri/card0
lrwxr-xr-x  1 root wheel 8 Apr 30 23:34 /dev/dri/card0 -> ../drm/0

% ls -l /dev/drm/0
crw-rw----  1 root video 0x9e Apr 30 23:34 /dev/drm/0
ls -l /dev/dri/card0
ls: /dev/dri/card0: No such file or directory
As in Xorg.0.log
And what is more:
ls -l /dev/dri
ls: /dev/dri/: No such file or directory
But this is there:
ls -l /dev/drm/0
crw-rw---- 1 root video 0x58 May 2 17:06 /dev/drm/0

The driver has attached to the device, there should be similar output in dmesg like below:
Code:
% dmesg  | grep rtw89
Autoloading module: if_rtw89
rtw890: <rtw89_8852ae> port 0x2000-0x20ff mem 0xfd400000-0xfd4fffff at device 0.0 on pci3
rtw890: successfully loaded firmware image 'rtw89/rtw8852a_fw.bin'
rtw890: loaded firmware rtw89/rtw8852a_fw.bin
rtw890: Firmware version 0.13.36.0 (c33d3f88), cmd version 0, type 1
rtw890: Firmware version 0.13.36.0 (c33d3f88), cmd version 0, type 3
rtw890: chip rfe_type is 1
rtw890: <rtw89_8852be> port 0x3000-0x30ff mem 0x80700000-0x807fffff at device 0.0 on pci1 rtw8852b_fw-1.bin: could not load binary firmware /boot/firmware/rtw8852b_fw-1.bin either rtw890: successfully loaded firmware image 'rtw89/rtw8852b_fw-1.bin' rtw890: loaded firmware rtw89/rtw8852b_fw-1.bin rtw890: Firmware version 0.29.29.5 (da87cccd), cmd version 0, type 5 rtw890: Firmware version 0.29.29.5 (da87cccd), cmd version 0, type 3 rtw890: chip rfe_type is 1
How did you configure the wlandev device, manually or by rc.conf? rc.conf example, assuming /etc/wpa_supplicant.conf is configured properly:
Code:
wlans_rtw890="wlan0"
ifconfig_wlan0="WPA DHCP"

I just ignored this. I had assumed that I would see ifconfig -l include rtw890 as well as igc0 lo0 before ifconfig wlan0 create wlandev rtw890.

Well I have done it now, and have got wlan0.

I can do ifconfig wlan0 up list scan and ifconfig wlan0 ssid whatever.
When I do dhclient wlan0 I get wlan0: no link .............. giving up.
But I assume I do now have use of the wireless card, because at least I can get a list of ssid.

So that is one out of three. Now I need to get the lakes working.
 
If you have more than 4GB RAM use this setting in /boot/loader.conf
Code:
compat.linuxkpi.skb.mem_limit=1

Edit: CPU microcode update also should help sysutils/cpu-microcode
 
How do I get alderlake, tigerlake and rtw89 working?
Explain to a newbie, why are you suffering so much, trying to make WiFi work on this hardware? Even if WiFi somehow works, you still won't get all the benefits. It has already been written on this forum that either the speed will be 5 times lower than stated, or there will be big delays, or there will simply be constant disconnects. The driver is still for Linux. And the advertising banners say that such speeds can only be achieved under Windows 10-11 and Linux. Maybe I didn't understand something.
https://m.media-amazon.com/images/I/71b9EnR-cfL._AC_SL1500_.jpg
https://i.ebayimg.com/images/g/RacAAOSwHWBlXQUH/s-l1600.jpg
 
If you have more than 4GB RAM use this setting in /boot/loader.conf
compat.linuxkpi.skb.mem_limit=1
The installed net/wifi-firmware-rtw89-kmod package has a pre-configured, split user defined separate loader config file put in place, no user intervention is needed:
This driver needs LinuxKPI memory limit enabled. This is configured in /boot/loader.conf.d/rtw89.conf.
Code:
% pkg list -x wifi-firmware-rtw89-kmod
...
/boot/loader.conf.d/rtw89.conf

% cat /boot/loader.conf.d/rtw89.conf
compat.linuxkpi.skb.mem_limit=1
 
Please post dmesg -a, lets see if the firmware attaches correctly, or perhaps an error related to the drm driver is printed.

Code:
---<<BOOT>>---
Copyright (c) 1992-2023 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
    The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 14.2-RELEASE-p1 GENERIC amd64
FreeBSD clang version 18.1.6 (https://github.com/llvm/llvm-project.git llvmorg-18.1.6-0-g1118c2e05e67)
VT(efifb): resolution 1920x1080
CPU: Intel(R) N150 (806.40-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0xb06e0  Family=0x6  Model=0xbe  Stepping=0
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x7ffafbff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
  AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
  AMD Features2=0x121<LAHF,ABM,Prefetch>
  Structured Extended Features=0x239ca7eb<FSGSBASE,TSCADJ,BMI1,AVX2,FDPEXC,SMEP,BMI2,ERMS,INVPCID,NFPUSG,PQE,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,PROCTRACE,SHA>
  Structured Extended Features2=0x98c007bc<UMIP,PKU,OSPKE,WAITPKG,GFNI,VAES,VPCLMULQDQ,RDPID,MOVDIRI,MOVDIR64B>
  Structured Extended Features3=0xfc184410<FSRM,MD_CLEAR,IBT,IBPB,STIBP,L1DFL,ARCH_CAP,CORE_CAP,SSBD>
  XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
  IA32_ARCH_CAPS=0x1580fd6b<RDCL_NO,IBRS_ALL,SKIP_L1DFL_VME,MDS_NO,TAA_NO>
  VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID,VID,PostIntr
  TSC: P-state invariant, performance statistics
real memory  = 17179869184 (16384 MB)
avail memory = 16317231104 (15561 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <ALASKA A M I >
WARNING: L3 data cache covers more APIC IDs than a package (7 > 3)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s)
random: registering fast source Intel Secure Key RNG
random: fast provider: "Intel Secure Key RNG"
random: unblocking device.
ioapic0 <Version 2.0> irqs 0-119
Launching APs: 1 2 3
random: entropy device external interface
kbd0 at kbdmux0
efirtc0: <EFI Realtime Clock>
efirtc0: registered as a time-of-day clock, resolution 1.000000s
smbios0: <System Management BIOS> at iomem 0x73bad000-0x73bad01e
smbios0: Version: 3.6, BCD Revision: 3.6
aesni0: <AES-CBC,AES-CCM,AES-GCM,AES-ICM,AES-XTS,SHA1,SHA256>
acpi0: <ALASKA A M I >
Firmware Error (ACPI): Could not resolve symbol [\134_SB.PC00.TXHC.RHUB.SS01], AE_NOT_FOUND (20221020/dswload2-315)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20221020/psobject-372)
Firmware Error (ACPI): Could not resolve symbol [\134_SB.PC00.TXHC.RHUB.SS02], AE_NOT_FOUND (20221020/dswload2-315)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20221020/psobject-372)
acpi0: Power Button (fixed)
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 19200000 Hz quality 950
Event timer "HPET" frequency 19200000 Hz quality 550
Event timer "HPET1" frequency 19200000 Hz quality 440
Event timer "HPET2" frequency 19200000 Hz quality 440
Event timer "HPET3" frequency 19200000 Hz quality 440
Event timer "HPET4" frequency 19200000 Hz quality 440
atrtc1: <AT realtime clock> on acpi0
atrtc1: Warning: Couldn't map I/O.
atrtc1: registered as a time-of-day clock, resolution 1.000000s
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1808-0x180b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0x4000-0x403f mem 0x6000000000-0x6000ffffff,0x4000000000-0x400fffffff at device 2.0 on pci0
vgapci0: Boot video device
xhci0: <XHCI (generic) USB 3.0 controller> mem 0x6001100000-0x600110ffff at device 20.0 on pci0
xhci0: 32 bytes context size, 64-bit DMA
usbus0 on xhci0
usbus0: 5.0Gbps Super Speed USB v3.0
pci0: <memory, RAM> at device 20.2 (no driver attached)
pci0: <serial bus> at device 21.0 (no driver attached)
pci0: <simple comms> at device 22.0 (no driver attached)
ahci0: <AHCI SATA controller> port 0x4090-0x4097,0x4080-0x4083,0x4060-0x407f mem 0x80800000-0x80801fff,0x80803000-0x808030ff,0x80802000-0x808027ff at device 23.0 on pci0
ahci0: AHCI v1.31 with 1 6Gbps ports, Port Multiplier not supported
ahcich1: <AHCI channel> at channel 1 on ahci0
sdhci_pci0: <Generic SD HCI> mem 0x6001129000-0x6001129fff at device 26.0 on pci0
sdhci_pci0: 1 slot(s) allocated
mmc0: <MMC/SD bus> on sdhci_pci0
pcib1: <ACPI PCI-PCI bridge> at device 28.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <network> at device 0.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 29.0 on pci0
pci2: <ACPI PCI bus> on pcib2
nvme0: <Generic NVMe Device> mem 0x80600000-0x80603fff at device 0.0 on pci2
pcib3: <ACPI PCI-PCI bridge> at device 29.2 on pci0
pci3: <ACPI PCI bus> on pcib3
igc0: <Intel(R) Ethernet Controller I226-V> mem 0x80400000-0x804fffff,0x80500000-0x80503fff at device 0.0 on pci3
igc0: EEPROM V2.22-0 eTrack 0x80000374
igc0: Using 1024 TX descriptors and 1024 RX descriptors
igc0: Using 4 RX queues 4 TX queues
igc0: Using MSI-X interrupts with 5 vectors
igc0: Ethernet address: e0:51:d8:17:0a:6b
igc0: netmap queues/slots: TX 4/1024, RX 4/1024
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
hdac0: <Intel Alder Lake-N HDA Controller> mem 0x6001120000-0x6001123fff,0x6001000000-0x60010fffff at device 31.3 on pci0
pci0: <serial bus> at device 31.5 (no driver attached)
acpi_button0: <Sleep Button> on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_button1: <Power Button> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_syscontainer0: <System Container> on acpi0
acpi_syscontainer1: <System Container> on acpi0
atrtc0: <AT realtime clock> at port 0x70 irq 8 on isa0
atrtc0: Warning: Couldn't map I/O.
atrtc0: registered as a time-of-day clock, resolution 1.000000s
atrtc0: Can't map interrupt.
atrtc0: non-PNP ISA device will be removed from GENERIC in FreeBSD 15.
hwpstate_intel0: <Intel Speed Shift> on cpu0
hwpstate_intel1: <Intel Speed Shift> on cpu1
hwpstate_intel2: <Intel Speed Shift> on cpu2
hwpstate_intel3: <Intel Speed Shift> on cpu3
Timecounter "TSC" frequency 806403215 Hz quality 1000
Timecounters tick every 1.000 msec
ugen0.1: <Intel XHCI root HUB> at usbus0
uhub0 on usbus0
uhub0: <Intel XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
mmc0: No compatible cards found on bus
nvme0: Allocated 200MB host memory buffer
nda0 at nvme0 bus 0 scbus1 target 0 lun 1
nda0: <WD_BLACK SN770 1TB 731100WD 25026F800895>
nda0: Serial Number 25026F800895
nda0: nvme version 1.4
nda0: 953869MB (1953525168 512 byte sectors)
Trying to mount root from zfs:z_viridian_root/ROOT/default []...
uhub0: 16 ports with 16 removable, self powered
Root mount waiting for: usbus0
ugen0.2: <Logitech USB Keyboard> at usbus0
ukbd0 on uhub0
ukbd0: <Logitech USB Keyboard, class 0/0, rev 1.10/64.00, addr 1> on usbus0
kbd1 at ukbd0
ugen0.3: <Logitech USB Optical Mouse> at usbus0
ugen0.4: <CSCTEK USB Audio and HID> at usbus0
Root mount waiting for: usbus0
ugen0.5: <Realtek Bluetooth Radio> at usbus0
Setting hostuuid: 15b7b136-4e06-4284-a0d7-78f22f3775ca.
Setting hostid: 0x4d199c09.
no pools available to import
Starting file system checks:
/dev/gpt/efiboot0: FILESYSTEM CLEAN; SKIPPING CHECKS
Mounting local filesystems:.
Loading kernel modules:
[drm] Got Intel graphics stolen memory base 0x0, size 0x0
Autoloading module: acpi_wmi
Autoloading module: ichsmb
Autoloading module: if_rtw89
Autoloading module: ig4
ig4iic0: <Intel Alder Lake-M I2C Controller-0> at device 21.0 on pci0
ig4iic0: Using MSI
iicbus0: <Philips I2C bus (ACPI-hinted)> on ig4iic0
iic0: <I2C generic I/O> on iicbus0
ichsmb0: <Intel Alder Lake SMBus controller> port 0xefa0-0xefbf mem 0x6001128000-0x60011280ff at device 31.4 on pci0
smbus0: <System Management Bus> on ichsmb0
rtw890: <rtw89_8852be> port 0x3000-0x30ff mem 0x80700000-0x807fffff at device 0.0 on pci1
rtw8852b_fw-1.bin: could not load binary firmware /boot/firmware/rtw8852b_fw-1.bin either
rtw890: successfully loaded firmware image 'rtw89/rtw8852b_fw-1.bin'
rtw890: loaded firmware rtw89/rtw8852b_fw-1.bin
rtw890: Firmware version 0.29.29.5 (da87cccd), cmd version 0, type 5
rtw890: Firmware version 0.29.29.5 (da87cccd), cmd version 0, type 3
rtw890: MAC has already powered on
rtw890: chip rfe_type is 1
acpi_wmi0: <ACPI-WMI mapping> on acpi0
acpi_wmi0: cannot find EC device
acpi_wmi0: Embedded MOF found
ACPI: \134_SB.WFDE.WQCC: 1 arguments were passed to a non-method ACPI object (Buffer) (20221020/nsarguments-361)
acpi_wmi1: <ACPI-WMI mapping> on acpi0
acpi_wmi1: cannot find EC device
acpi_wmi1: Embedded MOF found
ACPI: \134_SB.WFTE.WQCC: 1 arguments were passed to a non-method ACPI object (Buffer) (20221020/nsarguments-361)
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/compat/pkg /usr/local/lib/compat/pkg /usr/local/lib/perl5/5.36/mach/CORE /usr/local/llvm19/lib /usr/local/llvm19/lib/x86_64-portbld-freebsd14.2
32-bit compatibility ldconfig path: /usr/lib32
Setting hostname: viridian.local.minium.com.
Setting up harvesting: PURE_RDRAND,[CALLOUT],[UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED
Feeding entropy: .
wlan0: Ethernet address: b0:ac:82:c6:16:53
Created wlan(4) interfaces: wlan0.
lo0: link state changed to UP
Starting wpa_supplicant.
Starting Network: lo0 igc0 wlan0.
lo0: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 16384
    options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
    inet 127.0.0.1 netmask 0xff000000
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
    groups: lo
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
igc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=4e427bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,HWSTATS,MEXTPG>
    ether e0:51:d8:17:0a:6b
    inet 192.168.32.25 netmask 0xffffff00 broadcast 192.168.32.255
    media: Ethernet autoselect
    status: no carrier
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
wlan0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=0
    ether b0:ac:82:c6:16:53
    groups: wlan
    ssid "" channel 1 (2412 MHz 11b)
    regdomain FCC country US authmode OPEN privacy OFF txpower 30 bmiss 7
    scanvalid 60 wme bintval 0
    parent interface: rtw890
    media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
    status: no carrier
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
Starting devd.
Autoloading module: uhid
Autoloading module: usbhid
Autoloading module: wmt
uhid0 on uhub0
uhid0: <Logitech USB Keyboard, class 0/0, rev 1.10/64.00, addr 1> on usbus0
devmatch: devinfo_init: Invalid argument
uhid1 on uhub0
uhid1: <CSCTEK USB Audio and HID, class 0/0, rev 2.00/80.07, addr 3> on usbus0
device_attach: uhid1 attach returned 12
Autoloading module: snd_uaudio
uaudio0 on uhub0
uaudio0: <CSCTEK USB Audio and HID, class 0/0, rev 2.00/80.07, addr 3> on usbus0
uaudio0: Play[0]: 48000 Hz, 2 ch, 16-bit S-LE PCM format, 2x4ms buffer. (selected)
uaudio0: Play[0]: 16000 Hz, 2 ch, 16-bit S-LE PCM format, 2x4ms buffer.
uaudio0: Play[0]: 8000 Hz, 2 ch, 16-bit S-LE PCM format, 2x4ms buffer.
uaudio0: Record[0]: 48000 Hz, 1 ch, 16-bit S-LE PCM format, 2x4ms buffer. (selected)
uaudio0: Record[0]: 16000 Hz, 1 ch, 16-bit S-LE PCM format, 2x4ms buffer.
uaudio0: Record[0]: 8000 Hz, 1 ch, 16-bit S-LE PCM format, 2x4ms buffer.
uaudio0: No MIDI sequencer.
pcm0 on uaudio0
uaudio0: No HID volume keys found.
uhid1 on uhub0
uhid1: <CSCTEK USB Audio and HID, class 0/0, rev 2.00/80.07, addr 3> on usbus0
device_attach: uhid1 attach returned 12
Autoloading module: usbhid
Autoloading module: ng_ubt
uhid1 on uhub0
uhid1: <CSCTEK USB Audio and HID, class 0/0, rev 2.00/80.07, addr 3> on usbus0
device_attach: uhid1 attach returned 12
ubt0 on uhub0
ubt0: <Realtek Bluetooth Radio, class 224/1, rev 1.00/0.00, addr 4> on usbus0
Autoloading module: ums
Autoloading module: usbhid
ums0 on uhub0
ums0: <Logitech USB Optical Mouse, class 0/0, rev 2.00/63.00, addr 2> on usbus0
ums0: 3 buttons and [XYZ] coordinates ID=0
uhid1 on uhub0
uhid1: <CSCTEK USB Audio and HID, class 0/0, rev 2.00/80.07, addr 3> on usbus0
device_attach: uhid1 attach returned 12
Autoloading module: usbhid
Autoloading module: usbhid
Starting ums0 moused.
Waiting 30s for the default route interface: .....(no carrier)
add host 127.0.0.1: gateway lo0 fib 0: route already in table
add net default: gateway 192.168.32.22
add host ::1: gateway lo0 fib 0: route already in table
add net fe80::: gateway ::1
add net ff02::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
Creating and/or trimming log files.
Clearing /tmp.
Updating motd:.
Updating /var/run/os-release done.
Starting syslogd.
Mounting late filesystems:.
Security policy loaded: MAC/ntpd (mac_ntpd)
Starting ntpd.
Starting powerd.
Performing sanity check on sshd configuration.
Starting sshd.
Starting cron.
Starting background file system checks in 60 seconds.

Sat May  3 16:57:43 +07 2025
igc0: link state changed to UP
igc0: link state changed to DOWN
igc0: link state changed to UP
igc0: link state changed to DOWN
igc0: link state changed to UP
wlan0: link state changed to UP
 
According to dmesg, there is no indication of the i915kms driver being loaded. It lacks drm messages.

The following is an example dmesg from a system with a AMD iGPU, loading amdgpu driver, cherrypicked some of the messages (from 100+):
Code:
[drm] amdgpu kernel modesetting enabled.
...
[drm] initializing kernel modesetting (RENOIR 0x1002:0x164C 0x17AA:0x5097 0xC1).
...
drmn0: successfully loaded firmware image 'amdgpu/renoir_sdma.bin'
...
lkpi_iic0: <LinuxKPI I2C> on drmn0
lkpi_iic1: <LinuxKPI I2C> on drmn0
lkpi_iic2: <LinuxKPI I2C> on drmn0
...
VT: Replacing driver "efifb" with new "drmfb".
...

Check kldstat(8) again if the Intel driver (i915kms) and the firmware is loaded.

Example amdgpu driver:
Rich (BB code):
% kldstat | egrep  'amd|drm|linuxkpi'
9    1 0xffffffff83800000   6688e8 amdgpu.ko
10    2 0xffffffff83e69000    87090 drm.ko
12    2 0xffffffff83ef1000     4120 linuxkpi_video.ko
16    1 0xffffffff83f0b000     64e0 amdgpu_renoir_sdma_bin.ko
17    1 0xffffffff83f12000    2c2e0 amdgpu_renoir_asd_bin.ko
18    1 0xffffffff83f3f000     c4e0 amdgpu_renoir_ta_bin.ko
19    1 0xffffffff83f4c000    1fbe8 amdgpu_renoir_dmcub_bin.ko
20    1 0xffffffff83f6c000     7560 amdgpu_renoir_pfp_bin.ko
21    1 0xffffffff83f74000     6560 amdgpu_renoir_me_bin.ko
22    1 0xffffffff83f7b000     4560 amdgpu_renoir_ce_bin.ko
23    1 0xffffffff83f80000     bcd8 amdgpu_renoir_rlc_bin.ko
24    1 0xffffffff83f8c000    43800 amdgpu_renoir_mec_bin.ko
25    1 0xffffffff83fd0000    645a0 amdgpu_renoir_vcn_bin.ko
 
According to dmesg, there is no indication of the i915kms driver being loaded. It lacks drm messages.
Check kldstat again if the Intel driver (i915kms) and the firmware is loaded.

Id Refs Address Size Name 1 107 0xffffffff80200000 1f3c6c0 kernel 2 1 0xffffffff8213d000 5da658 zfs.ko 3 1 0xffffffff82718000 77d8 cryptodev.ko 4 1 0xffffffff839f9000 1e2228 i915kms.ko 5 2 0xffffffff83bdc000 87090 drm.ko 6 1 0xffffffff83c64000 22b8 iic.ko 7 2 0xffffffff83c67000 4120 linuxkpi_video.ko 8 3 0xffffffff83c6c000 7350 dmabuf.ko 9 3 0xffffffff83c74000 3378 lindebugfs.ko 10 1 0xffffffff83c78000 c338 ttm.ko 11 1 0xffffffff83c85000 20f0 coretemp.ko 12 1 0xffffffff83c88000 3390 acpi_wmi.ko 13 1 0xffffffff83c8c000 4250 ichsmb.ko 14 1 0xffffffff83c91000 2178 smbus.ko 15 1 0xffffffff83e00000 24fee0 if_rtw89.ko 16 1 0xffffffff83c94000 6020 ig4.ko 17 1 0xffffffff83c9b000 3360 uhid.ko 18 1 0xffffffff83c9f000 3360 wmt.ko 19 1 0xffffffff83ca3000 e5b0 snd_uaudio.ko 20 1 0xffffffff83cb2000 4d20 ng_ubt.ko 21 6 0xffffffff83cb7000 abb8 netgraph.ko 22 2 0xffffffff83cc2000 a250 ng_hci.ko 23 4 0xffffffff83ccd000 2670 ng_bluetooth.ko 24 1 0xffffffff83cd0000 4364 ums.ko 25 1 0xffffffff83cd5000 e268 ng_l2cap.ko 26 1 0xffffffff83ce4000 1bf68 ng_btsocket.ko 27 1 0xffffffff83d00000 38f8 ng_socket.ko 28 1 0xffffffff83d04000 2a68 mac_ntpd.ko

It is definitely there. And it has loaded drm.ko too. And yes, it is not there in dmesg.

Is Alderlake actually supported in 14.2? Should I wait for 14.3, or 15.0? Or have I missed something simple and obvious?
 
Which version of drm-61-kmod are you using? On 14.2-R, latest repository branch, it got updated recently (2025-04-24):
Code:
[1-0] % pkg rquery -x -r FreeBSD '%o\t%n-%v' '^drm-61-kmod'
graphics/drm-61-kmod    drm-61-kmod-6.1.128.1402000_3
[2-0] %
 
Which version of drm-61-kmod are you using? On 14.2-R, latest repository branch, it got updated recently (2025-04-24):
pkg rquery -x -r FreeBSD '%o\t%n-%v' '^drm-61-kmod'
graphics/drm-61-kmod drm-61-kmod-6.1.128.1402000_3
graphics/drm-61-kmod drm-61-kmod-6.1.128.1402000_2

That is 6.1.128.1402000_2 as opposed to your 6.1.128.1402000_3

Should upgrade my poudriere repo overnight? I was going to wait to a few days after 14.3, but I could do it now.
 
Please post the output of
pkg -vv | sed -n '/^Repositories:/,$ p'
Code:
Repositories:
  FreeBSD: { 
    url             : "pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/quarterly",
    enabled         : yes,
    priority        : 0,
    mirror_type     : "SRV",
    signature_type  : "FINGERPRINTS",
    fingerprints    : "/usr/share/keys/pkg"
  }
  ochre: { 
    url             : "https://geezer:expurgated@machine-on-the-desk/poudriere.packages.amd64",
    enabled         : yes,
    priority        : 10
  }

Note, my repo is higher priority to the quarterly. But I have also tried:
Code:
  FreeBSD-kmods: { 
    url             : "pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/kmods_latest_2",
    enabled         : yes,
    priority        : 20,
    mirror_type     : "SRV",
    signature_type  : "FINGERPRINTS",
    fingerprints    : "/usr/share/keys/pkg"
  }
 
Code:
gpu-firmware-intel-kmod-tigerlake-20230625.1402000
Name           : gpu-firmware-intel-kmod-tigerlake
Version        : 20230625.1402000
Installed on   : Fri May  2 17:05:33 2025 +07
Origin         : graphics/gpu-firmware-intel-kmod
Architecture   : FreeBSD:14:amd64
Prefix         : /usr/local
Categories     : kld graphics
Licenses       : INTEL
Maintainer     : x11@FreeBSD.org
WWW            : https://github.com/freebsd/drm-kmod-firmware
Comment        : Firmware modules for tigerlake Intel GPUs
Annotations    :
        FreeBSD_version: 1402000
        build_timestamp: 2025-03-28T15:58:54+0000
        built_by       : poudriere-git-3.4.2
        flavor         : tigerlake
        port_checkout_unclean: no
        port_git_hash  : cf444dfaa9
        ports_top_checkout_unclean: no
        ports_top_git_hash: 7ed0bfc22f
        repo_type      : binary
        repository     : ochre
Flat size      : 3.07MiB
Description    :
Firmware modules for the drm-kmod drivers.

Firmware files for Intel GPUs supported by the i915kms driver.

Code:
gpu-firmware-intel-kmod-alderlake-20230625.1402000
Name           : gpu-firmware-intel-kmod-alderlake
Version        : 20230625.1402000
Installed on   : Fri May  2 17:05:33 2025 +07
Origin         : graphics/gpu-firmware-intel-kmod
Architecture   : FreeBSD:14:amd64
Prefix         : /usr/local
Categories     : kld graphics
Licenses       : INTEL
Maintainer     : x11@FreeBSD.org
WWW            : https://github.com/freebsd/drm-kmod-firmware
Comment        : Firmware modules for alderlake Intel GPUs
Annotations    :
        FreeBSD_version: 1402000
        build_timestamp: 2025-03-28T14:50:35+0000
        built_by       : poudriere-git-3.4.2
        flavor         : alderlake
        port_checkout_unclean: no
        port_git_hash  : cf444dfaa9
        ports_top_checkout_unclean: no
        ports_top_git_hash: 7ed0bfc22f
        repo_type      : binary
        repository     : ochre
Flat size      : 910KiB
Description    :
Firmware modules for the drm-kmod drivers.

Firmware files for Intel GPUs supported by the i915kms driver.

/boot/modules/i915_adlp_dmc_bin.ko /boot/modules/i915_adlp_dmc_ver2_10_bin.ko /boot/modules/i915_adlp_dmc_ver2_16_bin.ko /boot/modules/i915_adlp_guc_62_0_3_bin.ko /boot/modules/i915_adlp_guc_70_bin.ko /boot/modules/i915_adls_dmc_ver2_01_bin.ko /boot/modules/i915_tgl_dmc_ver2_08_bin.ko /boot/modules/i915_tgl_dmc_ver2_12_bin.ko /boot/modules/i915_tgl_guc_35_2_0_bin.ko /boot/modules/i915_tgl_guc_62_0_0_bin.ko /boot/modules/i915_tgl_guc_70_1_1_bin.ko /boot/modules/i915_tgl_guc_70_bin.ko /boot/modules/i915_tgl_huc_7_5_0_bin.ko /boot/modules/i915_tgl_huc_7_9_3_bin.ko /boot/modules/i915_tgl_huc_bin.ko

I have tried kldloading these as well, even I should not need to. But it still does not work.
 
Yes, I noticed that base zero and size zero did not sound too good.

Did try 515. Didn't work. Think it is a going forward thing, not going backward.
 
Back
Top