Giter Club home page Giter Club logo

Comments (4)

Makio64 avatar Makio64 commented on May 16, 2024 1

Sadly ARCore Unity doesnt support Vulkan
As you can read here : https://developers.google.com/ar/develop/unity/quickstart-android

Uncheck Auto Graphics API. If Vulkan is listed under Graphics APIs, remove it.

Its a common request on https://github.com/google-ar/arcore-unity-sdk and hopefully come soon.

from tf-lite-unity-sample.

asus4 avatar asus4 commented on May 16, 2024

At the moment, this sample supports only gl-delegate on Android which uses OpenGLES internally. Implementing NNAPI delegate might work with Vulkan API. need to test.

from tf-lite-unity-sample.

R3dLantern avatar R3dLantern commented on May 16, 2024

Really? Guessing from logcat it actually looks like Vulkan API support is flawless.

05-08 01:14:20.252 19645 19699 D Unity   : Started listening to [0.0.0.0:55405]
05-08 01:14:20.273 19645 19699 D Unity   : [EGL] Attaching window :0x78518da010
05-08 01:14:20.273 19645 19699 D Unity   : InitializeScriptEngine OK (0x7851764fc0)
05-08 01:14:20.273 19645 19699 D Unity   : PlayerConnection already initialized - listening to [0.0.0.0:55405]
05-08 01:14:20.290 19645 19699 D Unity   : Unable to lookup library path for 'libtensorflowlite_gpu_delegate', native render plugin support disabled.
05-08 01:14:20.291 19645 19699 E Unity   : Unable to find libtensorflowlite_gpu_delegate
05-08 01:14:20.296 19645 19699 D Unity   : Unable to lookup library path for 'libtensorflowlite_c', native render plugin support disabled.
05-08 01:14:20.297 19645 19699 E Unity   : Unable to find libtensorflowlite_c
05-08 01:14:20.298 19645 19699 D Unity   : PlayerInitEngineNoGraphics OK
05-08 01:14:20.298 19645 19699 D Unity   : AndroidGraphics::Startup window =  0x78518da010
05-08 01:14:20.298 19645 19699 D Unity   : [EGL] Attaching window :0x78518da010
05-08 01:14:20.342 19645 19699 D Unity   : [Vulkan init] extensions: count=9
05-08 01:14:20.342 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_surface, enabled=1
05-08 01:14:20.342 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_android_surface, enabled=1
05-08 01:14:20.342 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_EXT_swapchain_colorspace, enabled=1
05-08 01:14:20.342 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_get_surface_capabilities2, enabled=0
05-08 01:14:20.342 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_EXT_debug_report, enabled=1
05-08 01:14:20.342 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_get_physical_device_properties2, enabled=0
05-08 01:14:20.342 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_external_memory_capabilities, enabled=0
05-08 01:14:20.342 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_external_semaphore_capabilities, enabled=0
05-08 01:14:20.342 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_external_fence_capabilities, enabled=0
05-08 01:14:20.345 19645 19699 D Unity   : Vulkan detection: 2
05-08 01:14:20.345 19645 19699 D Unity   : GfxDevice: creating device client; threaded=1
05-08 01:14:20.345 19645 19699 D Unity   : [Vulkan init] extensions: count=9
05-08 01:14:20.345 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_surface, enabled=1
05-08 01:14:20.345 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_android_surface, enabled=1
05-08 01:14:20.345 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_EXT_swapchain_colorspace, enabled=1
05-08 01:14:20.345 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_get_surface_capabilities2, enabled=0
05-08 01:14:20.345 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_EXT_debug_report, enabled=1
05-08 01:14:20.345 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_get_physical_device_properties2, enabled=0
05-08 01:14:20.345 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_external_memory_capabilities, enabled=0
05-08 01:14:20.345 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_external_semaphore_capabilities, enabled=0
05-08 01:14:20.345 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_external_fence_capabilities, enabled=0
05-08 01:14:20.347 19645 19699 D Unity   : [Vulkan init] extensions: count=23
05-08 01:14:20.347 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_incremental_present, enabled=0
05-08 01:14:20.347 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_GOOGLE_display_timing, enabled=0
05-08 01:14:20.347 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_swapchain, enabled=1
05-08 01:14:20.347 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_maintenance1, enabled=1
05-08 01:14:20.347 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_maintenance2, enabled=0
05-08 01:14:20.348 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_variable_pointers, enabled=0
05-08 01:14:20.348 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_storage_buffer_storage_class, enabled=0
05-08 01:14:20.348 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_relaxed_block_layout, enabled=0
05-08 01:14:20.348 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_get_memory_requirements2, enabled=1
05-08 01:14:20.348 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_dedicated_allocation, enabled=1
05-08 01:14:20.348 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_external_memory, enabled=0
05-08 01:14:20.348 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_external_memory_fd, enabled=0
05-08 01:14:20.348 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_external_semaphore, enabled=0
05-08 01:14:20.348 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_external_semaphore_fd, enabled=0
05-08 01:14:20.348 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_external_fence, enabled=0
05-08 01:14:20.348 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_external_fence_fd, enabled=0
05-08 01:14:20.348 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_sampler_ycbcr_conversion, enabled=0
05-08 01:14:20.348 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_bind_memory2, enabled=0
05-08 01:14:20.348 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_shader_draw_parameters, enabled=0
05-08 01:14:20.348 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_push_descriptor, enabled=0
05-08 01:14:20.348 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_descriptor_update_template, enabled=0
05-08 01:14:20.348 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_KHR_sampler_mirror_clamp_to_edge, enabled=1
05-08 01:14:20.348 19645 19699 D Unity   : [Vulkan init] extensions: name=VK_EXT_sampler_filter_minmax, enabled=0
05-08 01:14:20.353 19645 19699 D Unity   : Vulkan API version 1.0.61

Or is that the delegate to OpenGLES you are talking about?

(Testing device is a Xiaomi POCOPHONE F1)

from tf-lite-unity-sample.

b29b avatar b29b commented on May 16, 2024

i have tried with ARFoundation 4.1.0 on android, it works
not sure how to get the skeleton aligned on fullscreen viewfinder

from tf-lite-unity-sample.

Related Issues (20)

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.