News:

Precision Simulator update 10.181 (1 February 2025) is now available.
Navburo update 13 (23 November 2022) is now available.
NG FMC and More is released.

Main Menu

Windows 11 and Hardware Acceleration for Java2D

Started by evaamo, Mon, 31 Oct 2022 05:07

evaamo

Hi all:

Since upgrading to the latest version of Windows 11, something strange happened to the performance of PSX on my machine. It has an Intel 9900k overclocked at 4.8Ghz and an NVIDIA RTX 2080Ti. Not the latest and greatest, but definitely able to sustain PSX Demo Loop at 70fps.

After reinstalling different drivers and flavors of Java, and fiddling with many OS and NVIDIA settings, something on my machine was definitely stopping Java's rendering pipeline from using my GPU.

If this happens to you, one way to fix this is to add an environment variable to force java2d to use OpenGL.
Go to Settings->System->About and you'll find a box called "Related links" and the third option is "Advanced system settings". Once there, click on "Environment Variables", then "New" and add the following:



OpenGL is not the only option, but it is likely to work if you're on other operating systems.

Hope this helps anyone avoid some frustration!

-E
 

Enrique Vaamonde

cagarini