android-emulator: NVIDIA_DRIVER_CAPABILITIES=all — graphics libs for -gpu host

First GPU boot verified qemu attached to the T4, but the guest GL
translator reported llvmpipe: the GPU operator injects only
compute,utility by default, so the NVIDIA EGL/GL vendor libraries were
absent and gfxstream silently fell back to software GL. The graphics
capability completes the hardware rendering path.
This commit is contained in:
Viktor Barzin 2026-06-12 19:43:25 +00:00
parent 16adda2c48
commit b2bd859a8e

View file

@ -107,6 +107,15 @@ resource "kubernetes_deployment" "android-emulator" {
privileged = true # /dev/kvm access
}
env {
# The GPU operator injects only compute,utility by default the
# NVIDIA EGL/GL libraries need the graphics capability, otherwise
# the emulator's -gpu host silently falls back to Mesa llvmpipe
# (software GL) inside the container.
name = "NVIDIA_DRIVER_CAPABILITIES"
value = "all"
}
port {
name = "adb"
container_port = 5555