AVX and VirtualBox v6.1.18 r142142
Posted: 26. Feb 2021, 15:52
Hi. I need to use AVX instructions in my project on guest Ubuntu 18.04, but Ubuntu does't have them. I have Ryzen 1600 and according to the specification it has the necessary instructions. On my host machine(Win 10) all work fine.
The output of "cat /proc/cpuinfo":
I tried to use this command on my host:
as said on askubuntu(i can't post links, but this is the last part of link - "questions/699077/how-to-enable-avx2-extensions-on-a-ubuntu-guest-in-virtualbox-5"), but nothing happened.
So, what should i do? Maybe someone has encountered this error?
The output of "cat /proc/cpuinfo":
Code: Select all
...
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx fxsr_opt rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid tsc_known_freq pni ssse3 sse4_1 sse4_2 hypervisor lahf_lm cmp_legacy cr8_legacy 3dnowprefetch ssbd vmmcall fsgsbase arat
...
Code: Select all
VBoxManage setextradata "$vm_name" VBoxInternal/CPUM/IsaExts/AVX2 1
So, what should i do? Maybe someone has encountered this error?