#2432·waydroid

[BUG] Vulkan-only ARM64 game finds zero Vulkan drivers under both libndk and libhoudini on x86_64 (AMD)

Author: nixaut-codelabsCreated Sep 24, 2026Updated Sep 24, 2026

[BUG] Vulkan-only ARM64 game finds zero Vulkan drivers under both libndk and libhoudini on x86_64 (AMD)

App

  • Package: com.gaijingames.wtm (War Thunder Mobile)
  • primaryCpuAbi=arm64-v8a only — base APK has no lib/, all native code in split_config.arm64_v8a.apk (lib/arm64-v8a/libaces.so ~129MB, Dagor engine + Unity coherence libs). Requires ARM translation on x86_64.
  • The game is Vulkan-only: official requirements list "Adreno 610 / Mali-G52 or equivalent GPU with Vulkan support", and Dagor engine supports DX12/Vulkan/Metal (no GLES fallback).

Symptom

The app launches, the process stays alive, the activity resumes and draws its window — then shows a modal dialog: "Error: Failed to initialize graphics subsystem. Please ensure that your device has all available updates installed." (Dagor ShowAlert).

Environment

  • Waydroid 1.6.3, vendor type MAINLINE, Lineage 20 (Android 13, SDK 33)
  • Host: CachyOS (Arch-based), Ryzen 5 5600 (x86_64), Radeon RX 6600 (Navi 23), Mesa 26.0.5
  • ro.hardware.vulkan=radeon, ro.hardware.egl=mesa, ro.hardware.gralloc=gbm, ro.opengles.version=196610 (3.2)
  • Native (x86_64) graphics work fine — SurfaceFlinger reports OpenGL ES 3.2 Mesa 26.0.5 (radeonsi, navi23), and /vendor/lib64/hw/ contains vulkan.radeon.so, vulkan.virtio.so, vulkan.lvp.so, etc.
  • ARM translation tested with both bridges (clean installs via waydroid_script, Android 13 builds, plus the image-bundled libndk 0.2.3 — same result):
    • libndk_translation.so (with libndk_translation_proxy_libvulkan.so and lib/arm64/libvulkan.so present in the overlay)
    • libhoudini.so
  • widevine installed; Play integrity/certification is a separate concern and NOT the failure here (failure is at driver enumeration).

Evidence (logcat, game process)

Under libhoudini, the Vulkan loader searches layers and then the engine gives up — no driver is ever enumerated:

D vulkan  : searching for layers in '/data/local/debug/vulkan'
D vulkan  : searching for layers in '.../lib/arm64'
D vulkan  : searching for layers in '.../base.apk!/lib/arm64-v8a'
D vulkan  : searching for layers in '.../split_config.arm64_v8a.apk!/lib/arm64-v8a'
D vulkan  : searching for layers in '.../split_config.en.apk!/lib/arm64-v8a'
E Dagor   : ShowAlert

Under libndk the picture is the same (engine init → RegisterNatives ... ok → ShowAlert), with no Vulkan driver lines at all. Additionally the translated process logs:

W EGL-MAIN: failed to get driver name for fd -1
W EGL-MAIN: MESA-LOADER: failed to retrieve device information

i.e. the ARM-translated process cannot open the DRM render node / enumerate any Vulkan physical device, while native x86_64 processes on the same container use the GPU fine.

What I tried

  • libndk (bundled + fresh waydroid_script build) and libhoudini (fresh build) — identical outcome, so this is not a per-translator regression but a gap in ARM→host Vulkan driver forwarding.
  • Verified overlay contents: lib64/arm64/libvulkan.so and libndk_translation_proxy_libvulkan.so exist, binfmt_misc entries (arm64_exe, arm64_dyn, …) are in place, no leftover/conflicting .rc files.

Related

  • #2408 (libhoudini deadlock in Unity/Vulkan on AMD RDNA) — different symptom; notably that reporter's app renders under libndk, while here no Vulkan driver is visible under either bridge.
  • #2148 (Vulkan capped at 1.0 for an Unreal game) — here the issue is zero drivers, not the version.
  • Discussion #2383 (Unreal ARM64 game failing under libhoudini).

What would help

  • Confirmation whether Vulkan enumeration inside ARM-translated processes is expected to work on x86_64 Waydroid at all, and if so what is missing here ( venus? an ARM HAL shim? additional props?).
  • Any known workaround to expose a Vulkan device (even SwiftShader/LVP) to translated processes so Vulkan-only apps can init.