From owner-freebsd-x11@freebsd.org Wed Jan 2 09:29:01 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AA0F5143BEC1 for ; Wed, 2 Jan 2019 09:29:01 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3E77183404 for ; Wed, 2 Jan 2019 09:29:01 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id ED2C6143BEBF; Wed, 2 Jan 2019 09:29:00 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DB8F3143BEBE for ; Wed, 2 Jan 2019 09:29:00 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7F41283403; Wed, 2 Jan 2019 09:29:00 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 6BD281FC2D; Wed, 2 Jan 2019 09:29:00 +0000 (UTC) From: Jan Beich To: Pete Wright Cc: x11@freebsd.org Subject: Re: Intel UHD Graphics 620 References: <40291941-2aa9-2155-9cdc-85b482bd6f7d@borderworlds.dk> <37c9b510-c5ef-a8d6-d600-5d05285174ab@nomadlogic.org> Date: Wed, 02 Jan 2019 10:28:56 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 7F41283403 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.94 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-0.996,0]; NEURAL_HAM_SHORT(-0.95)[-0.949,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2019 09:29:01 -0000 Pete Wright writes: > On 12/8/18 11:49 AM, Jan Beich wrote: > >> Pete Wright writes: >> >>> On 12/8/18 11:19 AM, Jan Beich wrote: >>> >>>> Christian St=C3=A6rk 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