From owner-freebsd-x11@freebsd.org Fri Apr 26 23:39:18 2019 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 AA97215A16E3 for ; Fri, 26 Apr 2019 23:39:18 +0000 (UTC) (envelope-from tychon@freebsd.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 353478C22B for ; Fri, 26 Apr 2019 23:39:18 +0000 (UTC) (envelope-from tychon@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E99D615A16E2; Fri, 26 Apr 2019 23:39:17 +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 D815715A16E1 for ; Fri, 26 Apr 2019 23:39:17 +0000 (UTC) (envelope-from tychon@freebsd.org) Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) (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 7EA358C22A for ; Fri, 26 Apr 2019 23:39:17 +0000 (UTC) (envelope-from tychon@freebsd.org) Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 2DCE013C365; Fri, 26 Apr 2019 19:39:11 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=content-type :mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=sasl; bh= oHdLfN5pWp+w6htR6HCPZVTn+eo=; b=pjGNooed9cRNfcuLBJPZgmVIBrnQvizh QlyVNZx39Cvx29xweLhxPf2TlO4EqmO0+k5nIbGHn3a4e3j2JFw4C58FJAAQ2L5w w8mK5tecej9VdkI0XZHx4oiVepQFd690rI4IauPBMz9SeG6SZpbKuEuJMX+ehom4 FnLpiDVCxc0= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 2520813C363; Fri, 26 Apr 2019 19:39:11 -0400 (EDT) Received: from [10.0.1.195] (unknown [146.115.68.244]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 43BCE13C362; Fri, 26 Apr 2019 19:39:10 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: drm-current-kmod-4.16.g20190424 hangs From: Tycho Nightingale In-Reply-To: Date: Fri, 26 Apr 2019 19:39:08 -0400 Cc: Johannes Lundberg , Jakob Alvermark , x11@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <28D240F3-1772-42C1-8F39-54002E53F53B@freebsd.org> References: <5713985b-e97f-c7f2-2592-47a17baf8095@alvermark.net> <88157456-fe57-997a-14f6-9d1b01c2dbc9@alvermark.net> <63377546-e82f-3d95-0a4b-0d0d8602d9e4@gmail.com> To: Andrey Fesenko X-Mailer: Apple Mail (2.3445.9.1) X-Pobox-Relay-ID: 7D97FFDE-687C-11E9-9A82-1646B3964D18-09779102!pb-smtp1.pobox.com X-Rspamd-Queue-Id: 7EA358C22A X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-7.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.995,0] 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: Fri, 26 Apr 2019 23:39:18 -0000 Hi, > On Apr 26, 2019, at 4:39 PM, Andrey Fesenko = wrote: >=20 > On Fri, Apr 26, 2019 at 6:23 PM Johannes Lundberg = wrote: >>=20 >> =46rom https://reviews.freebsd.org/D19845 Can you try the sysctls >> suggested there? >>=20 >=20 > hw.busdma.default=3D"bounce" and hw.dmar.enable=3D"0" ? both not exist >=20 > attach debug dmesg > What are your BIOS settings for VT-d? I see an ACPI DMAR table being = reported. As kib@ noted in https://reviews.freebsd.org/D19845: it=E2=80=99= s not to be a surprise that "Intel GPU does not work with the DMAR = enabled=E2=80=9D. As a first step please make sure that VT-d is disabled. Then proceed to = enabling it in identity mapped mode and finally in re-mapped mode. That = should give some additional insight into the culprit e.g. the device not = being IOMMU compatible or the driver not being IOMMU compatible or = something else entirely. Tycho=