Repository navigation
Releases
waydroid-nvidia v0.2.0
First release of the nvidia-prolapse mode: an open-source NVIDIA driver running right inside Android, now the
default. Venus from v0.1 stays available as a mode.
What's new since v0.1.2
- New default mode
nvidia-prolapse: Mesa's open NVK driver inside Android, using only the NVIDIA kernel module
from your system. 475 FPS in 3DMark Wild Life Extreme on an RTX 5090 (NVIDIA's own driver: 508). - No shader stutter: Minecraft's first item switch takes ~0.2 s (Venus: 1.8 s).
- Hardware video decode: H.264, HEVC, VP9 and AV1 on RTX 20 and newer.
- Closed kernel module works too.
- Older GPUs: the default mode also covers GTX 10, Titan V and GTX 900 (Venus: RTX 20 and newer).
- Second mode
glibc-shim: NVIDIA's own driver inside Android. Switch with
sudo waydroid-nvidia-setup --mode glibc-shim(or--mode venus). - Installer for any systemd distro, Fedora with SELinux included.
waydroid-nvidia-setuptests the driver on
your GPU before it installs our Android vendor image, and keeps the official one as a backup. - App windows resize Android without multi-window mode (#35, thanks @hyzor).
- Venus mode: real NV12 buffers for video and camera (#16), and a limit on how fast one app can allocate GPU
memory (thanks @The-JimmyDev).
Supported GPUs, drivers and known issues are in the README.
Install or update
On Arch, update waydroid-nvidia-bin from the AUR (it replaces waydroid). Elsewhere the installer does not
overwrite files of a distro package, so remove your distro's waydroid package first, then:
curl -fsSL https://raw.githubusercontent.com/Shiro836/waydroid-nvidia/main/packaging/install.sh | sudo bash
sudo waydroid-nvidia-setup
waydroid session startFor Google apps on a new install, use sudo waydroid-nvidia-setup -s GAPPS.
Every file is built by CI from source and signed. The installer checks this for you; to check a file by hand see Verify a download.
waydroid-nvidia v0.2.0-rc13
Test version of the new nvidia-prolapse mode: an open-source NVIDIA driver running right inside Android.
What's new
- Fixed: GPU crash (Xid 32) in Vulkan apps on RTX 20, 30, 40, 50 and Titan V, from rc12's async compute queue.
- Fixed: Android display freezes when opening or switching apps (#38).
- App windows resize Android without multi-window mode, instead of scaling with black bars (#35, thanks @hyzor).
Install or update
curl -fsSL https://raw.githubusercontent.com/Shiro836/waydroid-nvidia/public-test/packaging/install.sh | sudo bash
sudo waydroid-nvidia-setup
waydroid session startFor Google apps on a new install, use sudo waydroid-nvidia-setup -s GAPPS. Supported GPUs, drivers and known
issues are in the README.
Every file is built by CI from source and signed. The installer checks this for you; to check a file by hand see Verify a download.
waydroid-nvidia v0.2.0-rc12
Test version of the new nvidia-prolapse mode: an open-source NVIDIA driver running right inside Android.
What's new
- Faster. 3DMark Wild Life Extreme on an RTX 5090: 432 FPS in rc11, 475 FPS now (+10 %). NVIDIA's own
driver gets 508. The gains come from the shader compiler, ZCULL (early depth culling), an async compute queue
and better GPU dispatch settings. Other GPUs were not measured. - Async compute queue for Vulkan apps on RTX 20, 30, 40 and 50 and Titan V. On RTX 30 and newer, compute and
graphics run on the GPU at the same time. GTX 10 doesn't get it: there it lost graphics work in our tests. glibc-shimmode for package users:sudo waydroid-nvidia-setup --mode glibc-shimruns your own NVIDIA
driver inside Android. Works on drivers 550 to 615, open or closed kernel module. Driver 535 is refused: it
can't share fences with Android.- Known limitation: on drivers 550 to 560 and 580,
glibc-shimworks around two NVIDIA driver bugs, which
may add some frame latency.
Install or update
curl -fsSL https://raw.githubusercontent.com/Shiro836/waydroid-nvidia/public-test/packaging/install.sh | sudo bash
sudo waydroid-nvidia-setup
waydroid session startFor Google apps on a new install, use sudo waydroid-nvidia-setup -s GAPPS. Supported GPUs, drivers and known
issues are in the README.
Every file is built by CI from source and signed. The installer checks this for you; to check a file by hand see Verify a download.
waydroid-nvidia v0.2.0-rc11
Test version of the new nvidia-prolapse mode: an open-source NVIDIA driver running right inside Android.
What's new
- Video: resolution changes no longer stop playback. When a video switched to a higher resolution than the
decoder was set up for (YouTube does this when it raises the quality), hardware decoding failed. The decoder now
finishes the frames it has, restarts at the new size and carries on, the way Android's own decoders do. - Video: HDR information reaches apps. For HDR10 HEVC and AV1 videos, the mastering-display and brightness
information in the stream is now passed to Android, so apps can see it's an HDR video. - Video: some VP9 videos no longer stop with an error. VP9 videos that turn segmentation off at a key frame and
back on later now decode correctly. - 3DMark Wild Life Extreme no longer crashes when you run the test a second time. On the second run the app
creates a texture view that Vulkan doesn't allow. NVIDIA's own driver accepts it, ours aborted the app. Ours now
accepts it too and logs a warning. Other invalid views of that kind now return an error to the app instead of
crashing it.
Install or update
curl -fsSL https://raw.githubusercontent.com/Shiro836/waydroid-nvidia/public-test/packaging/install.sh | sudo bash
sudo waydroid-nvidia-setup
waydroid session startFor Google apps on a new install, use sudo waydroid-nvidia-setup -s GAPPS. Updating from an earlier rc is the same
commands. Supported GPUs, drivers and known issues are in the
README.
waydroid-nvidia v0.2.0-rc10
Test version of the new nvidia-prolapse mode: an open-source NVIDIA driver running right inside Android.
What's new
- Fix for KWin crashing on GTX 10-series and older GPUs (#30). On Pascal and earlier GPUs, opening the
Android window could crash a compositor running on the same GPU (KWin), with thousands of NVIDIA "Xid 13 ...
TEX LAYOUT" errors in the kernel log. Android's screen buffer was allocated as plain row-by-row memory while its
contents were laid out in NVIDIA's tiled format. The compositor read the tiles from row-by-row memory, and on
these GPUs that is a fault. Buffers shared with the desktop are now allocated with the tiled format, as NVIDIA's
own driver does. RTX 20-series and newer GPUs were not affected and behave the same as before. tests/run-probe.shno longer turns away hosts with the closed kernel module. The probe itself checks whether
buffer sharing works.
Install or update
curl -fsSL https://raw.githubusercontent.com/Shiro836/waydroid-nvidia/public-test/packaging/install.sh | sudo bash
sudo waydroid-nvidia-setup
waydroid session startFor Google apps on a new install, use sudo waydroid-nvidia-setup -s GAPPS. Updating from an earlier rc is the same
commands. Supported GPUs, drivers and known issues are in the
README.
Every file is built by CI from source and signed. The installer checks this for you; to check a file by hand see Verify a download.
waydroid-nvidia v0.2.0-rc9
Test version of the new nvidia-prolapse mode: an open-source NVIDIA driver running right inside Android.
What's new
- Fix for a rare GPU fault in Android apps. Now and then a game or app could stop with an NVIDIA "Xid 13"
error in the system log ("Shader Program Header Error"). The cause was how shaders were put into GPU memory: the
space of an old shader was overwritten and reused while the GPU could still hold a stale copy of it. Shaders are
now uploaded and switched in the same way NVIDIA's own driver does it, so the GPU always reads the new one.
Install or update
curl -fsSL https://raw.githubusercontent.com/Shiro836/waydroid-nvidia/public-test/packaging/install.sh | sudo bash
sudo waydroid-nvidia-setup
waydroid session startFor Google apps on a new install, use sudo waydroid-nvidia-setup -s GAPPS. Updating from an earlier rc is the same
commands. Supported GPUs, drivers and known issues are in the
README.
Every file is built by CI from source and signed. The installer checks this for you; to check a file by hand see Verify a download.
waydroid-nvidia v0.2.0-rc8
Test version of the new nvidia-prolapse mode: an open-source NVIDIA driver running right inside Android.
What's new
- Fedora works. Fedora's LXC has no AppArmor support, so the container config we generated could not be loaded
(#27, #17). The AppArmor line is now only written when your LXC accepts it. The installer also loads the SELinux
policy that Fedora's own waydroid package carried, so Android boots with SELinux enforcing, and it puts Waydroid's
network interface into firewalld's trusted zone so Android gets network. No manual config edits needed. - Setup works on non-English systems. Setup read the text output of tools like
readelf, which is translated on
e.g. a Spanish system, and then failed withlibrary "libdl.so" not found(#28). It now reads what it needs
directly and runs its tools in the C locale. - GTX 10xx and other pre-Turing GPUs install. Our hardware video decoder supports Turing (GTX 16xx, RTX 20xx) and
newer for now. On older GPUs setup used to stop at the media check; it now installs and tells you that hardware
video decode isn't available on your GPU, and Android uses its software decoders instead. - Fresh Ubuntu 24.04 installs. Setup no longer refuses the GPU because of the render node's default permissions
after a reboot. On systems with Python older than 3.11 (Ubuntu 22.04), the installer now stops right away and says
why, instead of failing halfway.
Install or update
curl -fsSL https://raw.githubusercontent.com/Shiro836/waydroid-nvidia/public-test/packaging/install.sh | sudo bash
sudo waydroid-nvidia-setup
waydroid session startFor Google apps on a new install, use sudo waydroid-nvidia-setup -s GAPPS. Updating from an earlier rc is the same
commands. On Fedora, remove Fedora's own waydroid first (sudo dnf remove waydroid); the installer tells you if it
is still there. Supported GPUs, drivers and known issues are in the
README.
Every file is built by CI from source and signed. The installer checks this for you; to check a file by hand see Verify a download.
waydroid-nvidia v0.2.0-rc7
Test version of the new nvidia-prolapse mode: an open-source NVIDIA driver running right inside Android.
What's new
- First install works. On a machine without Waydroid,
sudo waydroid-nvidia-setupused to download Android and
then stop with "vendor.img is not the nvidia-prolapse vendor image". It now finishes the whole install. If you run
waydroid inityourself, it completes too and tells you to runsudo waydroid-nvidia-setupbefore Waydroid starts. - Google apps right away.
sudo waydroid-nvidia-setup -s GAPPSinstalls Android with Google apps on a fresh
install. On an existing install the setup tells you how to switch. - ETC2 textures work in Vulkan apps. Android guarantees ETC2 texture compression to every Vulkan app, but NVIDIA
desktop GPUs don't have it in hardware. We now decode it on the GPU, the same way we already handle ASTC. Fixes
Chrome's tab strip turning white after switching back to it, and helps games that ship ETC2 textures.
Install or update
curl -fsSL https://raw.githubusercontent.com/Shiro836/waydroid-nvidia/public-test/packaging/install.sh | sudo bash
sudo waydroid-nvidia-setup
waydroid session startFor Google apps on a new install, use sudo waydroid-nvidia-setup -s GAPPS. Updating from an earlier rc is the same
commands. Supported GPUs, drivers and known issues are in the
README.
Every file is built by CI from source and signed. The installer checks this for you; to check a file by hand see Verify a download.
waydroid-nvidia v0.2.0-rc5
Test version of the new nvidia-prolapse mode: an open-source NVIDIA driver running right inside Android.
What's new
- Video in games and apps plays correctly and smoothly. Some games (for example the story videos in Punishing: Gray
Raven) showed green stripes instead of the video, and after that was fixed they still stuttered. Both are fixed: the
video is decoded on the GPU and handed to the app in the format it expects, from memory the CPU can read quickly
(about 30× faster than before). - Android's own video decoder no longer crashes on videos wider than about 1360 pixels in these apps.
Install or update
curl -fsSL https://raw.githubusercontent.com/Shiro836/waydroid-nvidia/public-test/packaging/install.sh | sudo bash
sudo waydroid-nvidia-setup
waydroid session startUpdating from an earlier rc is the same two commands. Supported GPUs, drivers and known issues are in the
README.
Every file is built by CI from source and signed. The installer checks this for you; to check a file by hand see Verify a download.
waydroid-nvidia v0.2.0-rc4
Test version of the new nvidia-prolapse mode: an open-source NVIDIA driver running right inside Android.
What's new
- Resizing the Waydroid window works like in stock Waydroid again. Android's screen now takes the window's size
instead of showing a cropped picture, without the SurfaceFlinger crash that stock Waydroid can hit when it resizes.
(#23) - Wrong colours in ARM games with native GL fixed. In games running through ARM translation, some effects were drawn
with the wrong colour channels (for example a white dress turning solid red in Punishing: Gray Raven).
(#24)
Install or update
curl -fsSL https://raw.githubusercontent.com/Shiro836/waydroid-nvidia/public-test/packaging/install.sh | sudo bash
sudo waydroid-nvidia-setup
waydroid session startUpdating from an earlier rc is the same two commands. Supported GPUs, drivers and known issues are in the
README.
Every file is built by CI from source and signed. The installer checks this for you; to check a file by hand see Verify a download.