From owner-freebsd-x11@freebsd.org Thu Jan 3 13:01:09 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 338D51429EA9 for ; Thu, 3 Jan 2019 13:01:09 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.daemonic.se (mail.daemonic.se [IPv6:2607:f740:d:20::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9D27F74226 for ; Thu, 3 Jan 2019 13:01:08 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 43Vp2B2BvNzDjHW; Thu, 3 Jan 2019 13:01:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([127.0.0.1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [127.0.0.1]) (amavisd-new, port 10587) with ESMTPS id z8wIN0njjFiv; Thu, 3 Jan 2019 13:01:05 +0000 (UTC) Received: from garnet.daemonic.se (unknown [IPv6:2001:470:dca9:201:b09e:e487:5dbd:6aef]) by mail.daemonic.se (Postfix) with ESMTPSA id 43Vp2933N9zDjCL; Thu, 3 Jan 2019 13:01:05 +0000 (UTC) Subject: Re: Intel UHD Graphics 620 To: =?UTF-8?Q?Christian_St=c3=a6rk?= , freebsd-x11@freebsd.org References: <40291941-2aa9-2155-9cdc-85b482bd6f7d@borderworlds.dk> <37c9b510-c5ef-a8d6-d600-5d05285174ab@nomadlogic.org> <489786f9-938d-3413-85fb-2cb1c0070e4c@borderworlds.dk> From: Niclas Zeising Message-ID: <13d68c9a-ee2d-38db-0362-e601de8c71f4@freebsd.org> Date: Thu, 3 Jan 2019 14:01:05 +0100 User-Agent: Mutt/1.5.21 MIME-Version: 1.0 In-Reply-To: <489786f9-938d-3413-85fb-2cb1c0070e4c@borderworlds.dk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 9D27F74226 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.972,0]; ASN(0.00)[asn:36236, ipnet:2607:f740:d::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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: Thu, 03 Jan 2019 13:01:09 -0000 On 1/3/19 1:50 PM, Christian St=C3=A6rk wrote: > On 1/3/19 2:07 AM, Warner Losh wrote: >=20 >> >> Unfortunately, there's little that can be done about this due to the >> velocity of upstream. There's new base-OS features that are needed by = the >> port, and those simply don't exist in older kernels unless someone bac= k >> ports them. While less than ideal, I'll grant, it's a lot better than = the >> situation a year ago where the coverage of hardware was even worse and= =20 >> the >> lag time from Linux release to inclusion in FreeBSD was even longer th= an >> what we have today. 11.2 (release June 2018) was released with a 4.9=20 >> Linux >> level of drivers (which itself was released December 2016, a lag of 18 >> months). Intel didn't release patches until June 2018, and they weren'= t >> included upstream until Linux v4.18 (if I'm reading the release notes >> correctly and git blame correctly). v4.18 support isn't even in the=20 >> latest >> and greatest drm branches in the graphics repo. The whiskey lake gpu >> apparent just need coffeelake support, which itself wasn't merged=20 >> until the >> past june (4.16 or 4.17 I think, I didn't do the full dumpster-dive to= =20 >> find >> the exact versions). So even with the latest and greatest code from th= e >> freebsd-graphics repo, it's unclear if the whiskey lake devices would=20 >> work. >=20 > I managed to get my whiskey lake GPU working >=20 > vgapci0@pci0:0:2:0:=C2=A0=C2=A0=C2=A0=C2=A0 class=3D0x030000 card=3D0x0= 8a51028 chip=3D0x3ea08086=20 > rev=3D0x00 hdr=3D0x00 > =C2=A0=C2=A0=C2=A0 vendor=C2=A0=C2=A0=C2=A0=C2=A0 =3D 'Intel Corporati= on' > =C2=A0=C2=A0=C2=A0 device=C2=A0=C2=A0=C2=A0=C2=A0 =3D 'UHD Graphics 62= 0 (Whiskey Lake)' > =C2=A0=C2=A0=C2=A0 class=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D display > =C2=A0=C2=A0=C2=A0 subclass=C2=A0=C2=A0 =3D VGA >=20 > I'm now running FreeBSD 12.0-RELEASE and using the drm-current-kmod. >=20 > Xorg log is here: > https://borderworlds.dk/~xi/Xorg.0.log.txt >=20 > Multi-monitor works. >=20 > The only thing I have noticed is that when using ctrl-mousewheel to zoo= m=20 > in xfce4, the zooming is sluggish. >=20 > Much appreciation to the people working on X stuff for FreeBSD. >=20 What changes did you do to get this running? Be aware that drm-current-kmod isn't really supported on 12, while it=20 works now, it might break in the future. Regards --=20 Niclas Zeising