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

Vulkan under QML example renders incorrectly with MoltenVK

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P2: Important
    • Resolution: Cannot Reproduce
    • 5.15.0 Beta2
    • 6.0
    • GUI: Vulkan, Qt RHI
    • None
    • macOS Catalina 10.15.3 on MacBook Pro with Intel Iris Plus Graphics 655 1536 MB

      MoltenVK 1.1.130 (from the corresponding LunarG Vulkan SDKs).
    • macOS

    Description

      Related issue: QTBUG-82600

      The Vulkan under QML example renders incorrectly: While the animation is displayed correctly, artefacts occur and the text is butchered. The shape of the artefact changes every time the program executed, but remains constant during execution.

      I'm running macOS Catalina with MoltenVK 1.1.130 (LunarG Vulkan SDK) and Qt 5.15.0 beta2. I changed the example's {main.cpp} in order to use classic QML type registration (I don't use QtCreator):

      #include <QGuiApplication>
      #include <QtQuick/QQuickView>
      
      #include "vulkansquircle.h"
      
      int main(int argc, char **argv)
      {
          QGuiApplication app(argc, argv);
      
          qmlRegisterType<VulkanSquircle>("VulkanUnderQML", 1, 0, "VulkanSquircle");
                                                                                                                                                                                                                        
          // This example needs Vulkan. It will not run otherwise.                                                                                                                                                      
          QQuickWindow::setSceneGraphBackend(QSGRendererInterface::VulkanRhi);
      
          QQuickView view;
          view.setResizeMode(QQuickView::SizeRootObjectToView);
          view.setSource(QUrl("qrc:///scenegraph/vulkanunderqml/main.qml"));
          view.show();
      
          return app.exec();
      }
      

       I highly doubt this has anything to do with the problem, but I want to be thorough.

      Attachments

        1. Screenshot 2020-03-25 at 12.45.07.png
          197 kB
          Malte Kliemann
        2. Screenshot 2020-03-25 at 12.45.33.png
          97 kB
          Malte Kliemann
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lagocs Laszlo Agocs
            maltekliemann Malte Kliemann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes