Bug#943654: anbox: GUI crashes after "starting"

2020-11-01 Thread Laszlo Frazer
Package: anbox
Version: 0.0~git20200526-1+b2
Followup-For: Bug #943654
X-Debbugs-Cc: las...@laszlofrazer.com

Dear Maintainer,


   * What led up to the situation?

install anbox

   * What exactly did you do (or not do) that was effective (or
 ineffective)?

 run 

 anbox session-manager

   * What was the outcome of this action?

   loading window appears for a while, disappears

   [session_manager.cpp:136@operator()] Failed to start as either binder or 
ashmem kernel drivers are not loaded

   * What outcome did you expect instead?

   session manager GUI

   Loading the modules with modprobe did not help.

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.8.0-1-amd64 (SMP w/12 CPU threads)
Kernel taint flags: TAINT_WARN, TAINT_CRAP
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages anbox depends on:
ii  init-system-helpers 1.58
ii  iptables1.8.5-3
ii  libboost-filesystem1.71.0   1.71.0-7+b1
ii  libboost-iostreams1.71.01.71.0-7+b1
ii  libboost-log1.71.0  1.71.0-7+b1
ii  libboost-program-options1.71.0  1.71.0-7+b1
ii  libboost-thread1.71.0   1.71.0-7+b1
ii  libc6   2.31-4
ii  libegl1 1.3.2-1
ii  libgcc-s1   10.2.0-15
ii  libgles21.3.2-1
ii  liblxc1 1:4.0.4-5
ii  libprotobuf-lite23  3.12.3-2+b1
ii  libsdl2-2.0-0   2.0.12+dfsg1-4
ii  libsdl2-image-2.0-0 2.0.5+dfsg1-2
ii  libstdc++6  10.2.0-15
ii  libsystemd0 246.6-2
ii  lxc 1:4.0.4-5

Versions of packages anbox recommends:
ii  dbus-user-session  1.12.20-1

anbox suggests no packages.

-- no debconf information



Bug#943654: anbox: GUI crashes after "starting"

2020-07-12 Thread Scorpion
anbox check-features
Your computer does meet all requirements to run Anbox

I did some other attempts, once when "systemctl --user restart
anbox-session-manager.service" succeeded I was able to open anbox.
But there was nothing I could do, I was only able to maximize/minimize the
window.

I can try the debian kernel, but on my other pc with the default debian
kernel (4.19.0-9-amd64) is not working.

I previously tried the snap version but now it is completely removed, it
didn' t work.
I don' t like the warning:

snap install anbox --beta
error: The publisher of snap "anbox" has indicated that they do not
consider this revision to be of
   production quality and that it is only meant for development or
testing at this point. As a
   consequence this snap will not refresh automatically and may perform
arbitrary system
   changes outside of the security sandbox snaps are generally confined
to, which may put your
   system at risk.

   If you understand and want to proceed repeat the command including
--devmode; if instead you
   want to install the snap forcing it into strict confinement repeat
the command including
   --jailmode.

And I can' t use the jailmode:

snap install anbox --beta --jailmode
error: cannot install "anbox": this system cannot honour the jailmode flag

There isn't a stable version.


Bug#943654: anbox: GUI crashes after "starting"

2020-07-12 Thread Shengjing Zhu
On Mon, Jul 13, 2020 at 12:03 AM Scorpion  wrote:
>   brand: Intel(R) Pentium(R) CPU G3450 @ 3.40GHz
>   features:
> - sse4_1
> - sse4_2

This CPU seems very old, what is the output of `anbox check-features`?

