Godot: [TRACKER] 4.0 Android rendering issues

Created on 25 May 2020  路  16Comments  路  Source: godotengine/godot

This tracker lists remaining rendering issues on Android after integrating Vulkan support from #36919.


Minimal project I'm using for tests:
line-edit-keyboard.zip

Debug APK for quick test:
line-edit-keyboard_debug_apk.zip


  • [ ] Missing 3D support (needs a new renderer implementation & shaders)
    Shaders currently fail because of descriptor set limits (tested on Galaxy Note 5):
ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
   at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. returned: RID()

Reproduced on:
_Samsung Galaxy Note 5 (Android 7.0)_
_Google Pixel 2 XL (Android 10)_
_Google Pixel 3 XL (Android 10)_

  • [ ] Not rendering on some devices
    Could be related to this error:
ERROR: Condition "p_rasterization_state.patch_control_points < 1 || p_rasterization_state.patch_control_points > limits.maxTessellationPatchSize" is true. Returning: RID()
   at: render_pipeline_create (drivers\vulkan\rendering_device_vulkan.cpp:5003) - Condition "p_rasterization_state.patch_control_points < 1 || p_rasterization_state.patch_control_points > limits.maxTessellationPatchSize" is true. Returning: RID()

Reproduced on:
_Google Pixel 2 XL (Android 10)_

  • [ ] Colors are off on some devices
    _Note: This could be due to poor Vulkan support with some drivers on older versions of Android_

Reproduced on:
_Samsung Galaxy Note 5 (Android 7.0)_
_Samsung Galaxy S7 Edge (Exynos variant, Android 8.0)_
_Honor 10 (Android 9)_

Can't repro on:
_Google Pixel 3a (Android 10)_
_Google Pixel 3 XL (Android 10)_
_OnePlus 6 (Android 10)_
_Xiaomi Mi MIX 3 (Android 10)_

Example with TextureRect :

| Normal | Glitch |
| ------------- | ------------- |
| | |

  • [ ] Vulkan validation layers are not working (fails on vkGetInstanceProcAddr)
    It's disabled on Android for now to avoid crashes.

  • [ ] Errors when using format list in RenderingDeviceVulkan::texture_create
    vmaCreateImage fails with VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT (returns VK_ERROR_OUT_OF_HOST_MEMORY)
    It's disabled on Android for now to avoid crashes.

  • [ ] Errors in RenderingDeviceVulkan::compute_pipeline_create
    vkCreateComputePipelines returns VK_ERROR_INITIALIZATION_FAILED in some cases

ERROR: vkCreateComputePipelines returned error -3
   at: compute_pipeline_create (drivers\vulkan\rendering_device_vulkan.cpp:5143) - Condition "err" is true. returned: RID()
  • [ ] Missing VR support
    There's specific initialization for GL, based on xrMode, it's not handled for Vulkan.

  • [ ] Missing fallback to GLES2

  • [ ] Building templates with Android API 18 to 23
    Vulkan support should be disabled in this case.

  • [x] ~Properly handle onVkSurfaceChanged event to update the rendering system~
    Right now, pausing and resuming the app causes it to restart completely instead.
    addressed in #39004

bug android rendering tracker

Most helpful comment

@Calinou @nathanfranke the image link should be working now.

All 16 comments

a8787d1ae56006c00b4eecc3506dbc5ec763a8a5

Colors are off, maybe a texture format issue?

Cannot reproduce on my Google Pixel 3a (Android 10)

image

@nathanfranke Thanks for info! I'll add that to the description.
I've just tested again with 34ef9a51200978f9c552999969279fc4d6dba31b and I still see the same issue on Galaxy Note 5 (Android 7.0).

@pouleyKetchoupp Android 7.0 is supposed to have poor vulkan support, so the issue could be with the vulkan drivers on the device.

@m4gr3d That makes sense. I've updated the description, and we'll see if this is confirmed with more tests on different devices.

@pouleyKetchoupp Could you upload an APK of the minimal reproduction project and put it into a ZIP file (so GitHub accepts it)? This would make testing significantly easier. I managed to compile an APK here, but couldn't actually run it after exporting because none of the scenes were included in the final project for some reason.

@Calinou Added!

@pouleyKetchoupp I've finally got around to test your attached debug apk.

I'm also seeing several error logs in logcat:

