Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
lurenJBD opened this issue Nov 14, 2024 · 2 comments
Open
2 tasks done

Comments

@lurenJBD
Copy link

lurenJBD commented Nov 14, 2024

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

  • grep binder /proc/filesystems
  • 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

redroid.run.in.alpine.v3.20_x264.mp4
@zhouziyang
Copy link
Member

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

@lurenJBD
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants