From owner-freebsd-x11@freebsd.org Thu Mar 19 18:04:37 2020 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 A9F1726CB1B for ; Thu, 19 Mar 2020 18:04:37 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [174.136.98.114]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.nomadlogic.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48jvtr2Kz0z48Qx for ; Thu, 19 Mar 2020 18:04:36 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [192.168.1.206] (cpe-23-243-162-239.socal.res.rr.com [23.243.162.239]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id f69c0d05 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 19 Mar 2020 18:04:29 +0000 (UTC) Subject: Re: are there any working drivers for the i915? To: bsd-lists@BSDforge.com, Michael Gmelin Cc: freebsd-x11 References: <631d1da1faeff89cf4816d86cdc01884@udns.ultimatedns.net> From: Pete Wright Message-ID: <4fac7c2b-c32e-a303-d1e7-09a56eb38625@nomadlogic.org> Date: Thu, 19 Mar 2020 11:04:28 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <631d1da1faeff89cf4816d86cdc01884@udns.ultimatedns.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 48jvtr2Kz0z48Qx X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 174.136.98.114 as permitted sender) smtp.mailfrom=pete@nomadlogic.org X-Spamd-Result: default: False [-4.02 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[239.162.243.23.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[nomadlogic.org]; NEURAL_HAM_LONG(-0.99)[-0.993,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.982,0]; IP_SCORE(-2.75)[ip: (-9.26), ipnet: 174.136.96.0/20(-4.04), asn: 25795(-0.39), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:25795, ipnet:174.136.96.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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, 19 Mar 2020 18:04:37 -0000 On 3/19/20 10:23 AM, Chris wrote: > On Thu, 19 Mar 2020 17:57:20 +0100 Michael Gmelin freebsd@grem.de said > >> > On 19. Mar 2020, at 17:54, Chris wrote: >> > > On Wed, 18 Mar 2020 23:21:30 -0700 Kevin Oberman >> rkoberman@gmail.com said >> > >> On Wed, Mar 18, 2020 at 7:24 PM Chris >> wrote: >> >> > I'm unable to use X and friends on 12.1-STABLE on an >> >> > Intel based box (Sandy Bridge). >> >> > pkg install drm-kmod >> >> > followed by >> >> > echo 'kld_list="/boot/modules/i915kms.ko"'>>/etc/rc.conf >> >> > on reboot results in a Fatal trap 9. >> >> > pkg delete drm-kmod, followed by a pkg install drm-legacy-kmod >> >> > leaving the same in rc.conf(5). Results in: >> >> > drmn0: This code is obsolete abandonware. Install the >> >> > graphics/drm-legacy-kmod pkg >> >> > ermm... That's what I just did! >> >> > Attempting to use X and friends with the legacy kmod still >> >> > in place Results in most things crashing (dumping core on signal >> 11). >> >> > Has the i915 simply been dropped. But nobody bothered >> >> > to announce it? >> >> > >> >> > Thanks in advance for any possible solutions. >> >> On STABLE I’d suggest to install drm-kmod from ports (deinstall binary >> packages first). > I'm guessing you're spot-on. This is my only real attempt to build up a > system with pkg. I've always built from ports in the past, and never run > into this sort of problem. Given this spare is fairly underpowered by > todays standards. I went the pkg route. > just to second the build from ports message, this is what i do on my STABLE systems.  i actually run "make package" inside the port directory so that I can go ahead and install the drm kmod via package which is helpful when debugging things. the build time isn't too bad, and dependencies are pretty limited, so i haven't found this to be a burden on my end.  one note though, after installing the package from my local source i think lock it via pkg lock, this way when i upgrade packages in the future it doesn't try to re-install the drm-kmod with the upstream version. HTH -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA