Giter VIP home page Giter VIP logo

anbox-direct-gpu-access's People

Contributors

elliott-wen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

anbox-direct-gpu-access's Issues

Fatal Error ! I am using lxc 2.0x so old keywords on Deepin OS ,debian based

I ran a.out aka emu gui first so a transparent android window appeared ,now when i run lxc container ,i got

/system/bin/sh: No controlling tty: open /dev/tty: No such device or address
/system/bin/sh: warning: won't have full job control


And entered into android shell .
But there is system crashing ....
My config file for android container

lxc.network.type = veth
lxc.network.link = anbox0
lxc.network.flags = up
lxc.network.hwaddr = 00:16:3e:c1:d4:fe
lxc.id_map = u 0 100000 65536
lxc.id_map = g 0 100000 65536
lxc.rootfs = /home/genx/.local/share/lxc/android/rootfs
lxc.rootfs.backend = dir
lxc.mount.entry = /home/genx/emugui/disk/data data none bind,optional 0 0
lxc.mount.entry = /home/genx/emugui/disk/cache cache none bind,optional 0 0
lxc.mount.entry = /dev/dri/card0 dev/dri/card0 none bind,optional,create=file 0 0
lxc.mount.entry = /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file 0 0	
lxc.mount.entry = /dev/binder dev/binder none bind,optional,create=file 0 0
lxc.mount.entry = /dev/uinput dev/uinput none bind,optional,create=file 0 0
lxc.mount.entry = /dev/ashmem dev/ashmem none bind,optional,create=file 0 0
lxc.mount.entry = /tmp/android-dbus host none bind,optional,create=dir 0 0
lxc.mount.entry = /tmp/android-dbus/input dev/input none bind,optional,create=dir 0 0
lxc.mount.entry = /dev/fuse dev/fuse none bind,optional,create=file 0 0
lxc.haltsignal = SIGUSR1
lxc.rebootsignal = SIGTERM
lxc.utsname = android
lxc.tty = 1
lxc.pts = 1024
lxc.tty.dir = ""
lxc.cap.drop = sys_module mac_admin mac_override sys_time

# When using LXC with apparmor, uncomment the next line to run unconfined:
lxc.aa_profile = unconfined
lxc.mount.auto = cgroup:mixed proc:mixed sys:mixed
lxc.autodev = 1
lxc.environment = PATH=/system/bin:/system/sbin:/system/xbin:/bin
lxc.init_cmd=/init

Logcat File :- https://drive.google.com/file/d/1SuNE7PN3ZeM5RuxqrJqiTAd72BbhtrL1/view?usp=sharing

Please help

Sent from my Redmi Note 3 using FastHub-Libre

Failed to start LXC unprivileged container

ok, i have build emu gui as a.out ,
further created manually

~/.config/lxc/default.conf
~/.cache/lxc/
/etc/lxc/lxc-usernet

touched subuid and subgid file as it was not there at etc/* and then executed usermod to add subuid and subgid entry for current user
compiled nsexec and executed after extracting rootfs at ~/.local/share/lxc/android/rootfs
modified username in config file and placed at ~/.local/share/lxc/android as there was no config file there.
created container with

$lxc-create -t busybox -n android

please help!

android.trace.txt

Using Manjaro KDE 18.2

i was install your anbox-direct-gpu-access....

hi elliott!
i was deploy ubuntu 18.04 and install anbox-module.
and run emugui and lxc-start -F -n andriod command.
lxc container status running. but emugui show not anything.
blank android windows is show.
i wondering this is it? or something wrong?
also lxc start command after into container elliott shell. process adbd running but adb command not found.
plz tell me why..
thanks
container1
container2

app_window

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.