Getting DRM on current w/ Meteor Lake
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 12 May 2025 21:38:25 UTC
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