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 
>>> 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.
>>>
>>> Does anyone have suggestions for successfully loading the graphics 
>>> driver?
>>>
>>> Pat
>>>
>>
>> You can get the drm 5.10 code for Freebsd here: 
>> 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 
> “kldload: can’t load i915kms: No such file or directory.”
>
> 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=drm_v5.11_0 
> install
>
> My understanding is that 13.1 supports 10th gen graphics well, so I 
> wouldn’t expect to need to use the absolute latest version from GitHub 
> (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="i915kms"" to /etc/rc.conf.

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

Reply via email to