BSOD in igdkmd64.sys triggered by Automatic Brightness

Hello,

I would like to report a reproducible BSOD that appears to be related to the Intel graphics driver. When Windows Automatic Brightness is enabled, a sudden increase in ambient light consistently causes a BSOD. The sequence is always the same:

  • Automatic Brightness is enabled.
  • A sudden increase in ambient light occurs (for example, opening the curtains or shining a bright light at the ambient light sensor).
  • The display brightness increases normally.
  • One or two seconds later, Windows crashes with a BSOD and restarts.

Bug check :

  • SYSTEM_SERVICE_EXCEPTION (0x3B)
  • Failing module: igdkmd64.sys
  • Event Viewer (BugCheck ID 1001) : The computer has rebooted from a bugcheck. The bugcheck was: 0x0000003b (0x00000000c0000094, 0xfffff8007fdde36a, 0xffffda8cdeecdbe0, 0x0000000000000000).

On WinDbg :

<font size="1 2 3 4 5 6 7">SYSTEM_SERVICE_EXCEPTION (3b)</font><br><font size="1 2 3 4 5 6 7">An exception happened while executing a system service routine.</font><br><font size="1 2 3 4 5 6 7">Arguments:</font><br><font size="1 2 3 4 5 6 7">Arg1: 00000000c0000094, Exception code that caused the BugCheck</font><br><font size="1 2 3 4 5 6 7">Arg2: fffff8007fdde36a, Address of the instruction which caused the BugCheck</font><br><font size="1 2 3 4 5 6 7">Arg3: ffffda8cdeecdbe0, Address of the context record for the exception that caused the BugCheck</font><br><font size="1 2 3 4 5 6 7">Arg4: 0000000000000000, zero.</font><br><font size="1 2 3 4 5 6 7">BUGCHECK_CODE:  3b</font><br><font size="1 2 3 4 5 6 7">BUGCHECK_P1: c0000094</font><br><font size="1 2 3 4 5 6 7">BUGCHECK_P2: fffff8007fdde36a</font><br><font size="1 2 3 4 5 6 7">BUGCHECK_P3: ffffda8cdeecdbe0</font><br><font size="1 2 3 4 5 6 7">BUGCHECK_P4: 0</font><br><font size="1 2 3 4 5 6 7">FILE_IN_CAB:  070426-19312-01.dmp</font><br><font size="1 2 3 4 5 6 7">TAG_NOT_DEFINED_202b:  *** Unknown TAG in analysis list 202b</font><br><font size="1 2 3 4 5 6 7">DUMP_FILE_ATTRIBUTES: 0x21808</font><br><font size="1 2 3 4 5 6 7">  Kernel Generated Triage Dump</font><br><font size="1 2 3 4 5 6 7">FAULTING_THREAD:  ffffb208fddc7080</font><br><font size="1 2 3 4 5 6 7">CONTEXT:  ffffda8cdeecdbe0 -- (.cxr 0xffffda8cdeecdbe0)</font><br><font size="1 2 3 4 5 6 7">rax=00000000000003e8 rbx=ffffda8cdeece9f0 rcx=0000000000019640</font><br><font size="1 2 3 4 5 6 7">rdx=0000000000000000 rsi=0000000000800050 rdi=ffffb208e8fa3db0</font><br><font size="1 2 3 4 5 6 7">rip=fffff8007fdde36a rsp=ffffda8cdeece610 rbp=ffffb208ec1a10f0</font><br><font size="1 2 3 4 5 6 7"> r8=0000000000000000  r9=ffffb208ec1a10f0 r10=00000000000003e8</font><br><font size="1 2 3 4 5 6 7">r11=0000000000000040 r12=ffffda8cdeece9f0 r13=ffffb208e8fa3de0</font><br><font size="1 2 3 4 5 6 7">r14=0000000000019258 r15=0000000000800050</font><br><font size="1 2 3 4 5 6 7">iopl=0         nv up ei pl zr na pe cy</font><br><font size="1 2 3 4 5 6 7">cs=0010  ss=0018  ds=002b  es=002b  fs=0053  gs=002b             efl=00050247</font><br><font size="1 2 3 4 5 6 7">igdkmdn64+0x1ce36a:</font><br><font size="1 2 3 4 5 6 7">fffff800`7fdde36a 41f7f8          idiv    eax,r8d</font><br><font size="1 2 3 4 5 6 7">Resetting default scope</font><br><font size="1 2 3 4 5 6 7">BLACKBOXBSD: 1 (!blackboxbsd)</font><br><font size="1 2 3 4 5 6 7">BLACKBOXNTFS: 1 (!blackboxntfs)</font><br><font size="1 2 3 4 5 6 7">BLACKBOXPNP: 1 (!blackboxpnp)</font><br><font size="1 2 3 4 5 6 7">BLACKBOXWINLOGON: 1 (!blackboxwinlogon) (!blackboxwinlogonnotify)</font><br><font size="1 2 3 4 5 6 7">CUSTOMER_CRASH_COUNT:  1</font><br><font size="1 2 3 4 5 6 7">PROCESS_NAME:  svchost.exe</font><br><font size="1 2 3 4 5 6 7">IP_IN_PAGED_CODE:</font><br><font size="1 2 3 4 5 6 7">igdkmdn64+1ce36a</font><br><font size="1 2 3 4 5 6 7">fffff800`7fdde36a 41f7f8          idiv    eax,r8d</font><br><font size="1 2 3 4 5 6 7">STACK_TEXT: </font><br><font size="1 2 3 4 5 6 7">ffffda8c`deece610 ffffb208`00000000     : ffffb208`00000000 ffff6d08`8505b4d5 fffff800`7fff6027 00000002`00000001 : igdkmdn64+0x1ce36a</font><br><font size="1 2 3 4 5 6 7">ffffda8c`deece618 ffffb208`00000000     : ffff6d08`8505b4d5 fffff800`7fff6027 00000002`00000001 00000003`00000003 : 0xffffb208`00000000</font><br><font size="1 2 3 4 5 6 7">ffffda8c`deece620 ffff6d08`8505b4d5     : fffff800`7fff6027 00000002`00000001 00000003`00000003 00000000`00000000 : 0xffffb208`00000000</font><br><font size="1 2 3 4 5 6 7">ffffda8c`deece628 fffff800`7fff6027     : 00000002`00000001 00000003`00000003 00000000`00000000 00000000`00000000 : 0xffff6d08`8505b4d5</font><br><font size="1 2 3 4 5 6 7">ffffda8c`deece630 00000002`00000001     : 00000003`00000003 00000000`00000000 00000000`00000000 0000000a`00000000 : igdkmdn64+0x3e6027</font><br><font size="1 2 3 4 5 6 7">ffffda8c`deece638 00000003`00000003     : 00000000`00000000 00000000`00000000 0000000a`00000000 00000000`00000000 : 0x00000002`00000001</font><br><font size="1 2 3 4 5 6 7">ffffda8c`deece640 00000000`00000000     : 00000000`00000000 0000000a`00000000 00000000`00000000 00000000`00000000 : 0x00000003`00000003</font><br><font size="1 2 3 4 5 6 7">STACK_COMMAND: .process /r /p 0x3fd40346dc5d6388; .cxr 0xffffda8cdeecdbe0 ; kb</font><br><font size="1 2 3 4 5 6 7">SYMBOL_NAME:  igdkmdn64+1ce36a</font><br><font size="1 2 3 4 5 6 7">MODULE_NAME: igdkmdn64</font><br><font size="1 2 3 4 5 6 7">IMAGE_NAME:  igdkmdn64.sys</font><br><font size="1 2 3 4 5 6 7">BUCKET_ID_FUNC_OFFSET:  1ce36a</font><br><font size="1 2 3 4 5 6 7">FAILURE_BUCKET_ID:  0x3B_C0000094_igdkmdn64!unknown_function</font><br><font size="1 2 3 4 5 6 7">FAILURE_ID_HASH:  {2726f0d4-bf7b-745d-440a-3115f10bc3b8}</font><br><font size="1 2 3 4 5 6 7">Followup:     MachineOwner</font>

<font size="1 2 3 4 5 6 7"><span># Child-SP          RetAddr               : Args to Child                                                           : Call Site</span><span>00</span><span> ffffda8c`deecd298 fffff800`d82bd3e9     : 00000000`0000003b 00000000`c0000094 fffff800`7fdde36a ffffda8c`deecdbe0 : nt!KeBugCheckEx</span><span>01</span><span> ffffda8c`deecd2a0 fffff800`d82bc43c     : ffffda8c`00000001 fffff800`00000001 fffff800`d7c81b68 fffff800`d82bc3c0 : nt!KiBugCheckDispatch+0x69</span><span>02</span><span> ffffda8c`deecd3e0 fffff800`d82b2a6f     : ffffda8c`deecdbe0 00000000`00000000 ffffda8c`deecd4b0 00000000`00000000 : nt!KiSystemServiceHandler+0x7c</span><span>03</span><span> ffffda8c`deecd420 fffff800`d7eac7b2     : ffffda8c`deecd4b0 fffff800`d7c00000 fffff800`d82bca55 fffff800`d7d171b4 : nt!RtlpExecuteHandlerForException+0xf</span><span>04</span><span> ffffda8c`deecd450 fffff800`d7fdeecf     : ffffda8c`deecdbe0 ffffda8c`deece0e0 ffffda8c`deecdbe0 ffffda8c`deece2a0 : nt!RtlDispatchException+0x2d2</span><span>05</span><span> ffffda8c`deecdbb0 fffff800`d82bd545     : 00000001`ffffffff 00000000`00000004 00000000`00000000 ffffda8c`00000000 : nt!KiDispatchException+0x35f</span><span>06</span><span> ffffda8c`deece2a0 fffff800`d82b484f     : ffffb208`e8d8dd80 fffff800`7fe152d7 ffffc986`e19f0016 fffff800`d7e1a159 : nt!KiExceptionDispatch+0x145</span><span>07</span><span> ffffda8c`deece480 fffff800`7fdde36a     : ffffb208`00000000 ffffb208`00000000 ffff6d08`8505b4d5 fffff800`7fff6027 : nt!KiDivideErrorFault+0x34f (TrapFrame @ ffffda8c`deece480)</span><span>08</span><span> ffffda8c`deece610 ffffb208`00000000     : ffffb208`00000000 ffff6d08`8505b4d5 fffff800`7fff6027 00000002`00000001 : igdkmdn64+0x1ce36a</span><span>09</span><span> ffffda8c`deece618 ffffb208`00000000     : ffff6d08`8505b4d5 fffff800`7fff6027 00000002`00000001 00000003`00000003 : 0xffffb208`00000000</span><span>0a</span><span> ffffda8c`deece620 ffff6d08`8505b4d5     : fffff800`7fff6027 00000002`00000001 00000003`00000003 00000000`00000000 : 0xffffb208`00000000</span><span>0b</span><span> ffffda8c`deece628 fffff800`7fff6027     : 00000002`00000001 00000003`00000003 00000000`00000000 00000000`00000000 : 0xffff6d08`8505b4d5</span><span>0c</span><span> ffffda8c`deece630 00000002`00000001     : 00000003`00000003 00000000`00000000 00000000`00000000 0000000a`00000000 : igdkmdn64+0x3e6027</span><span>0d</span><span> ffffda8c`deece638 00000003`00000003     : 00000000`00000000 00000000`00000000 0000000a`00000000 00000000`00000000 : 0x00000002`00000001</span><span>0e</span><span> ffffda8c`deece640 00000000`00000000     : 00000000`00000000 0000000a`00000000 00000000`00000000 00000000`00000000 : 0x00000003`00000003</span></font>

System information :

  • Laptop: Lenovo Yoga Slim 6 14IAP8
  • OS: Windows 11 25H2
  • GPU: Intel Iris Xe Graphics
  • Intel Graphics Driver: 32.0.101.6874

Thanks

Lenovo provides graphics drivers that are specifically customized and validated for your laptop, tried Driver uninstaller as well (remove the current graphics driver). Update your Windows and your bios. install the latest graphics driver first available from the Lenovo support website for your exact laptop model..

For: Bug Check 0x3B: SYSTEM_SERVICE_EXCEPTION

there is a similar issue here: https://community.intel.com/t5/Graphics/igdkmdn64-sys-error-on-my-notebook/td-p/1641661