Uploaded image for project: 'Qt 3D Studio'
  1. Qt 3D Studio
  2. QT3DS-4095

Shader cache binary link failed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • Qt 3D Studio 2.7
    • Qt 3D Studio 2.6, Qt 3D Studio 2.5, Qt 3D Studio 2.7
    • OpenGL Runtime
    • None
    • VM/Linux/X11
    • Linux/X11

    Description

      Exporting shader cache binary could be done successfully, but importing the binary file would fail. Logs are as followings.

       

      qt3ds.trace_info: Requesting OpenGL 3.3 core context succeeded
      qt3ds.trace_info: CNDDView::BootupPreGraphicsInitObjects: DoInitialize
      qt3ds.trace_info: CNDDView::DoInitialize: Successfully initialized!
      qt3ds.trace_info: GLSL version: 3.30
      qt3ds.trace_info: GL version: 3.3 (Core Profile) Mesa 19.2.8
      qt3ds.trace_info: HW vendor: VMware, Inc.
      qt3ds.trace_info: Vendor renderer: SVGA3D; build: RELEASE; LLVM;
      qt3ds.trace_info: OpenGL extensions: GL_AMD_conservative_depth GL_AMD_draw_buffers_blend GL_AMD_shader_trinary_minmax GL_AMD_texture_texture4 GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_ES2_compatibility GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_blend_func_extended GL_ARB_clear_buffer_object GL_ARB_clear_texture GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_copy_buffer GL_ARB_copy_image GL_ARB_debug_output GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_direct_state_access GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_explicit_attrib_location GL_ARB_explicit_uniform_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_get_program_binary GL_ARB_get_texture_sub_image GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_internalformat_query2 GL_ARB_invalidate_subdata GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multi_bind GL_ARB_occlusion_query2 GL_ARB_parallel_shader_compile GL_ARB_pixel_buffer_object GL_ARB_point_sprite GL_ARB_program_interface_query GL_ARB_provoking_vertex GL_ARB_robustness GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_objects GL_ARB_shader_subroutine GL_ARB_shader_texture_lod GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_sync GL_ARB_texture_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map_array GL_ARB_texture_filter_anisotropic GL_ARB_texture_float GL_ARB_texture_gather GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_levels GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_rgb10_a2ui GL_ARB_texture_storage GL_ARB_texture_storage_multisample GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_attrib_binding GL_ARB_vertex_buffer_object GL_ARB_vertex_shader GL_ARB_vertex_type_2_10_10_10_rev GL_ATI_blend_equation_separate GL_ATI_texture_float GL_EXT_abgr GL_EXT_blend_equation_separate GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_provoking_vertex GL_EXT_shader_integer_mix GL_EXT_texture_array GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_sRGB GL_EXT_texture_sRGB_decode GL_EXT_texture_shared_exponent GL_EXT_texture_snorm GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array_bgra GL_IBM_multimode_draw_arrays GL_KHR_context_flush_control GL_KHR_debug GL_KHR_no_error GL_KHR_parallel_shader_compile GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_sliced_3d GL_MESA_pack_invert GL_MESA_shader_integer_functions GL_MESA_texture_signed_rgba GL_NV_conditional_render GL_NV_depth_clamp GL_NV_packed_depth_stencil GL_OES_EGL_image GL_S3_s3tc
      qt3ds.trace_info: GL version: 3.3 (Core Profile) Mesa 19.2.8
      qt3ds.trace_info: Loading binary program from shader cache: '< "mesh subset pipeline-- ;hasLighting=true;lightCount=1;specularModel=Default;;diffuseMap0={enabled=true;;;;};diffuseMap0_swizzle={noswizzle=true;;;;};diffuseMap1={;;;;};diffuseMap1_swizzle={;;;;};diffuseMap2={;;;;};diffuseMap2_swizzle={;;;;};emissiveMap={;;;;};emissiveMap_swizzle={;;;;};emissiveMap2={;;;;};emissiveMap2_swizzle={;;;;};specularMap={;;;;};specularMap_swizzle={;;;;};opacityMap={;;;;};opacityMap_swizzle={;;;;};bumpMap={;;;;};bumpMap_swizzle={;;;;};specularAmountMap={;;;;};specularAmountMap_swizzle={;;;;};normalMap={;;;;};normalMap_swizzle={;;;;};displacementMap={;;;;};displacementMap_swizzle={;;;;};translucencyMap={;;;;};translucencyMap_swizzle={;;;;};lightmapIndirect={;;;;};lightmapIndirect_swizzle={;;;;};lightmapRadiosity={;;;;};lightmapRadiosity_swizzle={;;;;};lightmapShadow={;;;;};lightmapShadow_swizzle={;;;;};roughnessMap={;;;;};roughnessMap_swizzle={;;;;};tessellationMode={noTessellation=true;;;}" >'
      qt3ds.internal_error: Failed to link binary program!!
      importShaderCache Failed to load a cached a shader: "mesh subset pipeline-- ;hasLighting=true;lightCount=1;specularModel=Default;;diffuseMap0={enabled=true;;;;};diffuseMap0_swizzle={noswizzle=true;;;;};diffuseMap1={;;;;};diffuseMap1_swizzle={;;;;};diffuseMap2={;;;;};diffuseMap2_swizzle={;;;;};emissiveMap={;;;;};emissiveMap_swizzle={;;;;};emissiveMap2={;;;;};emissiveMap2_swizzle={;;;;};specularMap={;;;;};specularMap_swizzle={;;;;};opacityMap={;;;;};opacityMap_swizzle={;;;;};bumpMap={;;;;};bumpMap_swizzle={;;;;};specularAmountMap={;;;;};specularAmountMap_swizzle={;;;;};normalMap={;;;;};normalMap_swizzle={;;;;};displacementMap={;;;;};displacementMap_swizzle={;;;;};translucencyMap={;;;;};translucencyMap_swizzle={;;;;};lightmapIndirect={;;;;};lightmapIndirect_swizzle={;;;;};lightmapRadiosity={;;;;};lightmapRadiosity_swizzle={;;;;};lightmapShadow={;;;;};lightmapShadow_swizzle={;;;;};roughnessMap={;;;;};roughnessMap_swizzle={;;;;};tessellationMode={noTessellation=true;;;}"
      qt3ds.trace_info: Loading binary program from shader cache: '< "FullScreenTextureOverlay_u46878 - main" >'
      qt3ds.internal_error: Failed to link binary program!!
      importShaderCache Failed to load a cached a shader: "FullScreenTextureOverlay_u46878 - main"
      qt3ds.trace_info: Loading binary program from shader cache: '< "layer shader" >'
      qt3ds.internal_error: Failed to link binary program!!
      importShaderCache Failed to load a cached a shader: "layer shader"
      qt3ds.trace_info: Compiling into shader cache: ' mesh subset pipeline-- ;hasLighting=true;lightCount=1;specularModel=Default;;diffuseMap0={enabled=true;;;;};diffuseMap0_swizzle={noswizzle=true;;;;};diffuseMap1={;;;;};diffuseMap1_swizzle={;;;;};diffuseMap2={;;;;};diffuseMap2_swizzle={;;;;};emissiveMap={;;;;};emissiveMap_swizzle={;;;;};emissiveMap2={;;;;};emissiveMap2_swizzle={;;;;};specularMap={;;;;};specularMap_swizzle={;;;;};opacityMap={;;;;};opacityMap_swizzle={;;;;};bumpMap={;;;;};bumpMap_swizzle={;;;;};specularAmountMap={;;;;};specularAmountMap_swizzle={;;;;};normalMap={;;;;};normalMap_swizzle={;;;;};displacementMap={;;;;};displacementMap_swizzle={;;;;};translucencyMap={;;;;};translucencyMap_swizzle={;;;;};lightmapIndirect={;;;;};lightmapIndirect_swizzle={;;;;};lightmapRadiosity={;;;;};lightmapRadiosity_swizzle={;;;;};lightmapShadow={;;;;};lightmapShadow_swizzle={;;;;};roughnessMap={;;;;};roughnessMap_swizzle={;;;;};tessellationMode={noTessellation=true;;;} >'
      qt3ds.trace_info: Compiling into shader cache: ' FullScreenTextureOverlay_u46878 - main >'
      qt3ds.trace_info: Compiling into shader cache: ' layer shader >'
      qt3ds.perf_info: *** First frame rendered ***
      qt3ds.perf_info: Runtime startup time: 78ms
      qt3ds.perf_info: Application startup time: 167ms
      qt3ds.internal_error: !!Outstanding allocation of 31 bytes from ../render/backends/gl/Qt3DSRenderBackendGLBase.cpp::1572, NVRenderBackendShaderProgramGL
      qt3ds.internal_error: !!Outstanding allocation of 31 bytes from ../render/backends/gl/Qt3DSRenderBackendGLBase.cpp::1572, NVRenderBackendShaderProgramGL
      qt3ds.internal_error: !!Outstanding allocation of 31 bytes from ../render/backends/gl/Qt3DSRenderBackendGLBase.cpp::1572, NVRenderBackendShaderProgramGL

      Attachments

        1. dynamicloading.zip
          749 kB
        2. temp.shadercache
          0.4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            anmaatta Antti Määttä
            vito_ao Ao Yu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes