Re: kldload i915kms screen goes black

From: Pat Maddox <pat_at_patmaddox.com>
Date: Tue, 06 Dec 2022 06:18:13 UTC
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