From nobody Tue Dec 06 07:53:10 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 4NRCMX3ZLRz4k995 for ; Tue, 6 Dec 2022 07:53:12 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NRCMX1YS7z49SV for ; Tue, 6 Dec 2022 07:53:12 +0000 (UTC) (envelope-from manu@bidouilliste.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1670313190; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5pf2OKANG9bfpIgw9irnLQEIRfy0G7bHZEjmzLOT9hQ=; b=DBT9IkMs/65h/2wPB6yQ6xgzq7CqnEITaqugpTNDmOfXhHQczOFb7e5h83EYxEmIkv6zNM hO0yk3AYuP3S0mJ0GQcpsSo2I2bKzOCN5vzFi7fMyRhUx67P+7YtR3oONa5Fhp/tf3QJ0m gaDYfLjFf6/C2KrAPdvmJXfL5nSMvpU= Received: from skull.home.blih.net (lfbn-lyo-1-2174-135.w90-66.abo.wanadoo.fr [90.66.97.135]) by mx.blih.net (OpenSMTPD) with ESMTPSA id bf7f6b2e (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 6 Dec 2022 07:53:10 +0000 (UTC) Date: Tue, 6 Dec 2022 08:53:10 +0100 From: Emmanuel Vadot To: "Pat Maddox" Cc: "Takanori Watanabe" , freebsd-hackers@freebsd.org Subject: Re: kldload i915kms screen goes black Message-Id: <20221206085310.78d00157b35f9b334f8652c0@bidouilliste.com> In-Reply-To: <19286A43-0F72-4DA3-AF92-60E8BD11F7D7@patmaddox.com> References: <2CFF7511-C45A-4986-8881-2A68DC52F555@patmaddox.com> <3EE88B08-395F-47A1-B25B-E89C2B076654@patmaddox.com> <19286A43-0F72-4DA3-AF92-60E8BD11F7D7@patmaddox.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) 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=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4NRCMX1YS7z49SV X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Mon, 05 Dec 2022 22:18:13 -0800 "Pat Maddox" wrote: > On 5 Dec 2022, at 21:18, Takanori Watanabe wrote: >=20 > > 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=20 > >>>> where > >>>> to > >>>> begin diagnosing. I did as much research as I could upfront, but=20 > >>>> have > >>>> run into > >>>> this obstacle. > >>>> > >>>> I?ll be content to run 14.0-CURRENT because I can still create=20 > >>>> 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 >=20 > When I do that, the screen still goes black, but kldload does return in=20 > my remote terminal. This is in /var/log/messages:=20 > https://gist.github.com/patmaddox/1a2b7bb8769cf1251beb514a9646a69e >=20 Please try to boot with hw.dri.__drm_debug=3D0x1FF 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). Thanks, --=20 Emmanuel Vadot