Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Dec 2022 00:02:53 -0800
From:      "Pat Maddox" <pat@patmaddox.com>
To:        "Emmanuel Vadot" <manu@bidouilliste.com>
Cc:        "Takanori Watanabe" <takawata@init-main.com>, freebsd-hackers@freebsd.org
Subject:   Re: kldload i915kms screen goes black
Message-ID:  <C5B4B516-2B9B-4C61-A6D3-32E736C2A01D@patmaddox.com>
In-Reply-To: <20221206085310.78d00157b35f9b334f8652c0@bidouilliste.com>
References:  <2CFF7511-C45A-4986-8881-2A68DC52F555@patmaddox.com> <PH0PR19MB49383025CD74B8621A7D83989E1B9@PH0PR19MB4938.namprd19.prod.outlook.com> <3EE88B08-395F-47A1-B25B-E89C2B076654@patmaddox.com> <Y47Qp41kGd%2BrsZHa@sana.init-main.com> <19286A43-0F72-4DA3-AF92-60E8BD11F7D7@patmaddox.com> <20221206085310.78d00157b35f9b334f8652c0@bidouilliste.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5 Dec 2022, at 23:53, Emmanuel Vadot wrote:

> On Mon, 05 Dec 2022 22:18:13 -0800
> "Pat Maddox" <pat@patmaddox.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C5B4B516-2B9B-4C61-A6D3-32E736C2A01D>