Shiro836/waydroid-nvidia
À propos
Android games and apps on Linux at full NVIDIA GPU speed, from GTX 900 to RTX 50 cards.
Jeux et émulationProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- +7
- in 15 days
- +23
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
Originalwaydroid-nvidia
GPU-accelerated Waydroid on NVIDIA cards. Android apps and games render on your NVIDIA GPU inside the normal Waydroid container, with no VM. The default mode uses only the NVIDIA kernel module from your system; the rest of the driver is built from source.
Please report problems as issues (what to include).
Why waydroid-nvidia
- Fast: 475 FPS in 3DMark Wild Life Extreme on an RTX 5090, 93 % of NVIDIA's own driver
- No shader stutter: Minecraft's first item switch takes ~0.2 s
- Hardware video decode: H.264, HEVC, VP9, AV1 (RTX 20 and newer)
- GTX 900 to RTX 50, open or closed kernel module
Does my setup work?
✅ works · 🧪 driver tests pass, Waydroid not tried yet · ⚠️ known bug · ⚪ untested · ❌ no
default (nvidia-prolapse) |
glibc-shim |
venus |
|
|---|---|---|---|
| RTX 50 (Blackwell) | ✅ | ✅ | ✅ |
| RTX 40 (Ada) | 🧪 | ✅ | ✅ |
| RTX 30 (Ampere) | ✅ | ✅ | ✅ |
| RTX 20 / GTX 16 (Turing) | 🧪 | ⚪ | ✅ |
| Titan V (Volta) | 🧪 | ⚪ | ❌ |
| GTX 10 (Pascal) | ✅ (⚠️ --native-gl on crashes on some textures) |
⚪ | ❌ |
| GTX 900 / 750 (Maxwell) | ⚠️ some GL tests fail | ⚪ | ❌ |
| Kepler and older | ❌ | ❌ | ❌ |
| Driver 570–615, open module | ✅ on 615, 🧪 others | ✅ on 570 and 615 | ✅ from 580 |
| Driver 550–610, closed module | ✅ on 580, 🧪 others | ✅ on 550, 570, 580, 595 | ❌ |
| Driver 535 | ⚪ | ❌ | ⚪ |
| Driver 470 and older | ❌ | ❌ | ❌ |
Data-centre GPUs (A100, H100, V100, …) are not supported. Tested on Arch and CachyOS; glibc-shim also on
Ubuntu 22.04. Only the official Android 13 image (LineageOS 20) is supported.
You need nvidia-drm.modeset=1, a Wayland desktop on the NVIDIA GPU (tested on KDE Plasma 6) and the usual
Waydroid kernel support (binder). A brand-new driver release may be refused until our next release knows it.
Install
Current release: v0.2.0.
On Arch, install or update waydroid-nvidia-bin from the AUR (it replaces waydroid).
On other systemd distributions use the installer:
curl -fsSL https://raw.githubusercontent.com/Shiro836/waydroid-nvidia/main/packaging/install.sh | sudo bash
sudo waydroid-nvidia-setup
waydroid session start
The installer verifies every download and will not overwrite files owned by a distro package, so remove your distro's
waydroid package first. On SELinux hosts (Fedora) it also builds and loads Waydroid's
SELinux policy module, the one Fedora's own waydroid-selinux package ships. waydroid-nvidia-setup checks your
system, tests the driver on your GPU, and only then installs our Android vendor image. Your official vendor image is
kept as a backup. If a check fails, it says why and leaves everything as it was.
On a fresh install the setup runs waydroid init for you. For Google apps, use sudo waydroid-nvidia-setup -s GAPPS
instead (the default is VANILLA, without them). On an existing install -s only checks the system type; to switch,
run sudo waydroid init -f -s GAPPS, then sudo waydroid-nvidia-setup again (apps and data are kept).
Run sudo waydroid-nvidia-setup again after every NVIDIA driver or package update; Waydroid refuses to start until
you do. sudo waydroid-nvidia-setup --restore-official-vendor takes you back to stock Waydroid. Uninstalling is
described in docs/install-manual.md.
Driver modes
| Mode | How it works | Pick it when |
|---|---|---|
nvidia-prolapse (default) |
Our open-source driver (Mesa NVK plus our own NVIDIA backend) runs inside Android and talks to the kernel module directly | almost always: it has video decode and the widest driver support |
venus |
Android's Vulkan calls go over a socket to the NVIDIA driver on the host | the default mode fails on your machine; slowest, needs the open kernel module |
glibc-shim |
Your host's own NVIDIA driver (550 or newer) runs inside Android through our compatibility libraries | you want NVIDIA's own driver and shader compiler; the setup checks your driver first and needs its 32-bit libraries too |
Switch with sudo waydroid-nvidia-setup --mode venus (or --mode glibc-shim, --mode nvidia-prolapse). Apps get
OpenGL ES through ANGLE by default. --native-gl on uses the mode's own GL driver instead: our nvrm in the
default mode (a bit faster but newer, so compare with --native-gl off before reporting a GL bug), NVIDIA's GLES in
glibc-shim (driver 570 or newer). In glibc-shim, run the setup again after every driver update, as in the
default mode.
Known issues
- On some setups the mouse cursor is invisible inside Android (#36).
- Above about 333 Hz the display can stall. Cap the rate with
sudo waydroid-nvidia-setup --refresh <hz>. - Only Android 13 for now (Android 17 planned).
More
Troubleshooting · installer options and uninstall · how it works · building · developing · third-party sources
Our code is MIT licensed. Patches to other projects keep their upstream licenses; see LICENSE.
Explorer des projets similaires
Chargement…