GPU hanging after upgrade to 14.1

Andrea Venturoli <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]>
Hello.

I've got a Starlite laptop which has always worked flawlessly (at least 
WRT graphics).

> pciconf -lvb
> vgapci0@pci0:0:2:0:     class=0x030000 rev=0x06 hdr=0x00 vendor=0x8086 device=0x3184 subvendor=0x0000 subdevice=0x0000
>     vendor     = 'Intel Corporation'
>     device     = 'GeminiLake [UHD Graphics 605]'
>     class      = display
>     subclass   = VGA
>     bar   [10] = type Memory, range 64, base 0x90000000, size 16777216, enabled
>     bar   [18] = type Prefetchable Memory, range 64, base 0x80000000, size 268435456, enabled
>     bar   [20] = type I/O Port, range 32, base 0x1000, size 64, enabled


However, a few days ago I upgraded it from 13.3 to 14.1 and it started 
giving troubles (usually 2-3 times a day, while performing normal 
desktop work).
When in happens, the screen might get garbled in different ways, it 
might be unresponsive or not, but in the end I have to press 
Ctrl-Alt-Backspace and start over.

What I see in the first console might be (please forgive any little 
mistake, as I need to rewrite it from a picture):

 > drmn0: [drm] GPU HANG: ecode 9:1:85dffdfb, in MainThread [100791]
 > drmn0: [drm] Resetting rcs0 for preemption time out
 > drmn0: [drm] Xorg[100791] context reset due to GPU hang

or:

 > drmn0: [drm] Resetting rcs0 for CS error
 > drmn0: [drm] MainThread[100791] context reset due to GPU hang
 > drmn0: [drm] GPU HANG: ecode 9:1:00280001, in MainThread [100791]
 > drmn0: [drm] GPU HANG: ecode 9:1:85dfffff, in MainThread [100791]
 > drmn0: [drm] Resetting rcs0 for preemption time out
 > drmn0: [drm] Xorg[100791] context reset due to GPU hang

I've seen a couple of bug reports, but those does not look the same to me.



I'm using 2023Q3 port tree, so:
 > # pkg info|grep -E "(drm|xorg)"
> drm-61-kmod-6.1.92             DRM drivers modules
> drm-kmod-20220907_3            Metaport of DRM modules for the linuxkpi-based KMS components
> gpu-firmware-kmod-20240401,1   Firmware modules for the drm-kmod drivers
> libdrm-2.4.122,1               Direct Rendering Manager library and headers
> xorg-fonts-truetype-7.7_1      X.Org TrueType fonts
> xorg-server-21.1.13,1          X.Org X server and related programs
> xorgproto-2024.1               X Window System unified protocol definitions



Is this something known?
Something obvious to look into?
Are the instructions for reporting this still relevant, here?
> https://wiki.freebsd.org/Intel_GPU

  bye & Thanks
	av.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.