02-07-2021, 12:29 PM
I started by trying to install binder via this method.
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.
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.
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:
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.
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:Code:
- Create a unit file for binderfs
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.mountCode:
- Edit the anbox-container-manager.service unit file
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.serviceCode:
- Reload the service
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.