#3 Embedded applet performance with TurboVNC 1.3 Java viewer is very bad on Mac clients

closed-fixed
DRC
None
5
2015-02-20
2013-12-10
DRC
No

... like 1/4 of what it should be. At least part of this appears to be due to paintComponent() being called twice for every update, and this also causes "jitters" in the display whenever you are typing something or manipulating a 3D model, etc.

Everything works fine if the applet is run in appletviewer (even if it is run as an embedded applet), and everything works fine if the applet is run in the browser but with a separate frame.

Discussion

  • DRC

    DRC - 2014-03-28
    • status: open --> open-accepted
     
  • DRC

    DRC - 2015-02-20

    This seems to have mostly been due to the same Java 2D performance issue described here:

    https://sourceforge.net/p/turbovnc/bugs/31/

    It is possible that, in my testing, I was running the standalone viewer app in Java 1.6 and the embedded viewer applet in Java 1.7, which would explain the disparity -- although I'm not sure why it was performing so much better in windowed applet mode vs. in embedded applet mode. Perhaps that part of it was a Java bug that got fixed. As of this writing, with Java 8u31 and the TurboVNC 2.0 pre-release viewer (which uses ARGB_PRE BufferedImages to accelerate OpenGL Java 2D blitting on Macs), the issue no longer exists, so I'm closing the tracker item.

     
    Last edit: DRC 2015-02-20
  • DRC

    DRC - 2015-02-20
    • status: open-accepted --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks