Bug 287386 - graphics/drm-61-kmod not working with N150
Summary: graphics/drm-61-kmod not working with N150
Status: Closed DUPLICATE of bug 284778
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-x11 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-08 10:36 UTC by Geezer
Modified: 2025-06-12 02:37 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (x11)


Attachments
dmesg (9.85 KB, text/plain)
2025-06-08 10:36 UTC, Geezer
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Geezer 2025-06-08 10:36:48 UTC
Created attachment 261090 [details]
dmesg

CPU: Intel(R) N150 (806.40-MHz K8-class CPU)

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

14.3-RELEASE (and also 14.2]

drm-61-kmod-6.1.128.1403000_4

4    1 0xffffffff83220000   1e0228 i915kms.ko

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

X does not start.

Have tried without xorg.conf, and with, with driver "intel" and driver "modesetting", with BusID and without.

And so with varying Xorg.0.log errors.

(Can only get X to start with scfb.)
Comment 1 rkoberman 2025-06-09 18:54:36 UTC
I don't see any attempt to install the firmware in the dmesg. It also seems odd that fwget is trying to get tigerlake firmware, but not alderlake, though this gets

How are you loading the kmod? I believe that it should be loaded via kldlist in /etc/rc.conf. In my Alder Lake boot, I see:
vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io
i915/adlp_dmc.bin: could not load binary firmware /boot/firmware/i915/adlp_dmc.bin either
adlp_dmc.bin: could not load binary firmware /boot/firmware/adlp_dmc.bin either
i915_adlp_dmc.bin: could not load binary firmware /boot/firmware/i915_adlp_dmc.bin either
lkpi_iic0: <LinuxKPI I2C> on drmn0
[several intervening lines elided]
drmn0: successfully loaded firmware image 'i915/adlp_dmc.bin'
drmn0: [drm] Finished loading DMC firmware i915/adlp_dmc.bin (v2.20)
drmn0: [drm] [ENCODER:244:DDI B/PHY B] unusable PPS, disabling eDP

I am running drm-66-kmod, so not identical to yours, but I was seeing the firmware load messages when I was running 61.
Comment 2 rkoberman 2025-06-09 18:57:10 UTC
(In reply to rkoberman from comment #1)
Sorry. I see that you do download Alder Lake firmware.
Comment 3 Geezer 2025-06-10 00:31:32 UTC
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

/etc/rc.conf
kld_list="${kld_list} i915kms"

kldstat
Id Refs Address                Size Name
 1  100 0xffffffff80200000  1f41458 kernel
 2    1 0xffffffff82143000     7808 cryptodev.ko
 3    1 0xffffffff8214b000   5e9340 zfs.ko
 4    1 0xffffffff83220000   1e0228 i915kms.ko
 5    2 0xffffffff83401000    85090 drm.ko
 6    1 0xffffffff83487000     22b8 iic.ko
 7    2 0xffffffff8348a000     4120 linuxkpi_video.ko
 8    3 0xffffffff8348f000     7350 dmabuf.ko
 9    4 0xffffffff83497000     3378 lindebugfs.ko
10    1 0xffffffff8349b000     c338 ttm.ko
11    1 0xffffffff834a8000     20f0 coretemp.ko
12    1 0xffffffff834ab000     3390 acpi_wmi.ko
13    1 0xffffffff834af000     4250 ichsmb.ko
14    1 0xffffffff834b4000     2178 smbus.ko
15    1 0xffffffff83600000   3012d0 if_rtw89.ko
16    1 0xffffffff834b7000     6020 ig4.ko
17    1 0xffffffff834be000     3360 uhid.ko
18    1 0xffffffff834c2000     3360 wmt.ko
19    1 0xffffffff834c6000     e5b0 snd_uaudio.ko
20    1 0xffffffff834d5000     5640 ng_ubt.ko
21    4 0xffffffff834db000     abb8 netgraph.ko
22    3 0xffffffff834e6000     a250 ng_hci.ko
23    2 0xffffffff834f1000     2670 ng_bluetooth.ko
24    1 0xffffffff834f4000     2a80 mac_ntpd.ko
Comment 4 Geezer 2025-06-12 02:36:38 UTC
Solved, redundant. Used the patch from Bug 284778. Works a treat.
Comment 5 Geezer 2025-06-12 02:37:17 UTC

*** This bug has been marked as a duplicate of bug 284778 ***