-
Notifications
You must be signed in to change notification settings - Fork 815
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting BSOD saying dxgkrnl.sys failed after upgrade to wsl 2.0.9.0 #10750
Comments
Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! Open similar issues:
Closed similar issues:
You can give me feedback by thumbs upping or thumbs downing this comment. |
Windows BSOD minidump debug output from windbg |
+1 |
1 similar comment
+1 |
+1 Anyone know of a workaround? |
+3 (3 machines in my group all facing this issue, probably more to come. NOTE: I don't find any evidence of Windows updates in the log, so maybe this is something that changed on a server somewhere? |
Temporary workaround - disable all Virtualization settings in PC BIOS. |
Actually, that doesn't work around the problem. WSL is what I need! Also, my machine seems to be fine other than starting up WSL. Another observation, WSL1 seems to work, only WSL2 fails to start. |
@ballen-bw On what hardware/setup are you running your Windows? I have this issue on Dell laptop. |
For us we have two Lenovo and two Dell laptops. I did all driver and Win updates yesterday on my Lenovo and no difference. We all have Win 10. We haven't tried Win 11 yet. We suspect the common hardware is NVIDIA video cards, but not sure about that. Regarding @ballen-bw's log. It looks like a null pointer dereference. The mov instruction tries to read from rcx+0x164, and rcx is zero. 0x164 =356d, maybe someone can dig around the code to see what that might be. Maybe the source is online and wsl-specific (i.e. not related to the hardware)? Here are some links I found regarding dxgkrnl.sys: https://www.theregister.com/2020/05/20/microsoft_directx_wsl_linux/ If the issue is found, maybe it could be worked around with some hooks?: |
I'm running a Dell Latitude 7420. I think the problem was likely caused by one of the below "2023-11 Cumulative" Microsoft updates because my problems started on 11/14, the same day they were released. A couple of coworkers had the same problem just this week because my company pushes the updates out in phases so they weren't affected at the same time as me. I never found a work around - I ended up completely uninstalling WSL and using a VMWare workstation for now. |
We've had three people confirm that this is not a problem in Win 11. |
We also have this problem. We all have Lenovo but only the ones that have dedicated Nvidia GPUs of series 1*** are affected |
I have also started encountering this problem on a Dell Precision laptop running Windows 10. I have tried updating to the latest release
|
I was able to stop the BSOD by adding gpuSupport=false to my $HOME/.wslconfig file, however, I am now getting a RPC failure mounting C:\Program Files\WSL\system.vhd. When this happens an event is logged to the application log stating vmcompute.exe has crashed calling kernelbase.dll. I am able to mount system.vhd to a Linux VM in Hyper-V with no issues. |
I can confirm that adding
|
We made some progress on this and identified a third party DLL that is causing the issue. The DLL is related to escalation management for non admin users - if you are using something like that this might be beneficial.
It was pretty clear which DLL was faulting in the analysis, we uninstalled that software and WSL worked as expected. |
After following the instructions from @cotste we found the problem being after renaming this dll to something else as a test, we didn't have any blue screen. We are still investigating if this software has a patch that fixes the problem. |
Renaming PGHook.dll fixed it for me too. Thanks! |
@MrLesk Did Avecto release any patch that fixes this problem? |
Hi @soobinrho After updating to v 24.1.98.0 we didn't experience the problem again and no workaround was needed |
Thank you! I really appreciate it. |
Looks like this same issue:
|
We've also experienced this, and again found it was an issue with BeyondTrust. We tried updating to 24.1.108.0 but the issue still occurred. Removing BeyondTrust from the system fixed it for us. |
@rob-nice Could you please elaborate this? This could be my last action before removing WSL at all and switching to Ubuntu on the laptop as well. |
There are 2 installed programs that make up BeyondTrust I uninstalled both via windows "add or remove programs", rebooted the system when prompted and WSL worked without a BSOD again. |
Thank you @rob-nice but I don't jave any of those installed on my machine. |
This is exactly what happened with my office PC. I uninstalled them both and reinstalled the WSL. It works now. |
Possibly same issue here. The problem is not consistently reproducible but I do get a dxgkrnl BSOD occasionally when restarting vmcompute to get around #5401 . Windows 10.0.19045 / WSL 2.2.3
windbg says
|
Windows Version
Microsoft Windows [Version 10.0.19045.3570]
WSL Version
2.0.9.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.133.1-1
Distro Version
Ubuntu 20.04 (possibly 22.04 - not sure since I wasn't able to access it anymore after the BSOD
Other Software
None
Repro Steps
After a fresh reboot, as soon as I try to start wsl, I get a BSOD that says "Stop code: SYSTEM_SERVICE_EXCEPTION, What failed: dxgkrnl.sys"
Expected Behavior
Expecting to see my Ubuntu wsl window open up
Actual Behavior
As soon as I try to start wsl, I get a BSOD that says "Stop code: SYSTEM_SERVICE_EXCEPTION, What failed: dxgkrnl.sys"
Diagnostic Logs
See minidump debug output below
The text was updated successfully, but these errors were encountered: