FreeBSD-12.1 on laptop

Per Hedeland per at
Thu Nov 28 13:45:59 UTC 2019

On 2019-11-28 13:08, vm finance wrote:
> I don't see /boot/modules/i915kms.ko under /boot/modules

As far as I can see, that would indicate that the build/install of
drm-kmod failed somehow. What do you get from

   pkg info 'drm*'


> However there are several other present:
> i915_bxt_*
> i915_cnl*
> i915_kbl*...

Those are firmware to potentially load for some hardware versions, not
actual drivers - from the gpu-firmware-kmod port/package, I believe it
gets pulled in when you install drm-kmod.

> How do I get i915kms.ko?

The steps you showed in another message should be enough, but you can
redo them just to check that it works OK. There was some strangeness
there, I don't think you should need FORCE_PKG_REGISTER if you do
'make deinstall' before 'make install', so try doing *only* this:

   cd /usr/ports/graphics/drm-kmod
   make deinstall clean install

And watch out for any errors, as Daniele pointed out.

On 2019-11-28 14:02, Polytropon wrote:
> X tries to load the nvidia driver - why did you install _that_ when
> you have Intel graphics?

Well, installing it should be OK, but it shouldn't be loaded in this
case unless xorg.conf says so - i.e. "vm finance", remove xorg.conf if
you have it (normally in /usr/local/etc/X11 and/or
/usr/local/etc/X11/xorg.conf.d) - it generally causes more harm than

> 12    1 0xffffffff8455e000    7f280 i915kms.ko		<--- YES!

Unless it's the one in base, from /boot/kernel...


More information about the freebsd-questions mailing list