Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Jan 2019 10:28:56 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Pete Wright <pete@nomadlogic.org>
Cc:        x11@freebsd.org
Subject:   Re: Intel UHD Graphics 620
Message-ID:  <tvir-z9uv-wny@FreeBSD.org>
References:  <40291941-2aa9-2155-9cdc-85b482bd6f7d@borderworlds.dk> <wooj-zv0g-wny@FreeBSD.org> <fd1b6cd5-3ae1-e607-8ec4-831f143cdddc@nomadlogic.org> <d0qb-yf2c-wny@FreeBSD.org> <37c9b510-c5ef-a8d6-d600-5d05285174ab@nomadlogic.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Pete Wright <pete@nomadlogic.org> writes:

> On 12/8/18 11:49 AM, Jan Beich wrote:
>
>> Pete Wright <pete@nomadlogic.org> writes:
>>
>>> On 12/8/18 11:19 AM, Jan Beich wrote:
>>>
>>>> Christian St=C3=A6rk <xi@borderworlds.dk> writes:
>>>>
>>>>> Hello,
>>>>>
>>>>> I am trying to get graphics working properly on my laptop but has had=
 no luck so far.
>>>>>
>>>>> I have Intel UHD Graphics 620. From pciconf:
>>>>>
>>>>> vgapci0@pci0:0:2:0:     class=3D0x030000 card=3D0x08a51028 chip=3D0x3=
ea08086 rev=3D0x00 hdr=3D0x00
>>>>>       vendor     =3D 'Intel Corporation'
>>>>>       device     =3D 'UHD Graphics 620 (Whiskey Lake)'
>>>>>       class      =3D display
>>>>>       subclass   =3D VGA
>>>>>
>>>>> I have installed drm-stable-kmod and added to ny rc.conf:
>>>>> kld_list=3D"/boot/modules/i915kms.ko"
>>>> chip=3D0x3ea08086 is only supported by graphics/drm-devel-kmod.
>>>
>>> there is a "drm-kmod" meta-port which you can install.=C2=A0 it should
>>> auto-detect the appropriate package to install, which in this case
>>> should be the drm-devel-kmod.
>> drm-kmod selects drm-devel-kmod only on 13.0-CURRENT atm. Are you sure
>> regular users are gonna run that?
>
>
> yes I believe that is intended for people on CURRENT. It should also
> select the appropriate version for users on RELEASE builds as well
> which is assumed what most regular users will be running. Niclas or
> someone else can correct me if that is not currently the case tho! :)

As you've noticed the approach of selecting kernel DRM driver based
solely on FreeBSD version is flawed. It's not guaranteed a given PCI ID
(or "chip") would be supported by the selected drm-*-kmod version.
In the quote above the user was on FreeBSD 11.2 and probably installed
drm-stable-kmod via drm-kmod which would be "appropriate" iff the driver
actually attached. Since then drm-stable-kmod was renamed to drm-fbsd11.2-k=
mod
and updated to drm-v4.11 branch but still no Whiskey Lake support.

Here's another example:
https://forums.freebsd.org/threads/new-to-freebsd-cant-get-integrated-graph=
ics-driver-to-work.68948/
https://github.com/FreeBSDDesktop/kms-drm/blob/drm-v4.20-rc6/include/drm/i9=
15_pciids.h#L389



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?tvir-z9uv-wny>