![]() |
Anyone tried Anbox-4-arm64 yet? - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111) +--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114) +--- Thread: Anyone tried Anbox-4-arm64 yet? (/showthread.php?tid=8576) |
RE: Anyone tried Anbox-4-arm64 yet? - FrankWu - 02-27-2020 (01-30-2020, 05:17 PM)PakoSt Wrote: I've updated my Manjaro packages from my previous comment: Hi PakoSt, I downloaded your anbox-image-working.tar.gz, but there are 4 files, which one should be used for ARM64? (In fact I am using one ARM64 devices). anbox-image-1:2018.07.19-3-aarch64.pkg.tar.zst android_1_arm64.img anbox-image-1:2018.07.19-2-aarch64.pkg.tar.zst android.img In fact I have used [u]android_1_arm64.img but when launching the app manager it shows starting then exit .[/u] [u]And then I used your android.img, for this one when launching app manager it works fine. But when I installed some apks with "native-code: '' 'armeabi' 'armeabi-v7a", it failed with error "INSTALL_FAILED_NO_MATCHING_ABIS". Then I found this image file (android.img) 's abilist is [arm64-v8a] which makes [u][u]'armeabi' 'armeabi-v7a" apk failed. Just want to confirm if android.img is built with [u][u]arm64-v8a only.[/u][/u][/u][/u][/u] [u][u][u][u][u]Another problem I found is when launched WebView Browser, after I finishing typing a website, it shows blank window and then crashed.[/u][/u][/u][/u][/u] [u][u][u][u][u]I found there is following error:[/u][/u][/u][/u][/u] [u][u][u][u][u]02-27 15:09:44.678 30 30 E EGL_emulation: tid 30: eglCreateSyncKHR(1315): error 0x3004 (EGL_BAD_ATTRIBUTE)[/u][/u][/u][/u][/u] [u][u][u][u][u]02-27 15:10:08.539 519 615 E libEGL : validate_display:99 error 3008 (EGL_BAD_DISPLAY)[/u][/u][/u][/u][/u] [u][u][u][u][u]Do you have this issue?[/u][/u][/u][/u][/u] RE: Anyone tried Anbox-4-arm64 yet? - FrankWu - 03-02-2020 (01-18-2020, 08:47 AM)aaspectre Wrote: i actually found that just before you posted that, the container and session starts, but the window is black. it appears to be functioning underneath it all, though. Hi aaspectre, I found on my ARM64 devices, host GPU driver is not compatible with the emulator. So I'd like to use software rendering. But when I enabled software rendering, it says following error: -------------------------------------------------------------------------------------------------------------------------------------------------- ANBOX_LOG_LEVEL=debug EGL_LOG_LEVEL="debug" anbox session-manager --single-window --window-size=380,512 --software-rendering [ 2020-03-02 15:20:36] [daemon.cpp:61@Run] Software rendering is enabled, but SwiftShader library directory is not found How do you install the SwiftShader library? I know there is https://docs.anbox.io/userguide/advanced/software_rendering.html with snap, but my ubuntu could not use snap, so it does not work for me. Thanks, Frank RE: Anyone tried Anbox-4-arm64 yet? - PakoSt - 03-18-2020 Hi, @FrankWu , it's been a few weeks since I've visited the forum. I didn't create that image - it was actually a developer from Librem 5 ![]() Yup, I wasn't able to install armv7 apks either. The image is aarch64 and it expects arm64 apks - ideally it shouldn't be a problem as apks are required to have 64bit for the Play Store but yeah... Haven't checked the browsers since... is it early February? Same problems there. I'm thinking to give it another shot this weekend and see how much things have changed RE: Anyone tried Anbox-4-arm64 yet? - FrankWu - 03-25-2020 (03-18-2020, 09:47 AM)PakoSt Wrote: Hi, @FrankWu , it's been a few weeks since I've visited the forum. 1. I have created one arm64 image and it is arm64 only and not armeabi-v7a support. This arm64 only configuration leads to one critical problem that mediacodec and related service could not be running on the arm64 only system. I have tried enabled the armeabi-v7a with arm64 with changing the https://github.com/anbox/anbox/blob/master/products/anbox_arm64.mk. Even I could create armeabi-v7a together with arm64 image, it still could not execute the 32bit application like mediacodec. [ro.product.cpu.abi]: [arm64-v8a] [ro.product.cpu.abilist]: [arm64-v8a,armeabi-v7a,armeabi] [ro.product.cpu.abilist32]: [armeabi-v7a,armeabi] I think anbox has problem to support arm64 together with armeabi-v7a. 2. I have created one armeabi-v7a only image, and installed on my arm64 devices, and it is still running as ARM64 I will try more with the ARM32 only image. RE: Anyone tried Anbox-4-arm64 yet? - tophneal - 03-25-2020 Has anyone tried the android.img that PostMarketOS has achieved success with, yet? RE: Anyone tried Anbox-4-arm64 yet? - PakoSt - 03-31-2020 You can load that image and overall I think it will be better combo than the previous one, @tophneal Finally got the sd cards delivered. I will load one with pmOS to check how Anbox runs there. Guess there is no anbox-bridge or smth based on a few messages I saw on Discord about manually setting up the internet connection. With my hacked up Anbox build which is based on AUR with the pmOS image, the browsers are in far more functional state (they don't crash immediately). Kodi... crashes a lot and I can't get to check if Netflix would be an option there. For your run-of-the-mill Android app, it can get the job done. A sort of a "hack" if one of you guys is running Wayland - the cursor won't show up on my Wayfire DE and to combat this, I start up Blender (yup, Blender 2.7 with es2 support). Now, Blender has X wrapper and runs through XWayland just like Anbox. When you move through a particular portion of Blender's UI, the mouse cursor is switched to cross looking one and it persists over the Anbox window - big quality of life improvement there ![]() Hopefully with kernel 5.7 there will be more patches and work done for the VPU side of things to help out with video acceleration. Time to load a few things on those SD Cards RE: Anyone tried Anbox-4-arm64 yet? - tophneal - 04-01-2020 (03-31-2020, 03:15 PM)PakoSt Wrote: You can load that image and overall I think it will be better combo than the previous one, @tophneal Let us know what you find, @PakoSt ! I think later today I'll boot up my Manjaro install and reinstall Anbox (I've honestly been kind of avoiding it,) and try out their Android.img. RE: Anyone tried Anbox-4-arm64 yet? - poVoq - 05-17-2020 Did you try it on Manjaro? Would be nice to have some basic Android apps on the Pinebook Pro for sure. RE: Anyone tried Anbox-4-arm64 yet? - tophneal - 05-19-2020 (05-17-2020, 08:17 AM)poVoq Wrote: Did you try it on Manjaro? I haven't reinstalled Anbox on Manjaro, yet, no. Immediately after expressing that, I got bogged down with work. I'm sure I'll get around to it this week, now that I've finally swapped out my Fedora SD for the Manjaro SD. Fortunately, we already know that Anbox does work, it just requires using certain android.imgs for aarch64. The best options so far should be linked in this thread. (androind.img from the Postmarket OS repo may not be, and it likely the best candidate.) I suggest if you do want to run Anbox, don't use an OS installed on an SD card. It's painfully slow and hard to use. RE: Anyone tried Anbox-4-arm64 yet? - appelgriebsch - 07-20-2020 Any progress on the Anbox integration? |