Thread 'CPU does not have hardware virtualization support'

Message boards : Questions and problems : CPU does not have hardware virtualization support
Message board moderation

To post messages, you must log in.

AuthorMessage
Ryan Munro

Send message
Joined: 22 Jun 09
Posts: 29
United Kingdom
Message 114776 - Posted: 3 Nov 2024, 18:47:23 UTC

Hi,

Recently upgraded my PC and reinstalled Boinc and added the projects, however under host details its saying "CPU does not have hardware virtualization support"
Example https://lhcathome.cern.ch/lhcathome/show_host_detail.php?hostid=10664526

SVM is enabled in the bios, Task manager confirms its enabled, Hyper V is also disabled as is memory integrity, so unsure why its reporting this and blocking VM jobs?
ID: 114776 · Report as offensive     Reply Quote
ProfileDave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2709
United Kingdom
Message 114777 - Posted: 3 Nov 2024, 21:02:05 UTC - in response to Message 114776.  

There is another thing in the bios needs to be set. I can't remember what it is without looking and am on phone at present.
ID: 114777 · Report as offensive     Reply Quote
Ryan Munro

Send message
Joined: 22 Jun 09
Posts: 29
United Kingdom
Message 114778 - Posted: 3 Nov 2024, 21:14:14 UTC - in response to Message 114777.  

Only others I can think of are IOMMU and SR IOV but neither should affect Boinc as they are for passing through PCI-E devices?
ID: 114778 · Report as offensive     Reply Quote
ProfileDave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2709
United Kingdom
Message 114779 - Posted: 3 Nov 2024, 21:40:26 UTC - in response to Message 114778.  
Last modified: 3 Nov 2024, 21:48:33 UTC

I do remember that some other projects requiring VB worked without it but not LHC. I had to check two things in bios on my Ryzen 7. The MB for my Ryzen9 clearly had the correct setup out of the box as it worked first time. Possibly amd-v? I am struggling to remember not having the machine that required it any more to check in the bios.
Edit: I also had to edit a config file using sudo changing a policy from strict. I can probably track that down in the morning.
ID: 114779 · Report as offensive     Reply Quote
ProfileDave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2709
United Kingdom
Message 114780 - Posted: 4 Nov 2024, 7:53:50 UTC - in response to Message 114779.  

Sorry, can't find it. I think I posted somewhere on these boards about it but my searching skills are clearly not good enough. Sadly I seem to have deleted the direct message on another forum that had not the exact answer but something close enough to let me find it.
ID: 114780 · Report as offensive     Reply Quote
Ryan Munro

Send message
Joined: 22 Jun 09
Posts: 29
United Kingdom
Message 114805 - Posted: 6 Nov 2024, 9:06:19 UTC - in response to Message 114780.  

Yea I am struggling as well, everything indicates that VT is enabled
ID: 114805 · Report as offensive     Reply Quote
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15569
Netherlands
Message 114816 - Posted: 6 Nov 2024, 20:11:15 UTC - in response to Message 114805.  

Is resizable bar turned on or off? On some motherboards, you can only run either rebar or virtualization, not both at the same time.
Have you checked for a BIOS/UEFI update for the motherboard?

What brand and model motherboard do you have?
ID: 114816 · Report as offensive     Reply Quote
Ryan Munro

Send message
Joined: 22 Jun 09
Posts: 29
United Kingdom
Message 114834 - Posted: 11 Nov 2024, 10:28:27 UTC

The board is the X870E AORUS ELITE WIFI7, Virtualisation is enabled in the bios, I have also enabled IOMMU which has made no difference.
ID: 114834 · Report as offensive     Reply Quote
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15569
Netherlands
Message 114835 - Posted: 11 Nov 2024, 11:09:09 UTC - in response to Message 114834.  

This is a very new motherboard. Did you already try updating the BIOS?
What you can also try is resetting the BIOS to factory defaults, reboot, go back into the BIOS immediately again and set it back up.

If that doesn't fix any detection problems, and the newest BIOS update didn't either, then you have to report the behaviour to Gigabyte.
ID: 114835 · Report as offensive     Reply Quote
computezrmle

Send message
Joined: 2 Feb 22
Posts: 84
Germany
Message 114836 - Posted: 11 Nov 2024, 13:48:55 UTC

The issue is neither caused by BOINC nor by any of it's projects.
It is caused either by a BIOS setting being disabled or by a conflict between Hyper-V and VirtualBox.

