Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-88510

Error messages when QML ColorOverlay with RHI Metal backend

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Duplicate
    • Affects Version/s: 5.15.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Host: Mac Mini (2019), MacOS 10.15.7 (Catalina), Qt 5.15.1
      Device: iPad Pro (2020), iOS 14.1

    • Platform/s:
      iOS/tvOS/watchOS

      Description

      If we choose the Metal backend (QQuickWindow::setSceneGraphBackend(QSGRendererInterface::MetalRhi);) We get many of these error log messages when using ColorOverlay in our QML code:

      qUncompress: Z_DATA_ERROR: Input data is corrupted
      Attempted to deserialize QShader with unknown version 0.
      ShaderEffect: Failed to deserialize QShader from :/qt-project.org/imports/QtGraphicalEffects/shaders/coloroverlay.frag
      ShaderEffect: shader preparation failed for qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/coloroverlay.frag
      

      Looks related to QTBUG-87402, however we're not using any own Shader Effects.

      We assume similar things would happen when using other components from Qt Quick Graphical Effects, not just ColorOverlay.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              qt.team.graphics.and.multimedia Qt Graphics Team
              Reporter:
              xxtrawurst Rafael Spring
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes