Hi, I've been investigating a little bit on SH3d running on Fedora Linux and found that using this parameters improves the user experience making things go several times faster...
I'm using this: exec java -Dsun.java2d.pmoffscreen=false -Dsun.java2d.opengl=True -Xmx2g...
Instead of this: exec "$PROGRAM_DIR"/jre8/bin/java -Xmx2g
So there are 2 cuestions here:
- I'm using the Fedora Linux default JVM: "OpenJDK Runtime Environment (build 1.8.0_191-b12)"
- I'm using 2 new parameters: -Dsun.java2d.pmoffscreen -Dsun.java2d.opengl
The results are quite good. I can investigate is further, or collaborate to do so when you consider to introduce these changes on a future release.
Thanks for your tests. I'm glad to know it improved the program in your case.
I tried both parameters under Ubuntu 18.04.
With
-Dsun.java2d.opengl=true, the application wasn't correctly drawn in my case, with some black zones.-Dsun.java2d.pmoffscreen=falsedidn't apparently change anything.For those interested, you may find more Java parameters related to drawing here.