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

Blurry QQuick rendering of textures on Wayland with fractional scaling

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6.2
    • None
    • Linux/Wayland

    Description

      On the screenshot you can see several render cases under Wayland with fractional scale 1.5:

      1. Controls.Button with icon.source as SVG – rendered OK
      2. Same but bigger – OK
      3. Image with the same SVG with a smooth=true – It is blurry, but I assume it is OK
      4. Same, but smooth=false – artifacts
      5. QQuickItem + QSGTexture + QPainter::drawText – texture rendered with artifacts
      6. Same but with Linear filtering – blurry
      7. Just for comparison simple Text – OK, but hinting is different from the QPainter(I assume it is OK)

      On X11 with the same scale factor:

      1. OK
      2. OK
      3. Same blurry, assume it is OK
      4. Crystal clear, without artifacts
      5. Crystal clear, without artifacts
      6. Almost same result as in 5. Without hard smoothing
      7. Same as under Wayland, OK

      It is better not to have KDE installed because it interferes with styles and its own Quick implementations. I had to delete the kirigami and qqc2-breeze-style packages while testing this.

      Please find attached the test project and screenshots (actually window grabs taken by the grabWindow function because KDE's screenshot tool still produces blurry screenshots )

      Attachments

        1. test.tar.gz
          33 kB
        2. window-wayland.png
          window-wayland.png
          26 kB
        3. window-x11.png
          window-x11.png
          16 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            zvova7890 Vova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes