Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2025 21:38:25 +0000
From:      "Steven Harms (High-Security Mail)" <sgharms@stevengharms.com>
To:        "freebsd-current@freebsd.org" <freebsd-current@FreeBSD.org>
Subject:   Getting DRM on current w/ Meteor Lake
Message-ID:  <-BF8ID6ZSLDBSZ48WqdkI0j1UodlyxmN0fI5maKLBj36acMvAVhVDN6Tikobrz-mNkOERHoqaaMwBcZzhOcRzo9CE7vrIQHe9TMm-rvk674=@stevengharms.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Hi folks, I am trying to get lid close ==> S3 and higher-resolution graphics (so I can use Wayland/X) working on my new laptop on my 15.0-CURRENT laptop.

Doing a pciconf search I see that I have an

Intel Corporation
Meteor Lake-P
display
VGA

OK that’s familiar, that’s what I had on my previous FreeBSD laptop. I *think* that means I need to use the drm kmod. Since I’m on 15.0-CURRENT, I’m thinking it best to compile the module from source. I pulled the latest state of tree (91248ee83) and go to graphics/drm-66-kmod.

Building with `make`, I get the output of i915kms.ko. Yay!

OK, so then just to test things out, I do `kldload i915kms.ko` on the just-built module and the screen flashes and seems to be transitioning to a higher-resolution mode — but then it’s black. But it’s a higher resolution black, it feels to my all-too human eyes. Anyway, at this point, I can’t recover the machine and I have to do a hard reboot.

I captured a bit of dmesg as an attempt to debug but would be willing to test /debug if it gets me a working driver. If I’ve erred please let me know. Also, text came from camera capture due to other network constraints, so please let me know if higher fidelity is required.

Thanks - Steven

dmesg capture:

May 12
14:30:55 zebsd kernel: drmn@: [drm] No GSC FW selected, disabling GSC CS an media C6

May 12
14:30:55 zenbsd kernel: drmn@: (drm] *ERROR* Unexpected child device confi
size 40 (expected
for VBT
version 256)

May 12
14:30:55 zenbsd kernel: drmn0: successfully loaded firmware image '191
amtl_dmc.bin'

May 12
14:30:55
zenbsd
kernel:
drmn®: [drm] Finished loading DMC firmware 1g15/mtl_dmc.bin (v2.23)

May 12
14:30:55
zenbsd
kernel: 1kpi_iic0: <LinuxKPI I2C> on drmna

May 12
14:30:55
kernel: iicbus2: ‹Philips I2C bus› on lkpi_ii

….Many other similar…

May 12 14:30:55
zenbsd
kernel:
drmn®: [drm] *ERROR* GT0: Enabling uc failed (-5)

May 12 14:30:55
zenbsd
kernel:
ed!
drmn®: [drm] *ERROR* GT0: Failed to initialize GPU, declaring it wedged!

May
12
14: 30:55
zenbsd kernel: drmn: [drm: 0xffffffff83932480s] Oxfffffe0127c617f8V
[-- Attachment #2 --]
<html><head></head><body> <div dir="auto"><div><br></div><div><br></div><div>Hi folks, I am trying to get lid close ==&gt; S3 and higher-resolution graphics (so I can use Wayland/X) working on my new laptop on my 15.0-CURRENT laptop.</div><div><br></div><div>Doing a pciconf search I see that I have an&nbsp;</div><div><br></div><div>Intel Corporation</div><div>Meteor Lake-P</div><div>display</div><div>VGA</div><div><br></div><div>OK that’s familiar, that’s what I had on my previous FreeBSD laptop. I *think* that means I need to use the drm kmod. Since I’m on 15.0-CURRENT, I’m thinking it best to compile the module from source. &nbsp;I pulled the latest state of tree (91248ee83) and go to graphics/drm-66-kmod.</div><div><br></div><div>Building with `make`, I get the output of i915kms.ko. Yay!</div><div><br></div><div>OK, so then just to test things out, I do `kldload i915kms.ko` on the just-built module and the screen flashes and seems to be transitioning to a higher-resolution mode — but then it’s black. &nbsp;But it’s a higher resolution black, it feels to my all-too human eyes. Anyway, at this point, I can’t recover the machine and I have to do a hard reboot.</div><div><br></div><div dir="auto">I captured a bit of dmesg as an attempt to debug but would be willing to test /debug if it gets me a working driver. If I’ve erred please let me know. Also, text came from camera capture due to other network constraints, so please let me know if higher fidelity is required.</div><div dir="auto"><br></div><div dir="auto">Thanks - Steven</div><div dir="auto"><br></div><div dir="auto">dmesg capture:</div><div><br></div><div>May 12</div><div>14:30:55 zebsd kernel: drmn@: [drm] No GSC FW selected, disabling GSC CS an media C6</div><div><br></div><div>May 12</div><div>14:30:55 zenbsd kernel: drmn@: (drm] *ERROR* Unexpected child device confi</div><div>size 40 (expected</div><div>for VBT</div><div>version 256)</div><div><br></div><div>May 12</div><div>14:30:55 zenbsd kernel: drmn0: successfully loaded firmware image '191</div><div>amtl_dmc.bin'</div><div><br></div><div>May 12</div><div>14:30:55</div><div>zenbsd</div><div>kernel:</div><div>drmn®: [drm] Finished loading DMC firmware 1g15/mtl_dmc.bin (v2.23)</div><div><br></div><div>May 12</div><div>14:30:55</div><div>zenbsd</div><div>kernel: 1kpi_iic0: &lt;LinuxKPI I2C&gt; on drmna</div><div><br></div><div>May 12</div><div>14:30:55</div><div>kernel: iicbus2: ‹Philips I2C bus› on lkpi_ii</div><div><br></div><div>….Many other similar…</div><div><br></div><div>May 12 14:30:55</div><div>zenbsd</div><div>kernel:</div><div>drmn®: [drm] *ERROR* GT0: Enabling uc failed (-5)</div><div><br></div><div>May 12 14:30:55</div><div>zenbsd</div><div>kernel:</div><div>ed!</div><div>drmn®: [drm] *ERROR* GT0: Failed to initialize GPU, declaring it wedged!</div><div><br></div><div>May</div><div>12</div><div>14: 30:55</div><div>zenbsd kernel: drmn: [drm: 0xffffffff83932480s] Oxfffffe0127c617f8V</div></div><div dir="auto"><br></div><div><br></div> </body></html>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?-BF8ID6ZSLDBSZ48WqdkI0j1UodlyxmN0fI5maKLBj36acMvAVhVDN6Tikobrz-mNkOERHoqaaMwBcZzhOcRzo9CE7vrIQHe9TMm-rvk674=>