Running AOSP Emulator causes host reboot on Ubuntu 22.04 (Ryzen 9, KVM, NVIDIA GPU)

6 hours ago 1
ARTICLE AD BOX

I'm having a bad experience running Android Emulator (both Cuttlefish and Goldfish) on my Linux Ubuntu 22.04 - AMD Ryzen 9.

First of all, I am trying to execute the basic tutorial of https://source.android.com/docs/setup/build/building , and after the compilation steps, the emulator open, stays on for a short period and randomly restarts my computer.

~/aosp$ emulator -accel-check accel: 0 KVM (version 12) is installed and usable. accel

Setup:

CPU: AMD Ryzen 9 | MB: AORUS B650

GPU: NVIDIA GeForce RTX 4060 - Driver Version: 580.119.02

OS: Ubuntu 22.04

KVM: working

SVM Mode: enabled in BIOS

AOSP: android-14.0.0_r1

CPU cores: 24

RAM 32GB + SWAP 36GB

I’ve tried multiple tutorials and rebuilt AOSP, but nothing works.

Here is two videos, of how its happening!

Video 01: https://drive.google.com/file/d/1afPMRuGIXFarnMjpeRvEzTy1tCMDa-cO/view?usp=sharing%5C

Video 02: https://drive.google.com/file/d/1cmNV9ZbaZJvvNEq_fo6H4YCvV3IDY9V7/view?usp=sharing%5C (Occurs the restart)

Could someone help me?

Read Entire Article