remote-android / redroid-doc

redroid (Remote-Android) is a multi-arch, GPU enabled, Android in Cloud solution. Track issues / docs here
4.21k stars 300 forks source link

Cent OS 运行redroid-11,容器可以启动,但是设备是offline 状态 #544

Open Chenzuhao opened 9 months ago

Chenzuhao commented 9 months ago

image image

tmp.SoWFY8bwfw.tgz

zhouziyang commented 9 months ago

3.10.0-1160.31.1.el7.x86_64 pretty old kernel used here. Customized kernel required for CentOS. Check https://github.com/remote-android/redroid-doc/blob/master/deploy/centos.md

Chenzuhao commented 9 months ago

谢谢🙏

chenchenchenmo commented 9 months ago

3.10.0-1160.31.1.el7.x86_64这里使用了相当旧的内核。所需的定制内核CentOS。 检查https://github.com/remote-android/redroid-doc/blob/master/deploy/centos.md

use custom 5.10 kernel

enable kernel features for x86_64

codec2 required, can use ION for legacy kernel

CONFIG_DMABUF_HEAPS=y CONFIG_DMABUF_HEAPS_SYSTEM=y

optional, can use memfd

CONFIG_STAGING=y CONFIG_ASHMEM=y


Where are the CONFIG_DMABUF_HEAPS, CONFIG_DMABUF_HEAPS_SYSTEM, CONFIG_STAGING, CONFIG_ASHMEM and so on

zhouziyang commented 9 months ago

It's Linux config. Try some other Linux distros (such as Ubuntu) if not familiar with Linux kernel.

xx-zhang commented 3 months ago

@zhouziyang is there os-image that download then contains the config ? like ubuntu18.04?