[SOLVED] BSOD PC crashing lately - ntoskrnl.exe and dxgkrnl.sys

AdamHFF

Distinguished
Aug 5, 2016
78
4
18,535
Hello. So I have had my pc for 4 years and it has barely ever crashed in that time. It's a custom built. I put in a better SSD a few months ago then 2 days ago I took out the old SSD drive. I have crashed twice since then. Both times I happened to be playing a game. Also, I happen to have whocrashed installed and it gave me errors for these: ntoskrnl.exe and dxgkrnl.sys. -

Full reports:

This was probably caused by the following module: ntoskrnl.exe (nt+0x3F7620)
Bugcheck code: 0x162 (0xFFFFCC82B1EA3080, 0xFFFFA5060E54D0A0, 0xFFFFFFFF, 0x0)
Error: KERNEL_AUTO_BOOST_INVALID_LOCK_RELEASE
file path: C:\WINDOWS\system32\ntoskrnl.exe

and

crash dump file: C:\WINDOWS\MEMORY.DMP
This was probably caused by the following module: dxgkrnl.sys (dxgkrnl!NtGdiDdDDISubmitCommand+0x151B)
Bugcheck code: 0x162 (0xFFFFCC82B1EA3080, 0xFFFFA5060E54D0A0, 0xFFFFFFFF, 0x0)
Error: KERNEL_AUTO_BOOST_INVALID_LOCK_RELEASE
file path: C:\WINDOWS\system32\drivers\dxgkrnl.sys


Any sage advice? Google basically said to test the RAM. - I am a bit confused about the advice I got by googling these errors.

Thanks!
 
Solution
dxgkrnl!DxgkSubmitCommandInternal+0x147b
appears to be GPU drivers again
Mar 22 2022amdkmdag.sysAMD Graphics driver
run ddu again but instead of getting drivers directly from AMD
  1. try website of card maker, they might have older drivers, or
  2. run windows update and let windows find older AMD drivers for GPU
possibly. It appears to be same error twice.If that is from Who crashed, it tends to repeat the 1st crash and show it twice.
normally BSOD will have a process that crashed: ntoskrnl and if you lucky, the driver that caused it: directX is close enough hint to probable cause.

if you keep crashing
  1. Open Windows File Explore
  2. Navigate to C:\Windows\Minidump
  3. Copy the mini-dump files out onto your Desktop
  4. Do not use Winzip, use the built in facility in Windows
  5. Select those files on your Desktop, right click them and choose 'Send to' - Compressed (zipped) folder
  6. Upload the zip file to the Cloud (OneDrive, DropBox . . . etc.)
  7. Then post a link here to the zip file, so we can take a look for you . . .
 
Ok I did it. I guess time will tell. Thanks again! - There was one error when I installed the AMD radeon software. At the GUI it said it could not be completed because of an OS issue. Everything seems to be running fine though. Should I reinstall it in normal windows?
 
Hi, I ran the dump file through the debugger and got the following information: https://jsfiddle.net/7jyt025L/show This link is for anyone wanting to help. You do not have to view it. It is safe to "run the fiddle" as the page asks.
File information:033122-7156-01.dmp (Mar 31 2022 - 20:15:49)
Bugcheck:KERNEL_AUTO_BOOST_INVALID_LOCK_RELEASE (162)
Probably caused by:memory_corruption (Process running at time of crash: pso2.exe)
Uptime:0 Day(s), 0 Hour(s), 23 Min(s), and 31 Sec(s)
Possible Motherboard page: https://www.msi.com/Motherboard/z370-a-pro
Support page: https://www.msi.com/Motherboard/Z370-A-PRO/support
It looks like you have the latest stable BIOS version already installed.

This information can be used by others to help you. Someone else will post with more information. Please wait for additional answers. Good luck.
 
dxgkrnl!DxgkSubmitCommandInternal+0x147b
appears to be GPU drivers again
Mar 22 2022amdkmdag.sysAMD Graphics driver
run ddu again but instead of getting drivers directly from AMD
  1. try website of card maker, they might have older drivers, or
  2. run windows update and let windows find older AMD drivers for GPU
 
Solution
AMD bought ATI in 2006 so number 1 is going to be AMD drivers.
https://en.wikipedia.org/wiki/ATI_Technologies

after 16 years you would think they would stop using same names.

for second you run windows update. it will find drivers for the card.

run ddu again but instead of getting drivers directly from AMD
Aren't I still technically getting them directly from AMD? Maybe I did something wrong the first time

Ok So I downloaded an old driver from AMD, here: https://www.amd.com/en/support/prev...500-series/radeon-rx-500-series/radeon-rx-580 I'm going with one from january. - Won't they just get automatically updated eventually though? Is that the correct place to get them? Should I try this method first or the windows update option?

Thank you.
 
Aren't I still technically getting them directly from AMD? Maybe I did something wrong the first time
Yes. The drivers from AMD are the newest ones, the ones you get from other sources may be older versions that might work better than the newest ones. We are seeing if it works better with other driver versions, putting newest back on when they might have caused errors in the first place, doesn't get us anywhere

I am not sure if the AMD driver program auto updates. I suspect it might offer new drivers but it shouldn't auto install them. That is what Nvidia does.
 
Ok so I redid the DDU thing with a driver from January about 3 versions back. Everything was fine all day. I played for 5-6 hours straight and then I shut the game down and almost as soon as I logged back on it BSODed. - So I uninstalled the driver with that program, rebooted back into safe mode and installed the older driver and then reboot into normal windows. Right? I will try the windows update method next.
 
So I uninstalled the driver with that program, rebooted back into safe mode and installed the older driver and then reboot into normal windows. Right? I

You uninstall the drivers in safe mode using that program and then boot into normal mode to then install the driver.
drivers probably won't install right in safe mode. I have never tried myself. but they don't run there so i doubt that it works
Windows does not allow drivers to be updated in Safe Mode as a security precaution,because drivers must be signed and verified before installation
link
 
Last edited:
Ok I will retry it but it did install and ran ok for a long time. I actually followed the directions to a T. I thought they said that, I must have misinterpreted. - Also should I try to stress test the GPU to produce this error or have it occur naturally?
 
Last edited:
the only real tests I have for GPU are benchmarks, just run to see if it crashes

https://benchmark.unigine.com/heaven

I find BSOD will happen if they want to.

I read instructions for DDU and it says you meant to reboot after uninstalling drivers. It doesn't specify a mode, so that is a weakness in guide, but normally if you reboot out of safe mode it loads you into normal.

So I am trying the windows update method now.