-
Notifications
You must be signed in to change notification settings - Fork 322
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
在甲骨文arm64服务器上用redroid12运行碧蓝航线(azur lane)闪退 #776
Comments
Not sure it's gpu related or not.
BTW: try ssh port forward to create a secure adb channel. |
Though my case is not same as yours, I tried opening Blue Archive on Redroid and found the game crashed after opening for 5 or 6 seconds, appearing like failure on loading the game assets. However, it works well for Azurlane. Notably, Blue Archive is programmed base on unity. I wonder whether Redroid is compatible with Unity based Games. In my case, the platform is Ubuntu 22.04 Desktop amd64 with no Wayland configured. |
Describe the bug
请详细描述问题(ZH_CN)
A clear and concise description of what the bug is.
我在甲骨文arm64服务器上安装了redroid12,在尝试用它运行碧蓝航线(azur lane)时黑屏并直接闪退.这是我创建docker容器的代码
docker run -itd --cap-add=ALL --security-opt=seccomp:unconfined --security-opt=apparmor:unconfined --device-cgroup-rule "c *:* rwm" --name redroid11 --memory-swappiness=0 --privileged --pull always -v ~/data11:/data -p 5555:5555 redroid/redroid:12.0.0_64only-latest -redroid.width=1280 -redroid.height=720 -redroid.gpu.mode=guest --rm androidboot.hardware=mt6891 ro.secure=0 ro.boot.hwc=GLOBAL ro.ril.oem.imei=861503068361145 ro.ril.oem.imei1=861503068361145 ro.ril.oem.imei2=861503068361148 ro.ril.miui.imei0=861503068361148 ro.product.manufacturer=Xiaomi ro.build.product=chopin
scrcpy使用的是别人的web端镜像,因为甲骨文不适合装图形界面,我听说远程adb调试不安全,最后是用cloudflare隧道实现web端访问.
我看到logcat.txt里面有几处关于scrcpy版本问题的提示(都提到了NetrisTV/ws-scrcpy#217),
不确定这是否和黑屏闪退有关.因为我还不会直接使用ws-scrcpy,只能用别人的镜像,但是尝试了几个arm的docker镜像,scrcpy都是同一版本( https://github.com/NetrisTV/scrcpy的1.19),
所以我暂时没有尝试新版本.
10-27 04:40:25.172 I/ActivityTaskManager( 230): Config changes=20000480 {1.0 ?mcc?mnc [en_US] ldltr sw360dp w360dp h568dp 320dpi nrml port -touch -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 720, 1280) mAppBounds=Rect(0, 0 - 720, 1184) mMaxBounds=Rect(0, 0 - 720, 1280) mDisplayRotation=ROTATION_0 mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} as.2 s.131 fontWeightAdjustment=0}
10-27 04:40:25.173 W/ActivityTaskManager( 230): Current config: {1.0 ?mcc?mnc [en_US] ldltr sw360dp w592dp h336dp 320dpi nrml land -touch -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1280, 720) mAppBounds=Rect(0, 0 - 1184, 720) mMaxBounds=Rect(0, 0 - 1280, 720) mDisplayRotation=ROTATION_90 mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_90} as.2 s.131 fontWeightAdjustment=0} unchanged for IME proc com.android.inputmethod.latin
10-27 04:40:25.174 I/WindowManager( 230): Override config changes=20000480 {1.0 ?mcc?mnc [en_US] ldltr sw360dp w360dp h568dp 320dpi nrml port -touch -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 720, 1280) mAppBounds=Rect(0, 0 - 720, 1184) mMaxBounds=Rect(0, 0 - 720, 1280) mDisplayRotation=ROTATION_0 mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} as.2 s.131 fontWeightAdjustment=0} for displayId=0
10-27 04:40:25.174 W/LocalDisplayAdapter( 230): Unable to find color mode 0, ignoring request.
10-27 04:40:25.174 E/scrcpy ( 1752): FIXME: Returning only default display.
10-27 04:40:25.174 E/scrcpy ( 1752): FIXME: Returning only default display.
10-27 04:40:25.175 E/scrcpy ( 1752): See NetrisTV/ws-scrcpy#217
10-27 04:40:25.175 E/scrcpy ( 1752): See NetrisTV/ws-scrcpy#217
make sure the required kernel modules present
确保必须的内核功能已开启(ZH_CN)
grep binder /proc/filesystems
grep ashmem /proc/misc
(optional)sudo apt install linux-modules-extra-
uname -rReading package lists... Done Building dependency tree Reading state information... Done linux-modules-extra-5.15.0-1067-oracle is already the newest version (5.15.0-1067.73~20.04.1). modprobe binder_linux devices="binder,hwbinder,vndbinder" modprobe ashmem_linux
我下载了需要的模块且没有报错
Collect debug logs
收集调试日志(ZH_CN)
curl -fsSL https://raw.githubusercontent.com/remote-android/redroid-doc/master/debug.sh | sudo bash -s -- [CONTAINER]
omit CONTAINER if not exist any more.
如容器已退出,可忽略CONTAINER参数(ZH_CN)
redroid-debug.0z7BGhAl.tgz.zip
Screenshots
截图(ZH_CN)
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: