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

"Constant buffer offsetting is not supported by the driver": Make this warning togglable under a logging category

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.7.0 FF
    • 6.6.0 RC
    • Qt RHI
    • VMware Workstation 16 Pro, Windows 10 22H2 Guest

    • 92167f011 (dev), ab52d2887 (dev)

    Description

      Inside a VMware VM, we might see diagnostic messages like these:

      qt.scenegraph.general: threaded render loop
      qt.scenegraph.general: Using sg animation driver
      qt.scenegraph.general: Animation Driver: using vsync: 16.67 ms
      qt.scenegraph.general: Using sg animation driver
      qt.scenegraph.general: Animation Driver: using vsync: 16.67 ms
      qt.scenegraph.general: Creating QRhi with backend D3D11 for window 0x2052216aea0 (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: 'VMware SVGA 3D' (vendor 0x15AD device 0x405 flags 0x0)
      qt.rhi.general:   using this adapter
      qt.rhi.general: Adapter 1: 'Microsoft Basic Render Driver' (vendor 0x1414 device 0x8C flags 0x2)
      Constant buffer offsetting is not supported by the driver
      qt.scenegraph.general: Failed to create a D3D device with default settings; attempting to get a software rasterizer backed device instead
      qt.rhi.general: FLIP_* swapchain supported = true, ALLOW_TEARING supported = true
      qt.rhi.general: Default swap effect: FLIP_DISCARD
      qt.rhi.general: Adapter 0: 'VMware SVGA 3D' (vendor 0x15AD device 0x405 flags 0x0)
      qt.rhi.general: Adapter 1: 'Microsoft Basic Render Driver' (vendor 0x1414 device 0x8C flags 0x2)
      qt.rhi.general:   using this adapter
      qt.scenegraph.general: Created QRhi 0x205221b16e0 for window 0x2052216aea0
      qt.scenegraph.general: MSAA sample count for the swapchain is 1. Alpha channel requested = no.
      qt.scenegraph.general: rhi texture atlas dimensions: 1024x1024
      qt.scenegraph.general: Total time spent on pipeline creation during the lifetime of the QRhi 0x205221b16e0 was 0 ms
      

      Most of them are now shown be default, but rather only appear by enabling the relevant logging categories. However "Constant buffer offsetting is not supported by the driver" seems to be always displayed and cannot be turned off.

       

      Suggestion
      Make that warning togglable too

      Attachments

        For Gerrit Dashboard: QTBUG-117926
        # Subject Branch Project Status CR V

        Activity

          People

            lagocs Laszlo Agocs
            skoh-qt Sze Howe Koh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes