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

Pixmap painting on QGLWidget fails for secondary screens in multihead setups

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 4.6.3
    • 4.6.0, 4.6.1
    • GUI: OpenGL
    • None
    • Kubuntu 8.04 32bit / X11 using NVidia's proprietary driver (190.53) with multihead (no Xinerama)
    • 0d27306664188a61571d31a38fec1d9040aae5f6

      I'm using a QGraphicView with a QGLWidget set as viewport in my multihead application, rendering of QPixmap does non't work on secondary screen.
      I have destilled this problem into a small sample application, see attachment.

      I'm getting these XErrors printed (same appear when running my application) once:

      X Error: BadDrawable (invalid Pixmap or Window parameter) 9
      Extension: 145 (Uknown extension)
      Minor opcode: 4 (Unknown request)
      Resource id: 0x4e0001c
      X Error: GLXBadPixmap 156
      Extension: 142 (Uknown extension)
      Minor opcode: 16 (Unknown request)
      Resource id: 0x4e00021

      This may be related to the usage of the global qt_gl_share_widget() (referring to the primary application screen) which is used at various places in your GL code, but this is just a quick guess.
      Note that using pixmaps w/o OpenGL works fine on secondary screens in my setup.

      With kind regards, Bjoern Toschi

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

            kjernase Trond Kjernåsen (Inactive)
            bjoerntoschi Björn Toschi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes