Anbox on KDE Community Edition (Manjaro)
#2
I started by trying to install binder via this method.


Code:
sudo apt install dkms

git clone https://github.com/neil2ball/anbox-modules

cd anbox-modules

sudo cp anbox.conf /etc/modules-load.d/

sudo cp 99-anbox.rules /lib/udev/rules.d

sudo cp -rT binder /usr/src/anbox-binder-1

sudo dkms install anbox-binder/1

However, that failed.  Sources suggested that this might be the wrong approach.  So, I tried something else.

I also tried to connect the binder requirement with the available binderfs, but that did not work either.  Specificially, I used what follows.

Quote:
  • Create a unit file for binderfs

Code:
Code:
printf '%b' "[Unit]\nDescription=binderfs\n\n[Mount]\nWhat=binder\nWhere=/dev/binderfs\nType=binder\n\n[Install]\n" \

"WantedBy=anbox-container-manager.service\n" | sudo tee /etc/systemd/system/dev-binderfs.mount
  • Edit the anbox-container-manager.service unit file

Code:
Code:
sudo
sed -i 's/After=network.target/After=network.target
dev-binderfs.mount/' /lib/systemd/system/anbox-container-manager.service

sudo sed -i '6i Requires=dev-binderfs.mount' /lib/systemd/system/anbox-container-manager.service

sudo sed -i '\_^ExecStartPre=/sbin/modprobe_s_^_#_' /lib/systemd/system/anbox-container-manager.service
  • Reload the service

Code:
Code:
sudo systemctl daemon-reload

sudo systemctl restart anbox-container-manager.service && systemctl --user restart anbox-session-manager.service


I later tried replacing the android.img provided by pacman with the one linked in the above post, but that also did not work.




I continued to research, finding myself running into the error outlined here.



Quote:
Code:
[ 2020-09-05 14:53:13] [Renderer.cpp:190@initialize] Failed: Missing egl_image related extension(s)
Stack trace (most recent call last) in thread 124889:
#7    Object "", at 0xffffffffffffffff, in
#6    Object "/usr/lib/libc-2.32.so", at 0x7fa5959fd292, in __clone
#5    Object "/usr/lib/libpthread-2.32.so", at 0x7fa595d7c3e8, in start_thread
#4    Object "/usr/bin/anbox", at 0x55e8576ffce0, in emugl::Thread::thread_main(void*)
#3    Object "/usr/bin/anbox", at 0x55e857603982, in RenderThread::main()
#2    Object "/usr/bin/anbox", at 0x55e8576faa0e, in renderControl_decoder_context_t::decode(void*, unsigned long, IOStream*)
#1    Object "/usr/bin/anbox", at 0x55e8576712ee, in
#0    Object "/usr/bin/anbox", at 0x55e857674cd5, in RendererConfigList::getPackInfo(int*, int*) const
Segmentation fault (Address not mapped to object [(nil)])
zsh: segmentation fault (core dumped)  anbox session-manager


I tried the proposed fix of installing lxc-git, but that did not work either.


I found something else that I did not try, but it was an interesting point:

Quote:Well, you seem to be missing /usr/share/libdrm/amdgpu.ids. That's not Anbox's fault. This might help if you messed with your graphics drivers https://askubuntu.com/questions/971343/c...-ub#992654


However, there are still multiple variables that could be causing issues at this point.  One could still be the binder requirement.  If there is some way to get anbox to see binder through binderfs that works (assuming I did it right) that would at least eliminate one issue.  Another is perhaps needing graphics drivers; a theory based on gles2 having nothing listed when you run 'anbox session-info'.

Anyway, that is where i must leave it for now, but I shall return to it at some point.  I will check in to see if there is any input and take any suggestions as well as post the results.
  Reply


Messages In This Thread
RE: Anbox on KDE Community Edition (Manjaro) - by neil2ball - 02-07-2021, 12:29 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Manjaro: Settings doesnt open nbh 0 600 09-24-2023, 05:25 PM
Last Post: nbh
  Can't get ring on Manjaro Pine Phone thorensjubilee 12 3,525 06-09-2023, 04:40 AM
Last Post: thorensjubilee
  Is Manjaro ARM a Rolling Release? jojuma 4 1,608 05-10-2023, 09:27 PM
Last Post: Kevin Kofler
  Where Does Manjaro Phosh Store Its Custom Keystrokes? jakfish 0 816 04-25-2023, 09:49 AM
Last Post: jakfish
Exclamation My short experience with Manjaro Plasma Mobile anonymous 10 4,813 03-02-2023, 07:25 PM
Last Post: Kevin Kofler
  Can't install Manjaro thorensjubilee 1 1,038 02-09-2023, 08:17 AM
Last Post: thorensjubilee
  Manjaro plasma-mobile Beta 13 Uturn 13 4,927 01-25-2023, 04:15 PM
Last Post: Kevin Kofler
  Manjaro Plasma busted Chief 2 1,590 11-22-2022, 05:00 PM
Last Post: Chief
  MMS workaround for users with separate APN (works atleast on Manjaro Phosh) alaraajavamma 0 1,079 10-10-2022, 12:53 PM
Last Post: alaraajavamma
Question Running AnBox on Manjaro ARM w/ Phosh? danimations 2 2,512 09-05-2022, 03:42 PM
Last Post: nroth

Forum Jump:


Users browsing this thread: 2 Guest(s)