2020-06-09 09:26:28.868 3098-3098/? I/ineeditkeyboar: Late-enabling -Xcheck:jni
2020-06-09 09:26:28.890 3098-3098/? E/ineeditkeyboar: Unknown bits set in runtime_flags: 0x8000
2020-06-09 09:26:29.329 3098-3153/org.godotengine.lineeditkeyboard I/AdrenoGLES: QUALCOMM build                   : ba734b1, I0a3e8c4129
    Build Date                       : 11/08/19
    OpenGL ES Shader Compiler Version: EV031.27.05.02
    Local Branch                     : 
    Remote Branch                    : refs/tags/AU_LINUX_ANDROID_LA.UM.7.8.9.C1.08.00.00.516.287
    Remote Branch                    : NONE
    Reconstruct Branch               : NOTHING
2020-06-09 09:26:29.329 3098-3153/org.godotengine.lineeditkeyboard I/AdrenoGLES: Build Config                     : S P 8.0.11 AArch64
2020-06-09 09:26:29.350 3098-3153/org.godotengine.lineeditkeyboard I/AdrenoGLES: PFP: 0x016ee183, ME: 0x00000000
2020-06-09 09:26:29.355 3098-3203/org.godotengine.lineeditkeyboard I/godot: Godot Engine v4.0.dev.custom_build.be22a1f9b - https://godotengine.org
2020-06-09 09:26:29.378 3098-3203/org.godotengine.lineeditkeyboard D/vulkan: searching for layers in '/data/app/org.godotengine.lineeditkeyboard-n7Pbk67EUczt1aRp-jFZTg==/lib/arm64'
2020-06-09 09:26:29.378 3098-3203/org.godotengine.lineeditkeyboard D/vulkan: searching for layers in '/data/app/org.godotengine.lineeditkeyboard-n7Pbk67EUczt1aRp-jFZTg==/base.apk!/lib/arm64-v8a'
2020-06-09 09:26:29.382 3098-3203/org.godotengine.lineeditkeyboard I/AdrenoVK: QUALCOMM build          : ba734b1, I0a3e8c4129
    Build Date              : 11/08/19
    Shader Compiler Version : EV031.27.05.02
    Local Branch            : 
    Remote Branch           : refs/tags/AU_LINUX_ANDROID_LA.UM.7.8.9.C1.08.00.00.516.287
    Remote Branch           : NONE
    Reconstruct Branch      : NOTHING
2020-06-09 09:26:29.382 3098-3203/org.godotengine.lineeditkeyboard I/AdrenoVK: Build Config            : S P 8.0.11 AArch64
2020-06-09 09:26:29.392 3098-3153/org.godotengine.lineeditkeyboard W/Gralloc3: mapper 3.x is not supported
2020-06-09 09:26:29.393 3098-3098/org.godotengine.lineeditkeyboard W/RenderThread: type=1400 audit(0.0:176359): avc: denied { read } for name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=24719 scontext=u:r:untrusted_app:s0:c93,c257,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
2020-06-09 09:26:29.397 3098-3153/org.godotengine.lineeditkeyboard E/libc: Access denied finding property "vendor.gralloc.disable_ahardware_buffer"
2020-06-09 09:26:30.904 3098-3213/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:30.904 3098-3213/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:30.907 3098-3210/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:30.907 3098-3210/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:30.916 3098-3227/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:30.916 3098-3227/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:30.919 3098-3229/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:30.919 3098-3229/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:30.925 3098-3233/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:30.925 3098-3233/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:30.946 3098-3234/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:30.946 3098-3234/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:30.956 3098-3228/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:30.956 3098-3228/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:30.964 3098-3213/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:30.964 3098-3213/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:30.967 3098-3210/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:30.967 3098-3210/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:30.967 3098-3235/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:30.967 3098-3235/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:30.971 3098-3227/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:30.971 3098-3227/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:30.971 3098-3203/org.godotengine.lineeditkeyboard E/godot: ERROR: Condition "!scene_singleton->shader.scene_shader.version_is_valid(version)" is true.
2020-06-09 09:26:30.971 3098-3203/org.godotengine.lineeditkeyboard E/godot:    at: set_code (servers\rendering\rasterizer_rd\rasterizer_scene_high_end_rd.cpp:212) - Condition "!scene_singleton->shader.scene_shader.version_is_valid(version)" is true.
2020-06-09 09:26:30.985 3098-3210/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:30.986 3098-3210/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:30.988 3098-3229/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:30.988 3098-3229/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:30.989 3098-3213/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:30.989 3098-3213/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:31.000 3098-3228/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:31.000 3098-3228/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:31.002 3098-3210/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:31.002 3098-3210/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:31.003 3098-3234/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:31.003 3098-3234/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:31.007 3098-3213/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:31.007 3098-3213/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:31.008 3098-3229/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:31.008 3098-3229/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:31.011 3098-3227/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:31.011 3098-3227/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:31.013 3098-3235/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:31.013 3098-3235/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:31.013 3098-3233/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:31.013 3098-3233/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:31.013 3098-3203/org.godotengine.lineeditkeyboard E/godot: ERROR: Condition "!scene_singleton->shader.scene_shader.version_is_valid(version)" is true.
2020-06-09 09:26:31.014 3098-3203/org.godotengine.lineeditkeyboard E/godot:    at: set_code (servers\rendering\rasterizer_rd\rasterizer_scene_high_end_rd.cpp:212) - Condition "!scene_singleton->shader.scene_shader.version_is_valid(version)" is true.
2020-06-09 09:26:31.028 3098-3213/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:31.028 3098-3213/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:31.030 3098-3228/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:31.030 3098-3228/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:31.030 3098-3227/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:31.030 3098-3227/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:31.040 3098-3210/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:31.040 3098-3210/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:31.045 3098-3213/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:31.045 3098-3213/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:31.046 3098-3227/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:31.046 3098-3227/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:31.046 3098-3229/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:31.046 3098-3229/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:31.050 3098-3235/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:31.050 3098-3235/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:31.051 3098-3228/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:31.051 3098-3228/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:31.056 3098-3234/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:31.056 3098-3234/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:31.057 3098-3233/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:26:31.057 3098-3233/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:26:31.058 3098-3203/org.godotengine.lineeditkeyboard E/godot: ERROR: Condition "!scene_singleton->shader.scene_shader.version_is_valid(version)" is true.
2020-06-09 09:26:31.058 3098-3203/org.godotengine.lineeditkeyboard E/godot:    at: set_code (servers\rendering\rasterizer_rd\rasterizer_scene_high_end_rd.cpp:212) - Condition "!scene_singleton->shader.scene_shader.version_is_valid(version)" is true.
2020-06-09 09:26:31.058 3098-3203/org.godotengine.lineeditkeyboard E/godot: ERROR: Condition "!shader" is true. Returning: RID()
2020-06-09 09:26:31.058 3098-3203/org.godotengine.lineeditkeyboard E/godot:    at: uniform_set_create (drivers\vulkan\rendering_device_vulkan.cpp:4387) - Condition "!shader" is true. Returning: RID()
2020-06-09 09:26:31.058 3098-3203/org.godotengine.lineeditkeyboard E/godot: ERROR: Condition "!shader" is true. Returning: RID()
2020-06-09 09:26:31.058 3098-3203/org.godotengine.lineeditkeyboard E/godot:    at: uniform_set_create (drivers\vulkan\rendering_device_vulkan.cpp:4387) - Condition "!shader" is true. Returning: RID()
2020-06-09 09:26:31.058 3098-3203/org.godotengine.lineeditkeyboard E/godot: ERROR: Condition "!shader" is true. Returning: RID()
2020-06-09 09:26:31.058 3098-3203/org.godotengine.lineeditkeyboard E/godot:    at: uniform_set_create (drivers\vulkan\rendering_device_vulkan.cpp:4387) - Condition "!shader" is true. Returning: RID()
2020-06-09 09:26:31.094 3098-3203/org.godotengine.lineeditkeyboard I/godot:  
2020-06-09 09:26:31.122 3098-3203/org.godotengine.lineeditkeyboard I/libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2)
2020-06-09 09:26:31.149 3098-3203/org.godotengine.lineeditkeyboard W/AudioTrack: createTrack_l(0): AUDIO_OUTPUT_FLAG_FAST denied by server; frameCount 0 -> 1772
2020-06-09 09:26:31.417 3098-3203/org.godotengine.lineeditkeyboard E/godot: WARNING: Icon not supported by this display server.
2020-06-09 09:26:31.417 3098-3203/org.godotengine.lineeditkeyboard E/godot:    at: set_icon (servers\display_server.cpp:303) - Icon not supported by this display server.
  • On a pixel 2xl running Android 10, nothing renders, and the following error logs are printed to logcat:
2020-06-09 09:38:52.308 25701-25701/? I/ineeditkeyboar: Late-enabling -Xcheck:jni
2020-06-09 09:38:52.331 25701-25701/? E/ineeditkeyboar: Unknown bits set in runtime_flags: 0x8000
2020-06-09 09:38:52.573 25701-25722/org.godotengine.lineeditkeyboard I/Adreno: QUALCOMM build                   : bc00834, I609ab310b2
    Build Date                       : 04/11/19
    OpenGL ES Shader Compiler Version: EV031.26.07.00
    Local Branch                     : 
    Remote Branch                    : 
    Remote Branch                    : 
    Reconstruct Branch               : 
2020-06-09 09:38:52.573 25701-25722/org.godotengine.lineeditkeyboard I/Adreno: Build Config                     : S L 8.0.6 AArch64
2020-06-09 09:38:52.576 25701-25722/org.godotengine.lineeditkeyboard I/Adreno: PFP: 0x005ff110, ME: 0x005ff066
2020-06-09 09:38:52.581 25701-25727/org.godotengine.lineeditkeyboard I/godot: Godot Engine v4.0.dev.custom_build.be22a1f9b - https://godotengine.org
2020-06-09 09:38:52.588 25701-25727/org.godotengine.lineeditkeyboard D/vulkan: searching for layers in '/data/app/org.godotengine.lineeditkeyboard-PvY9STRkj8QvO9iHdnT8iw==/lib/arm64'
2020-06-09 09:38:52.589 25701-25727/org.godotengine.lineeditkeyboard D/vulkan: searching for layers in '/data/app/org.godotengine.lineeditkeyboard-PvY9STRkj8QvO9iHdnT8iw==/base.apk!/lib/arm64-v8a'
2020-06-09 09:38:52.590 25701-25727/org.godotengine.lineeditkeyboard I/Adreno: QUALCOMM build          : bc00834, I609ab310b2
    Build Date              : 04/11/19
    Shader Compiler Version : EV031.26.07.00
    Local Branch            : 
    Remote Branch           : 
    Remote Branch           : 
    Reconstruct Branch      : 
2020-06-09 09:38:52.590 25701-25727/org.godotengine.lineeditkeyboard I/Adreno: Build Config            : S L 8.0.6 AArch64
2020-06-09 09:38:52.600 25701-25722/org.godotengine.lineeditkeyboard W/Gralloc3: mapper 3.x is not supported
2020-06-09 09:38:54.107 25701-25727/org.godotengine.lineeditkeyboard E/godot: ERROR: Condition "p_rasterization_state.patch_control_points < 1 || p_rasterization_state.patch_control_points > limits.maxTessellationPatchSize" is true. Returning: RID()
2020-06-09 09:38:54.107 25701-25727/org.godotengine.lineeditkeyboard E/godot:    at: render_pipeline_create (drivers\vulkan\rendering_device_vulkan.cpp:5003) - Condition "p_rasterization_state.patch_control_points < 1 || p_rasterization_state.patch_control_points > limits.maxTessellationPatchSize" is true. Returning: RID()
2020-06-09 09:38:54.107 25701-25727/org.godotengine.lineeditkeyboard E/godot: ERROR: Condition "p_rasterization_state.patch_control_points < 1 || p_rasterization_state.patch_control_points > limits.maxTessellationPatchSize" is true. Returning: RID()
2020-06-09 09:38:54.107 25701-25727/org.godotengine.lineeditkeyboard E/godot:    at: render_pipeline_create (drivers\vulkan\rendering_device_vulkan.cpp:5003) - Condition "p_rasterization_state.patch_control_points < 1 || p_rasterization_state.patch_control_points > limits.maxTessellationPatchSize" is true. Returning: RID()
2020-06-09 09:38:54.107 25701-25727/org.godotengine.lineeditkeyboard E/godot: ERROR: Condition "p_rasterization_state.patch_control_points < 1 || p_rasterization_state.patch_control_points > limits.maxTessellationPatchSize" is true. Returning: RID()
2020-06-09 09:38:54.107 25701-25727/org.godotengine.lineeditkeyboard E/godot:    at: render_pipeline_create (drivers\vulkan\rendering_device_vulkan.cpp:5003) - Condition "p_rasterization_state.patch_control_points < 1 || p_rasterization_state.patch_control_points > limits.maxTessellationPatchSize" is true. Returning: RID()
2020-06-09 09:38:54.368 25701-25739/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:38:54.368 25701-25739/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:38:54.369 25701-25736/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:38:54.369 25701-25736/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:38:54.382 25701-25733/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:38:54.382 25701-25733/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:38:54.385 25701-25738/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:38:54.385 25701-25738/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:38:54.393 25701-25737/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:38:54.393 25701-25737/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:38:54.420 25701-25736/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:38:54.420 25701-25736/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:38:54.422 25701-25739/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:38:54.422 25701-25739/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:38:54.429 25701-25735/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:38:54.429 25701-25735/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:38:54.434 25701-25733/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:38:54.434 25701-25733/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:38:54.445 25701-25734/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:38:54.445 25701-25734/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:38:54.452 25701-25732/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:38:54.452 25701-25732/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:38:54.452 25701-25727/org.godotengine.lineeditkeyboard E/godot: ERROR: Condition "!scene_singleton->shader.scene_shader.version_is_valid(version)" is true.
2020-06-09 09:38:54.452 25701-25727/org.godotengine.lineeditkeyboard E/godot:    at: set_code (servers\rendering\rasterizer_rd\rasterizer_scene_high_end_rd.cpp:212) - Condition "!scene_singleton->shader.scene_shader.version_is_valid(version)" is true.
2020-06-09 09:38:54.474 25701-25732/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:38:54.474 25701-25732/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:38:54.475 25701-25735/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:38:54.475 25701-25735/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:38:54.480 25701-25734/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:38:54.480 25701-25734/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:38:54.495 25701-25736/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:38:54.495 25701-25736/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:38:54.495 25701-25739/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:38:54.495 25701-25739/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:38:54.497 25701-25732/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:38:54.497 25701-25732/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:38:54.498 25701-25737/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:38:54.498 25701-25737/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:38:54.500 25701-25738/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:38:54.500 25701-25738/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:38:54.502 25701-25735/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:38:54.502 25701-25735/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:38:54.503 25701-25734/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:38:54.503 25701-25734/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:38:54.504 25701-25733/org.godotengine.lineeditkeyboard E/godot: ERROR: On shader stage 'Vertex', uniform 'transforms' uses a set (4) index larger than what is supported by the hardware (4).
2020-06-09 09:38:54.504 25701-25733/org.godotengine.lineeditkeyboard E/godot:    at: shader_create (drivers\vulkan\rendering_device_vulkan.cpp:3903) - Condition "set >= limits.maxBoundDescriptorSets" is true. Returning: RID()
2020-06-09 09:38:54.504 25701-25727/org.godotengine.lineeditkeyboard E/godot: ERROR: Condition "!scene_singleton->shader.scene_shader.version_is_valid(version)" is true.
2020-06-09 09:38:54.504 25701-25727/org.godotengine.lineeditkeyboard E/godot:    at: set_code (servers\rendering\rasterizer_rd\rasterizer_scene_high_end_rd.cpp:212) - Condition "!scene_singleton->shader.scene_shader.version_is_valid(version)" is true.

This is what I get on my OnePlus 6 running Android 10.0.0:

Screenshot_20200610-140233

Colors are correct, and I can scroll the area in the top-right corner as expected.

PS: I can't access the image @m4gr3d posted - it's marked as "File is in owner's trash".

Cannot access the image either. I would recommend always using GitHub user content (just pasting the image into the comment)

@Calinou @nathanfranke the image link should be working now.

On a Samsung Galaxy S7 edge (Exynos 8890) running Android 8.0.0, I get incorrect colors:

Incorrect colors

Thanks all for testing on different devices! I'm off for the week but I'll update the issue's description with details as soon as I have more time.

I get correct rendering on a Xiaomi Mi MIX 3 (M1810E5A) running Android 10:

Screenshot_2020-06-13-17-58-21-636_org godotengine lineeditkeyboard

I get incorrect rendering on a Honor 10 (COL-L29) running Android 9:

Screenshot_20200613_204330_org godotengine lineeditkeyboard

Disregard the accidental close/reopen below.

Has anyone been working on/made progress on refactors to fix the 3D rendering issues? I was looking to help with that but don't want to duplicate effort if work has already started!

@The-O-King The 3D Vulkan renderer is still receiving significant changes right now. I'd wait until work on the renderer is done before starting to port it to mobile.

Was this page helpful?
0 / 5 - 0 ratings