LogoLogo
  • Waydroid
  • Usage
    • Install Instructions
    • Install and Run Android Applications
    • Waydroid command line options
    • Waydroid Prop Options
  • FAQ
    • Google Play Certification
    • Disable On-Screen Keyboard
    • Community Projects We Like
    • Get Waydroid to work through a VM
    • Using ADB with Waydroid
    • Setting up Waydroid only Sessions
    • Setting up a shared folder
    • Color correction in Mutter
    • Backup/Restore apps and data
    • Using custom Waydroid images
  • Development
    • Compile Waydroid - Lineage OS based images
    • Manual Patch Resolution
    • Compile Waydroid - Using Android-Generic Project
  • Debugging
    • Getting Essential Information
    • Networking Issues
    • Known Issues
    • General Troubleshooting
Powered by GitBook
On this page

Was this helpful?

  1. FAQ

Get Waydroid to work through a VM

This also applies to any unsupported GPU's as well (like nVidia)

You can force Waydroid to run without GPU acceleration by modifying the waydroid configuration file:

nano /var/lib/waydroid/waydroid.cfg

Add the following lines in the [properties] section:

ro.hardware.gralloc=default
ro.hardware.egl=swiftshader

Apply the configuration with:

sudo waydroid upgrade -o

Qemu

Qemu is the only VM known to have working 3d acceleration (possibly crosvm too).

Qemu needs to have virtio-gpu setup with 3d graphics acceleration enabled for both virtio-gpu and the display (Ie. Spice, SDL etc.). Using EGL-headless (useful for dedicated VM servers) will also work with waydroid these will work on any qemu which has 3d acceleration built for it.

Another method to use gpu passthrough on the VM, this will work on any virtual machine software that supports it.

PreviousCommunity Projects We LikeNextUsing ADB with Waydroid

Last updated 2 years ago

Was this helpful?