Skip to content

Cuttlefish fails with Subprocess was interrupted by a signal: 11 on GCP Debian 11 (Bullseye) – suspected EGL/Vulkan/Display issue #163

@kennethlwk

Description

@kennethlwk

Hi Cuttlefish team,

I’m setting up a Cuttlefish instance on GCP using a Debian 11 (Bullseye) base image and am running into persistent issues launching the emulator. The emulator was working previously, but after encountering some problems, I recreated the VM and reinstalled everything from scratch — yet the issue still persists.

❌ Problem:
When I run:
HOME=$PWD ./bin/launch_cvd --daemon

Cuttlefish fails with:

Failed to initialize display.
WARNING: lavapipe is not a conformant vulkan implementation, testing use only.
WARNING: lavapipe is not a conformant vulkan implementation, testing use only.
Failed to load vk
GPU auto mode: did not detect prerequisites for accelerated rendering support, enabling --gpu_mode=guest_swiftshader.
Requested resuming a previous session (the default behavior) but the base images have changed under the overlay, making the overlay incompatible. Wiping the overlay files.
Path for instance UDS: /tmp/cf_avd_453907093
...
launch_cvd E subprocess.cpp:162] Subprocess 2897 was interrupted by a signal: 11
launch_cvd E main.cc:420] run_cvd returned -1

Environment:

  • GCP VM: n2-standard-2
    
  • OS Image: debian-11-bullseye-v20240110
    
  • Cuttlefish Host Package: cvd-host_package.tar.gz (API 33+)
    
  • AOSP Image: [aosp_cf_x86_64_phone-img-13283805.zip](https://ci.android.com/builds/submitted/13283805/aosp_cf_x86_64_phone-userdebug/latest/aosp_cf_x86_64_phone-img-13283805.zip) from https://ci.android.com/builds/submitted/13283805/aosp_cf_x86_64_phone-userdebug/latest
    
  • Host Package: [cvd-host_package.tar.gz](https://ci.android.com/builds/submitted/13283805/aosp_cf_x86_64_phone-userdebug/latest/cvd-host_package.tar.gz)
    

What I’ve tried:

  • Installed all recommended Vulkan/OpenGL packages:
sudo apt install -y libvulkan1 mesa-vulkan-drivers libegl1 libgles2 libopengl0 libgl1 libglx0 libx11-dev libxrandr2 libxinerama1 libxcursor1 libxi6
sudo apt install -y pulseaudio
  • Verified presence of /dev/kvm
  • Confirmed grep -c -w "vmx|svm" /proc/cpuinfo returns > 0
  • Used HOME=$PWD ./bin/launch_cvd --daemon
  • Cleaned previous session overlays, rebooted

Still seeing:

  • Failed to initialize display
    
  • Failed to load vk
    
  • Ends with run_cvd returned -1
    

Is this an issue with missing EGL/Vulkan support on Debian Bullseye images in GCP? Or is there a known compatibility issue with this system image version?

Any help would be greatly appreciated 🙏

Thanks,
Kenneth

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions