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

JavaFX not working properly on aarch64 (Raspberry Pi 4B)

XMLWordPrintable

    • aarch64
    • linux

      ADDITIONAL SYSTEM INFORMATION :
      Debian 12.7 (Raspbian)
      Raspberry Pi 4B / Alwinner A72 / aarch64

      used JavaFX runtimes from AzulZulu, temurin, openjdk / openjfx, gluon
      version 23.0.1, 22, 21, 17

      A DESCRIPTION OF THE PROBLEM :
      For proof of concept we try to port a library of jars using JavaFX previously run on windows to linux.
      GUI working fine on x86_64 but not on aarch64.

      Please refer to "Actual Result" for details.

      We've had the same (visually at least) behavior on x86_64 with openjdk 17. Works on x86_64 with version 22, 23, 24ea (other not tested).

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Use any jar containing custom JavaFX controls, or animation, and try to run on aarch64, i.e. Raspberry Pi or similar.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Same rendering as on x86_64
      ACTUAL -
      Window size and position correct.
      Displaying static images and text works, although position and scaling is off, animations (blend in of image) do not work.
      Controls do not display at all -> black / blank window

      CUSTOMER SUBMITTED WORKAROUND :
      n/a.

      Would love to help debug the root cause, and provide required logs/info.

      FREQUENCY : always


        1. app-intro_correct.png
          73 kB
          Anupam Dev
        2. app-main_correct.png
          72 kB
          Anupam Dev
        3. app.png
          191 kB
          Anupam Dev
        4. iNavTest-correct.png
          141 kB
          Anupam Dev
        5. iNavTest.png
          95 kB
          Anupam Dev

            jvos Johan Vos
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: