Skip to content

i915: GPU hang under Vulkan stress test on Meteor Lake-P (0x7d45) with amshafer:mtl patches applied #441

@ocochard

Description

@ocochard

Describe the bug

After applying the patches from amshafer:mtl to drm-kmod master HEAD, the i915 driver loads cleanly and brings up the display on Meteor Lake-P, but the GPU wedges (and eventually locks the entire system, including keyboard input) when running the Vulkan test suite graphics/crucible (it works great with vkcube, vlc, chromium).

The cosmetic init errors are gone (no more "Enabling uc failed (-5)"), the Skipping GT1 message confirms patch 2 is active, and GuC firmware loads in HuC-auth-only mode (enable_guc=2). 2D/desktop usage looks fine. The hang only triggers under sustained Vulkan compute/render load.

FreeBSD version

  • FreeBSD 16.0-CURRENT, kernel main-n285626-9c18d55a768a built 2026-05-01
  • drm-kmod master a72c05b22dc21e4a68b0146d85d1ec0be4470931
  • Plus 2 cherry-picks from amshafer:mtl:
    • a2ca1d5 intel: initialize GMADR on meteorlake and newer on freebsd
    • 0872ce4 intel: disable GT1 (Media chip) on FreeBSD
  • gpu-firmware-intel-kmod-meteorlake 20260501
    • /boot/loader.conf: hw.i915kms.enable_guc=2
    • Test runner: graphics/crucible (Vulkan CTS-style)

PCI Info

pciconf -lv
vgapci0@pci0:0:2:0:     class=0x030000 rev=0x08 hdr=0x00 vendor=0x8086 device=0x7d45 subvendor=0x17aa subdevice=0x231e
    vendor     = 'Intel Corporation'
    device     = 'Meteor Lake-P [Intel Graphics]'
    class      = display
    subclass   = VGA

DRM KMOD version
Builded myself:

drm-latest-kmod 6.12.1600018_2

Module load great (hw.i915kms.enable_guc=2 in /boot/loader.conf)

drmn0: <drmn> on vgapci0
vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io
drmn0: [drm] Found METEORLAKE (device ID 7d45) display versio
drmn0: successfully loaded firmware image 'i915/mtl_dmc.bin'
drmn0: [drm] Finished loading DMC firmware i915/mtl_dmc.bin (v2.23)
drmn0: successfully loaded firmware image 'i915/mtl_guc_70.bin'
drmn0: [drm] GT0: GuC firmware i915/mtl_guc_70.bin version 70.53.0
drmn0: [drm] GT0: GUC: submission disabled
drmn0: [drm] GT0: GUC: SLPC disabled
[drm] Initialized i915 1.6.0 for drmn0 on minor 0
VT: Replacing driver "efifb" with new "drmfb".
start FB_INFO:
height=1800 width=2880 depth=32
pbase=0x90800000 vbase=0xfffff80090800000
name=drmn0 id=i915drmfb flags=0x0 stride=11520
end FB_INFO

To Reproduce
Steps to reproduce the behavior:

pkg install crucible
crucible run

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions