Alexander V. Makartsev composed on 2025-01-18 23:52 (UTC+0500):

> I have stability issues (freezing) on my laptop running Debian 12 
> (current stable), and, according to logs, the culprit is kernel module i915.
 
> My kernel version:
> $ uname -a
> Linux hostname 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 
> (2025-01-12) x86_64 GNU/Linux
 
> My GPU is CPU integrated:
> $ lspci -nn -v | grep VGA
> 00:02.0 VGA compatible controller [0300]: Intel Corporation Alder Lake-P 
> GT1 [UHD Graphics] [8086:46a3] 
                           ^^^^

Try the following cmdline options if you haven't already, to in effect blacklist
i915 kernel module and to enable Xe kernel module designed to take i915's place
for Gen12+ GPUs:

        xe.force_probe='46a3' i915.force_probe='!46a3'

Whether those options exist in 6.1 kernel I do not know. When I boot Bookworm 
using those options they only show up on the two kernel cmdline lines in dmesg.
# uname -a
Linux ab560 6.11.8-1-default #1 SMP PREEMPT_DYNAMIC Thu Nov 14 12:54:01 UTC 
2024 (099023b) x86_64 x86_64 x86_64 GNU/Linux
# dmesg | grep force | wc -l
25

In Trixie
# uname -a
Linux ab560 6.11.10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.10-1 (2024-11-23) 
x86_64 GNU/Linux
# dmesg | grep force
[    0.000000] Command line: BOOT_IMAGE=/vmlinuz root=LABEL=tm8p23deb13 
noresume ipv6.disable=1 net.ifnames=0 consoleblank=0 preempt=full 
mitigations=off video=1440x900@60 xe.force_probe=4c8b i915.force_probe=!4c8b
[    0.015216] Kernel command line: BOOT_IMAGE=/vmlinuz root=LABEL=tm8p23deb13 
noresume ipv6.disable=1 net.ifnames=0 consoleblank=0 preempt=full 
mitigations=off video=1440x900@60 xe.force_probe=4c8b i915.force_probe=!4c8b
[    1.769159] Setting dangerous option force_probe - tainting kernel

# uname -a
Linux ab560 6.12.9-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.9-1 (2025-01-10) 
x86_64 GNU/Linux
# dmesg | grep force
[    0.000000] Command line: BOOT_IMAGE=/vmlinuz root=LABEL=tm8p23deb13 
noresume ipv6.disable=1 net.ifnames=0 consoleblank=0 preempt=full 
mitigations=off xe.force_probe=4c8b i915.force_probe=!4c8b
[    0.015306] Kernel command line: BOOT_IMAGE=/vmlinuz root=LABEL=tm8p23deb13 
noresume ipv6.disable=1 net.ifnames=0 consoleblank=0 preempt=full 
mitigations=off xe.force_probe=4c8b i915.force_probe=!4c8b
[    1.709885] Setting dangerous option force_probe - tainting kernel
[    1.995422] Setting dangerous option force_probe - tainting kernel
#

It seems to me you probably need to go backport. I tried the "experimental" 
equivalent
with i5-11400's Rocket Lake S GT1 (Gen12.1) in openSUSE Tumbleweed, resulting 
in loss
of about 2/3 in graphics performance testing with glmark2.
-- 
Evolution as taught in public schools is, like religion,
        based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata

Reply via email to