Solved GPU hangs after 15.1 update

After updating to FreeBSD-RELEASE 15.1 i have somewhat frequent GPU hangs (that freeze xorg server).
My kldstat:
Code:
1  118 0xffffffff80200000  23520c8 kernel
 2    1 0xffffffff82554000    2d048 fusefs.ko
 3    1 0xffffffff82582000   628ca0 zfs.ko
 4    1 0xffffffff83bf9000     73c0 linprocfs.ko
 5    2 0xffffffff83c01000     cdc8 linux_common.ko
 6    1 0xffffffff83c0e000     440c linsysfs.ko
 7    1 0xffffffff83e00000   24a410 i915kms.ko
 8    2 0xffffffff83c13000    9f430 drm.ko
 9    1 0xffffffff83cb3000     22b8 iic.ko
10    2 0xffffffff83cb6000     4120 linuxkpi_video.ko
11    3 0xffffffff83cbb000     7360 dmabuf.ko
12    3 0xffffffff83cc3000     3378 lindebugfs.ko
13    1 0xffffffff83cc7000     c358 ttm.ko
14    1 0xffffffff83cd4000     6710 cuse.ko
15    1 0xffffffff83cdb000     3390 acpi_wmi.ko
16    1 0xffffffff83cdf000     4250 ichsmb.ko
17    1 0xffffffff83ce4000     2178 smbus.ko
18    1 0xffffffff83ce7000    c4498 if_iwlwifi.ko
19    1 0xffffffff83dac000    17314 if_iwm.ko
20    1 0xffffffff83dc4000     6210 ig4.ko
21    1 0xffffffff83dcb000     2110 pchtherm.ko
22    1 0xffffffff83dce000     5780 ng_ubt.ko
23    7 0xffffffff83dd4000     abb8 netgraph.ko
24    3 0xffffffff83ddf000     a330 ng_hci.ko
25    4 0xffffffff83dea000     2670 ng_bluetooth.ko
26    1 0xffffffff83ded000     3218 iichid.ko
27    1 0xffffffff83df1000     e4a8 ng_l2cap.ko
28    1 0xffffffff8404b000    1c0f8 ng_btsocket.ko
29    1 0xffffffff84068000     3918 ng_socket.ko
30    1 0xffffffff8406c000     21e8 hms.ko
31    1 0xffffffff8406f000     30a8 hidmap.ko
32    1 0xffffffff84073000     2630 nlsysevent.ko

I have Intel HD graphics 620
Code:
vgapci0@pci0:0:2:0:     class=0x030000 rev=0x02 hdr=0x00 vendor=0x8086 device=0x5916 subvendor=0x1028 subdevice=0x078b
    vendor     = 'Intel Corporation'
    device     = 'Kaby Lake-U GT2 [HD Graphics 620]'
    class      = display

My relevant /var/log/messages says:
Code:
 Nov 12 13:46:19 FreeBSD kernel: drmn0: [drm] GPU HANG: ecode 9:1:85dfffff, in MainThread [101236]
5528 Nov 12 13:46:19 FreeBSD kernel: drmn0: [drm] Resetting rcs0 for preemption time out
5529 Nov 12 13:46:19 FreeBSD kernel: drmn0: [drm] MainThread[101236] context reset due to GPU hang
5530 Nov 12 13:46:30 FreeBSD kernel: drmn0: [drm] GPU HANG: ecode 9:1:85dffffb, in chrome [100845]
5531 Nov 12 13:46:30 FreeBSD kernel: drmn0: [drm] Resetting rcs0 for preemption time out
5532 Nov 12 13:46:30 FreeBSD kernel: drmn0: [drm] chrome[100845] context reset due to GPU hang
5533 Nov 12 13:46:32 FreeBSD devd[2310]: notify_clients: send() failed; dropping unresponsive client

Also relevant lines from dmesg (after system boots):
Code:
Root mount waiting for: usbus0

[drm] Got Intel graphics stolen memory base 0xab800000, size 0x4000000
drmn0: <drmn> on vgapci0
vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io
drmn0: [drm] Found KABYLAKE/ULT (device ID 5916) display version 9.00 stepping B0
lkpi_iic0: <LinuxKPI I2C> on drmn0
iicbus0: <Philips I2C bus> on lkpi_iic0
iic0: <I2C generic I/O> on iicbus0
lkpi_iic1: <LinuxKPI I2C> on drmn0
iicbus1: <Philips I2C bus> on lkpi_iic1
iic1: <I2C generic I/O> on iicbus1
lkpi_iic2: <LinuxKPI I2C> on drmn0
iicbus2: <Philips I2C bus> on lkpi_iic2
iic2: <I2C generic I/O> on iicbus2
drmn0: successfully loaded firmware image 'i915/kbl_dmc_ver1_04.bin'
drmn0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
sysctl_add_oid: can't re-use a leaf (hw.dri.debug)!
lkpi_iic3: <LinuxKPI I2C> on drm1
iicbus3: <Philips I2C bus> on lkpi_iic3
iic3: <I2C generic I/O> on iicbus3
[drm] Initialized i915 1.6.0 for drmn0 on minor 0
VT: Replacing driver "efifb" with new "drmfb" .
start FB_INFO:
height=1080 width=1920 depth=32
pbase=0xc0000000 vbase=0xfffff800c0000000
name=drmn0 id=i915drmfb flags=0x0 stride=7680
end FB_INFO
Is this an updated driver issue or something else? Thanks.
 
Back
Top