The BIOS setting you need to enable is called VT-x on Intel based systems or AMD-V/SVM on AMD based systems.
Without that none of the steps below will solve the issue.

In addition you must ensure that Hyper-V does not conflict with your VirtualBox version.
Best would be to completely disable all Hyper-V/Sandbox/WSL features in Windows and run:
bcdedit /set hypervisorlaunchtype off

In addition you must disable:
Windows Security -> Device Security -> Core isolation -> Memory Integrity

and you may need to disable certain other Windows features as explained here:
https://learn.microsoft.com/en-us/troubleshoot/windows-client/application-management/virtualization-apps-not-work-with-hyper-v

Then reboot, contact a BOINC project (e.g. LHC@home) and check your computer details page there.

A wrong/incomplete configuration is reported like this and you will not get any vbox64 task:
Virtualbox (a.b.c) installed, CPU does not have hardware virtualization support

This must change to:
Virtualbox (a.b.c) installed, CPU has hardware virtualization support and it is enabled

Be aware that BIOS updates usually disable the settings mentioned above and Windows updates may reenable Hyper-V or related settings.
ID: 114836 · Report as offensive     Reply Quote
Ryan Munro

Send message
Joined: 22 Jun 09
Posts: 29
United Kingdom
Message 114842 - Posted: 13 Nov 2024, 10:01:22 UTC - in response to Message 114836.  
Last modified: 13 Nov 2024, 10:06:52 UTC

Hi,

Yes as above Virtualisation is enabled in the bios (latest version) Core isolation is off as is Hyper V / Sandbox and WSL.

Ill try bcdedit /set hypervisorlaunchtype off, reboot and see if that fixes it.

Edit, still no joy
ID: 114842 · Report as offensive     Reply Quote
computezrmle

Send message
Joined: 2 Feb 22
Posts: 84
Germany
Message 114845 - Posted: 13 Nov 2024, 13:39:38 UTC - in response to Message 114842.  

Open a Powershell window, run the following command and post it's output:
Get-ComputerInfo -property "HyperV*"
ID: 114845 · Report as offensive     Reply Quote
Ryan Munro

Send message
Joined: 22 Jun 09
Posts: 29
United Kingdom
Message 114851 - Posted: 14 Nov 2024, 9:19:47 UTC - in response to Message 114845.  

HyperVisorPresent : True
HyperVRequirementDataExecutionPreventionAvailable :
HyperVRequirementSecondLevelAddressTranslation :
HyperVRequirementVirtualizationFirmwareEnabled :
HyperVRequirementVMMonitorModeExtensions :
ID: 114851 · Report as offensive     Reply Quote
computezrmle

Send message
Joined: 2 Feb 22
Posts: 84
Germany
Message 114852 - Posted: 14 Nov 2024, 12:40:14 UTC - in response to Message 114851.  

This is what I got from an LHC@home volunteer who successfully runs VirtualBox VMs on Windows:
HyperVisorPresent : False
HyperVRequirementDataExecutionPreventionAvailable : True
HyperVRequirementSecondLevelAddressTranslation : True
HyperVRequirementVirtualizationFirmwareEnabled : True
HyperVRequirementVMMonitorModeExtensions : True



Your output suggests that you may still have left Hyper-V components active and/or SVM is not enabled in the BIOS:
HyperVisorPresent : True
HyperVRequirementVirtualizationFirmwareEnabled :




Your board (X870E AORUS ELITE WIFI7) and your CPU (AMD Ryzen 9 9950X) are known to support SVM.
The relevant BIOS entry that must be enabled is usually located here:
Advanced Frequency Settings -> Advanced CPU Settings -> SVM Mode

Don't mix this with other settings that look similar, e.g. SMT Mode.
ID: 114852 · Report as offensive     Reply Quote
ProfileHirun

Send message
Joined: 15 Nov 24
Posts: 3
Message 114864 - Posted: 16 Nov 2024, 9:31:44 UTC - in response to Message 114836.  

This worked for me. Thank you!
ID: 114864 · Report as offensive     Reply Quote
Toby Broom

Send message
Joined: 14 Apr 12
Posts: 51
Switzerland
Message 114925 - Posted: 28 Nov 2024, 9:19:52 UTC

in a clean install of 24h2 it seemed like the Memory Integrity switch didn't work so setting the regkey manually did the job.
ID: 114925 · Report as offensive     Reply Quote

Message boards : Questions and problems : CPU does not have hardware virtualization support

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.