anbox icon indicating copy to clipboard operation
anbox copied to clipboard

3rd party apps not launching

Open linusrg1 opened this issue 4 years ago • 11 comments

  1. Please check that no similar bug is already reported. Have a look on the list of open bugs at https://github.com/anbox/anbox/issues

  2. Make sure you are running the latest version of Anbox before reporting an issue. Update snap to latest: snap refresh --devmode --edge anbox

  3. Make sure you have debug logs enabled: sudo snap set anbox debug.enable=true

  4. Reproduce the error while debug logs enabled.

  5. Run the anbox logs collection utility and attach the tar file. sudo /snap/bin/anbox.collect-bug-info

  6. ** Please paste the result of anbox system-info below:**

anbox system-info output WARNING: cgroup v2 is not fully supported yet, proceeding with partial confinement version: 4 snap-revision: 186 cpu: arch: x86 brand: Intel(R) Core(TM) i7 CPU Q 720 @ 1.60GHz features: os: name: Arch Linux version: snap-based: true kernel: version: Linux version 5.11.16-zen1-1-zen (linux-zen@archlinux) (gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.36.1) #1 ZEN SMP PREEMPT Wed, 21 Apr 2021 17:22:09 +0000 binder: false ashmem: true graphics: egl: vendor: Mesa Project version: 1.5 (DRI2) extensions: - EGL_CHROMIUM_sync_control - EGL_EXT_buffer_age - EGL_EXT_create_context_robustness - EGL_EXT_image_dma_buf_import - EGL_KHR_cl_event2 - EGL_KHR_config_attribs - EGL_KHR_create_context - EGL_KHR_create_context_no_error - EGL_KHR_fence_sync - EGL_KHR_get_all_proc_addresses - 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_no_config_context - EGL_KHR_reusable_sync - EGL_KHR_surfaceless_context - EGL_EXT_pixel_format_float - EGL_KHR_wait_sync - EGL_MESA_configless_context - EGL_MESA_drm_image - EGL_MESA_image_dma_buf_export - EGL_NOK_texture_from_pixmap - EGL_WL_bind_wayland_display gles2: vendor: X.Org vendor: OpenGL ES 3.0 Mesa 18.0.5 extensions: - GL_ANGLE_texture_compression_dxt3 - GL_ANGLE_texture_compression_dxt5 - GL_APPLE_texture_max_level - GL_EXT_base_instance - GL_EXT_blend_func_extended - GL_EXT_blend_minmax - GL_EXT_clip_cull_distance - GL_EXT_color_buffer_float - GL_EXT_compressed_ETC1_RGB8_sub_texture - GL_EXT_copy_image - GL_EXT_discard_framebuffer - GL_EXT_draw_buffers - GL_EXT_draw_buffers_indexed - GL_EXT_draw_elements_base_vertex - GL_EXT_frag_depth - GL_EXT_map_buffer_range - GL_EXT_multi_draw_arrays - GL_EXT_occlusion_query_boolean - GL_EXT_polygon_offset_clamp - GL_EXT_read_format_bgra - GL_EXT_robustness - GL_EXT_separate_shader_objects - GL_EXT_shader_integer_mix - GL_EXT_texture_border_clamp - GL_EXT_texture_compression_dxt1 - GL_EXT_texture_filter_anisotropic - GL_EXT_texture_format_BGRA8888 - GL_EXT_texture_rg - GL_EXT_texture_sRGB_decode - GL_EXT_texture_type_2_10_10_10_REV - GL_EXT_unpack_subimage - GL_KHR_context_flush_control - GL_KHR_debug - GL_KHR_no_error - GL_KHR_robust_buffer_access_behavior - GL_KHR_robustness - GL_MESA_shader_integer_functions - GL_NV_draw_buffers - GL_NV_fbo_color_attachments - GL_NV_read_buffer - GL_NV_read_depth - GL_NV_read_depth_stencil - GL_NV_read_stencil - GL_OES_EGL_image - GL_OES_EGL_image_external - GL_OES_EGL_sync - GL_OES_compressed_ETC1_RGB8_texture - GL_OES_copy_image - GL_OES_depth24 - GL_OES_depth_texture - GL_OES_depth_texture_cube_map - GL_OES_draw_buffers_indexed - GL_OES_draw_elements_base_vertex - GL_OES_element_index_uint - GL_OES_fbo_render_mipmap - GL_OES_get_program_binary - GL_OES_mapbuffer - GL_OES_packed_depth_stencil - GL_OES_required_internalformat - GL_OES_rgb8_rgba8 - GL_OES_standard_derivatives - GL_OES_stencil8 - GL_OES_surfaceless_context - GL_OES_texture_3D - GL_OES_texture_border_clamp - GL_OES_texture_float - GL_OES_texture_float_linear - GL_OES_texture_half_float - GL_OES_texture_half_float_linear - GL_OES_texture_npot - GL_OES_texture_stencil8 - GL_OES_vertex_array_object - GL_OES_vertex_half_float

Please describe your problem:

No 3rd party app will launch only the default set of apps will launch. What were you expecting?: For the app to start and run. as I tried the same app in the past and it worked perfectly

Additional info: I am running Arch Linux with the zen kernel. I tried using anbox through the aur package with both the gapps and standard image. As a final attempt to get my app working I installed the snap version of anbox to see if it would work, it did not.

linusrg1 avatar Apr 24 '21 02:04 linusrg1

i see that binder is false, perhaps the zen kernel misses the binder module

Fuseteam avatar Apr 26 '21 13:04 Fuseteam

I am on kde neon now (I switched to see if it would fix the issue it did not) and I ended up continuing on using it. But anyway, I think it may have something to with my amd mobile hd radeon 4060. As that seems to be the only major difference between this laptop and my main pc which can run the app perfectly.

linusrg1 avatar Apr 26 '21 23:04 linusrg1

@linusrg1 i think it's more that the modules are not loaded probably can you please run anbox system-info again? could you also surround the output with backticks like this when you post it? it makes It easier to read

Fuseteam avatar Apr 27 '21 11:04 Fuseteam

version: 4
snap-revision: 186
cpu:
  arch:  x86
  brand: Intel(R) Core(TM) i7 CPU       Q 720  @ 1.60GHz
  features: 
os:
  name: KDE neon
  version: 5.21
  snap-based: true
kernel:
  version: Linux version 5.4.0-72-generic (buildd@lcy01-amd64-019) (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #80-Ubuntu SMP Mon Apr 12 17:35:00 UTC 2021
  binder: true
  ashmem: true
graphics:
  egl:
    vendor: Mesa Project
    version: 1.5 (DRI2)
    extensions:
      - EGL_CHROMIUM_sync_control
      - EGL_EXT_buffer_age
      - EGL_EXT_create_context_robustness
      - EGL_EXT_image_dma_buf_import
      - EGL_KHR_cl_event2
      - EGL_KHR_config_attribs
      - EGL_KHR_create_context
      - EGL_KHR_create_context_no_error
      - EGL_KHR_fence_sync
      - EGL_KHR_get_all_proc_addresses
      - 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_no_config_context
      - EGL_KHR_reusable_sync
      - EGL_KHR_surfaceless_context
      - EGL_EXT_pixel_format_float
      - EGL_KHR_wait_sync
      - EGL_MESA_configless_context
      - EGL_MESA_drm_image
      - EGL_MESA_image_dma_buf_export
      - EGL_NOK_texture_from_pixmap
      - EGL_WL_bind_wayland_display
  gles2:
    vendor: X.Org
    vendor: OpenGL ES 3.0 Mesa 18.0.5
    extensions:
      - GL_ANGLE_texture_compression_dxt3
      - GL_ANGLE_texture_compression_dxt5
      - GL_APPLE_texture_max_level
      - GL_EXT_base_instance
      - GL_EXT_blend_func_extended
      - GL_EXT_blend_minmax
      - GL_EXT_clip_cull_distance
      - GL_EXT_color_buffer_float
      - GL_EXT_compressed_ETC1_RGB8_sub_texture
      - GL_EXT_copy_image
      - GL_EXT_discard_framebuffer
      - GL_EXT_draw_buffers
      - GL_EXT_draw_buffers_indexed
      - GL_EXT_draw_elements_base_vertex
      - GL_EXT_frag_depth
      - GL_EXT_map_buffer_range
      - GL_EXT_multi_draw_arrays
      - GL_EXT_occlusion_query_boolean
      - GL_EXT_polygon_offset_clamp
      - GL_EXT_read_format_bgra
      - GL_EXT_robustness
      - GL_EXT_separate_shader_objects
      - GL_EXT_shader_integer_mix
      - GL_EXT_texture_border_clamp
      - GL_EXT_texture_compression_dxt1
      - GL_EXT_texture_filter_anisotropic
      - GL_EXT_texture_format_BGRA8888
      - GL_EXT_texture_rg
      - GL_EXT_texture_sRGB_decode
      - GL_EXT_texture_type_2_10_10_10_REV
      - GL_EXT_unpack_subimage
      - GL_KHR_context_flush_control
      - GL_KHR_debug
      - GL_KHR_no_error
      - GL_KHR_robust_buffer_access_behavior
      - GL_KHR_robustness
      - GL_MESA_shader_integer_functions
      - GL_NV_draw_buffers
      - GL_NV_fbo_color_attachments
      - GL_NV_read_buffer
      - GL_NV_read_depth
      - GL_NV_read_depth_stencil
      - GL_NV_read_stencil
      - GL_OES_EGL_image
      - GL_OES_EGL_image_external
      - GL_OES_EGL_sync
      - GL_OES_compressed_ETC1_RGB8_texture
      - GL_OES_copy_image
      - GL_OES_depth24
      - GL_OES_depth_texture
      - GL_OES_depth_texture_cube_map
      - GL_OES_draw_buffers_indexed
      - GL_OES_draw_elements_base_vertex
      - GL_OES_element_index_uint
      - GL_OES_fbo_render_mipmap
      - GL_OES_get_program_binary
      - GL_OES_mapbuffer
      - GL_OES_packed_depth_stencil
      - GL_OES_required_internalformat
      - GL_OES_rgb8_rgba8
      - GL_OES_standard_derivatives
      - GL_OES_stencil8
      - GL_OES_surfaceless_context
      - GL_OES_texture_3D
      - GL_OES_texture_border_clamp
      - GL_OES_texture_float
      - GL_OES_texture_float_linear
      - GL_OES_texture_half_float
      - GL_OES_texture_half_float_linear
      - GL_OES_texture_npot
      - GL_OES_texture_stencil8
      - GL_OES_vertex_array_object
      - GL_OES_vertex_half_float

Here.

linusrg1 avatar Apr 27 '21 22:04 linusrg1

huh binder and ashmem are true can you run anbox session-manager if it hangs it working and you should be able to launch anbox

Fuseteam avatar Apr 27 '21 23:04 Fuseteam

Ok my app still hangs when opening though. I really do think it has something to do with my gpu driver though.

linusrg1 avatar Apr 27 '21 23:04 linusrg1

i'm gonna assume you run anbox session-manager in the background, running that in the terminal should give some useful info including if there's something wrong with your gpu driver

Fuseteam avatar Apr 28 '21 03:04 Fuseteam

That command gave me no output. Does it have to be run as root?

linusrg1 avatar Apr 28 '21 11:04 linusrg1

no it does not, if it give no output it is running correctly. just verifying: did you leave it running while you launched your app? also which app is it? maybe I can test it locally as well

Fuseteam avatar Apr 28 '21 12:04 Fuseteam

sry for late reply. The app is anime glare https://animeglare.xyz/ i did leave that command running when launching my app.

linusrg1 avatar Apr 30 '21 23:04 linusrg1

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 27 '22 20:04 stale[bot]