Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 2019 14:45:51 +0100
From:      Per Hedeland <per@hedeland.org>
To:        vm finance <vm.finance2@gmail.com>
Cc:        freebsd-x11@freebsd.org, Polytropon <freebsd@edvax.de>, FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: FreeBSD-12.1 on laptop
Message-ID:  <5e451a18-b0de-9111-2547-4c2fccda919c@hedeland.org>
In-Reply-To: <CAKy-8=gccmRfqtg07JYmo15P0VV5bJo=tipOLURwEH0iA401tw@mail.gmail.com>
References:  <CAKy-8=hUCNiAufHHgpLJTnbS_==aHT7UyspgjLyro-yEcxJ2_w@mail.gmail.com> <CAC=ypSUq8gc8LsWB=Lyz01ktfcBnBaYSuyP3KBo%2BSL9StAv7rw@mail.gmail.com> <CAKy-8=iVsLqNkwdxn_E-1R5t8mmp14JULN%2BKHRf-asWTzWcWfA@mail.gmail.com> <5c2c0fe0-93fa-246e-a3ae-05e813e246df@panix.com> <CAKy-8=i07xSnz3yW3H1XCOJ8_7x_m1__e0r68HxUx-R7-A0x8w@mail.gmail.com> <CAKy-8=gte8_xZGTt17kRgPtyj9mi6wx-ahehNSGrbcedVn4ZNQ@mail.gmail.com> <CACNAnaECR4bQ=FAM%2BwTfU0HaR63uAUQkp41mS9pPSM=4K_EGqQ@mail.gmail.com> <CAKy-8=gh7nGqzf9G5A7zJDoa2EQgA432k49djHi3%2Bzhg36Tv_A@mail.gmail.com> <CAKy-8=ivtDo0it9fzyUp8mUDAQuGWVfdQqfz2hmhXcA6CXJn%2Bg@mail.gmail.com> <CAKy-8=gHp67aqpXXNM=rfsWwNc4Ay__bsC-09NZ03Afm9W4ekg@mail.gmail.com> <CAKy-8=ho=mD5WLJA5iHbDt9prnrMDhjrwmWOO5NXumQDB9hXhw@mail.gmail.com> <20191128103810.9599da0b.freebsd@edvax.de> <CAKy-8=h05oQfa6rBhOH74vPt3e6m6u3-UXx6v3DWLgXp8No6Hw@mail.gmail.com> <770ebb05-9d76-1b54-5bf5-af548368e19e@hedeland.org> <CAKy-8=gccmRfqtg07JYmo15P0VV5bJo=tipOLURwEH0iA401tw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
good.

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

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

--Per



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5e451a18-b0de-9111-2547-4c2fccda919c>