redroid-doc icon indicating copy to clipboard operation
redroid-doc copied to clipboard

Trying to run Redroid-12 in Alpine v3.20, but system-ui keeps crashing

Open lurenJBD opened this issue 1 year ago • 2 comments

Describe the bug I deployed redroid/redroid:12.0.0_64only-latest in Alpine v3.20(aarch64) and successfully saw the Android system interface via Scrcpy, but the system interface keeps flickering, and I learned via logcat that com.android.systemui keeps crashing and reboot

I've tried installing glibc from https://github.com/ljfranklin/alpine-pkg-glibc or using debootstrap to chroot a debian environment.

make sure the required kernel modules present

  • [x] grep binder /proc/filesystems
  • [x] grep ashmem /proc/misc (optional)
localhost:~# grep binder /proc/filesystems
nodev   binder
localhost:~# grep ashmem /proc/misc
localhost:~#

Collect debug logs curl -fsSL https://raw.githubusercontent.com/remote-android/redroid-doc/master/debug.sh | sudo bash -s -- [CONTAINER] redroid-debug.XXeNoOFg.zip

Screenshots

I recorded a video to show the system UI flickering

https://github.com/user-attachments/assets/fd6d1399-7f0f-430a-8c37-7ceccb87a520

lurenJBD avatar Nov 14 '24 11:11 lurenJBD

From dumpsys.log, GLES: Mesa, virgl (ANGLE (Apple, ANGLE Metal Renderer: Apple M1 GPU, Ve...), OpenGL ES 2.0 Mesa 24.0.8 (git-441f064c1c) only GLES 2.0 supported by your platform (typically should be GLES 3.2 for this mesa3d version).

Try switch to software rendering if cannot be resolved. docker run ... androidboot.redroid_gpu_mode=guest

zhouziyang avatar Nov 24 '24 10:11 zhouziyang

From dumpsys.log, GLES: Mesa, virgl (ANGLE (Apple, ANGLE Metal Renderer: Apple M1 GPU, Ve...), OpenGL ES 2.0 Mesa 24.0.8 (git-441f064c1c) only GLES 2.0 supported by your platform (typically should be GLES 3.2 for this mesa3d version).

Try switch to software rendering if cannot be resolved. docker run ... androidboot.redroid_gpu_mode=guest

I've tried androidboot.redroid_gpu_mode=guest, no change

lurenJBD avatar Nov 25 '24 05:11 lurenJBD