intel / haxm

Intel® Hardware Accelerated Execution Manager (Intel® HAXM)
BSD 3-Clause "New" or "Revised" License
3.18k stars 853 forks source link

Windows 10 HAMX required fail #482

Open krotofil opened 1 year ago

krotofil commented 1 year ago

hello guys, i just will installing haxm 7.7.1 on my Workstation, but i getting an error:

System Requirements: Intel(R) Core(TM) i7-7800X CPU @ 3.50GHz 3.50 GHz 64-Bit, x64-CPU SystemBuild Windows Enterprise 10 19042.2251

Check Bios Settings: Virtualization Technology VTx - checked Virtualization Technology for Directed I/O VTd - checked

Issue:

Version: 7.7.1 Output folder: C:\Program Files\Intel\HAXM Extract: checktool.exe... 100% Execute: C:\Program Files\Intel\HAXM\checktool.exe --verbose CPU vendor GenuineIntel Intel64 supported Yes VMX supported - No VMX enabled - No EPT supported - No NX supported Yes NX enabled Yes Hyper-V disabled - No OS version Windows 10.0.19042 OS architecture x86_64 Guest unoccupied * Yes. 0 guest(s

manually deactivating Hyper-V

Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Hypervisor Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V

and unchecked settings by Programm features

wayne-ma commented 1 year ago

Please disable Hyper-V then try again. Or try the new version of HAXM v7.8.0.

soroshsabz commented 1 year ago

I install the latest HAXM v7.8.0, and my CPU is 12900KS, but when I run

C:\Users\sooro>"C:\Program Files\Intel\HAXM\checktool.exe"
CPU vendor          *  GenuineIntel
Intel64 supported   *  Yes
VMX supported       -  No
VMX enabled         -  No
EPT supported       -  No
NX supported        *  Yes
NX enabled          *  Yes
Hyper-V disabled    -  No
OS version          *  Windows 10.0.22621
OS architecture     *  x86_64
Guest unoccupied    *  Yes. 0 guest(s)

see VMX supported No, and Hyper-V disabled No, but I disable HyperV and off launchtype with bcedit

wcwang commented 1 year ago

Thanks for your feedback. You may follow the wiki page to configure your Windows host and then install HAXM v7.7.1.

soroshsabz commented 1 year ago

@wcwang exactly, I try to configure my system based on your wiki page, but my problem does not resolved. I think new Windows Kernel does not work correctly with HAXM, as you can see in Hardware acceleration for emulator performance (Hyper-V & HAXM)

On Windows 10 October 2018 Update (RS5) and higher, you only need to enable Hyper-V, as it will use Windows Hypervisor Platform (WHPX) automatically.

soroshsabz commented 1 year ago

The other note is, why VMX and EPT says NO ?

wcwang commented 1 year ago

Thanks for your reply. If Hyper-V is on, the CPUID instruction cannot read real value of VMX and EPT. Have you ever checked the Sandbox status described in wiki page?