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

Stuttering during window resize on D3D11 Rhi

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.2.0, 6.2.1
    • Qt RHI
    • None
    • Windows 10 build 19043.1288

    Description

      Any example project reproduces this issue, e.g. shadereffects. When the window is made smaller, the contents jump back to a slightly bigger size as you uniformly shrink the window.

      Using Nvidia Titan RTX and driver release 469.49. Prior driver release was exhibiting full-screen flickering while shrinking the window, so with the latest release, at least we don't have that, but the qml content resizing is quite jerky.

      qt.scenegraph.general: Using QRhi with backend D3D11
      Graphics API debug/validation layers: 0
      QRhi profiling and debug markers: 0
      Shader/pipeline cache collection: 0
      qt.scenegraph.general: threaded render loop
      qt.scenegraph.general: Using sg animation driver
      qt.scenegraph.general: Animation Driver: using vsync: 8.33 ms
      NVD3DREL: GR-805 : DX9 Overlay is DISABLED
      qt.scenegraph.general: Using sg animation driver
      qt.scenegraph.general: Animation Driver: using vsync: 8.33 ms
      qt.rhi.general: DXGI 1.2 = true, FLIP_DISCARD swapchain supported = true
      qt.rhi.general: Adapter 0: 'NVIDIA TITAN RTX' (vendor 0x10DE device 0x1E02 flags 0x0)
      qt.rhi.general: using this adapter
      qt.rhi.general: Adapter 1: 'Microsoft Basic Render Driver' (vendor 0x1414 device 0x8C flags 0x2)
      qt.scenegraph.general: MSAA sample count for the swapchain is 1. Alpha channel requested = no.
      qt.scenegraph.general: rhi texture atlas dimensions: 512x512

      While dragging the window, the console output looks like this, with the animation driver being constantly toggled between modes:
      qt.scenegraph.general: Using sg animation driver
      qt.scenegraph.general: animation driver switched to vsync mode
      qt.scenegraph.general: animation driver switched to timer mode
      qt.scenegraph.general: Using sg animation driver
      qt.scenegraph.general: animation driver switched to vsync mode
      qt.scenegraph.general: animation driver switched to timer mode
      qt.scenegraph.general: Using sg animation driver
      qt.scenegraph.general: animation driver switched to vsync mode
      qt.scenegraph.general: animation driver switched to timer mode
      qt.scenegraph.general: Using sg animation driver
      qt.scenegraph.general: animation driver switched to vsync mode
      qt.scenegraph.general: animation driver switched to timer mode
      qt.scenegraph.general: Using sg animation driver
      qt.scenegraph.general: animation driver switched to vsync mode
      qt.scenegraph.general: animation driver switched to timer mode
      qt.scenegraph.general: Using sg animation driver
      qt.scenegraph.general: animation driver switched to vsync mode

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            ttgil Gil
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes