HellFirePvP / AstralSorcery

Some magic mod
Other
260 stars 155 forks source link

GraalVM Java 17 breaks some rendering #1963

Closed brucethemoose closed 1 year ago

brucethemoose commented 2 years ago

Constellations wont render when running GraalVM 22 Community Edition Java 17: https://github.com/graalvm/graalvm-ce-builds/releases

Or more specifically, they show up for a couple of seconds, then disappear: start bugged

Log from the session in those screenshots: https://mclo.gs/QHFOP0k

This doesn't happen in other Java distributions, and it doesn't happen in Java 8 version of GraalVM. I am testing on a RTX 2060, but this is apparently happening on other hardware/other environments as well: https://github.com/brucethemoose/Minecraft-Java-Performance-Flags/issues/6#issuecomment-1207073186

Adding the -XX:-EnableJVMCI flag (which disables the JVM Compiler Interface unique to this Java distribution) also fixes this issue.

... yep, this is an odd one.

brucethemoose commented 1 year ago

GraalVM 22.3.0 fixes this issue.

(Note that this means you must Run AS with Java 17 or Java 11)