From owner-freebsd-x11@freebsd.org Sun Dec 9 00:59:09 2018 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 3C8A3132F7E1 for ; Sun, 9 Dec 2018 00:59:09 +0000 (UTC) (envelope-from pete@nomadlogic.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 A9ABF7091D for ; Sun, 9 Dec 2018 00:59:08 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: by mailman.ysv.freebsd.org (Postfix) id 68875132F7DF; Sun, 9 Dec 2018 00:59:08 +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 56DC3132F7DE for ; Sun, 9 Dec 2018 00:59:08 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [140.82.23.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.nomadlogic.org", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 90D4D7091C for ; Sun, 9 Dec 2018 00:59:07 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [192.168.1.190] (cpe-23-243-162-239.socal.res.rr.com [23.243.162.239]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 38d85b22 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Sat, 8 Dec 2018 16:59:06 -0800 (PST) Subject: Re: Intel UHD Graphics 620 To: =?UTF-8?Q?Christian_St=c3=a6rk?= , x11@freebsd.org References: <40291941-2aa9-2155-9cdc-85b482bd6f7d@borderworlds.dk> From: Pete Wright Message-ID: <1d9db5aa-546a-664c-820c-4c2166059e68@nomadlogic.org> Date: Sat, 8 Dec 2018 16:59:05 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.3.2 MIME-Version: 1.0 In-Reply-To: <40291941-2aa9-2155-9cdc-85b482bd6f7d@borderworlds.dk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: A9ABF7091D X-Spamd-Result: default: False [-6.72 / 15.00]; ARC_NA(0.00)[]; R_SPF_FAIL(0.00)[-all]; RCVD_COUNT_FIVE(0.00)[5]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; FORWARDED(0.00)[x11@mailman.ysv.freebsd.org]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[nomadlogic.org]; FORGED_RECIPIENTS_FORWARDING(0.00)[]; SPF_FAIL_FORWARDING(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCVD_IN_DNSWL_MED(-0.20)[5.0.0.0.0.5.0.0.0.0.0.0.0.0.0.0.a.6.0.2.4.5.2.2.0.0.9.1.1.0.0.2.list.dnswl.org : 127.0.9.2]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.01)[cached: mail.nomadlogic.org]; NEURAL_HAM_SHORT(-0.98)[-0.979,0]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; IP_SCORE(-3.53)[ip: (-9.87), ipnet: 2001:1900:2254::/48(-4.50), asn: 10310(-3.21), country: US(-0.09)]; ASN(0.00)[asn:10310, ipnet:2001:1900:2254::/48, country:US]; FORGED_RECIPIENTS(0.00)[xi@borderworlds.dk ..,freebsd-x11@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Server: mx1.freebsd.org 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: Sun, 09 Dec 2018 00:59:09 -0000 On 12/8/18 10:11 AM, Christian Stærk wrote: > 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=0x030000 card=0x08a51028 chip=0x3ea08086 > rev=0x00 hdr=0x00 >     vendor     = 'Intel Corporation' >     device     = 'UHD Graphics 620 (Whiskey Lake)' >     class      = display >     subclass   = VGA > > I have installed drm-stable-kmod and added to ny rc.conf: > kld_list="/boot/modules/i915kms.ko" > > i915kms.ko and drm.ko get loaded on boot. > > When I try to start X, it tries to load i915.ko which fails because > the "wrong" drm module is loaded: > KLD i915.ko: depends on drm - not available or version mismatch > > I have placed my Xorg log file here: > https://borderworlds.dk/~xi/Xorg.0.log.txt > > > Is there something more I need to configure to make X use i915kms or > is this hardware unsupported? Interesting, looking at your log file it looks like Xorg is unable to open the /dev/dri/card0 device.  Can you confirm that your user is a member of the "video" group, and if so verify that that device does or does not exist?  That is where I would start debugging wise.  Also, if that does not help maybe posting your dmesg as well will be helpful. Cheers, -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA