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

RDP does not work good with Mingw and Quick application.

    XMLWordPrintable

Details

    • 6508fdca1dcc7105947befadba272d0fd4bbc27f

    Description

      If Mingw is used then with RDP (even connected 32 bit) does not work always. With Angle and Mingw this does not always works and crashes/Freeze with E_OUTOFMEMORY on D3D11.
      It may not reproducible on all machine it's different from one computer to another, depending on the GPU.
      The only way is to use QT_OPENGL = 'software' to make it work which is much slower and has artifacts.

      With D3D11 following code in qtbase\src\3rdparty\angle\src\libANGLE\renderer\d3d\d3d11\Renderer11.cpp is probably the one blocking D3D11.

      if (deviceType == d3d11::ANGLE_D3D11_DEVICE_TYPE_WARP) 
      { 
      #if !defined(ANGLE_ENABLE_WINDOWS_STORE) && !defined(__GNUC__) 
      if (!IsWindows8OrGreater()) 
      { 
      // WARP on Windows 7 doesn't support shared handles 
      mSupportsShareHandles = false; 
      return false; 
      } 
      #endif // ANGLE_ENABLE_WINDOWS_STORE 
      
      

      Attached are traces and logs.

      Attachments

        1. qt_angle.png
          qt_angle.png
          102 kB
        2. qtangle_log.txt
          2 kB
        3. qtdesktop_log.txt
          75 kB
        4. qtdiag_no_rdp.txt
          6 kB
        5. qtdiag_rdp_msvc.txt
          6 kB
        6. qtdiag_rdp.png
          qtdiag_rdp.png
          22 kB

        Issue Links

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

          Activity

            People

              owolff Oliver Wolff
              irfan.omair@gmail.com irfan B omair
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes