Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #231052 > unrolled thread

Installing anbox on Debian 10

Started by"Gary L. Roach" <garyroach719@gmail.com>
First post2021-01-24 21:50 +0100
Last post2021-01-24 22:20 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  Installing anbox on Debian 10 "Gary L. Roach" <garyroach719@gmail.com> - 2021-01-24 21:50 +0100
    Re: Installing anbox on Debian 10 Reco <recoverym4n@enotuniq.net> - 2021-01-24 22:20 +0100

#231052 — Installing anbox on Debian 10

From"Gary L. Roach" <garyroach719@gmail.com>
Date2021-01-24 21:50 +0100
SubjectInstalling anbox on Debian 10
Message-ID<BAUuB-7kj-1@gated-at.bofh.it>
Has anyone successfully installed anbox on debian. I have tried a couple 
of different ways starting with the debian stable package. The debian 
stable anbox package requires a lot of manual installation of support 
packages. I never did get things to work. I finally loaded the snap 
version which at least loaded all of the support packaging. 
Unfortunately, anbox still doesn't work. When I try to start anbox I get 
a white screen with the android logo in the middle. The screen 
disappears after a few seconds and then nothing. On a suggestion I ran 
"anbox session-manager" which gave me the following:

$ anbox session-manager
radeon: Failed to get PCI ID, error number -13
[ 2021-01-23 21:29:41] [Renderer.cpp:128@initialize] Failed to select 
EGL configuration
Stack trace (most recent call last) in thread 19805:
#7    Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in
#6    Object "/snap/anbox/207/lib/x86_64-linux-gnu/libc.so.6", at 
0x7f5a8209a292, in clone
#5    Object "/snap/anbox/207/lib/x86_64-linux-gnu/libpthread.so.0", at 
0x7f5a82421608, in
#4    Object "/snap/anbox/207/usr/bin/anbox", at 0x55d218930f34, in 
emugl::Thread::thread_main(void*)
#3    Object "/snap/anbox/207/usr/bin/anbox", at 0x55d21883df78, in 
RenderThread::main()
#2    Object "/snap/anbox/207/usr/bin/anbox", at 0x55d21892bc80, in 
renderControl_decoder_context_t::decode(void*, unsigned long, IOStream*)
#1    Object "/snap/anbox/207/usr/bin/anbox", at 0x55d2188abfe2, in
#0    Object "/snap/anbox/207/usr/bin/anbox", at 0x55d2188aeea9, in 
RendererConfigList::getPackInfo(int*, int*) const
Segmentation fault (Address not mapped to object [(nil)])
Segmentation fault

I have no idea what is wrong. I have had no problems with my Radeon 
graphics card before and have a lot of packages that are graphics heavy. 
Any help will be sincerely appreciated. Please ask if any additional 
information is needed.

Gary R

[toc] | [next] | [standalone]


#231054

FromReco <recoverym4n@enotuniq.net>
Date2021-01-24 22:20 +0100
Message-ID<BAUXE-7JA-9@gated-at.bofh.it>
In reply to#231052
On Sun, Jan 24, 2021 at 12:25:56PM -0800, Gary L. Roach wrote:
> Has anyone successfully installed anbox on debian.

Yes, a simple "apt install anbox" just did it for me.


> I have tried a couple of different ways starting with the debian
> stable package.

I've needed to do two manual steps:

1) Downloading a blob from https://build.anobox.io.
2) Invoking "service anbox-container-manager restart".

Both were helpfully outlined in README.Debian.


> The debian stable anbox package requires a lot of
> manual installation of support packages.

Does not seem to be the case for me.


> I finally loaded the snap version which at least loaded all of the
> support packaging. Unfortunately, anbox still doesn't work. When I try
> to start anbox I get a white screen with the android logo in the
> middle. The screen disappears after a few seconds and then nothing.

Cannot help you with that. I have a good package manager already
(apt/dpkg) and refuse to use mediocre one (snap).


> On a suggestion I ran "anbox session-manager" which gave me the following:
> 
> $ anbox session-manager
> radeon: Failed to get PCI ID, error number -13

$ perl -e 'use POSIX; printf strerror(13)."\n";'
Permission denied


> [ 2021-01-23 21:29:41] [Renderer.cpp:128@initialize] Failed to select EGL configuration

Anbox seems to need EGL/x11 to function. That requires:

1) X
2) An access to /dev/dri/* (see above).
3) libEGL.so.1, from mesa project preferably.

Your setup seems to lack something from this list.


> I have no idea what is wrong. I have had no problems with my Radeon

Anbox works on i965. Just a hint.

Reco

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web