Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. macOS VM High Sierra/Mojave QML OpenGL severe flickering
Forum Updated to NodeBB v4.3 + New Features

macOS VM High Sierra/Mojave QML OpenGL severe flickering

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
9 Posts 2 Posters 2.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    VRHans
    wrote on last edited by
    #1

    Has anyone else experienced a VMware High Sierra (or newer) guest suffering serious flickering in the user interface using qml? I'm on 5.10.

    It makes the UI unusable. If you don't interact with the UI it seems to be fairly stable, but trigger any animation, or interact with the UI via the mouse in any way and crazy flicker happens.

    On the VM if I define via:

    export QSG_INFO=1
    

    The renderer says Apple Software Renderer and -1 for depth buffer.
    This is a fairly recent issue (past 6 months) and only happens in virtual machines (VMware) - anyone else had this problem?

    The only errors I see on the command line from Qt are:

    QSGContext::initialize: depth buffer missing

    I would think that's impossible with a software renderer - but who knows... The hardware accelerated version (NOT in the VM, and works perfectly fine) reports the same error - so don't think that's related.

    Also, I set QT_OPENGL to software on the NON VM (my laptop) and it still seems to use the nVidia drivers (does setting QT_OPENGL to software work on macOS/OSX?)

    Thanks!

    DiracsbracketD 1 Reply Last reply
    0
    • V VRHans

      Has anyone else experienced a VMware High Sierra (or newer) guest suffering serious flickering in the user interface using qml? I'm on 5.10.

      It makes the UI unusable. If you don't interact with the UI it seems to be fairly stable, but trigger any animation, or interact with the UI via the mouse in any way and crazy flicker happens.

      On the VM if I define via:

      export QSG_INFO=1
      

      The renderer says Apple Software Renderer and -1 for depth buffer.
      This is a fairly recent issue (past 6 months) and only happens in virtual machines (VMware) - anyone else had this problem?

      The only errors I see on the command line from Qt are:

      QSGContext::initialize: depth buffer missing

      I would think that's impossible with a software renderer - but who knows... The hardware accelerated version (NOT in the VM, and works perfectly fine) reports the same error - so don't think that's related.

      Also, I set QT_OPENGL to software on the NON VM (my laptop) and it still seems to use the nVidia drivers (does setting QT_OPENGL to software work on macOS/OSX?)

      Thanks!

      DiracsbracketD Offline
      DiracsbracketD Offline
      Diracsbracket
      wrote on last edited by
      #2

      @VRHans
      Short answer: no, nothing seems wrong on my side. VMWare Workstation 14, MacOS X 10.12, Qt 5.10.0

      The GIF below is heavily reduced in frame rate because the limit allowed on this site is 1MB it seems. In reality the movement is faster, smooth and no flicker occurs.

      0_1535744651040_movinggrid.gif

      1 Reply Last reply
      0
      • V Offline
        V Offline
        VRHans
        wrote on last edited by
        #3

        I don't see it on Sierra either, I only see it on High Sierra and Mojave (as mentioned in the OP.) Thx though.

        DiracsbracketD 1 Reply Last reply
        0
        • V VRHans

          I don't see it on Sierra either, I only see it on High Sierra and Mojave (as mentioned in the OP.) Thx though.

          DiracsbracketD Offline
          DiracsbracketD Offline
          Diracsbracket
          wrote on last edited by Diracsbracket
          #4

          @VRHans
          My bad, it is MacOS X 10.13, high Sierra.
          0_1535745233722_640b36d8-2c67-4867-9747-a70564ac04a0-image.png
          0_1535745746229_deed4559-3f38-4d0d-b26b-5fce11d0d643-image.png

          1 Reply Last reply
          0
          • V Offline
            V Offline
            VRHans
            wrote on last edited by
            #5

            Qt 5.9.2 though, correct?

            DiracsbracketD 1 Reply Last reply
            0
            • V VRHans

              Qt 5.9.2 though, correct?

              DiracsbracketD Offline
              DiracsbracketD Offline
              Diracsbracket
              wrote on last edited by
              #6

              @VRHans
              The kit is 5.10.0, if you look at the window title bar, but I guess that when I installed Qt Creator, it was for 5.9.2.

              1 Reply Last reply
              0
              • V Offline
                V Offline
                VRHans
                wrote on last edited by
                #7

                Thx - will investigate further. Cheers!

                1 Reply Last reply
                0
                • V Offline
                  V Offline
                  VRHans
                  wrote on last edited by
                  #8

                  I've isolated it down to using listView in Qml.

                  When I set interactive to false on a listView, the flicker goes away, if I leave it with its default value ('true') then I get crazy flicker all over the qml window (larger than the size of the listview)

                  Will try disabling list view and surrounding with a scrollview to see if that changes the behavior.

                  V 1 Reply Last reply
                  0
                  • V VRHans

                    I've isolated it down to using listView in Qml.

                    When I set interactive to false on a listView, the flicker goes away, if I leave it with its default value ('true') then I get crazy flicker all over the qml window (larger than the size of the listview)

                    Will try disabling list view and surrounding with a scrollview to see if that changes the behavior.

                    V Offline
                    V Offline
                    VRHans
                    wrote on last edited by
                    #9

                    @VRHans - Nope, same issue with flickering with the scrollview.

                    I've never seen anyone work in OSX in the field using a VM, but my QA team uses macOS/OSX VMs to test and they are having a hard time doing so do to the flickering.

                    Is there a sneaky way to force double buffering of the window?
                    I'm using a QQuickView currently, and it's a frameless window (making it a normal window results in the same behavior.)

                    I'm not sure double buffering would solve the problem because it doesn't look like tearing, it looks like z-fighting during render...

                    1 Reply Last reply
                    0

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved