Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libEGL : EGLNativeWindowType disconnect failed #2253

Closed
onsunsl opened this issue Jul 2, 2020 · 1 comment
Closed

libEGL : EGLNativeWindowType disconnect failed #2253

onsunsl opened this issue Jul 2, 2020 · 1 comment
Labels

Comments

@onsunsl
Copy link

onsunsl commented Jul 2, 2020

Versions

  • Python: 3.8.1
  • OS: Ubuntu 18.04
  • Kivy: master
  • Cython: 0.29.20
  • OpenJDK: 1.8
  • Android: 8.1

Description

App has been stuck on the loading screen,log seems to have errors

buildozer.spec

Command:

buildozer android locat

Spec file:

[app]

# (str) Title of your application
title = CPOS

# (str) Package name
package.name = CPOS

# (str) Package domain (needed for android/ios packaging)
package.domain = org.kivy

# (str) Source code where the main.py live
source.dir = .

# (list) Source files to include (let empty to include all the files)
source.include_exts = py,png,jpg,kv,atlas,ini,ttf

# (list) List of inclusions using pattern matching
#source.include_patterns = assets/*,images/*.png

# (list) Source files to exclude (let empty to not exclude anything)
#source.exclude_exts = spec

# (list) List of directory to exclude (let empty to not exclude anything)
#source.exclude_dirs = tests, bin

# (list) List of exclusions using pattern matching
#source.exclude_patterns = license,images/*/*.jpg

# (str) Application versioning (method 1)
version = 0.1

# (str) Application versioning (method 2)
# version.regex = __version__ = ['"](.*)['"]
# version.filename = %(source.dir)s/main.py

# (list) Application requirements
# comma separated e.g. requirements = sqlite3,kivy
requirements = python3,kivy==master, six==1.12.0,blessings==1.7,certifi==2018.11.29,chardet==3.0.4,colorama==0.4.1,curtsies==0.3.0,future==0.17.1,greenlet==0.4.15,idna==2.8,iso8601==0.1.12,peewee==2.10.2,Pillow==7.0.0,psutil==5.5.1,Pygments==2.3.1,pyserial==3.4,PyYAML==3.13,qrcode==6.1,requests==2.21.0,six==1.12.0,suds-jurko==0.6,typing==3.7.4.1,urllib3==1.24.1,wcwidth==0.1.7,xmltodict==0.12.0

# (str) Custom source folders for requirements
# Sets custom source for any requirements with recipes
#requirements.source.kivy = ../requirements_source/kivy-1.11.1
requirements.source.kivy = ../requirements_source/kivy-master
#requirements.source.hostpython3 = ../requirements_source/Python-3.8.1
#requirements.source.python3 = ../requirements_source/Python-3.8.1
#requirements.source.libffi = ../requirements_source/libffi-8fa8837
#requirements.source.openssl = ../requirements_source/openssl-1.1.1f
#requirements.source.sdl2 = ../requirements_source/sdl2/SDL2-2.0.9
#requirements.source.sdl2_image = ../requirements_source/sdl2/SDL2_image-2.0.4
#requirements.source.sdl2_mixer = ../requirements_source/sdl2/SDL2_mixer-2.0.4
#requirements.source.sdl2_ttf = ../requirements_source/sdl2/SDL2_ttf-2.0.14
#requirements.source.pyjnius = ../requirements_source/pyjnius-1.2.1
requirements.source.six = ../requirements_source/six-1.12.0
#requirements.source.setuptools = ../requirements_source/setuptools-40.9.0
requirements.source.sqlite3 = ../requirements_source/sqlite-amalgamation-3150100
requirements.source.png = ../requirements_source/libpng-1.6.37
requirements.source.greenlet = ../requirements_source/greenlet-0.4.15
requirements.source.Pillow = ../requirements_source/Pillow-7.0.0
requirements.source.jpeg = ../requirements_source/libjpeg-turbo-2.0.1

# (list) Garden requirements
#garden_requirements =

# (str) Presplash of the application
#presplash.filename = %(source.dir)s/data/presplash.png

# (str) Icon of the application
icon.filename = %(source.dir)s/ui/icon/logo64px.ico

# (str) Supported orientation (one of landscape, sensorLandscape, portrait or all)
orientation = landscape

# (list) List of service to declare
#services = NAME:ENTRYPOINT_TO_PY,NAME2:ENTRYPOINT2_TO_PY

#
# OSX Specific
#

#
author = © Copyright Info Dmall

# change the major version of python used by the app
osx.python_version = 3

# Kivy version to use
osx.kivy_version = 1.9.1

#
# Android specific
#

# (bool) Indicate if the application should be fullscreen or not
fullscreen = 1

# (string) Presplash background color (for new android toolchain)
# Supported formats are: #RRGGBB #AARRGGBkB or one of the following names:
# red, blue, green, black, white, gray, cyan, magenta, yellow, lightgray,
# darkgray, grey, lightgrey, darkgrey, aqua, fuchsia, lime, maroon, navy,
# olive, purple, silver, teal.
#android.presplash_color = #FFFFFF

# (list) Permissions
android.permissions = INTERNET,SET_TIME,WRITE_EXTERNAL_STORAGE,SET_DEBUG_APP

# (int) Target Android API, should be as high as possible.
# android.api = 27
android.api = 28

# (int) Minimum API your APK will support.
android.minapi = 21

# (int) Android SDK version to use
#android.sdk = 27

# (str) Android NDK version to use
android.ndk = 19c

# (int) Android NDK API to use. This is the minimum API your app will support, it should usually match android.minapi.
android.ndk_api = 21

# (bool) Use --private data storage (True) or --dir public storage (False)
#android.private_storage = True

# (str) Android NDK directory (if empty, it will be automatically downloaded.)
android.ndk_path = /home/kivy/andr/android-ndk-r19c

# (str) Android SDK directory (if empty, it will be automatically downloaded.)
android.sdk_path = /home/kivy/andr/android-sdk-linux

# (str) ANT directory (if empty, it will be automatically downloaded.)
android.ant_path = /home/kivy/andr/apache-ant-1.9.4

# (bool) If True, then skip trying to update the Android sdk
# This can be useful to avoid excess Internet downloads or save time
# when an update is due and you just want to test/build your package
# android.skip_update = False

# (bool) If True, then automatically accept SDK license
# agreements. This is intended for automation only. If set to False,
# the default, you will be shown the license when first running
# buildozer.
# android.accept_sdk_license = False

# (str) Android entry point, default is ok for Kivy-based app
#android.entrypoint = org.renpy.android.PythonActivity

# (str) Android app theme, default is ok for Kivy-based app
# android.apptheme = "@android:style/Theme.NoTitleBar"

# (list) Pattern to whitelist for the whole project
#android.whitelist =

# (str) Path to a custom whitelist file
#android.whitelist_src =

# (str) Path to a custom blacklist file
#android.blacklist_src =

# (list) List of Java .jar files to add to the libs so that pyjnius can access
# their classes. Don't add jars that you do not need, since extra jars can slow
# down the build process. Allows wildcards matching, for example:
# OUYA-ODK/libs/*.jar
#android.add_jars = foo.jar,bar.jar,path/to/more/*.jar

# (list) List of Java files to add to the android project (can be java or a
# directory containing the files)
#android.add_src =

# (list) Android AAR archives to add (currently works only with sdl2_gradle
# bootstrap)
#android.add_aars =

# (list) Gradle dependencies to add (currently works only with sdl2_gradle
# bootstrap)
#android.gradle_dependencies =

# (list) add java compile options
# this can for example be necessary when importing certain java libraries using the 'android.gradle_dependencies' option
# see https://developer.android.com/studio/write/java8-support for further information
# android.add_compile_options = "sourceCompatibility = 1.8", "targetCompatibility = 1.8"

# (list) Gradle repositories to add {can be necessary for some android.gradle_dependencies}
# please enclose in double quotes 
# e.g. android.gradle_repositories = "maven { url 'https://kotlin.bintray.com/ktor' }"
#android.add_gradle_repositories =

# (list) packaging options to add 
# see https://google.github.io/android-gradle-dsl/current/com.android.build.gradle.internal.dsl.PackagingOptions.html
# can be necessary to solve conflicts in gradle_dependencies
# please enclose in double quotes 
# e.g. android.add_packaging_options = "exclude 'META-INF/common.kotlin_module'", "exclude 'META-INF/*.kotlin_module'"
#android.add_gradle_repositories =

# (list) Java classes to add as activities to the manifest.
#android.add_activites = com.example.ExampleActivity

# (str) OUYA Console category. Should be one of GAME or APP
# If you leave this blank, OUYA support will not be enabled
#android.ouya.category = GAME

# (str) Filename of OUYA Console icon. It must be a 732x412 png image.
#android.ouya.icon.filename = %(source.dir)s/data/ouya_icon.png

# (str) XML file to include as an intent filters in <activity> tag
#android.manifest.intent_filters =

# (str) launchMode to set for the main activity
#android.manifest.launch_mode = standard

# (list) Android additional libraries to copy into libs/armeabi
#android.add_libs_armeabi = libs/android/*.so
#android.add_libs_armeabi_v7a = libs/android-v7/*.so
#android.add_libs_arm64_v8a = libs/android-v8/*.so
#android.add_libs_x86 = libs/android-x86/*.so
#android.add_libs_mips = libs/android-mips/*.so

# (bool) Indicate whether the screen should stay on
# Don't forget to add the WAKE_LOCK permission if you set this to True
#android.wakelock = False

# (list) Android application meta-data to set (key=value format)
#android.meta_data =

# (list) Android library project to add (will be added in the
# project.properties automatically.)
#android.library_references =

# (list) Android shared libraries which will be added to AndroidManifest.xml using <uses-library> tag
#android.uses_library =

# (str) Android logcat filters to use
#android.logcat_filters = *:S python:D

# (bool) Copy library instead of making a libpymodules.so
#android.copy_libs = 1

# (str) The Android arch to build for, choices: armeabi-v7a, arm64-v8a, x86, x86_64
android.arch = armeabi-v7a

#
# Python for android (p4a) specific
#

# (str) python-for-android fork to use, defaults to upstream (kivy)
#p4a.fork = kivy

# (str) python-for-android branch to use, defaults to master
#p4a.branch = master

# (str) python-for-android git clone directory (if empty, it will be automatically cloned from github)
#p4a.source_dir = 

# (str) The directory in which python-for-android should look for your own build recipes (if any)
#p4a.local_recipes =

# (str) Filename to the hook for p4a
#p4a.hook =

# (str) Bootstrap to use for android builds
# p4a.bootstrap = sdl2

# (int) port number to specify an explicit --port= p4a argument (eg for bootstrap flask)
#p4a.port =


#
# iOS specific
#

# (str) Path to a custom kivy-ios folder
#ios.kivy_ios_dir = ../kivy-ios
# Alternately, specify the URL and branch of a git checkout:
ios.kivy_ios_url = https://github.com/kivy/kivy-ios
ios.kivy_ios_branch = master

# Another platform dependency: ios-deploy
# Uncomment to use a custom checkout
#ios.ios_deploy_dir = ../ios_deploy
# Or specify URL and branch
ios.ios_deploy_url = https://github.com/phonegap/ios-deploy
ios.ios_deploy_branch = 1.7.0

# (str) Name of the certificate to use for signing the debug version
# Get a list of available identities: buildozer ios list_identities
#ios.codesign.debug = "iPhone Developer: <lastname> <firstname> (<hexstring>)"

# (str) Name of the certificate to use for signing the release version
#ios.codesign.release = %(ios.codesign.debug)s


[buildozer]

# (int) Log level (0 = error only, 1 = info, 2 = debug (with command output))
log_level = 2

# (int) Display warning if buildozer is run as root (0 = False, 1 = True)
warn_on_root = 1

# (str) Path to build artifact storage, absolute or relative to spec file
build_dir = /home/kivy/test/.buildozer

# (str) Path to build output (i.e. .apk, .ipa) storage
# bin_dir = ./bin

#    -----------------------------------------------------------------------------
#    List as sections
#
#    You can define all the "list" as [section:key].
#    Each line will be considered as a option to the list.
#    Let's take [app] / source.exclude_patterns.
#    Instead of doing:
#
#[app]
#source.exclude_patterns = license,data/audio/*.wav,data/images/original/*
#
#    This can be translated into:
#
#[app:source.exclude_patterns]
#license
#data/audio/*.wav
#data/images/original/*
#


#    -----------------------------------------------------------------------------
#    Profiles
#
#    You can extend section / key with a profile
#    For example, you want to deploy a demo version of your application without
#    HD content. You could first change the title to add "(demo)" in the name
#    and extend the excluded directories to remove the HD content.
#
#[app@demo]
#title = My Application (demo)
#
#[app:source.exclude_patterns@demo]
#images/hd/*
#
#    Then, invoke the command line with the "demo" profile:
#
#buildozer --profile demo android debug

Logs

buildozer androi logcat

07-02 17:38:46.707   394  2209 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.kivy.cpos/org.kivy.android.PythonActivity bnds=[683,76][906,189]} from uid 10003
07-02 17:38:46.707   242   785 D AudioHardwareTiny: start_output_stream
07-02 17:38:46.708   242   785 D alsa_route: route_info->sound_card 0, route_info->devices 0  
07-02 17:38:46.709   242   785 D alsa_route: route_set_controls() set route 0
07-02 17:38:46.709   394  2209 E ActivityManager: getPackageFerformanceMode--ComponentInfo{org.kivy.cpos/org.kivy.android.PythonActivity}----org.kivy.cpos
07-02 17:38:46.710   394  2209 E ActivityManager: getPackageFerformanceMode--ComponentInfo{org.kivy.cpos/org.kivy.android.PythonActivity}----org.kivy.cpos
07-02 17:38:46.714   394   406 E ActivityManager: getPackageFerformanceMode--ComponentInfo{org.kivy.cpos/org.kivy.android.PythonActivity}----org.kivy.cpos
07-02 17:38:46.728   251   251 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:46.749   394   409 I StatusBarManagerService:  hideNavigationBar...
07-02 17:38:46.750   394   408 E memtrack: Couldn't load memtrack module
07-02 17:38:46.750   394   408 W android.os.Debug: failed to get memory consumption info: -1
07-02 17:38:46.752  3232  3232 V PythonActivity: onResume()
07-02 17:38:46.752  3232  3232 V SDL     : onResume()
07-02 17:38:46.754   242   785 W StreamHAL: Error from HAL stream in function get_presentation_position: Operation not permitted
07-02 17:38:46.754   242   785 W StreamHAL: Error from HAL stream in function get_presentation_position: Operation not permitted
07-02 17:38:46.766   251   251 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:46.781   251   251 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:46.790   544   544 I StatusBar:  removeNavigationBar...
07-02 17:38:46.790  3232  3249 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
07-02 17:38:46.793   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:46.795   258   387 E BufferQueueProducer: [com.android.launcher3/com.android.launcher3.Launcher#0] disconnect: not connected (req=1)
07-02 17:38:46.795   981  1092 W libEGL  : EGLNativeWindowType 0x96579008 disconnect failed
07-02 17:38:46.805  3232  3232 V SDL     : surfaceCreated()
07-02 17:38:46.805  3232  3232 V SDL     : surfaceChanged()
07-02 17:38:46.805  3232  3232 V SDL     : pixel format RGB_565
07-02 17:38:46.806  3232  3232 V SDL     : Window size: 1366x696
07-02 17:38:46.806  3232  3232 V SDL     : Device size: 1366x768
07-02 17:38:46.809  3232  3232 V SDL     : Skip .. Surface is not ready.
07-02 17:38:46.811  3232  3232 V SDL     : onWindowFocusChanged(): true
07-02 17:38:46.812   258   387 E BufferQueueProducer: [StatusBar#0] disconnect: not connected (req=1)
07-02 17:38:46.812   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:46.812   544   834 W libEGL  : EGLNativeWindowType 0x958cb008 disconnect failed
07-02 17:38:46.815   544   834 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
07-02 17:38:46.832   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:46.835   258   304 E BufferQueueProducer: [org.kivy.cpos/org.kivy.android.PythonActivity#0] disconnect: not connected (req=1)
07-02 17:38:46.836  3232  3249 W libEGL  : EGLNativeWindowType 0xafb7b808 disconnect failed
07-02 17:38:46.836   258   301 E BufferQueueProducer: [NavigationBar#0] disconnect: not connected (req=1)
07-02 17:38:46.836   544   834 W libEGL  : EGLNativeWindowType 0x960e8808 disconnect failed
07-02 17:38:46.837  3232  3249 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
07-02 17:38:46.840   544   834 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
07-02 17:38:46.852   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:46.872   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:46.891   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:46.892   394   443 I WindowManager: Screen frozen for +170ms due to Window{abc1e8c u0 NavigationBar}
07-02 17:38:46.893   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:46.894   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:46.919   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:46.920   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:46.922   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:46.934   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:46.935   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:46.937   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:46.943   544   551 I zygote  : Do full code cache collection, code=508KB, data=328KB
07-02 17:38:46.945   544   551 I zygote  : After code cache collection, code=500KB, data=310KB
07-02 17:38:46.953   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:46.954   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:46.955   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:46.970   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:46.971   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:46.973   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:46.989   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:46.991   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:46.993   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.009   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.010   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.011   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.029   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.030   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.031   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.048   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.049   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.051   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.068   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.069   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.071   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.088   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.089   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.091   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.108   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.109   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.111   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.128   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.129   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.131   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.148   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.150   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.151   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.171   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.173   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.174   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.187   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.188   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.189   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.206   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.208   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.209   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.226   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.227   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.229   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.246   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.247   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.248   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.266   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.267   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.268   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.286   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.287   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.288   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.305   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.307   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.308   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.325   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.326   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.328   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.346   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.347   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.348   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.365   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.367   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.369   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.385   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.387   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.389   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.406   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.408   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.410   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.426   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.428   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.430   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.446   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.448   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.450   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.466   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.468   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.470   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.486   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.488   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.491   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.505   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.508   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.510   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.526   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.528   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.530   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.545   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.547   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.550   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.585   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.587   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.589   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.605   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.607   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.610   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.624   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.627   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.629   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.644   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.647   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.649   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.684   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.686   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.689   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.705   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.708   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.710   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.724   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.726   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.729   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.744   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.745   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.747   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.763   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.764   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.766   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.782   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.784   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.786   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.802   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.804   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.806   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.822   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.824   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.826   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.842   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.844   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.846   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.862   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.864   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.865   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.882   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.884   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.886   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.902   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.903   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.905   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.922   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.924   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.926   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.942   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.944   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.946   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.962   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.964   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.967   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:47.982   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.984   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:47.987   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:48.002   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.004   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.007   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:48.022   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.024   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.027   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:48.041   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.044   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.046   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:48.062   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.064   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.066   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:48.082   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.084   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.086   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:48.101   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.104   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.106   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:48.121   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.123   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.126   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:48.141   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.143   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.146   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:48.161   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.163   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.166   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:48.181   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.183   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.185   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:48.200   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.203   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.205   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:48.220   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.222   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.225   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:48.240   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.242   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.245   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:48.259   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.260   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.262   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:48.278   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.280   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.281   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:48.298   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.300   251   346 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:48.301   251   346 E HWC2On1Adapter: Validate was called more than once!
07-02 17:38:49.058   394   416 I zygote  : Explicit concurrent copying GC freed 9619(643KB) AllocSpace objects, 3(124KB) LOS objects, 42% free, 7MB/13MB, paused 1.041ms total 161.396ms
07-02 17:38:49.869   242   359 D alsa_route: route_set_controls() set route 24
07-02 17:38:49.869   242   359 D AudioHardwareTiny: close device
07-02 17:38:51.027   251   251 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:51.038   251   251 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:38:51.048   251   251 E HWC2On1Adapter: Validate was called more than once!
07-02 17:39:00.029   394   408 E memtrack: Couldn't load memtrack module
07-02 17:39:00.030   394   408 W android.os.Debug: failed to get memory consumption info: -1
07-02 17:39:00.088   251   251 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:39:00.092   251   251 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:39:00.094   251   251 E HWC2On1Adapter: Validate was called more than once!
07-02 17:39:00.104   251   251 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:39:00.106   251   251 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:39:00.108   251   251 E HWC2On1Adapter: Validate was called more than once!
07-02 17:39:00.121   251   251 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:39:00.123   251   251 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:39:00.124   251   251 E HWC2On1Adapter: Validate was called more than once!
07-02 17:39:00.142   394   408 E memtrack: Couldn't load memtrack module
07-02 17:39:00.142   394   408 W android.os.Debug: failed to get memory consumption info: -1
07-02 17:39:02.857   251   251 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:39:02.866   251   251 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:39:02.878   251   251 E HWC2On1Adapter: Validate was called more than once!
07-02 17:39:09.676   394   412 I WifiService: requestActivityInfo uid=1000
07-02 17:39:09.676   394   412 I WifiService: reportActivityInfo uid=1000
07-02 17:39:09.677   394   412 I WifiService: getSupportedFeatures uid=1000
07-02 17:39:09.684   394   412 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth
07-02 17:39:09.684   655   655 E PhoneInterfaceManager: [PhoneIntfMgr] queryModemActivityInfo: Empty response
07-02 17:39:09.693   394   412 V BatteryExternalStatsWorker: WiFi energy data was reset, new WiFi energy data is WifiActivityEnergyInfo{ timestamp=3600106 mStackState=3 mControllerTxTimeMs=141169 mControllerTxTimePerLevelMs=[99] mControllerRxTimeMs=42934 mControllerIdleTimeMs=3404700 mControllerEnergyUsed=0 }
07-02 17:39:09.694   394   412 E BatteryExternalStatsWorker: modem info is invalid: ModemActivityInfo{ mTimestamp=0 mSleepTimeMs=0 mIdleTimeMs=0 mTxTimeMs[]=[0, 0, 0, 0, 0] mRxTimeMs=0 mEnergyUsed=0}
07-02 17:39:10.194   394   408 E memtrack: Couldn't load memtrack module
07-02 17:39:10.194   394   408 W android.os.Debug: failed to get memory consumption info: -1
07-02 17:39:22.361   544   544 I zygote  : Deoptimizing void com.android.systemui.qs.tileimpl.QSIconViewImpl.updateIcon(android.widget.ImageView, com.android.systemui.plugins.qs.QSTile$State) due to JIT inline cache
07-02 17:39:22.418   251   251 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:39:22.419   251   251 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:39:22.421   251   251 E HWC2On1Adapter: Validate was called more than once!
07-02 17:39:22.450   251   251 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:39:22.451   251   251 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:39:22.453   251   251 E HWC2On1Adapter: Validate was called more than once!
07-02 17:39:22.467   251   251 E hwc_rk  : hwc_get_handle_layername:cann't get value from gralloc
07-02 17:39:22.468   251   251 E hwc_rk  : hwc_get_handle_layername:cann't get value f
Copy link

👋 We use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please use our support channels to get help with the project.

If you're having trouble installing or using python-for-android, maybe you could be interested in our quickstart guide.

Let us know if this comment was made in error, and we'll be happy to reopen the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants