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:
parent
16adda2c48
commit
b2bd859a8e
1 changed files with 9 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue