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

Insufficient detection of software rasterizer (opengl32sw.dll)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.6.3
    • 5.6.2
    • Canvas3D
    • None
    • ef53ec5c8bcdab6b473c78f66e5d24d3aacd08fb

    Description

      Coin tries to switch to using opengl32sw.dll on Windows. Anyhow, this crashes the qmltest of Qt Canvas3D crash:

      https://codereview.qt-project.org/#/c/170519/

      Interestingly the test succeeds if the software rasterizer is enforced by the Qt::AA_UseSoftwareOpenGL application attribute, instead of the QT_OPENGL environment variable or automatic selection. This is because the attribute is detected explicitly in canvas3d.cpp:

      // ...
          if (QCoreApplication::testAttribute(Qt::AA_UseSoftwareOpenGL))
              m_isSoftwareRendered = true;
      // ...
              if (m_maxSamples == 0 || m_isSoftwareRendered)
                  m_contextAttribs.setAntialias(false);
      

      Attachments

        For Gerrit Dashboard: QTBUG-56673
        # Subject Branch Project Status CR V

        Activity

          People

            e0348803 Miikka Heikkinen
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes