From nobody Tue Dec 06 12:21:04 2022 X-Original-To: freebsd-current@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 4NRKK71mLvz4jX9P for ; Tue, 6 Dec 2022 12:21:31 +0000 (UTC) (envelope-from pbowen@fastmail.fm) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4NRKK610zBz3QFt for ; Tue, 6 Dec 2022 12:21:30 +0000 (UTC) (envelope-from pbowen@fastmail.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=fastmail.fm header.s=fm2 header.b="s 8OaEtV"; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=iJgY7XDa; spf=pass (mx1.freebsd.org: domain of pbowen@fastmail.fm designates 64.147.123.25 as permitted sender) smtp.mailfrom=pbowen@fastmail.fm; dmarc=pass (policy=none) header.from=fastmail.fm Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id E50AF32003F4 for ; Tue, 6 Dec 2022 07:21:27 -0500 (EST) Received: from imap49 ([10.202.2.99]) by compute6.internal (MEProxy); Tue, 06 Dec 2022 07:21:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= 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=fm2; t=1670329287; x= 1670415687; bh=pB5t/czO47G7jTj9HEb0g9weQ9NET9c0c1qt41xFsxc=; b=s 8OaEtVNcMgyL7mG4YQuuhyfWwUXRrgrIS8d0NATFky/EiUmJvf6h0HQ1maGyQQbB 2P2iG25l1P0FlavKN6NgG+Vj7f5DgpW0gM1lrQ6ucIWvEHIm/q0XI2Qia+NyIqBr 0djJgVR5L1wqULJfARCkcj5c1glNhT++Dc1RuS44cp2OGD/36zHPtyKvBlbij8BW xNBunCpEfRgajYhl8wC8Ejzx2nzd1JIFJdq7mSdOSG/JK+92oYrXlrpNuRlHvQPH P0Oyq31vgzwuns0SribBfCJy15CgOMX6NiBsv8s2/RaOTE1ne0FOBaM7fToj0oWB 8bQmIFhOIQqRfR0tbftGA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=1670329287; x=1670415687; bh=p B5t/czO47G7jTj9HEb0g9weQ9NET9c0c1qt41xFsxc=; b=iJgY7XDa+a/NDYPyi eE4hNW2MYKv0vsyIWES3KNP+lg8QW7t53w5WgPZpbXX3o2cpqi8j3HZJ96F1dz++ lZtKL7WY1hyY2fbXzL2GIkBe9XtlzIBbv7EolpaIsN+HfP68/7iv+XLobNN7xiyh R/bdfguB22QTLWCbS2IWD3AqBz4dIqi7czyYV1ew/w7yhE3936dZJvbMkwi+mdNU wXsSs4V5rpUHkb8LhHKN0OgXVNJIV3VvpaBPhWH27m5yM/MRMc+5qpJjZouNehPa S+vVRJ+k+x3krtu89S8l/iimb/6UdAxXXCx5SRJ+hbeyaCP7qC/g5PEeNiNYZwyi iAaKQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudeigdefkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgfgsehtqh ertderreejnecuhfhrohhmpedfrfgrthhrihgtkhcuuehofigvnhdfuceophgsohifvghn sehfrghsthhmrghilhdrfhhmqeenucggtffrrghtthgvrhhnpeefvdfhveejffdvheekhf fftdevtefhfefgteelueevveehuefhhfettdejfedvkeenucffohhmrghinhepuhhrlhgu vghfvghnshgvrdgtohhmpdhfrhgvvggsshgurdhorhhgpdhgihhthhhusgdrtghomhenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpsghofigv nhesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Feedback-ID: i8ecd41a5:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 4B54D15A0087; Tue, 6 Dec 2022 07:21:27 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-1115-g8b801eadce-fm-20221102.001-g8b801ead List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 Message-Id: <863bdf03-52bc-455d-a2c4-d920defa7d37@app.fastmail.com> In-Reply-To: <3EE88B08-395F-47A1-B25B-E89C2B076654@patmaddox.com> References: <2CFF7511-C45A-4986-8881-2A68DC52F555@patmaddox.com> <3EE88B08-395F-47A1-B25B-E89C2B076654@patmaddox.com> Date: Tue, 06 Dec 2022 06:21:04 -0600 From: "Patrick Bowen" To: freebsd-current@freebsd.org Subject: Re: kldload i915kms screen goes black Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-5.50 / 15.00]; DWL_DNSWL_LOW(-2.00)[messagingengine.com:dkim,fastmail.fm:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.91)[-0.911]; DMARC_POLICY_ALLOW(-0.50)[fastmail.fm,none]; MV_CASE(0.50)[]; R_DKIM_ALLOW(-0.20)[fastmail.fm:s=fm2,messagingengine.com:s=fm1]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.25]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.25:from]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:29838, ipnet:64.147.123.0/24, country:US]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[fastmail.fm]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[fastmail.fm:+,messagingengine.com:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[fastmail.fm]; RWL_MAILSPIKE_POSSIBLE(0.00)[64.147.123.25:from] X-Rspamd-Queue-Id: 4NRKK610zBz3QFt X-Spamd-Bar: ----- X-ThisMailContainsUnwantedMimeParts: N On Mon, Dec 5, 2022, at 11:43 PM, 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=20 >>> 10900k >>> with onboard graphics (UHD 630, according to intel). >>> >>> I specifically chose a 10th gen processor because I believed it was=20 >>> well- >>> supported by 13.1+. Unfortunately I can=E2=80=99t 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=E2=80=99m not sur= e where=20 >>> to >>> begin diagnosing. I did as much research as I could upfront, but hav= e=20 >>> run into >>> this obstacle. >>> >>> I=E2=80=99ll be content to run 14.0-CURRENT because I can still crea= te 13.1=20 >>> jails. >>> >>> Does anyone have suggestions for successfully loading the graphics=20 >>> driver? >>> >>> Pat >>> >> >> You can get the drm 5.10 code for Freebsd here:=20 >> https://github.com/freebsd/drm-kmod. >> It should support Intel GPU older than ADL. >> You may need build it by yourself. > > I believe I have that, otherwise `kldload i915kms` would return=20 > =E2=80=9Ckldload: can=E2=80=99t load i915kms: No such file or director= y.=E2=80=9D > > I have tried installing drivers with: > > pkg install drm-kmod > pkg install drm-510-kmod > cd /usr/ports/graphics/drm-510-kmod && make install > cd /usr/ports/graphics/drm-510-kmod && make GH_TAGNAME=3Ddrm_v5.11_0=20 > install > > My understanding is that 13.1 supports 10th gen graphics well, so I=20 > wouldn=E2=80=99t expect to need to use the absolute latest version fro= m GitHub=20 > (drm_v5.11_0 in this case). > > Pat I had a similar problem. Got it fixed by uninstalling drm-kmod and then = installing drm-510-kmod and adding "kld_list=3D"i915kms"" to /etc/rc.con= f. On an old installation I think I had to build it from ports. On a fresh = install you can ignore drm-kmod and just "pkg install drm-510-kmod". Good luck! Patrick