From b2bd859a8e5bba7aba6d40ad4dde5e06019ea157 Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Fri, 12 Jun 2026 19:43:25 +0000 Subject: [PATCH] =?UTF-8?q?android-emulator:=20NVIDIA=5FDRIVER=5FCAPABILIT?= =?UTF-8?q?IES=3Dall=20=E2=80=94=20graphics=20libs=20for=20-gpu=20host?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- stacks/android-emulator/main.tf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/stacks/android-emulator/main.tf b/stacks/android-emulator/main.tf index e1ed4a87..5378ad20 100644 --- a/stacks/android-emulator/main.tf +++ b/stacks/android-emulator/main.tf @@ -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