>   version: Linux version 5.0.0-19.1-liquorix-amd64 (ste...@mxlinux.org) (gcc 
> version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 ZEN SMP PREEMPT liquorix 
> 5.0-19~obs (2019-05-26)

This kernel is not provided by Debian.

> vendor: NVIDIA

Some people have reported that anbox can't work on their Nvidia driver.

I think the problem is not Debian specific. Have you ever successfully
run the upstream snap version?

-- 
Shengjing Zhu



Bug#943654: anbox: GUI crashes after "starting"

2020-07-12 Thread Scorpion
When I restart the pc the "systemctl --user status
anbox-session-manager.service" is dead.
Usually If I restart it, it doens' t succeed:
systemctl --user status anbox-session-manager.service
● anbox-session-manager.service - Anbox Session Manager
   Loaded: loaded (/usr/lib/systemd/user/anbox-session-manager.service;
disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2020-07-12 17:52:48 CEST;
2s ago
 Docs: man:anbox(1)
  Process: 3712 ExecStart=/usr/bin/anbox session-manager (code=exited,
status=1/FAILURE)
 Main PID: 3712 (code=exited, status=1/FAILURE)

Jul 12 17:52:48 debian-desktop systemd[1823]: Started Anbox Session Manager.
Jul 12 17:52:48 debian-desktop anbox[3712]: bind: Address already in use
Jul 12 17:52:48 debian-desktop systemd[1823]:
anbox-session-manager.service: Main process exited, code=exited,
Jul 12 17:52:48 debian-desktop systemd[1823]:
anbox-session-manager.service: Failed with result 'exit-code'.

anbox system-info
version: 0.0~git20190124-1-Debian
cpu:
  arch:  x86
  brand: Intel(R) Pentium(R) CPU G3450 @ 3.40GHz
  features:
- sse4_1
- sse4_2
os:
  name: Debian GNU/Linux
  version: 10 (buster)
  snap-based: false
kernel:
  version: Linux version 5.0.0-19.1-liquorix-amd64 (ste...@mxlinux.org)
(gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 ZEN SMP PREEMPT
liquorix 5.0-19~obs (2019-05-26)
  binder: true
  ashmem: true
graphics:
  egl:
vendor: NVIDIA
version: 1.5
extensions:
  - EGL_EXT_buffer_age
  - EGL_EXT_client_sync
  - EGL_EXT_create_context_robustness
  - EGL_EXT_output_base
  - EGL_EXT_stream_acquire_mode
  - EGL_EXT_sync_reuse
  - EGL_IMG_context_priority
  - EGL_KHR_config_attribs
  - EGL_KHR_create_context_no_error
  - EGL_KHR_context_flush_control
  - EGL_KHR_create_context
  - EGL_KHR_display_reference
  - EGL_KHR_fence_sync
  - EGL_KHR_get_all_proc_addresses
  - EGL_KHR_partial_update
  - EGL_KHR_swap_buffers_with_damage
  - EGL_KHR_no_config_context
  - EGL_KHR_gl_colorspace
  - EGL_KHR_gl_renderbuffer_image
  - EGL_KHR_gl_texture_2D_image
  - EGL_KHR_gl_texture_3D_image
  - EGL_KHR_gl_texture_cubemap_image
  - EGL_KHR_image
  - EGL_KHR_image_base
  - EGL_KHR_image_pixmap
  - EGL_KHR_reusable_sync
  - EGL_KHR_stream
  - EGL_KHR_stream_attrib
  - EGL_KHR_stream_consumer_gltexture
  - EGL_KHR_stream_cross_process_fd
  - EGL_KHR_stream_fifo
  - EGL_KHR_stream_producer_eglsurface
  - EGL_KHR_surfaceless_context
  - EGL_KHR_wait_sync
  - EGL_NV_nvrm_fence_sync
  - EGL_NV_post_sub_buffer
  - EGL_NV_stream_cross_display
  - EGL_NV_stream_cross_object
  - EGL_NV_stream_cross_process
  - EGL_NV_stream_cross_system
  - EGL_NV_stream_flush
  - EGL_NV_stream_metadata
  - EGL_NV_stream_remote
  - EGL_NV_stream_reset
  - EGL_NV_stream_socket
  - EGL_NV_stream_socket_inet
  - EGL_NV_stream_socket_unix
  - EGL_NV_stream_sync
  - EGL_NV_stream_fifo_next
  - EGL_NV_stream_fifo_synchronous
  - EGL_NV_stream_consumer_gltexture_yuv
  - EGL_NV_stream_attrib
  - EGL_NV_system_time
  - EGL_NV_output_drm_flip_event
  gles2:
vendor: NVIDIA Corporation
vendor: OpenGL ES 3.2 NVIDIA 418.74
extensions:
  - GL_EXT_base_instance
  - GL_EXT_blend_func_extended
  - GL_EXT_blend_minmax
  - GL_EXT_buffer_storage
  - GL_EXT_clear_texture
  - GL_EXT_clip_control
  - GL_EXT_clip_cull_distance
  - GL_EXT_color_buffer_float
  - GL_EXT_color_buffer_half_float
  - GL_EXT_conservative_depth
  - GL_EXT_copy_image
  - GL_EXT_debug_label
  - GL_EXT_discard_framebuffer
  - GL_EXT_disjoint_timer_query
  - GL_EXT_draw_buffers_indexed
  - GL_EXT_draw_elements_base_vertex
  - GL_EXT_EGL_image_array
  - GL_EXT_EGL_image_storage
  - GL_EXT_EGL_image_external_wrap_modes
  - GL_EXT_float_blend
  - GL_EXT_frag_depth
  - GL_EXT_geometry_point_size
  - GL_EXT_geometry_shader
  - GL_EXT_gpu_shader5
  - GL_EXT_map_buffer_range
  - GL_EXT_multi_draw_indirect
  - GL_EXT_multisample_compatibility
  - GL_EXT_multisampled_render_to_texture
  - GL_EXT_multisampled_render_to_texture2
  - GL_EXT_occlusion_query_boolean
  - GL_EXT_polygon_offset_clamp
  - GL_EXT_post_depth_coverage
  - GL_EXT_primitive_bounding_box
  - GL_EXT_raster_multisample
  - GL_EXT_render_snorm
  - GL_EXT_robustness
  - GL_EXT_separate_shader_objects
  - GL_EXT_shader_group_vote
  - GL_EXT_shader_implicit_conversions
  - GL_EXT_shader_integer_mix
  - GL_EXT_shader_io_blocks
  - GL_EXT_shader_non_constant_global_initializers
  - GL_EXT_shader_texture_lod
  - GL_EXT_shadow_samplers
  - GL_EXT_sparse_texture
  - GL_EXT_sparse_texture2
  - GL_EXT_sRGB
  - GL_EXT_sRGB_write_control
  - 

Bug#943654: anbox: GUI crashes after "starting"

2020-01-12 Thread Shengjing Zhu
Hi,

On Sun, Jan 12, 2020 at 2:53 AM Matheus  wrote:
[...]
> Here it is the output of the commands:
>
> > maeslor@hactar:~$ ls /var/lib/anbox/android.img
> > /var/lib/anbox/android.img
> >
> > maeslor@hactar:~$ systemctl status anbox-container-manager.service
> > ● anbox-container-manager.service - Anbox Container Manager
> > Loaded: loaded (/lib/systemd/system/anbox-container-manager.service; 
> > enabled;
> > Active: inactive (dead)
> > Condition: start condition failed at Sat 2020-01-11 15:07:43 -03; 43min ago
^

The service is not started.
It says on 2020-01-11 15:07:43 the condition check is failed.
Do you download android.img before or after this time?
Maybe you need to manually start it again?

The commands should be:

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

-- 
Shengjing Zhu



Bug#943654: anbox: GUI crashes after "starting"

2020-01-11 Thread Matheus
Hello,
Sorry for the late reply.

I've downloaded the android image in
, renamed from
"android_amd64.img" to "android.img" and put in `/var/lib/anbox`.
But I couldn't start the systemd services mentioned in `README.Debian`.

Here it is the output of the commands:

> maeslor@hactar:~$ ls /var/lib/anbox/android.img
> /var/lib/anbox/android.img
>
> maeslor@hactar:~$ systemctl status anbox-container-manager.service
> ● anbox-container-manager.service - Anbox Container Manager
> Loaded: loaded (/lib/systemd/system/anbox-container-manager.service; enabled;
> Active: inactive (dead)
> Condition: start condition failed at Sat 2020-01-11 15:07:43 -03; 43min ago
>Docs: man:anbox(1)
>
> maeslor@hactar:~$ systemctl --user status anbox-session-manager.service
> ● anbox-session-manager.service - Anbox Session Manager
> Loaded: loaded (/usr/lib/systemd/user/anbox-session-manager.service; disabled
> Active: inactive (dead)
>Docs: man:anbox(1)





Em dom., 27 de out. de 2019 às 14:53, Shengjing Zhu  escreveu:
>
> On Sun, Oct 27, 2019 at 10:48 PM Matheus Mello  
> wrote:
> >
> > Package: anbox
> > Version: 0.0~git20190124-1
> > Severity: grave
> > Justification: renders package unusable
> >
> > Dear Maintainer,
> >
> > Anbox does not start the Graphical Application after correctly installing 
> > the
> > Debian package. The application shows a boot image with "Starting", but it
> > crashes after a few seconds and the program turns unusable.
> >
>
> Have you ever followed the instructions in /usr/share/doc/anbox/README.Debian?
>
> Notably, is the Android image downloaded, and the status of two
> systemd services.
>
> Please run following commands and give back your results.
>
> ls /var/lib/anbox/android.img
> systemctl status anbox-container-manager.service
> systemctl --user status anbox-session-manager.service
>
> --
> Shengjing Zhu



Bug#943654: anbox: GUI crashes after "starting"

2019-11-13 Thread Shengjing Zhu
Control: tags -1 + moreinfo unreproducible
Control: severity -1 normal

On Sun, Oct 27, 2019 at 10:52 PM Shengjing Zhu  wrote:
>
> On Sun, Oct 27, 2019 at 10:48 PM Matheus Mello  
> wrote:
> >
> > Package: anbox
> > Version: 0.0~git20190124-1
> > Severity: grave
> > Justification: renders package unusable
> >
> > Dear Maintainer,
> >
> > Anbox does not start the Graphical Application after correctly installing 
> > the
> > Debian package. The application shows a boot image with "Starting", but it
> > crashes after a few seconds and the program turns unusable.
> >
>
> Have you ever followed the instructions in /usr/share/doc/anbox/README.Debian?
>
> Notably, is the Android image downloaded, and the status of two
> systemd services.
>
> Please run following commands and give back your results.
>
> ls /var/lib/anbox/android.img
> systemctl status anbox-container-manager.service
> systemctl --user status anbox-session-manager.service
>

Since I haven't received further reply, I'm going to downgrade the severity.

-- 
Shengjing Zhu



Bug#943654: anbox: GUI crashes after "starting"

2019-10-27 Thread Shengjing Zhu
On Sun, Oct 27, 2019 at 10:48 PM Matheus Mello  wrote:
>
> Package: anbox
> Version: 0.0~git20190124-1
> Severity: grave
> Justification: renders package unusable
>
> Dear Maintainer,
>
> Anbox does not start the Graphical Application after correctly installing the
> Debian package. The application shows a boot image with "Starting", but it
> crashes after a few seconds and the program turns unusable.
>

Have you ever followed the instructions in /usr/share/doc/anbox/README.Debian?

Notably, is the Android image downloaded, and the status of two
systemd services.

Please run following commands and give back your results.

ls /var/lib/anbox/android.img
systemctl status anbox-container-manager.service
systemctl --user status anbox-session-manager.service

-- 
Shengjing Zhu



Bug#943654: anbox: GUI crashes after "starting"

2019-10-27 Thread Matheus Mello
Package: anbox
Version: 0.0~git20190124-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

Anbox does not start the Graphical Application after correctly installing the
Debian package. The application shows a boot image with "Starting", but it
crashes after a few seconds and the program turns unusable.



-- System Information:
Debian Release: 10.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), 
LANGUAGE=pt_BR:pt:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages anbox depends on:
ii  iptables1.8.2-4
ii  libboost-atomic1.67.0   1.67.0-13
ii  libboost-chrono1.67.0   1.67.0-13
ii  libboost-date-time1.67.01.67.0-13
ii  libboost-filesystem1.67.0   1.67.0-13
ii  libboost-iostreams1.67.01.67.0-13
ii  libboost-log1.67.0  1.67.0-13
ii  libboost-program-options1.67.0  1.67.0-13
ii  libboost-regex1.67.01.67.0-13
ii  libboost-serialization1.67.01.67.0-13
ii  libboost-system1.67.0   1.67.0-13
ii  libboost-thread1.67.0   1.67.0-13
ii  libc6   2.28-10
ii  libegl1 1.1.0-1
ii  libgcc1 1:8.3.0-6
ii  libgles21.1.0-1
ii  liblxc1 1:3.1.0+really3.0.3-8
ii  libprotobuf-lite17  3.6.1.3-2
ii  libsdl2-2.0-0   2.0.9+dfsg1-1
ii  libsdl2-image-2.0-0 2.0.4+dfsg1-1+deb10u1
ii  libstdc++6  8.3.0-6
ii  libsystemd0 241-7~deb10u1
ii  lxc 1:3.1.0+really3.0.3-8

Versions of packages anbox recommends:
ii  dbus-user-session  1.12.16-1

anbox suggests no packages.

-- no debconf information