Jetson nano - KVM Acceleration - Android VM / Emulation Demo

Hello , It was suggested that I post this here.

Maybe it will peak a bit more interest … If anyone here does any android development and would be willing to compile an AOSP image for testing please get in touch and I’ll fill you in on the specific mod’s required to support Mesa DRM/KMS within the image. (looking for android 8.1 or 7.1.2 specifically)

Here is a quick screen recording of me running an Android KVM on the jetson nano.

Stuff to keep in mind :

Performance is poor while recording however, when nothing is running in the back ground I am getting around 60fps.

The Android image I am using is a pre-built Android 9.0 image built with linaro sources that seems like it was kind of thrown together with peaces of code that don’t really play nice together.

For more information on how this was accomplished please take a look at this post.

original post : https://devtalk.nvidia.com/default/topic/1071183/jetson-nano/full-kvm-support-working-on-the-jetson-nano-kernel-virtual-machine-plus-virtio-gpu-passthrough-/

Video Demo : https://www.youtube.com/watch?v=42TRVCIR0nU

The main peaces of the puzzle are as follows:

  1. An Android image with Mesa DRM/KMS support.
  2. Android kernel with the appropriate Virtio-gpu modules enabled.
  3. Modified Jetson nano kernel to add support for KVM
  4. compiled Virgilrender and qemu with virgilrender support.

If anyone is interested in trying out my pre-compiled kernel please let me know.
I’m working on releasing the modified kernel source as well.

Regards,
Chris.