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

Lanai : Crash when running J2DDemo, Font2Demo, and SwingSet2Demo with Metal API Validation

    XMLWordPrintable

Details

    • 2d
    • os_x

    Description

      There is a crash when running J2DDemo, Font2Demo, and SwingSet2Demo test with Metal API Validation.
      I have tested with latest lanai build on MacMini(2018) 10.14.6 with default non-retina display.

      Enabled the following flags
      METAL_DEVICE_WRAPPER_TYPE=1
      MTL_SHADER_VALIDATION=1

      Throws the following error while crashing.
      Application Specific Information:
      -[MTLDebugComputeCommandEncoder _validateThreadsPerThreadgroup:]:951: failed assertion `threadsPerThreadgroup.width(1024) must be <= 256.'

      Following manual jtreg tests are also failing with the same error, we need to use "-m" option for jtreg to run these tests:
      open/test/jdk/java/awt/image/MemoryLeakTest/MemoryLeakTest.java
      open/test/jdk/javax/swing/JSlider/6587742/bug6587742.java
      open/test/jdk/javax/swing/JSplitPane/4514858/bug4514858.java

      Attachments

        Activity

          People

            jdv Jayathirth D V
            trebari Tejpal Rebari (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: