remote-android / redroid-doc

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

help me solve this problem, can`t scrcrp the adbd, arch is arm64, the image is redroid/redroid:12.0.0_64only-arm64 #428

Open liu454639377 opened 1 year ago

liu454639377 commented 1 year ago

Describe the bug

the arch is arm64 rkchip 3588

make sure the required kernel modules present

collect debug logs curl -fsSL https://raw.githubusercontent.com/remote-android/redroid-doc/master/debug.sh | sudo bash -s -- [CONTAINER] omit CON tmp.w0fp0ee1y3.zip TAINER if not exist any more.

Screenshots If applicable, add screenshots to help explain your problem. image

liu454639377 commented 1 year ago

follow this command to start: docker run -itd --privileged \ --memory-swappiness=0 \ --pull always \ -v /opt/data12.1:/data \ -p 5555:5555 \ --name redroid12-1 \ redroid/redroid:12.0.0_64only-arm64 \ androidboot.redroid_width=1080 \ androidboot.redroid_height=1920 \ androidboot.redroid_dpi=480 \ androidboot.redroid_gpu_mode=guest \ ro.secure=0

zhouziyang commented 1 year ago

Seems the debug zip is corrupted, can you upload again?

liu454639377 commented 1 year ago

log.zip thanks, zip this documents

zhouziyang commented 1 year ago

Something wrong with netd. Try enable some IPV6 features:

CONFIG_IPV6_ROUTER_PREF=y
CONFIG_IPV6_ROUTE_INFO=y
CONFIG_IPV6_MULTIPLE_TABLES=y
CONFIG_IPV6_SUBTREES=y

BTW, please use the latest image (redroid/redroid:12.0.0_64only-230331 currently)

liu454639377 commented 1 year ago

thans, trying

@.***

From: zhouziyang Date: 2023-08-25 12:02 To: remote-android/redroid-doc CC: liu454639377; Author Subject: Re: [remote-android/redroid-doc] help me solve this problem, can`t scrcrp the adbd, arch is arm64, the image is redroid/redroid:12.0.0_64only-arm64 (Issue #428) Something wrong with netd. Try enable some IPV6 features: CONFIG_IPV6_ROUTER_PREF=y CONFIG_IPV6_ROUTE_INFO=y CONFIG_IPV6_MULTIPLE_TABLES=y CONFIG_IPV6_SUBTREES=y

BTW, please use the latest image (redroid/redroid:12.0.0_64only-230331 currently) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

liu454639377 commented 1 year ago

image after add modules, it doesn`t work

liu454639377 commented 1 year ago

please give me a favor for netd : Error adding IPv4 rule: Address family not supported by protocol, what I lost in ipv4

zhouziyang commented 1 year ago

Try diff your kernel config with the official ubuntu / debian kernel configs, and figure out what's going wrong. I cannot help debugging here. AFAIK, several folks already running redroid on Rockchip 3588 platform.

liukeqqs commented 1 year ago

please give me a favor for netd : Error adding IPv4 rule: Address family not supported by protocol, what I lost in ipv4

I have used the RK3588 development board before, and I also encountered the same problem, unable to cast the screen. Have you solved it?

liu454639377 commented 1 year ago

As you can see, got the lost para after comparing the stander kernel

@.***

From: liukeqqs Date: 2023-09-07 19:29 To: remote-android/redroid-doc CC: liu454639377; Author Subject: Re: [remote-android/redroid-doc] help me solve this problem, can`t scrcrp the adbd, arch is arm64, the image is redroid/redroid:12.0.0_64only-arm64 (Issue #428) please give me a favor for netd : Error adding IPv4 rule: Address family not supported by protocol, what I lost in ipv4 I have used the RK3588 development board before, and I also encountered the same problem, unable to cast the screen. Have you solved it? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

liu454639377 commented 1 year ago

https://source.android.com/docs/core/architecture/kernel/android-common?hl=zh-cn

@.***

From: liukeqqs Date: 2023-09-07 19:29 To: remote-android/redroid-doc CC: liu454639377; Author Subject: Re: [remote-android/redroid-doc] help me solve this problem, can`t scrcrp the adbd, arch is arm64, the image is redroid/redroid:12.0.0_64only-arm64 (Issue #428) please give me a favor for netd : Error adding IPv4 rule: Address family not supported by protocol, what I lost in ipv4 I have used the RK3588 development board before, and I also encountered the same problem, unable to cast the screen. Have you solved it? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

cloudswave commented 11 months ago

follow this command to start: docker run -itd --privileged --memory-swappiness=0 --pull always -v /opt/data12.1:/data -p 5555:5555 --name redroid12-1 redroid/redroid:12.0.0_64only-arm64 androidboot.redroid_width=1080 androidboot.redroid_height=1920 androidboot.redroid_dpi=480 androidboot.redroid_gpu_mode=guest ro.secure=0

my arm64 server command:

docker run -itd --privileged --memory-swappiness=0 --pull always -v /opt/data12.1:/data -p 5555:5555 --name redroid12-1 redroid/redroid:12.0.0-latest androidboot.redroid_width=1080 androidboot.redroid_height=1920 androidboot.redroid_dpi=480 androidboot.redroid_gpu_mode=guest ro.secure=0

it is usefull, thanks you!

TeddyNight commented 1 month ago

I have encountered the same problem netd : Error adding IPv4 rule: Address family not supported by protocol. You can try enable the kernel option CONFIG_IP_MULTIPLE_TABLES. It works for me.