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

QScreen::virtualSiblings() and QDesktopWidget::isVirtualDesktop() not working with Xinerama.

    XMLWordPrintable

Details

    Description

      Test using the proprietary drivers supplied with the Ubuntu 14.04
      distribution. Nvidia X server settings correctly recognizes both cards. Using NVIDIA driver 331.38.

      When I put it in Xinerama mode, all screens are active, but the VirtualDeskop returns false with only 1 large screen.

      Did nothing special with Xinerama except enabling it in the Nvidia X
      server settings. Using a Dell monitor and three attached Optoma projectors for my virtual desktop.

      Set up a 2-monitor configuration with Xinerama turned on. See if it returns only 1 screen when querying for number of screens. Number of virtual siblings should be more than one.

      1) uname -a
      Linux [MachineNameRemoved] 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014
      x86_64 x86_64 x86_64 GNU/Linux
      
      2) lspci | grep VGA
      03:00.0 VGA compatible controller: NVIDIA Corporation GF110 [GeForce GTX 580]
      (rev a1)
      04:00.0 VGA compatible controller: NVIDIA Corporation GK107 [NVS 510] (rev a1)
      
      BTW, in my example, all screens are on NVS510.
      
      3) sudo lshw -C video
      *-display
      description: VGA compatible controller
      product: GF110 [GeForce GTX 580]
      vendor: NVIDIA Corporation
      physical id: 0
      bus info: pci@0000:03:00.0
      version: a1
      width: 64 bits
      clock: 33MHz
      capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
      configuration: driver=nvidia latency=0
      resources: irq:91 memory:f8000000-f8ffffff memory:c0000000-c7ffffff
      memory:cc000000-cdffffff ioport:8c00(size=128) memory:f9f00000-f9f7ffff
      *-display
      description: VGA compatible controller
      product: GK107 [NVS 510]
      vendor: NVIDIA Corporation
      physical id: 0
      bus info: pci@0000:04:00.0
      version: a1
      width: 64 bits
      clock: 33MHz
      capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
      configuration: driver=nvidia latency=0
      resources: irq:90 memory:fa000000-faffffff memory:d0000000-dfffffff
      memory:ce000000-cfffffff ioport:9c00(size=128) memory:fb800000-fb87ffff
      
      4) X -version
      X.Org X Server 1.15.1
      Release Date: 2014-04-13
      X Protocol Version 11, Revision 0
      Build Operating System: Linux 3.2.0-37-generic x86_64 Ubuntu
      Current Operating System: Linux [MachineNameRemoved] 3.13.0-24-generic #46-Ubuntu SMP
      Thu Apr 10 19:11:08 UTC 2014 x86_64
      Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic
      root=UUID=[UUIDREMOVED] ro quiet splash vt.handoff=7
      Build Date: 16 April 2014 01:36:29PM
      xorg-server 2:1.15.1-0ubuntu2 (For technical support please see
      http://www.ubuntu.com/support)
      Current version of pixman: 0.30.2
      Before reporting problems, check http://wiki.x.org
      to make sure that you have the latest version.
      

      Attached xorg.conf file Note: this is with Xinerama turned off.

      Attachments

        1. qtdiag.log
          4 kB
        2. XineramaTest.tar.gz
          0.8 kB
        3. xorg.conf
          3 kB

        Issue Links

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

          Activity

            People

              paeglis Gatis Paeglis
              leonlee Leonard Lee
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes