AnsweredAssumed Answered

STOP 119 blue screen amdkmdap.sys with Radeon Vega Mobile

Question asked by mrsp on Dec 14, 2018
Latest reply on Dec 14, 2018 by kingfish

Hi

 

I have a laptop with an AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx processor\graphics chipset. It regularly blue screens when watching videos with a STOP 119 blue screen (

INTERNAL_SCHEDULER_ERROR). The memory dump analysis shows the issue is caused by amdkmdap.sys. Who can help?

 

Thanks

Mike

 

 

1: kd> !di

Dump Name: MEMORY.DMP

Computer Name: My-LAPTOP

Windows 10 Kernel Version 17134 MP (8 procs) Free x64

Product: WinNt, suite: TerminalServer SingleUserTS Personal

Built by: 17134.1.amd64fre.rs4_release.180410-1804

Kernel base = 0xfffff800`52a04000 PsLoadedModuleList = 0xfffff800`52db2290

Debug session time: Sun Nov  4 20:12:31.965 2018 (UTC + 5:30)

System Uptime: 4 days 16:53:51.957

Processor: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx

Bugcheck: 119 (A, 59EA9, 59EAA, FFFF8803077A4000)

Kernel Summary Dump File: Kernel address space is available, User address space may not be available.

 

1: kd> kn

# Child-SP RetAddr           Call Site

00 ffff8680`9f7b1698 fffff803`b9f4331e nt!KeBugCheckEx [minkernel\ntos\ke\amd64\procstat.asm @ 140]

01 (Inline Function) --------`-------- watchdog!WdLogEvent5+0xbc

02 ffff8680`9f7b16a0 fffff803`bbdbc4b1 watchdog!WdLogEvent5_WdCriticalError+0xce [onecoreuap\windows\core\watchdog\core\logevent.cpp @ 423]

03 ffff8680`9f7b16e0 fffff803`bbe4c91a dxgmms2!VidSchiResetEngine+0x5e9 [onecoreuap\windows\core\dxkernel\dxgkrnl\dxgmms2\vidsch\vidschi.cxx @ 15708]

04 ffff8680`9f7b19d0 fffff803`bbe29efc dxgmms2!VidSchiResetEngines+0xaa [onecoreuap\windows\core\dxkernel\dxgkrnl\dxgmms2\vidsch\vidschi.cxx @ 15928]

05 ffff8680`9f7b1a20 fffff803`bbd9a412 dxgmms2!VidSchiCheckHwProgress+0x2351c [onecoreuap\windows\core\dxkernel\dxgkrnl\dxgmms2\vidsch\vidschi.cxx @ 4565]

06 ffff8680`9f7b1a90 fffff803`bbe10da0 dxgmms2!VidSchiScheduleCommandToRun+0x52 [onecoreuap\windows\core\dxkernel\dxgkrnl\dxgmms2\vidsch\vidschi.cxx @ 14611]

07 ffff8680`9f7b1b80 fffff803`bbe10d5e dxgmms2!VidSchiRun_PriorityTable+0x30 [onecoreuap\windows\core\dxkernel\dxgkrnl\dxgmms2\vidsch\vidschi.cxx @ 973]

08 ffff8680`9f7b1bd0 fffff800`52a774f7 dxgmms2!VidSchiWorkerThread+0x8e [onecoreuap\windows\core\dxkernel\dxgkrnl\dxgmms2\vidsch\vidschi.cxx @ 547]

09 ffff8680`9f7b1c10 fffff800`52bb4906 nt!PspSystemThreadStartup+0x47 [minkernel\ntos\ps\psexec.c @ 7951]

0a ffff8680`9f7b1c60 00000000`00000000 nt!KiStartSystemThread+0x16 [minkernel\ntos\ke\amd64\threadbg.asm @ 81]

1: kd> .frame 0n3;dv /t /v

03 ffff8680`9f7b16e0 fffff803`bbe4c91a dxgmms2!VidSchiResetEngine+0x5e9 [onecoreuap\windows\core\dxkernel\dxgkrnl\dxgmms2\vidsch\vidschi.cxx @ 15708]

@rdi struct _VIDSCH_NODE * pVidSchNode = 0xffff8803`0874b000

<unavailable> unsigned int64 NodesToResetMask = <value unavailable>

ffff8680`9f7b1710 bool resetAdapter = false

@r14 struct _VIDSCH_GLOBAL * pVidSchGlobal = 0xffff8803`077a2000

ffff8680`9f7b1728 struct _VIDSCH_DEVICE * pVidSchErrorDevice = 0x00000000`00000000

<unavailable> bool resetSucceeded = <value unavailable>

ffff8680`9f7b1798 struct _KLOCK_QUEUE_HANDLE LockHandle = struct _KLOCK_QUEUE_HANDLE

@rsi struct _TDR_RECOVERY_CONTEXT * pTdrContext = 0xffff8803`703fc010

@ebx long Status = 0n0

ffff8680`9f7b1711 unsigned char bReturnValue = 0x01 ''

ffff8680`9f7b1730 struct _VIDSCH_CALL_SET_NODERESETTINGSTATE NodeResettingState = struct _VIDSCH_CALL_SET_NODERESETTINGSTATE

<unavailable> struct _WD_LOGENTRY * pEntry = <value unavailable>

<unavailable> struct _WD_LOGENTRY * pEntry = <value unavailable>

<unavailable> struct _WD_LOGENTRY * pEntry = <value unavailable>

ffff8680`9f7b17b0 struct _DXGKARG_RESETENGINE ResetEngine = struct _DXGKARG_RESETENGINE

ffff8680`9f7b17c0 struct _EVENT_DATA_DESCRIPTOR [11] _TlgData = struct _EVENT_DATA_DESCRIPTOR [11]

ffff8680`9f7b1870 struct _EVENT_DATA_DESCRIPTOR [9] _TlgData = struct _EVENT_DATA_DESCRIPTOR [9]

<unavailable> struct _WD_LOGENTRY * pEntry = <value unavailable>

<unavailable> struct _VIDSCH_CONTEXT * pVidSchContext = <value unavailable>

<unavailable> struct _VIDSCH_PROCESS * pVidSchProcess = <value unavailable>

<unavailable> unsigned int AdapterBitMaskIndex = <value unavailable>

<unavailable> unsigned int AdapterBitMask = <value unavailable>

ffff8680`9f7b1900 struct _EVENT_DATA_DESCRIPTOR [9] _TlgData = struct _EVENT_DATA_DESCRIPTOR [9]

fffff803`bbdcad27 struct VidSchiResetEngine::__l38::<unnamed-type-_TlgEvent> _TlgEvent = struct VidSchiResetEngine::__l38::<unnamed-type-_TlgEvent>

fffff803`bbdcae51 struct VidSchiResetEngine::__l46::<unnamed-type-_TlgEvent> _TlgEvent = struct VidSchiResetEngine::__l46::<unnamed-type-_TlgEvent>

fffff803`bbdcacb0 struct VidSchiResetEngine::__l90::<unnamed-type-_TlgEvent> _TlgEvent = struct VidSchiResetEngine::__l90::<unnamed-type-_TlgEvent>

1: kd> dx -r1 (*((dxgmms2!_VIDSCH_CALL_SET_NODERESETTINGSTATE *)0xffff86809f7b1730))

(*((dxgmms2!_VIDSCH_CALL_SET_NODERESETTINGSTATE *)0xffff86809f7b1730)) [Type: _VIDSCH_CALL_SET_NODERESETTINGSTATE]

[+0x000] pVidSchNode      : 0xffff88030874b000 [Type: _VIDSCH_NODE *]

[+0x008] EventTick        : 0xb87b76ade3 [Type: unsigned __int64]

[+0x010] LastHwCompletedFenceId : 0x59eaa [Type: unsigned __int64]

[+0x018] LastSubmitFailedFenceId : 0x59eaa [Type: unsigned __int64]

[+0x020] LastHwSubmittedFenceId : 0x59eab [Type: unsigned __int64]

[+0x028] LastAbortedFenceId : 0x0 [Type: unsigned __int64]

[+0x030] HwCompletedIndex : 0x5 [Type: unsigned long]

[+0x034] HwSubmitIndex    : 0x7 [Type: unsigned long]

1: kd> dx -r1 (*((dxgmms2!_DXGKARG_RESETENGINE *)0xffff86809f7b17b0))

(*((dxgmms2!_DXGKARG_RESETENGINE *)0xffff86809f7b17b0)) [Type: _DXGKARG_RESETENGINE]

[+0x000] NodeOrdinal      : 0x7 [Type: unsigned int]

[+0x004] EngineOrdinal    : 0x0 [Type: unsigned int]

[+0x008] LastAbortedFenceId : 0x59ea9 [Type: unsigned int]

 

 

 

1: kd> dt dxgmms2!_VIDSCH_GLOBAL 0xffff8803077a2000 pDxgAdapter->m_pdeviceobject->driverobject->*

+0x010 pDxgAdapter :

      +0x0c0 m_pDeviceObject :

         +0x008 DriverObject :

            +0x000 Type : 0n4

+0x002 Size : 0n336

+0x008 DeviceObject : 0xffff8803`07725930 _DEVICE_OBJECT

+0x010 Flags : 0x412

+0x018 DriverStart : 0xfffff803`ba7d0000 Void

+0x020 DriverSize : 0x86000

+0x028 DriverSection : 0xffff8803`06b7cc30 Void

+0x030 DriverExtension : 0xffff8803`06b861b0 _DRIVER_EXTENSION

+0x038 DriverName : _UNICODE_STRING "\Driver\amdkmdap"

+0x048 HardwareDatabase : 0xfffff800`53267778 _UNICODE_STRING "\REGISTRY\MACHINE\HARDWARE\DESCRIPTION\SYSTEM"

+0x050 FastIoDispatch : (null)

            +0x058 DriverInit : 0xfffff803`ba851a2c long  +0

+0x060 DriverStartIo : (null)

            +0x068 DriverUnload : 0xfffff803`b9e88430 void  dxgkrnl!DpiDriverUnload+0

+0x070 MajorFunction : [28] 0xfffff803`b9d30510 long  dxgkrnl!DpiDispatchCreate+0

 

 

 

Outcomes