From owner-freebsd-x11@freebsd.org Thu Mar 19 16:54:00 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 A5F6F264512 for ; Thu, 19 Mar 2020 16:54:00 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ultimatedns.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48jtKM48xzz4BWL for ; Thu, 19 Mar 2020 16:53:59 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from udns.ultimatedns.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by udns.ultimatedns.net (8.15.2/8.15.2) with ESMTPS id 02JGsF9B011600 (version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 19 Mar 2020 09:54:21 -0700 (PDT) (envelope-from bsd-lists@BSDforge.com) X-Mailer: Cypht MIME-Version: 1.0 Cc: freebsd-x11 In-Reply-To: From: Chris Reply-To: bsd-lists@BSDforge.com To: Kevin Oberman Subject: Re: are there any working drivers for the i915? Date: Thu, 19 Mar 2020 09:54:21 -0700 Message-Id: <930c1eb96d897c44a5768cd836231053@udns.ultimatedns.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 48jtKM48xzz4BWL X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [1.95 / 15.00]; NEURAL_SPAM_LONG(1.00)[0.995,0]; NEURAL_SPAM_MEDIUM(0.96)[0.958,0]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US]; local_wl_ip(0.00)[24.113.41.81] 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 16:54:00 -0000 On Wed, 18 Mar 2020 23:21:30 -0700 Kevin Oberman rkoberman@gmail=2Ecom said > On Wed, Mar 18, 2020 at 7:24 PM Chris wrote: >=20 > > I'm unable to use X and friends on 12=2E1-STABLE on an > > Intel based box (Sandy Bridge)=2E > > pkg install drm-kmod > > followed by > > echo 'kld_list=3D"/boot/modules/i915kms=2Eko"'>>/etc/rc=2Econf > > on reboot results in a Fatal trap 9=2E > > pkg delete drm-kmod, followed by a pkg install drm-legacy-kmod > > leaving the same in rc=2Econf(5)=2E Results in: > > drmn0: This code is obsolete abandonware=2E Install the > > graphics/drm-legacy-kmod pkg > > ermm=2E=2E=2E 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)=2E > > Has the i915 simply been dropped=2E But nobody bothered > > to announce it? > > > > Thanks in advance for any possible solutions=2E > > > > --Chris > > > Please confirm that drm-fbsd12=2E0-kmod-4=2E16=2Eg20200221 is installed=2E (pkg > info drm-fbsd12=2E0-kmod\*)=2E Yes, even on 12=2E1=2E Be sure that you have the > latest mesa-lib and mesa-dri=2E I am running it on my Sandy Bridge system > with no problems, though I am running MATE, not xfce=2E Be certain that > nothing is loading the old kernel module=2E This might possibly be in > /boot/loader=2Econf=2E Thank you very much for taking the time to reply, Kevin! OK to confirm I've cleaned up, and nothing might conflict=2E Here's what I have: # pkg info | grep drm libdrm-2=2E4=2E99,1 Userspace interface to kernel Direct Renderi= ng Module services # pkg info | grep mesa mesa-dri-18=2E3=2E2_9 OpenGL hardware acceleration drivers for DRI= 2+ mesa-libs-18=2E3=2E2_4 OpenGL libraries that support GLX and EGL cl= ients Following your advice, I pkg install drm-fbsd12=2E0-kmod-4=2E16=2Eg20200221 ensure I have the module kld_listed in rc=2Econf(5)=2E Bounce the box, and it locks up with a trap 9=2E So I pkg delete drm-fbsd12=2E0-kmod-4=2E16=2Eg20200221; comment the kld_list line bounce the box=2E Try a different route; pkg install drm-kmod which results i= n drm-fbsd12=2E0-kmod: 4=2E16=2Eg20200221 drm-kmod: g20190710 bounce the box; again, trap 9=2E I'm booting efi, if that makes a difference=2E So all I seem to be able to safely load is drm-legacy-kmod=2E Which no-longer seems to be compatible with X and friends=2E I don't know how you do it=2E But thank your lucky stars=2E :) Thanks again! --Chris > -- > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkoberman@gmail=2Ecom > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683