I'd really like to know how you would add the remaining 99% of resources to the system once your scene graph is set up and you have started an animation which then turns out to be running slowly. JavaFX just uses 1 rendering thread and there is nothing you can do about that. Even with 99 additional cores you could do nothing to make that faster unless you would be using the new Marlin rasterizer. Even then only JavaFX itself could make use of that because it does not have any public API that you could mess with.

Am 30.10.15 um 17:56 schrieb Bogdan Ibanescu:
The point I'm trying to make is that if you're running a single threaded 
application, it'll use 1 core.

What you need to understand is that javafx does not magically figure out how 
organize rendering procedures across the systems' resources.

The reason for which whatever you're trying to test seems to be about as fast 
on your computer as it is on your wife's' is because it's most likely not 
multi-threaded, or plainly badly implemented.
Cross-fire and SLI and all that other crap is useless if you're only using 1% 
of your resources. All windows does when you select the GPU is the driver 
end-point. Activating it makes it run slightly faster because of the 
differences in hardware... but the lack of performance is the poor code in your 
software.

----- Original Message -----
From: "Felix Bembrick" <felix.bembr...@gmail.com>
To: "Bogdan Ibanescu" <bibane...@montran.com>
Cc: "Chris Nahr" <chris.n...@gmail.com>, openjfx-dev@openjdk.java.net
Sent: Friday, October 30, 2015 5:37:35 PM
Subject: Re: Windows Hi-DPI

Yes, but unless you are saying that having more cores, more VRAM, faster VRAM 
and a much faster clock speed are actually going to slow down the performance 
of JavaFX then I don't know what point you are trying to make.

On 31 Oct 2015, at 01:03, Bogdan Ibanescu <bibane...@montran.com> wrote:

Having 200 cores won't help you with anything unless you explicitly customize 
your code to make use of them.

----- Original Message -----
From: "Felix Bembrick" <felix.bembr...@gmail.com>
To: "Chris Nahr" <chris.n...@gmail.com>
Cc: openjfx-dev@openjdk.java.net
Sent: Friday, October 30, 2015 11:55:19 AM
Subject: Re: Windows Hi-DPI

The NVIDIA Control Panel allowed me to disable SLI completely and I even 
rebooted.  I also upgraded to Java 8u72.

Sadly JavaFX still performs like a one-legged dog dragging a cannon ball on a 
chain.

All other 3D apps, games etc. perform blindingly fast as I would expect.

So, if it's not an SLI or driver problem, what is going on here (or not going 
on)?

Felix

On 30 Oct 2015, at 19:47, Felix Bembrick <felix.bembr...@gmail.com> wrote:

That's curious. SLI is designed specifically with gamers in mind!

I'll investigating running without SLI and report back.

Felix

On 30 Oct 2015, at 19:44, Chris Nahr <chris.n...@gmail.com> wrote:

If it's slower on an SLI machine than on an ordinary one then yes, I suspect 
JavaFX just can't handle SLI properly. Among gamers I've often heard that it's 
a notoriously problematic configuration. Can you switch your card to non-SLI 
mode and retest performance?

--Chris

On 2015-10-30 09:19, Felix Bembrick wrote:
I am using Java 8u66 and performance is really poor.

I suspected a driver issue but I have the latest driver for my Titan X card (4 
in SLI mode) and running the 4K monitor tests in 3DMark says my machine is in 
the top 1% fastest computers ever to run the tests.

It looks to me that JavaFX just can't deliver acceptable performance on 4K 
monitors, even with the most powerful graphics cards on the planet. Or maybe it 
doesn't support SLI?

It could be Windows 10 related but I don't think so. And I am definitely 
getting hardware acceleration according to the output so I suspect JavaFX has 
trouble moving so many pixels around on these hi-res monitors.

All other 3D apps and games run blindingly fast but JavaFX actually runs slower 
on this beast than on my wife's little i5 powered Dell machine with a low range 
graphics card, also running Windows 10.

Any ideas?

Felix

On 30 Oct 2015, at 17:33, Chris Nahr<chris.n...@gmail.com> wrote:

Hi-DPI is supported on Windows, assuming you have 8u60 or later (better 8u66 or 
later so a ComboBox doesn't freeze the application!). On my Dell XPS-15 with 
Windows 10 and 4K displays JavaFX also uses hardware acceleration, in this case 
with the Intel 4600 integrated GPU.

However, this causes frequent Intel display driver crashes and restarts because 
the Windows 10 drivers are still so immature. Same happens in WPF applications, 
so it's not specific to JavaFX. I've grabbed my driver directly from the Intel 
website. Possibly your system runs an older driver that causes JavaFX not to 
use HA.

Given how unstable it currently is on Windows 10, that might not be a bad idea. 
But of course you could try manually updating and see what happens to JavaFX 
performance.

Cheers, Chris


On 2015-10-28 17:24:38, Felix Bembrick <felix.bembr...@gmail.com> wrote:
I just installed JavaFX on my new Windows 10 machine which is extremely powerful but has 
two 4K monitors and while everything looks great and the right "size", the 
performance is very sluggish to say the least.

Is this because Hi-DPI is not yet supported in JavaFX on Windows?

Thanks,

Fix
--
Best Regards,
-- Bogdan Marius Ibanescu
-- Montran Corporation - Branch of Cluj-Napoca


Reply via email to