R
R
Rinat Garifullin2017-01-28 13:47:03
linux
Rinat Garifullin, 2017-01-28 13:47:03

How to solve FPS drop problem in Javafx program?

Hello!
Faced such a problem as a drop in FPS in a JavaFX program on UBUNTU and indeed on many Linux distributions, after 2-3 hours of work the number of frames drops, this is especially evident on such elements as process indicators and animated buttons, I carried out tests loading just a scene with process indicator and left it on for 3-4 hours, the result is the same drop in frames. Tested on Nvidia cards, Intel HD 530 also with the commands -Dprism.order=es2 -Dsun.java2d.opengl=true
-Dprism.vsync=false
-Dprism.forceGPU=true
Everywhere one result is a drop in FPS. also updated all drivers and packages in Ubuntu.
JDK version 8u121

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Vidyakin, 2017-06-11
@vidyakinsergey

For .NET, there is a convenient profiler that shows where the brakes are, including in the graphics thread. Java should have something like this

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question