I've looked at this further but I'm not running 13.1 and don't have a FreeBSD set up with an intel CPU/GPU for the i915kms driver.
When you're at your T470 with FreeBSD again and want to continue to try to get the i915kms driver to work, it would be good to check a few things. As
graphics/drm-kmod with its latest non-dev version of the i915 driver has been released after FreeBSD 13.1-RELEASE there might be more than one
i915kms.ko* on your system.
I suggest you have your T470 set up to boot into a CLI without X starting and then, having in
/etc/rc.conf (and not specified in
/boot/loader.conf):
boot your system and please show the output of:
ls -l /boot/kernel/i915kms.ko /boot/modules/i915kms.ko
kldstat -vn i915kms.ko
kldconfig -r
**
If there's a
/boot/modules/i915kms.ko then show the output of:
pkg which /boot/modules/i915kms.ko
That should verify that that
i915kms.ko is from the intended
graphics/drm-kmod (or
graphics/drm-510-kmod)
When you have the correct
/boot/modules/i915kms.ko from
graphics/drm-kmod then change your i915kms entry in
/etc/rc.conf to:
Code:
kld_list="/boot/modules/i915kms.ko"
(I'm pretty sure that
kld_list="/boot/modules/i915kms"
will also work but try the fully qualified one first.)
Now reboot and verify the correct loading with
kldstat -vn i915kms.ko
. Then verify that you have X setup correctly including the setup about
/usr/local/etc/X11/xorg.conf.d/driver-intel.conf that I mentioned
earlier. If there's a problem when starting X, please show the output of an appropriate log file such as
/var/log/Xorg.0.log as mentioned in
5.9 Troubleshooting
___
* don't worry about the "lots of i915*.ko in /boot/modules"; they are probably (sub)modules pulled in when needed by a loading
i915kms.ko depending on the CPU architecture of the CPU that is actually in the system. For example
i915_kbl_huc_ver_4_0_0_bin.ko and
i915_skl_huc_ver_2_0_0_bin.ko are likely intended for CPUs with the Kaby Lake & Sky Lake micro-architectures respectively.
**
sysctl kern.module_path
will work as well