From owner-freebsd-x11@freebsd.org Thu Nov 28 11:31:50 2019 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5F8921CE012; Thu, 28 Nov 2019 11:31:50 +0000 (UTC) (envelope-from per@hedeland.org) Received: from mailout.easydns.com (mailout.easydns.com [64.68.202.10]) (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 47NwTK2YzMz4S5r; Thu, 28 Nov 2019 11:31:48 +0000 (UTC) (envelope-from per@hedeland.org) Received: from localhost (localhost [127.0.0.1]) by mailout.easydns.com (Postfix) with ESMTP id 31419C5BCF; Thu, 28 Nov 2019 11:31:48 +0000 (UTC) Received: from mailout.easydns.com ([127.0.0.1]) by localhost (emo12-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fuPRq_zAycPk; Thu, 28 Nov 2019 11:31:48 +0000 (UTC) Received: from hedeland.org (81-228-157-209-no289.tbcn.telia.com [81.228.157.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easydns.com (Postfix) with ESMTPSA id E6AF5C246F; Thu, 28 Nov 2019 11:31:43 +0000 (UTC) Received: from pluto.hedeland.org (pluto.hedeland.org [10.1.1.5]) by tellus.hedeland.org (8.15.2/8.15.2) with ESMTPS id xASBVfSe026662 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 28 Nov 2019 12:31:41 +0100 (CET) (envelope-from per@hedeland.org) Subject: Re: FreeBSD-12.1 on laptop To: vm finance Cc: Polytropon , FreeBSD Mailing List , freebsd-x11@freebsd.org References: <30022fe5-800e-0a9a-fff6-8edb0171e153@denninger.net> <5c2c0fe0-93fa-246e-a3ae-05e813e246df@panix.com> <20191128103810.9599da0b.freebsd@edvax.de> From: Per Hedeland Message-ID: <770ebb05-9d76-1b54-5bf5-af548368e19e@hedeland.org> Date: Thu, 28 Nov 2019 12:31:41 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47NwTK2YzMz4S5r X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of per@hedeland.org has no SPF policy when checking 64.68.202.10) smtp.mailfrom=per@hedeland.org X-Spamd-Result: default: False [4.69 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; RECEIVED_SPAMHAUS_PBL(0.00)[209.157.228.81.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[hedeland.org]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.92)[0.921,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(0.51)[ip: (0.75), ipnet: 64.68.200.0/22(0.13), asn: 16686(1.73), country: CA(-0.09)]; NEURAL_SPAM_LONG(0.96)[0.963,0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_IN_DNSWL_LOW(-0.10)[10.202.68.64.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16686, ipnet:64.68.200.0/22, country:CA]; MID_RHS_MATCH_FROM(0.00)[]; SUSPICIOUS_RECIPS(1.50)[]; FROM_EQ_ENVFROM(0.00)[] 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, 28 Nov 2019 11:31:50 -0000 On 2019-11-28 11:03, vm finance wrote: > Hi, > > Its Intel's "UHD Graphics 620". I don't see it installed/loaded under > "kldstat". > > Do you think steps mentioned in > http://www.srobb.net/freebsdintel.html > > would suffice to get around the issue I have? > If not, could u please suggest next steps. > > Pls let me know. Thanks so much! Sigh, after all the discussion and problem / fix reports (mostly on the freebsd-x11@ list, which I'm adding to Cc) about the "new DRM" stuff, one would think that there should be some simple-to-follow *FreeBSD* web page that explained it all and could be pointed to if not immediately found. There is https://wiki.freebsd.org/Graphics, which IMHO is neither simple to find nor to follow, and which still has the broken-with-12.1 "pkg install drm-kmod" advice. I think it is sad, since there's a lot of great work that has gone into this - personally I have a laptop that wouldn't have had *any* graphics (on FreeBSD) without it, and I know I'm not alone in that. Anyway, enough ranting - if you look at the "Intel Integrated Graphics (aka HD Graphics)" section on the above page, and specifically the "Example Configuration For Post Broadwell System", and *skip* the bad pkg advice, you'll find that the next step is to add kld_list="/boot/modules/i915kms.ko" to rc.conf - and actually the "post-install package message" will have told you so, but yeah, who reads those things... The problem (not explained anywhere that I can find right now) is that after building and installing the drm-kmod port (or package), you have *two* drivers called i915kms installed. One is part of the base system, /boot/kernel/i915kms.ko - this is the one that doesn't work for you (or me), and gets loaded if you do "kldload i915kms". The other is from the port that you installed, and it's the above /boot/modules/i915kms.ko - you must ensure that this is the one that is loaded. The above line makes sure that this happens at reboot (loading via boot/loader.conf has been reported to *not* work in at least *some* cases, and there's no advantage over loading via /etc/rc.conf), but you can also do it manually for testing, by using the full path with "kldload": kldload /boot/modules/i915kms.ko Read and follow also the subsequent steps in the example, as well as the "Note:" at the end of the section. If your card is actually supported (and frankly I'm not sure how to figure that out in any other way than trying it), you should be fine at that point. --Per Hedeland