From owner-freebsd-questions@freebsd.org Sat May 8 01:45:53 2021 Return-Path: Delivered-To: freebsd-questions@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 0AB0764486D for ; Sat, 8 May 2021 01:45:53 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from mail.monochrome.org (static-71-163-255-121.washdc.fios.verizon.net [71.163.255.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail", Issuer "mail" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FcVX01jzfz3rcJ for ; Sat, 8 May 2021 01:45:51 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from tripel.monochrome.org (tripel.monochrome.org [192.168.1.11]) by mail.monochrome.org (8.15.2/8.15.2) with ESMTP id 1481jjV6001450; Fri, 7 May 2021 21:45:45 -0400 (EDT) (envelope-from chris@monochrome.org) Date: Fri, 7 May 2021 21:45:45 -0400 (EDT) From: Chris Hill To: Graham Perrin cc: freebsd-questions@freebsd.org Subject: Re: i915kms kernel module causing freezes on FreeBSD 13.0-RELEASE In-Reply-To: <68023ace-7338-5e39-28f9-22bf1ff78365@gmail.com> Message-ID: References: <68023ace-7338-5e39-28f9-22bf1ff78365@gmail.com> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Rspamd-Queue-Id: 4FcVX01jzfz3rcJ X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of chris@monochrome.org has no SPF policy when checking 71.163.255.121) smtp.mailfrom=chris@monochrome.org X-Spamd-Result: default: False [-2.10 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[chris]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[monochrome.org]; RBL_DBL_DONT_QUERY_IPS(0.00)[71.163.255.121:from]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[71.163.255.121:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:701, ipnet:71.163.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 May 2021 01:45:53 -0000 On Sat, 8 May 2021, Graham Perrin wrote: > On 07/05/2021 19:09, Matt K wrote: >> - These are the possibilities to have a stable usable system with X: >> 1. not mentioning i915kms in rc.conf is a must. Then I can load X with XDM >> and it automatically pulls i915kms by specifying "Driver" "intel" in >> xorg.conf. >> 2. not mentioning i915kms in rc.conf is a must. Then I have to "kldload >> i915kms" and then I can "startx" and it works. In this case It does not >> matter if I have "modesetting" or "intel" in xorg.conf, both work. > > Try a third approach: > > kld_list="drm" I had a similar problem with X appearing to hang. In my case, I had to specify the full path: $ grep kms /etc/rc.conf kld_list="/boot/modules/i915kms.ko" ...in order to load the i915kms from the port graphics/drm-fbsd12.0-kmod rather than the one from the kernel. Yes, I had to build the port, not just install the pkg. Caveat: Matt just upgraded to 13.0; I'm still on 12.2-RELEASE-p4 on account of sloth. I'm guessing Matt probably needs graphics/drm-fbsd13-kmod. -- Chris Hill chris@monochrome.org