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

QSurfaceFormat setRedBufferSize causes OpenGL fail on M1 Mac

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.1.2
    • GUI: OpenGL
    • None
    • macOS

    Description

      If you try setting any of the colour buffer sizes (setRedBufferSize, setGreenBufferSize, setRedBlueBufferSize) on the default surface format on the M1 macOS then OpenGL rendering completely fails (you get nonsence in the window). I know these calls don't really do anything on some OpenGL platforms but they shouldn't cause problems. They do not cause problems on Intel Mac, nor on Intel Windows, Intel Linux, or Raspberry Pi Linux. The simple fix is just for them to do nothing on the M1 mac, or they could return an error. They cause the same problem on 5.15 as well as 6.1. The work around is just not to use them on this platform.

      Attachments

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

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            wisellers Bill Sellers
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes