Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

[SOLVED] called unimplemented OpenGL ES API



  • @Starting remote process.
    W/dalvikvm( 4441): PR_CAPBSET_DROP 0 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
    .
    .
    .
    W/dalvikvm( 4441): PR_CAPBSET_DROP 33 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
    D/dalvikvm( 4441): Not late-enabling CheckJNI (already on)
    D/dalvikvm( 4441): GC_FOR_ALLOC freed 53K, 7% free 2551K/2724K, paused 105ms, total 136ms
    I/dalvikvm-heap( 4441): Grow heap (frag case) to 4.069MB for 1536016-byte allocation
    D/dalvikvm( 4441): GC_FOR_ALLOC freed <1K, 5% free 4051K/4228K, paused 80ms, total 80ms
    D/dalvikvm( 4441): GC_CONCURRENT freed <1K, 5% free 4051K/4228K, paused 4ms+3ms, total 50ms
    D/dalvikvm( 4441): GC_FOR_ALLOC freed <1K, 5% free 4051K/4228K, paused 21ms, total 21ms
    I/dalvikvm-heap( 4441): Grow heap (frag case) to 7.364MB for 3456016-byte allocation
    D/dalvikvm( 4441): GC_CONCURRENT freed 0K, 3% free 7426K/7604K, paused 10ms+3ms, total 112ms
    I/Choreographer( 4441): Skipped 83 frames! The application may be doing too much work on its main thread.
    D/gralloc_goldfish( 4441): Emulator without GPU emulation detected.
    D/dalvikvm( 4441): DexOpt: --- BEGIN 'QtIndustrius-14.jar' (bootstrap=0) ---
    D/dalvikvm( 4441): DexOpt: --- END 'QtIndustrius-14.jar' (success) ---
    D/dalvikvm( 4441): DEX prep '/data/data/org.kde.necessitas.ministro/files/dl/0/stable/jar/QtIndustrius-14.jar': unzip in 87ms, rewrite 595ms
    D/dalvikvm( 4441): Trying to load lib /data/data/org.kde.necessitas.ministro/files/dl/0/stable//lib/libQtCore.so 0x416f73d8
    D/dalvikvm( 4441): Added shared lib /data/data/org.kde.necessitas.ministro/files/dl/0/stable//lib/libQtCore.so 0x416f73d8
    D/dalvikvm( 4441): No JNI_OnLoad found in /data/data/org.kde.necessitas.ministro/files/dl/0/stable//lib/libQtCore.so 0x416f73d8, skipping init
    D/dalvikvm( 4441): Trying to load lib /data/data/org.kde.necessitas.ministro/files/dl/0/stable//lib/libQtGui.so 0x416f73d8
    D/dalvikvm( 4441): Added shared lib /data/data/org.kde.necessitas.ministro/files/dl/0/stable//lib/libQtGui.so 0x416f73d8
    D/dalvikvm( 4441): No JNI_OnLoad found in /data/data/org.kde.necessitas.ministro/files/dl/0/stable//lib/libQtGui.so 0x416f73d8, skipping init
    D/dalvikvm( 4441): Trying to load lib /data/data/org.kde.necessitas.ministro/files/dl/0/stable//lib/libQtNetwork.so 0x416f73d8
    D/dalvikvm( 4441): Added shared lib /data/data/org.kde.necessitas.ministro/files/dl/0/stable//lib/libQtNetwork.so 0x416f73d8
    D/dalvikvm( 4441): No JNI_OnLoad found in /data/data/org.kde.necessitas.ministro/files/dl/0/stable//lib/libQtNetwork.so 0x416f73d8, skipping init
    D/dalvikvm( 4441): Trying to load lib /data/data/org.kde.necessitas.ministro/files/dl/0/stable//lib/libQtScript.so 0x416f73d8
    D/dalvikvm( 4441): Added shared lib /data/data/org.kde.necessitas.ministro/files/dl/0/stable//lib/libQtScript.so 0x416f73d8
    D/dalvikvm( 4441): No JNI_OnLoad found in /data/data/org.kde.necessitas.ministro/files/dl/0/stable//lib/libQtScript.so 0x416f73d8, skipping init
    D/dalvikvm( 4441): Trying to load lib /data/data/org.kde.necessitas.ministro/files/dl/0/stable//lib/libQtSql.so 0x416f73d8
    D/dalvikvm( 4441): Added shared lib /data/data/org.kde.necessitas.ministro/files/dl/0/stable//lib/libQtSql.so 0x416f73d8
    D/dalvikvm( 4441): No JNI_OnLoad found in /data/data/org.kde.necessitas.ministro/files/dl/0/stable//lib/libQtSql.so 0x416f73d8, skipping init
    D/dalvikvm( 4441): Trying to load lib /data/data/org.kde.necessitas.ministro/files/dl/0/stable//lib/libQtOpenGL.so 0x416f73d8
    D/dalvikvm( 4441): Added shared lib /data/data/org.kde.necessitas.ministro/files/dl/0/stable//lib/libQtOpenGL.so 0x416f73d8
    D/dalvikvm( 4441): No JNI_OnLoad found in /data/data/org.kde.necessitas.ministro/files/dl/0/stable//lib/libQtOpenGL.so 0x416f73d8, skipping init
    D/dalvikvm( 4441): Trying to load lib /data/data/org.kde.necessitas.ministro/files/dl/0/stable//lib/libQtSvg.so 0x416f73d8
    D/dalvikvm( 4441): Added shared lib /data/data/org.kde.necessitas.ministro/files/dl/0/stable//lib/libQtSvg.so 0x416f73d8
    D/dalvikvm( 4441): No JNI_OnLoad found in /data/data/org.kde.necessitas.ministro/files/dl/0/stable//lib/libQtSvg.so 0x416f73d8, skipping init
    D/dalvikvm( 4441): Trying to load lib /data/data/org.kde.necessitas.ministro/files/dl/0/stable//lib/libQtXmlPatterns.so 0x416f73d8
    D/dalvikvm( 4441): Added shared lib /data/data/org.kde.necessitas.ministro/files/dl/0/stable//lib/libQtXmlPatterns.so 0x416f73d8
    D/dalvikvm( 4441): No JNI_OnLoad found in /data/data/org.kde.necessitas.ministro/files/dl/0/stable//lib/libQtXmlPatterns.so 0x416f73d8, skipping init
    D/dalvikvm( 4441): Trying to load lib /data/data/org.kde.necessitas.ministro/files/dl/0/stable//lib/libQtDeclarative.so 0x416f73d8
    D/dalvikvm( 4441): Added shared lib /data/data/org.kde.necessitas.ministro/files/dl/0/stable//lib/libQtDeclarative.so 0x416f73d8
    D/dalvikvm( 4441): No JNI_OnLoad found in /data/data/org.kde.necessitas.ministro/files/dl/0/stable//lib/libQtDeclarative.so 0x416f73d8, skipping init
    D/dalvikvm( 4441): Trying to load lib /data/data/org.kde.necessitas.ministro/files/dl/0/stable//plugins/platforms/android/libandroidGL-9.so 0x416f73d8
    D/dalvikvm( 4441): Added shared lib /data/data/org.kde.necessitas.ministro/files/dl/0/stable//plugins/platforms/android/libandroidGL-9.so 0x416f73d8
    I/Qt ( 4441): qt start
    D/dalvikvm( 4441): Trying to load lib /data/app-lib/org.kde.necessitas.example.sbs2_EEGViewer-1/libsbs2-EEGViewer.so 0x416eea60
    D/dalvikvm( 4441): Added shared lib /data/app-lib/org.kde.necessitas.example.sbs2_EEGViewer-1/libsbs2-EEGViewer.so 0x416eea60
    D/dalvikvm( 4441): No JNI_OnLoad found in /data/app-lib/org.kde.necessitas.example.sbs2_EEGViewer-1/libsbs2-EEGViewer.so 0x416eea60, skipping init@



  • Had to continue in comment:

    @W/Qt ( 4441): Can't set environment ""
    W/Qt ( 4441): WARNING: QApplication was not created in the main() thread.
    I/Qt JAVA ( 4441): surfaceDestroyed
    I/Qt JAVA ( 4441): surfaceChanged: 480,762,480,762
    I/Qt JAVA ( 4441): surfaceChanged: 480,762,480,762
    D/Qt ( 4441): QAndroidPlatformIntegrationPlugin::create "android"
    D/Qt ( 4441): Reading json file took 109 ms
    D/Qt ( 4441): Parsing json file took 31 ms
    D/Qt ( 4441): QAndroidPlatformIntegration::QAndroidPlatformIntegration(): creating QAndroidEglFSScreen => Using OpenGL painting
    D/libEGL ( 4441): Emulator without GPU support detected. Fallback to software renderer.
    D/libEGL ( 4441): loaded /system/lib/egl/libGLES_android.so
    W/Qt ( 4441): Opened display 0x1
    W/Qt ( 4441): Initialized display 1 4
    W/dalvikvm( 4441): dvmFindClassByName rejecting 'org/kde/necessitas/industrius/QtNativeInputConnection'
    W/dalvikvm( 4441): dvmFindClassByName rejecting 'org/kde/necessitas/industrius/QtExtractedText'
    D/Qt ( 4441): catalogPath: "/sdcard/smartphonebrainscanner2_readings/"
    D/Qt ( 4441): rootAppPath: "/sdcard/smartphonebrainscanner2_data/"
    D/Qt ( 4441): 0 6 1
    D/Qt ( 4441): [ANDROID] hidraw device not found at expected place : "/dev/hidraw1"
    D/Qt ( 4441): device lost
    D/Qt ( 4441): setFullScreen false
    D/Qt ( 4441): setFullScreen false
    W/Qt ( 4441): Cant find EGLConfig, returning null config
    D/Qt ( 4441): ANativeWindow_settings width 480 height 762 format 1
    D/Qt ( 4441): QAndroidEglFSScreen::createWindowSurface 0x2a059338
    E/libEGL ( 4441): called unimplemented OpenGL ES API
    .
    .
    .
    E/libEGL ( 4441): called unimplemented OpenGL ES API
    W/Qt ( 4441): Vertex shader for simpleShaderProg (MainVertexShader & PositionOnlyVertexShader) failed to compile
    E/libEGL ( 4441): called unimplemented OpenGL ES API
    .
    .
    .
    E/libEGL ( 4441): called unimplemented OpenGL ES API
    W/Qt ( 4441): Fragment shader for simpleShaderProg (MainFragmentShader & ShockingPinkSrcFragmentShader) failed to compile
    E/libEGL ( 4441): called unimplemented OpenGL ES API
    .
    .
    .
    E/libEGL ( 4441): called unimplemented OpenGL ES API@

    And this continues but I stop it. Talk about a headache :-/
    Any thoughts?



  • I got it! Well at least the workaround for the time being.

    I had to enable OpenGL in the emulator! (It's the "Use Host GPU" check button)

    If anyone has the actual fix let me know.


Log in to reply