You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

AArch64平台下Cuttlefish WebRTC无法显示设备屏幕求助

AArch64环境下Cuttlefish无法连接WebRTC屏幕的libEGL.so加载问题

该问题已在互联网上被多位用户反馈,我也遇到了相同问题——在AArch64机器上启动Cuttlefish后,访问本地WebRTC地址无法连接到安卓虚拟设备屏幕。

重现步骤

  • 在AWS创建a1.metal实例或其他支持裸机/嵌套虚拟化的AArch64机器
  • 安装Ubuntu 22.04 ARM64系统
  • 配置ubuntu-desktop及VNC服务器以远程查看屏幕
  • 在AArch64机器上安装Firefox
  • 按照官方指南配置Cuttlefish
  • 启动Cuttlefish后访问https://localhost:8443,无法建立与安卓虚拟设备屏幕的连接

日志信息

启动时屏幕输出:

~/work/avd$ HOME=$PWD ./bin/launch_cvd --daemon --start_webrtc=true
===================================================================
NOTICE:

By using this Android Virtual Device, you agree to
Google Terms of Service (https://policies.google.com/terms).
The Google Privacy Policy (https://policies.google.com/privacy)
describes how Google handles information generated as you use
Google Services.
===================================================================

launch_cvd I 03-27 08:03:20  2881  2881 main.cc:312] Host changed from last run: 0
assemble_cvd D 03-27 08:03:20  3103  3103 fetcher_config.cpp:220] Could not find file ending in kernel
assemble_cvd D 03-27 08:03:20  3103  3103 fetcher_config.cpp:220] Could not find file ending in initramfs.img
assemble_cvd I 03-27 08:03:20  3103  3103 config_flag.cpp:153] Launching CVD using --config='phone'.
assemble_cvd D 03-27 08:03:20  3103  3103 subprocess.cpp:333] Started (pid: 3106): /home/ubuntu/work/avd/bin/extract-ikconfig
assemble_cvd D 03-27 08:03:20  3103  3103 subprocess.cpp:335] /home/ubuntu/work/avd/boot.img
assemble_cvd D 03-27 08:03:21  3103  3103 subprocess.cpp:333] Started (pid: 3114): /home/ubuntu/work/avd/bin/unpack_bootimg
assemble_cvd D 03-27 08:03:21  3103  3103 subprocess.cpp:335] --boot_img
assemble_cvd D 03-27 08:03:21  3103  3103 subprocess.cpp:335] /home/ubuntu/work/avd/boot.img
assemble_cvd D 03-27 08:03:21  3103  3103 subprocess.cpp:335] --out
assemble_cvd D 03-27 08:03:21  3103  3103 subprocess.cpp:335] /tmp/RXHefo
Failed to load library: libEGL.so
Failed to load library: libEGL.so
Failed to wait for subprocess: subprocess terminated by signal 11.
Failed to wait for subprocess: subprocess terminated by signal 11.
GPU auto mode: did not detect prerequisites for accelerated rendering support, enabling --gpu_mode=guest_swiftshader.
The following files contain useful debugging information:
  Logcat output: /home/ubuntu/work/avd/cuttlefish/instances/cvd-1/logs/logcat
  Kernel log: /home/ubuntu/work/avd/cuttlefish/instances/cvd-1/kernel.log
  Point your browser to https://localhost:8443 to interact with the device.
  Launcher log: /home/ubuntu/work/avd/cuttlefish/instances/cvd-1/logs/launcher.log
  Instance configuration: /home/ubuntu/work/avd/cuttlefish/instances/cvd-1/cuttlefish_config.json
Virtual device booted successfully
VIRTUAL_DEVICE_BOOT_COMPLETED

完整日志文件已归档。

已尝试的解决方案

  • 通过strace确认Cuttlefish在avd/bin目录查找libEGL.so,下载对应AArch64版本的库文件放入该目录
  • 从源码编译基于Mesa llvmpipe的软件渲染器并安装到主机系统

以上方法均未解决libEGL.so加载失败问题,请求提供其他解决方案建议。

内容的提问来源于stack exchange,提问作者Serge Rogatch

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.26 20:38:08