-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Enable Installation on more Distributions #3
Comments
@ovalmartini Sounds good. I think the first step is to get things in the anbox-installer ajusted and then find a way to deploy the kernel modules on Arch. |
arch has dkms also |
Please have a look on #29 considering that request. |
Looks like Anbox requires user namespaces and Archlinux kernel lacks those, so session manager can only run as root. |
Here's how I got it running on arch. Thanks to irtimmer for the AUR packages. First, install the linux-headers and dkms packages Then install things from the AUR Then you need to reboot. Make sure your system is up to date (pacman -Syu). Then modprobe some things,,, Then enable the container service. After that, you should be good to go! Start anbox from the terminal with edit: sometimes I have to start |
nice work...need just arch openrc script |
@artex-files |
hmm, I'm getting a segfault and @subjectdenied 's workaround doesn't seem to be working for me (on Arch, integrated graphics)
|
I'm getting the segfault as well.
Is there any way to get the details of the core dump? |
I'm also getting a segfault:
|
I am trying to run anbox on arch. Started container manager using:
Then started session manager:
Then tried launching anbox using:
As expected it didn't launch because session manager had a segfault. A different segfault here. |
I seem to get the same error as @mateusfccp but with Intel graphics instead of nvidia.
Switching between xorg or wayland doesn't seem to matter. |
@flipflop97 I'm actually using Bumblebee. It should be running with Intel, as I didn't used |
@mateusfccp Oh, then we're having the same problem, I also have hybrid graphics with bumblebee. Maybe it's detecting the nvidia card and (tries) forcing to use nvidia drivers while actually starting it with intel graphics. |
@flipflop97 I also though on it. Using |
using the flag |
anyone has networking available? you can test it in webview app in anbox |
@subjectdenied I don't have it either. |
I made some progress. I ran the following command to start session manager:
Note that i was not able to use optirun and its throwing the same segfault as earlier when not using optirun or primusrun. Afterwards, I tried launching applications like Clock, Gallery etc from the menu but it appeared for a second with garbage displayed in the window. |
I also use Manjaro KDE but the more free OpenRC Version. I need the openrc script to test because I have bumblebee, too. |
@mac-linux-free I don't think you would require any init scripts. Try running these separately: |
Am I the only one still stuck? 😞 |
Am i really the only one facing this issue? Please Help. :( |
Using Log:
|
when running with |
Just running |
add install instruction
Amit Pundir and Youling in parallel reported crashes with recent mainline kernels running Android: F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** F DEBUG : Build fingerprint: 'Android/db410c32_only/db410c32_only:Q/OC-MR1/102:userdebug/test-key F DEBUG : Revision: '0' F DEBUG : ABI: 'arm' F DEBUG : pid: 2261, tid: 2261, name: zygote >>> zygote <<< F DEBUG : signal 7 (SIGBUS), code 2 (BUS_ADRERR), fault addr 0xec00008 ... <snip> ... F DEBUG : backtrace: F DEBUG : #00 pc 00001c04 /system/lib/libc.so (memset+48) F DEBUG : anbox#1 pc 0010c513 /system/lib/libart.so (create_mspace_with_base+82) F DEBUG : anbox#2 pc 0015c601 /system/lib/libart.so (art::gc::space::DlMallocSpace::CreateMspace(void*, unsigned int, unsigned int)+40) F DEBUG : anbox#3 pc 0015c3ed /system/lib/libart.so (art::gc::space::DlMallocSpace::CreateFromMemMap(art::MemMap*, std::__1::basic_string<char, std::__ 1::char_traits<char>, std::__1::allocator<char>> const&, unsigned int, unsigned int, unsigned int, unsigned int, bool)+36) ... This was bisected back to commit bfd40eaff5ab ("mm: fix vma_is_anonymous() false-positives"). create_mspace_with_base() in the trace above, utilizes ashmem, and with ashmem, for shared mappings we use shmem_zero_setup(), which sets the vma->vm_ops to &shmem_vm_ops. But for private ashmem mappings nothing sets the vma->vm_ops. Looking at the problematic patch, it seems to add a requirement that one call vma_set_anonymous() on a vma, otherwise the dummy_vm_ops will be used. Using the dummy_vm_ops seem to triggger SIGBUS when traversing unmapped pages. Thus, this patch adds a call to vma_set_anonymous() for ashmem private mappings and seems to avoid the reported problem. Fixes: bfd40eaff5ab ("mm: fix vma_is_anonymous() false-positives") Cc: Kirill Shutemov <kirill.shutemov@linux.intel.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Hugh Dickins <hughd@google.com> Cc: Joel Fernandes <joelaf@google.com> Cc: Colin Cross <ccross@google.com> Cc: Matthew Wilcox <willy@infradead.org> Reported-by: Amit Pundir <amit.pundir@linaro.org> Reported-by: Youling 257 <youling257@gmail.com> Signed-off-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Make sure you are running the latest version of Anbox before reporting an issue.
Anbox release (
anbox version
) and system info (anbox system-info
):latest
Description of the problem:
Anbox is just runnning (if it is running) on Ubuntu. Make it available on more Distris!
Expected:
Additional info:
I could help, making it available for Arch.
The text was updated successfully, but these errors were encountered: