From nobody Tue Dec 06 08:02:53 2022 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NRCZp72Lcz4kBby for ; Tue, 6 Dec 2022 08:02:58 +0000 (UTC) (envelope-from pat@patmaddox.com) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4NRCZp5h5Mz4D3r for ; Tue, 6 Dec 2022 08:02:58 +0000 (UTC) (envelope-from pat@patmaddox.com) Authentication-Results: mx1.freebsd.org; none Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 2AC68320046E; Tue, 6 Dec 2022 03:02:57 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 06 Dec 2022 03:02:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=patmaddox.com; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1670313776; x= 1670400176; bh=bT77B8o4r1fwcbkkh/vVZnVjKAHuaD+70Ww9GUGWLzA=; b=R D4y8ZRI9kV3olwcHa6vT7uuPQjobPNjmlF/H2dq2eKAmNayrXQ3nNg62iyd5ASCL jyRXaFjmh5PH2kx4UQqJAXxEE8T6rPW9H66qhRjotaf4bzNzyJk8ol4JTze9p/iT oM105o69n9zufaFS/yBrgidJ6Mqfv778LtW5mHDaJXWf/piYZ0UxRJRJjlKJdHeG BzIzxQ5ROTXgLAu2PvAK0IDO6UTMiWqKSShvYi8GSkTL1A2qwYAbXPGtzzgcBYAd I472Qxibc2Y26m1Gw3gB7SSE5ut1IUjpHY2dzyqJgk40ZHT4GT088OFS2vrhaYnS ORcYGvL2aNYrh9D/xL79w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1670313776; x= 1670400176; bh=bT77B8o4r1fwcbkkh/vVZnVjKAHuaD+70Ww9GUGWLzA=; b=i lFOg9hn3jVQtgCTMMzRPmP2I00Y5G8v8677dlj0T/UEA2HOVTgPlxTacQCu2T6EJ m8TgF5MwcGXAVQO4UTxR5buy/lgOIC/CkXcFzDxQc9TDWPJfL+hIL7tQQhbrEQNW LBLXMoMw/PtfHFTjz2q6TudMUCc+feAAI1bNsg0QRbI3mtFSYhV3UkCle2rzwkKb /k3VzB9eqGBADXgGIi/LMtCxqZYOoJ52+wkWNxP1BkE7CXCj4fF0S5qzu0p62wFV WrhyQv/QMJYVoJ0kbkCpfQT5wkXe6TrfJ+Ryh2onEvo3N8N6/vbGHKPz45CQslCC 6nUQKxjP0RGXtzB3/QOCA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudehgdduudeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffokfgjfhggtgfgsehtkehmtdertdejnecuhfhrohhmpedfrfgr thcuofgrugguohigfdcuoehprghtsehprghtmhgrugguohigrdgtohhmqeenucggtffrrg htthgvrhhnpefhjefgtdejvddtkeekleelgeeuhfeltdeftedtfeeuffevvdekgffghfel fffhheenucffohhmrghinhepuhhrlhguvghfvghnshgvrdgtohhmpdhfrhgvvggsshgurd horhhgpdhgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgr mhepmhgrihhlfhhrohhmpehprghtsehprghtmhgrugguohigrdgtohhm X-ME-Proxy: Feedback-ID: i8b6c40f9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 6 Dec 2022 03:02:55 -0500 (EST) From: "Pat Maddox" To: "Emmanuel Vadot" Cc: "Takanori Watanabe" , freebsd-hackers@freebsd.org Subject: Re: kldload i915kms screen goes black Date: Tue, 06 Dec 2022 00:02:53 -0800 X-Mailer: MailMate (1.13.2r5673) Message-ID: In-Reply-To: <20221206085310.78d00157b35f9b334f8652c0@bidouilliste.com> References: <2CFF7511-C45A-4986-8881-2A68DC52F555@patmaddox.com> <3EE88B08-395F-47A1-B25B-E89C2B076654@patmaddox.com> <19286A43-0F72-4DA3-AF92-60E8BD11F7D7@patmaddox.com> <20221206085310.78d00157b35f9b334f8652c0@bidouilliste.com> List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4NRCZp5h5Mz4D3r X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:29838, ipnet:64.147.123.0/24, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 5 Dec 2022, at 23:53, Emmanuel Vadot wrote: > On Mon, 05 Dec 2022 22:18:13 -0800 > "Pat Maddox" wrote: > >> On 5 Dec 2022, at 21:18, Takanori Watanabe wrote: >> >>> On Mon, Dec 05, 2022 at 09:43:17PM -0800, Pat Maddox wrote: >>>> On 5 Dec 2022, at 20:55, Chen, Alvin W wrote: >>>> >>>>>> >>>>>> I have a newly-built system with an ASUS Prime Z590M-Plus and >>>>>> Intel >>>>>> 10900k >>>>>> with onboard graphics (UHD 630, according to intel). >>>>>> >>>>>> I specifically chose a 10th gen processor because I believed it >>>>>> was >>>>>> well- >>>>>> supported by 13.1+. Unfortunately I can?t even install 13.1 >>>>>> (https://urldefense.com/v3/__https://forums.freebsd.org/threads/cant- >>>>>> install-i-just-get-a-little-white-box-and-a-mouse- >>>>>> cursor.87334/__;!!LpKI!iRRMC3ef9hbS1NKXTBUoIDxlVz9pU_m1Jocnzh2Tlxfd >>>>>> s5SnkbHHXEM4iKqU7weuEiObV8rfJXfY$ [forums[.]freebsd[.]org]) >>>>>> >>>>>> I have successfully installed >>>>>> FreeBSD-14.0-CURRENT-amd64-20221201-d1f3abc89250-259495. >>>>>> >>>>>> When I run `kldload i915kms`, the screen just goes black. >>>>>> >>>>>> I have never used graphics before on FreeBSD, so I?m not sure >>>>>> where >>>>>> to >>>>>> begin diagnosing. I did as much research as I could upfront, but >>>>>> have >>>>>> run into >>>>>> this obstacle. >>>>>> >>>>>> I?ll be content to run 14.0-CURRENT because I can still create >>>>>> 13.1 >>>>>> jails. >>> >>> How about logging in from remote and load kernel module? >>> This is my example. >>> https://github.com/freebsd/drm-kmod/issues/159 >> >> When I do that, the screen still goes black, but kldload does return >> in >> my remote terminal. This is in /var/log/messages: >> https://gist.github.com/patmaddox/1a2b7bb8769cf1251beb514a9646a69e >> > > Please try to boot with hw.dri.__drm_debug=0x1FF in loader.conf > With only one screen, no dock if it's a laptop. > If it's a desktop and you have multiple screen, please try with all > (especially if some are 4k/8k try with smaller resolution screen). > Here’s the output with kabylake driver installed, and that loader.conf entry: https://gist.github.com/patmaddox/098bb58d4a3231b436b5946c1e0e4801 It’s a desktop with a single 1920x1080 display. I’m plugged into HDMI now instead of DisplayPort. Pat