2

I have a problem with my ASUS G53jw PC. Its chipset and CPU are rated to support virtualisation, which is enabled in the BIOS/Setup. To confirm, I ran egrep -c '(vmx|svm)' /proc/cpuinfo which returns a value of four (4) which suggests virtualisation should work.

However, hardware accelerated Android emulation fails to launch.

Is the use of the nouveau video driver instead of an Nvidia driver the source of the failure? If not, how may I effectively troubleshoot this?

UPDATE 2
After installing official Nvidia drivers the Android emulation runs just fine :) Thanks to N0rbert for pointing out my typo!
Solved!

1 Answers1

1

First of all you have typo in egrep command:
you need logical OR here "|", not backslash "\".

It should be egrep -c '(vmx|svm)' /proc/cpuinfo.

Reading your update we can conclude that it was a typo.


Other way to check is to use kvm-ok (installable from cpu-checker package).

On system with enabled virtualization its output is as follows:

$ kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used

If you have problems with VirtualBox - ensure that you have set correct Settings for virtual machine: open System, select Acceleration tab and check that you have correct settings:

  • Paravirtualization Interface: Default
  • Hardware Virtualization: ☑ Enable VT-x/AMD-v, ☑ Enable Nested Paging

    VirtualBox - System - Acceleration

This will result in blue V (V on CPU) on CPU icon in status bar of VirtualBox machine window (see yellow hint below for details - machine uses KVM) :

VirtualBox status bar

N0rbert
  • 103,263