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

Thermostat example: No UI if launched on multi-monitor setup (Windows)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5.2, 6.6.0 Beta4
    • Examples and Demos
    • None
    • Windows

    Description

      THe Thermostat example does not show a top level window/UI on launch if launched from a second monitor.

      Output on primary monitor, with QSG_INFO environment varialbe set:

      qt.scenegraph.general: threaded render loop
      qt.scenegraph.general: Using sg animation driver
      qt.scenegraph.general: Animation Driver: using vsync: 16.68 ms
      qt.scenegraph.general: Using sg animation driver
      qt.scenegraph.general: Animation Driver: using vsync: 16.68 ms
      qt.scenegraph.general: Creating QRhi with backend D3D11 for window 0x247c4284640 (wflags 0x1)
        Graphics API debug/validation layers: 0
        Debug markers: 0
        Timestamps: 0
        Prefer software device: 0
        Shader/pipeline cache collection: 1
      qt.rhi.general: FLIP_* swapchain supported = true, ALLOW_TEARING supported = true
      qt.rhi.general: Default swap effect: FLIP_DISCARD
      qt.rhi.general: Adapter 0: 'Intel(R) UHD Graphics' (vendor 0x8086 device 0x9BC4 flags 0x0)
      qt.rhi.general:   using this adapter
      qt.rhi.general: Adapter 1: 'NVIDIA Quadro T1000 with Max-Q Design' (vendor 0x10DE device 0x1FB9 flags 0x0)
      qt.rhi.general: Adapter 2: 'Microsoft Basic Render Driver' (vendor 0x1414 device 0x8C flags 0x2)
      qt.scenegraph.general: Created QRhi 0x247cad42180 for window 0x247c4284640
      qt.scenegraph.general: MSAA sample count for the swapchain is 1. Alpha channel requested = no.
      qt.scenegraph.general: rhi texture atlas dimensions: 4096x4096
      qt.scenegraph.general: animation driver switched to timer mode
      

      Output on second monitor, with QSG_INFO environment variable set:

      qt.scenegraph.general: threaded render loop
      qt.scenegraph.general: Using sg animation driver
      qt.scenegraph.general: Animation Driver: using vsync: 16.68 ms
      

      When running the application in a debugger, one can see all threads are idling.

      qtdiag output:

      Attachments

        Issue Links

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

          Activity

            People

              vhilshei Volker Hilsheimer
              kkohne Kai Köhne
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes