JDK-8135140 : More observations for JDK-8088279 on Windows
  • Type: Bug
  • Component: javafx
  • Sub-Component: animation
  • Affected Version: 8u60
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_7
  • CPU: x86_64
  • Submitted: 2015-08-31
  • Updated: 2015-09-07
  • Resolved: 2015-09-07
Related Reports
Duplicate :  
Duplicate :  
Description
FULL PRODUCT VERSION :


A DESCRIPTION OF THE PROBLEM :
As I wrote in submit before, we get choppy linear movement TranslateTransition or AnimationTimer based on time difference on JRE 8 (but movement is smooth when constant offset per frame instead of time is used). This happens on different PC and graphic cards, both strong and weak, Nvidia, Intel HD, etc.

This happens on JRE 8u60 but almost doesn't happen on JRE 7u79.

Here are more observations for the same example I shown before with moving JavaFX logo:

1) If I put -Dprism.vsync=false on JRE 7 I get choppy movement looking exactly the same as in JRE 8. On JRE 8 the setting has no effect, same choppiness. 

2) If I put -Djavafx.animation.fullspeed=true I get silk smooth movement on 8, except occasional discruptions once in 10-15 sec. Timer comes ~ 1000FPS on strong machine and ~200FPS on slower machine.

Seems on Java 8 either vsync works differently or doesn't work well or some code was introduced on pulse path that gives irregular delays when javafx.animation.fullspeed is off. May be also it uses different D3D initialization, not sure.

If more info is required or additional tests will be helpful please contact fedor.losev@gmail.com. 



REPRODUCIBILITY :
This bug can be reproduced always.


Comments
This bug provides additional information for JDK-8088279
07-09-2015