Enable AVX2 on Windows guest

Discussions related to using VirtualBox on Linux hosts.
Post Reply
edufissure
Posts: 82
Joined: 8. Sep 2018, 19:27

Enable AVX2 on Windows guest

Post by edufissure »

Hi, im on VBox 7.0.18 and my processor is i5-8400 in theory compatible with AVX2 set of instructions:
https://www.intel.la/content/www/xl/es/ ... tions.html

Im trying to use Rekordbox 7.0.1 in my Guest Windows 10 VM ( the host is Ubuntu 22.04.4 LTS). From support of Rekordbox they told me that seems that AVX2 is not supported by my processor.

So which settings should i make to assure that AVX2 is enabled and running in my guest machine ?

Thanks
multiOS
Volunteer
Posts: 941
Joined: 14. Sep 2019, 16:51
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: WIN11,10, 7, Linux (various)
Location: United Kingdom

Re: Enable AVX2 on Windows guest

Post by multiOS »

Check whether the AVX/AVX2 instruction set is enabled in in the Windows OS BIOS/UEFI. If not then enable the feature(s) required.

Example Guide: https://www.supportyourtech.com/article ... tep-guide/
edufissure
Posts: 82
Joined: 8. Sep 2018, 19:27

Re: Enable AVX2 on Windows guest

Post by edufissure »

Two things, you send me a link for Windows 11 but i use W10.. its the same ?

But i cant access the uefi/bios settings in a guest machine as far as i know ? Should i change them in the host Ubuntu machine ?

Thanks
FranceBB
Posts: 121
Joined: 20. May 2017, 05:07
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Windows XP x86
Contact:

Re: Enable AVX2 on Windows guest

Post by FranceBB »

If you go to the virtual machine and from the Virtualbox manager choose "Machine" -> "Tools" -> "Logs" you're gonna be able to access the logs.
Please zip them and attach them here.

In the meantime, you may wanna check the logs yourself.
Control + F and in the search bar put: "AVX2"

If everything is configured correctly and your CPU supports them, you should see the following entry:

AVX2 - Advanced Vector Extensions 2 = 1 (1)

the important bit here is the 1 which indicates that they've been detected and recognized.
If it says 0 then it means that they're not there.
For instance, on my i7 6700 I have MMX, SSE, SSE2, SSSE3, SSE4.1, SSE4.2, AVX and AVX2 all correctly recognized:

MMX - Intel MMX Technology = 1 (1)
SSE - SSE support = 1 (1)
SSE2 - SSE2 support = 1 (1)
SSSE3 - Supplemental Streaming SIMD Extensions 3 = 1 (1)
SSE4_1 - SSE4_1 support = 1 (1)
SSE4_2 - SSE4_2 support = 1 (1)
AVX - AVX support = 1 (1)
AVX2 - Advanced Vector Extensions 2 = 1 (1)

but I lack AVX512 support as my CPU is too old for that:

AVX512F - AVX512 Foundation instructions = 0 (0)


Let us know whether those have been correctly recognized on your CPU by Virtualbox.
edufissure
Posts: 82
Joined: 8. Sep 2018, 19:27

Re: Enable AVX2 on Windows guest

Post by edufissure »

As far as i followed the instructions my AVX2 is enabled.

I attach a zip file with 4 logs ....Vbox.log, Vbox.log.1, Vbox.log.2, Vbox.log.3
( i didnt know which one to choose)

Im in contact also with AlphaTheta ( Pioneer dj software) customer service as they say that Rekorbox crashed because the lack of AVX2.
They asked me to send them a nfo file( https://www.epicgames.com/help/en-US/c- ... a000084828)

Hope could be solved soon by VBox or AlphaTheta or both ;)

Thanks for help
Attachments
Windows10-2024-05-.zip
(170.33 KiB) Downloaded 1 time
multiOS
Volunteer
Posts: 941
Joined: 14. Sep 2019, 16:51
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: WIN11,10, 7, Linux (various)
Location: United Kingdom

Re: Enable AVX2 on Windows guest

Post by multiOS »

The first log shows:
00:00:01.147446 AVX2 - Advanced Vector Extensions 2 = 1 (1)
which indicates it is enabled.

FYI the file VBox.log is always from the last run; the .1, .2. .3 files are from the previous 3 runs.
Post Reply