Date: Tue, 06 Dec 2022 06:21:04 -0600 From: "Patrick Bowen" <pbowen@fastmail.fm> To: freebsd-current@freebsd.org Subject: Re: kldload i915kms screen goes black 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> <PH0PR19MB49383025CD74B8621A7D83989E1B9@PH0PR19MB4938.namprd19.prod.outlook.com> <3EE88B08-395F-47A1-B25B-E89C2B076654@patmaddox.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?863bdf03-52bc-455d-a2c4-d920defa7d37>