Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8266016

Metal: jdk_desktop tests failures in case of integrated GPU

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Cannot Reproduce
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
      2d

      Description

      After enabling Metal for Java2D rendering by default (JDK-8265304) the following jdk_desktop tests became failing:

      sun/java2d/pipe/InterpolationQualityTest.java
      java/awt/image/DrawImage/IncorrectAlphaConversionBicubic.java
      java/awt/image/DrawImage/IncorrectClipXorModeSurface2Surface.java
      java/awt/image/DrawImage/IncorrectClipXorModeSW2Surface.java
      java/awt/image/DrawImage/IncorrectUnmanagedImageRotatedClip.java

      The failures were observed on MacBook Pro (Retina, 15-inch, Mid 2015) equipped with integrated Intel Iris Pro 1536 MB only.

      How to reproduce:

      $ jtreg -testjdk:<path_to_jdk> sun/java2d/pipe/InterpolationQualityTest.java

      The tests passed well in OGL
      $ jtreg -testjdk:<path_to_jdk> -javaoptions:'-Dsun.java2d.opengl=true' sun/java2d/pipe/InterpolationQualityTest.java

      These tests also pass well on MacBook Pro with discrete AMD Radeon R9 M370X 2 GB for both OGL and Metal

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              avu Alexey Ushakov
              Reporter:
              vprovodin Vitaly Provodin
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: