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

Different xinerama screens are detected as one huge virtual screen

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.5.0, 5.6.0 Alpha
    • Fix Version/s: 5.6.0 RC
    • Component/s: GUI: Window management
    • Labels:
    • Environment:
      Opensuse 13.2
      NVidia Quadro FX 580 GPU
      Proprietary nvidia driver 340.65
    • Commits:
      f48170b479df359f47af12b03a501d9d0c386e66

      Description

      Due to QTBUG-48545 I need to evaluate porting an application heavily using multiple (up to four) screens to xinerama.

      While this works fine with Qt 4 I encounter problems with Qt 5. Instead of two separate screens only one huge screen is reported.

      In QTBUG-48545 you find a test application. Qt 4 correctly reports

      4.8.6 screen count 2 
      root widget for screen 0 QDesktopWidget(0x8e85a78) QDesktopWidget::geometry() QRect(0,0 3840x1080) reverse nr: 0 screenGeometry QRect(0,0 1920x1080) 
      root widget for screen 1 QDesktopWidget(0x8e85a78) QDesktopWidget::geometry() QRect(0,0 3840x1080) reverse nr: 0 screenGeometry QRect(1920,0 1920x1080)
      

      while Qt 5 returns

      5.6.0 screen count 1
      root widget for screen 0 QDesktopScreenWidget(0x82ba188) QDesktopWidget::geometry() QRect(0,0 3840x1080) reverse nr: 0 screenGeometry QRect(0,0 3840x1080)
      

      qtdiag is confused as well

      Screens: 1
      # 0 ":0.0" Depth: 24 Primary: yes
        Geometry: 3840x1080+0+0 Available: 3840x1080+0+0
        Physical size: 1026x286 mm  Refresh: 60 Hz
        Physical DPI: 95.0643,95.9161 Logical DPI: 95.0643,95.9161
        DevicePixelRatio: 1 Primary orientation: 2
        Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0
      
      LibGL Vendor: NVIDIA Corporation
      Renderer: Quadro FX 580/PCIe/SSE2
      Version: 1.4 (2.1.2 NVIDIA 340.65)
      Shading language: 
      Format: Version: 1.4 Profile: 0 Swap behavior: 0 Buffer size (RGB): 8,8,8
      

      The problem shows up on machines configured with the proprietary nvidia driver. The very same works fine in Virtualbox.

      My problem is now that for the given setup Qt 5 fails in multi screen mode with and without enabled xinerama while Qt 4 works fine.

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                srutledg Shawn Rutledge
                Reporter:
                berres Armin Berres
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes