Open BenjaminAmos opened 5 months ago
i can not open https://github.com/BenjaminAmos/TracyJavaBindings
https://github.com/BenjaminAmos/TracyJavaBindings should be public now. I was staging the library in a private repository and forgot to make it public before creating this pull request.
So, I just tested this out and noticed the following:
When hitting F4 in-game, the game crashed with an UnsatisfiedLinkError: Can't load library: /path/to/Terasology/natives/linux/tracy-jni.dll
What I did:
groovyw lib get TracyJavaBindings
libs/TracyJavaBindings
: chmod +x gradlew && git submodule update --init && ./gradlew jar
Logs:
17:23:00.151 [main] ERROR o.t.engine.core.TerasologyEngine - Uncaught exception, attempting clean game shutdown
java.lang.UnsatisfiedLinkError: Can't load library: /home/jdr/Development/Git/Terasology-iota/natives/linux/tracy-jni.dll
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2398)
at java.base/java.lang.Runtime.load0(Runtime.java:755)
at java.base/java.lang.System.load(System.java:1953)
at io.github.benjaminamos.tracy.Tracy.<clinit>(Tracy.java:17)
at org.terasology.engine.monitoring.impl.PerformanceMonitorImpl.<init>(PerformanceMonitorImpl.java:83)
The library loading errors should be fixed by https://github.com/MovingBlocks/TracyJavaBindings/commit/fa7be512d59f0d500c4e5c0ef498c39f4ea73055.
@BenjaminAmos can this one be merged or something is still open?
As far as I know, the only thing left before this can be merged is building the TracyJavaBindings library and publishing it to artifactory. We need builds for Windows, macOS and Linux, with macOS being the one that is usually the hardest to achieve.
Contains
This pull request integrates Terasology's
PerformanceMonitor
with the Tracy Profiler. This allows for better visualising performance traces and should help with diagnosing performance bottlenecks.How to test
Settings->Autoconfig
Outstanding before merging
MovingBlocks
organisation?)