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

Transparent windows don't work in Windows with certain NVIDIA GPUs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • 5.12.2, 5.13.2, 5.14.2, 5.15.0
    • None
    • Windows 10 Pro
    • Windows

    Description

      Creating a transparent window for QML applications results in a black window on NVIDIA GPUs. QWidget works as expected and results in a transparent window.

      As far as I've seen, this doesn't happen on ATI GPU or Intel graphics.

      There's related issues about this but none of them provided a work around or sufficient information about why the bug is happening.

      Here's the related bug: QTBUG-28214

      And that one also links to other related tickets.

      Here's the system information:

      ------------------
      System Information
      ------------------
               Operating System: Windows 10 Pro 64-bit (10.0, Build 18362) (18362.19h1_release.190318-1202)
                       Language: English (Regional Setting: English)
            System Manufacturer: ASUSTeK COMPUTER INC.
                   System Model: N550JX
                           BIOS: N550JX.205 (type: UEFI)
                      Processor: Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz (8 CPUs), ~2.6GHz
                         Memory: 8192MB RAM
            Available OS Memory: 7634MB RAM
                      Page File: 8892MB used, 1953MB available
                DirectX Version: DirectX 12
               User DPI Setting: 96 DPI (100 percent)
             System DPI Setting: 120 DPI (125 percent)
                DWM DPI Scaling: Disabled
                       Miracast: Available, with HDCP
      Microsoft Graphics Hybrid: Supported
       DirectX Database Version: 1.1.5
                 DxDiag Version: 10.00.18362.0387 64bit Unicode---------------
      Display Devices
      ---------------
                 Card name: Intel(R) HD Graphics 4600
              Manufacturer: Intel Corporation
                 Chip type: Intel(R) HD Graphics Family
                  DAC type: Internal
               Device Type: Full Device (POST)
                Device Key: Enum\PCI\VEN_8086&DEV_0416&SUBSYS_11CD1043&REV_06
             Device Status: 0180200A [DN_DRIVER_LOADED|DN_STARTED|DN_DISABLEABLE|DN_NT_ENUMERATOR|DN_NT_DRIVER] 
       Device Problem Code: No Problem
       Driver Problem Code: Unknown
            Display Memory: 2160 MB
          Dedicated Memory: 112 MB
             Shared Memory: 2048 MB
              Current Mode: 2560 x 1080 (32 bit) (59Hz)
               HDR Support: Not Supported
          Display Topology: External
       Display Color Space: DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
           Color Primaries: Red(0.651367,0.332031), Green(0.306641,0.630859), Blue(0.150391,0.059570), White Point(0.313477,0.329102)
         Display Luminance: Min Luminance = 0.500000, Max Luminance = 270.000000, MaxFullFrameLuminance = 270.000000
              Monitor Name: LG ULTRAWIDE(HDMI)
             Monitor Model: LG ULTRAWIDE
                Monitor Id: GSM59F1
               Native Mode: 2560 x 1080(p) (60.000Hz)
               Output Type: HDMI
      Monitor Capabilities: HDR Not Supported
      Display Pixel Format: DISPLAYCONFIG_PIXELFORMAT_32BPP
            Advanced Color: Not Supported
               Driver Name: igdumdim64.dll,igd10iumd64.dll,igd10iumd64.dll,igd12umd64.dll
       Driver File Version: 20.19.0015.4549 (English)
            Driver Version: 20.19.15.4549
               DDI Version: 12
            Feature Levels: 11_1,11_0,10_1,10_0,9_3,9_2,9_1
              Driver Model: WDDM 2.0
       Graphics Preemption: Primitive
        Compute Preemption: Thread group
                  Miracast: Supported
            Detachable GPU: No
       Hybrid Graphics GPU: Integrated
            Power P-states: Not Supported
            Virtualization: Not Supported
                Block List: No Blocks
        Catalog Attributes: N/A
         Driver Attributes: Final Retail
          Driver Date/Size: 09/11/2016 8:00:00 PM, 39863888 bytes
               WHQL Logo'd: Yes
           WHQL Date Stamp: Unknown
         Device Identifier: {D7B78E66-4756-11CF-3662-C231BAC2D935}
                 Vendor ID: 0x8086
                 Device ID: 0x0416
                 SubSys ID: 0x11CD1043
               Revision ID: 0x0006
        Driver Strong Name: oem40.inf:5f63e534dd929195:iHSWM_w10:20.19.15.4549:pci\ven_8086&dev_0416&subsys_11cd1043
            Rank Of Driver: 00D10001
               Video Accel: ModeMPEG2_A ModeMPEG2_C ModeWMV9_C ModeVC1_C 
              D3D9 Overlay: Supported
                   DXVA-HD: Supported
              DDraw Status: Enabled
                D3D Status: Enabled
                AGP Status: Enabled
             MPO MaxPlanes: 1
                  MPO Caps: Not Supported
               MPO Stretch: Not Supported
           MPO Media Hints: Not Supported
               MPO Formats: Not Supported
          PanelFitter Caps: Not Supported
       PanelFitter Stretch: Not Supported           Card name: NVIDIA GeForce GTX 950M
              Manufacturer: NVIDIA
                 Chip type: GeForce GTX 950M
                  DAC type: Integrated RAMDAC
               Device Type: Render-Only Device
             Device Status: 0180200A [DN_DRIVER_LOADED|DN_STARTED|DN_DISABLEABLE|DN_NT_ENUMERATOR|DN_NT_DRIVER] 
       Device Problem Code: No Problem
       Driver Problem Code: Unknown
            Display Memory: 7882 MB
          Dedicated Memory: 4065 MB
             Shared Memory: 3816 MB
              Current Mode: Unknown
               HDR Support: Unknown
          Display Topology: Unknown
       Display Color Space: Unknown
           Color Primaries: Unknown
         Display Luminance: Unknown
       Driver File Version: 23.21.0013.8857 (English)
            Driver Version: 23.21.13.8857
               DDI Version: 12
            Feature Levels: 11_0,10_1,10_0,9_3,9_2,9_1
              Driver Model: WDDM 2.3
       Graphics Preemption: DMA
        Compute Preemption: DMA
                  Miracast: Not Supported by Graphics driver
            Detachable GPU: No
       Hybrid Graphics GPU: Discrete
            Power P-states: Not Supported
            Virtualization: Not Supported
                Block List: No Blocks
        Catalog Attributes: Universal:N/A Declarative:N/A 
         Driver Attributes: Final Retail
          Driver Date/Size: 03/12/2017 8:00:00 PM, 945368 bytes
               WHQL Logo'd: Yes
           WHQL Date Stamp: Unknown
         Device Identifier: Unknown
                 Vendor ID: 0x10DE
                 Device ID: 0x139A
                 SubSys ID: 0x11CD1043
               Revision ID: 0x00A2
        Driver Strong Name: oem31.inf:0f066de31bfecfc6:Section142:23.21.13.8857:pci\ven_10de&dev_139a&subsys_11cd1043
            Rank Of Driver: 00D10001
               Video Accel: Unknown
               DXVA2 Modes: DXVA2_ModeMPEG2_VLD  DXVA2_ModeVC1_D2010  DXVA2_ModeVC1_VLD  DXVA2_ModeH264_VLD_Stereo_Progressive_NoFGT  DXVA2_ModeH264_VLD_Stereo_NoFGT  DXVA2_ModeH264_VLD_NoFGT  DXVA2_ModeHEVC_VLD_Main  DXVA2_ModeMPEG4pt2_VLD_Simple  DXVA2_ModeMPEG4pt2_VLD_AdvSimple_NoGMC  
            Deinterlace Caps: n/a
              D3D9 Overlay: Unknown
                   DXVA-HD: Unknown
              DDraw Status: Enabled
                D3D Status: Enabled
                AGP Status: Enabled
             MPO MaxPlanes: 0
                  MPO Caps: Not Supported
               MPO Stretch: Not Supported
           MPO Media Hints: Not Supported
               MPO Formats: Not Supported
          PanelFitter Caps: Not Supported
       PanelFitter Stretch: Not Supported
      

       

      EDIT: The problem occurs with the following configuration as well:

       

      3D Device
      Vendor : NVIDIA Corporation
      Video Processor 1 : Intel(R) UHD Graphics Family
      Video Processor 2 : Quadro P2000 with Max-Q Design
      Video Memory : 1023 MB
      Video Driver File Version : 26.20.100.7529OpenGL Support
      OpenGL Version : 4.6.0 NVIDIA 432.13
      OpenGL 2.0 - Supported
      OpenGL Shader Objects - Supported
      OpenGL Vertex Shader - Supported
      OpenGL Fragment Shader - Supported
      OpenGL Vertex Buffer Objects - Supported
      OpenGL Frame Buffer Objects - Supported

      Attachments

        1. Minimal Examples.zip
          5 kB
          Furkan Üzümcü
        2. NVIDIA System Information 12-10-2020 12-44-58.txt
          4 kB
          Jake Del Mastro
        3. NVIDIA System Information 12-11-2020 12-40-43.txt
          4 kB
          Ingo Stadel
        4. transparent_window_bug_1.png
          17 kB
          Furkan Üzümcü
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            janichol Andy Nichols
            furkanzmc Furkan Üzümcü
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes