cancel
Showing results for 
Search instead for 
Did you mean: 

Processors

mvantuch
Journeyman III
Journeyman III

WSL 2 / Hyper-V + AMD Ryzen 7 PRO 4750U = BSOD

Hi,

I've just got myself a new laptop without an OS. I have bought a licence and installed Windows 10, updated to the latest version and installed the latest drivers from AMD.

Lenovo Thinkpad T14s
Processor AMD Ryzen 7 PRO 4750U with Radeon Graphics 1.70 GHz
Installed RAM 32.0 GB (31.2 GB usable)
I can provide additional information if needed.

The problem happens when I try to enable either the Virtual Machine Platform or the Hyper-V feature of Windows. Either one causes BSOD and I've tried looking into the Windows Event logs but didnt' really find anything what might be explaining the issue. Once this happens, I need to fall back to a previous restore point.

Any ideas? This blocks both the Docker Desktop and the WSL 2 from running on my machine.

0 Kudos
5 Replies
elstaci
Esteemed Contributor III

Re: WSL 2 / Hyper-V + AMD Ryzen 7 PRO 4750U = BSOD

In BIOS there are a couple of settings that must be enabled for Hyper-V to work correctly.

Microsoft explains how to properly enable Hyper-V in Windows and BIOS plus give troubleshooting tip on various errors: https://docs.microsoft.com/en-us/troubleshoot/windows-server/virtualization/bios-update-for-hyper-v

Make sure you have the latest Non-BETA BIOS installed for your laptop.

This site gives good instructions on what to enable in BIOS to enable Virtualization: https://bce.berkeley.edu/enabling-virtualization-in-your-pc-bios.html

Enabling Virtualization in your PC BIOS

While most recent PCs support hardware virtualization, not all computer vendors enable this feature as shipped from the factory. To turn this feature on, try these instructions based on Red Hat instructions:

  • Reboot your computer
  • Right when the computer is coming up from the black screen, press Delete, Esc, F1, F2, or F4. Each computer manufacturer uses a different key but it may show a brief message at boot telling you which one to press. If you miss it the first time, reboot and try again. It helps to tap the key about twice a second when the computer is coming up. If you are not able to enter the BIOS via this method, consult your computer’s manual.
  • In the BIOS settings, find the configuration items related to the CPU. These can be in under the headings Processor, Chipset, or Northbridge.
  • Enable virtualization; the setting may be called VT-x, AMD-V, SVM, or Vanderpool. Enable Intel VT-d or AMD IOMMU if the options are available.
  • Save your changes and reboot.
  • Delete any existing VMs (Machine > Remove ** and select ** Delete all files) and re-import the .ova file (following step 4 and subsequent steps of the installation instructions).

ZDNET explains how to check to see if your laptop supports Hyper-V:

If Windows 10 is running, you just open the System Information utility.

Type msinfo32 in the search box and then click System Information from the top of the results list.That opens the app shown here, with the System Summary page visible.

Scroll to the very end and look for the four items that begin with Hyper-V. If you see a Yes next to each one, you're ready to enable Hyper-V. If you see a No after the Virtualization Enabled In Firmware setting, you have to go into your BIOS (or UEFI firmware) settings and turn on support for virtualization. If you see a No next to any of the other items, you won't be able to run Hyper-V.

Finally, if in place of these four items you see a message that begins "A hypervisor has been detected..." that means you are already running virtualization software or you're working in a virtual machine.

0 Kudos
mvantuch
Journeyman III
Journeyman III

Re: WSL 2 / Hyper-V + AMD Ryzen 7 PRO 4750U = BSOD

Hi @elstaci,

Thanks for your answer, but it's not really helpful. I do know how to enable hyper-v, problem is that when I enable it, I get blue screen of death. I have tried upgrading to the latest development version and instead of blue screen of death, it is now restarting over and over again.

0 Kudos
elstaci
Esteemed Contributor III

Re: WSL 2 / Hyper-V + AMD Ryzen 7 PRO 4750U = BSOD

Sorry my information wasn't helpful.

Maybe someone else can offer more helpful advice.

Take care.

0 Kudos
RockTripod
Journeyman III
Journeyman III

Re: WSL 2 / Hyper-V + AMD Ryzen 7 PRO 4750U = BSOD

I have this same machine and this same issue.  If you are still experiencing the problem, the solution is as simple as it is infuriating.  In the BIOS, under Security->Virtualization, disable 'Enhanced Windows Biometric Security'.   Make sure AMD V(Tm) Technology is enabled, and that's it.  

I suspect that the Windows Biometrics use a Windows hypervisor.  Not that any of this is obvious, but once this was done, I was able to complete a Docker install, and was able to turn on those features without crashing the system.

0 Kudos
xeleron
Miniboss
Miniboss

Re: WSL 2 / Hyper-V + AMD Ryzen 7 PRO 4750U = BSOD

It does use a hypervisor. That damned feature also prevents VMware Vms to run .

0 Kudos