Revolutionary-Games / Thrive

The main repository for the development of the evolution game Thrive.
https://revolutionarygamesstudio.com/
Other
2.77k stars 495 forks source link

Thrive crashes after showing the logo #4920

Closed RacerBG closed 5 months ago

RacerBG commented 6 months ago

Describe the bug

Long time no see, crew!

A lot of stuff happened lately and I decided to slowly return to my old hobbies so here I am.

What happened is in the title of the bug report and yes, I tried disabling the videos, it doesn't help. The flatpak version of the launcher is using the default settings for everything. For context the Windows version of Thrive was running fine here but on Linux things are getting interesting. The launcher itself works though.

Regards, Georgi

To Reproduce

  1. Click "Play" on the launcher and wait for the game to start.
  2. Thrive crashes after showing the logo and returns the error message below.

Expected behaviour

Thrive shoould run without any issues.

Screenshots

No response

System information

Game Logs

Playing 0.6.5 for Linux (Latest) Thrive is starting. Log output (due to buffering this is likely not in real time): Thrive was not detected as having started correctly. Will attempt to start Thrive again, attempt number: 2 Thrive is starting. Log output (due to buffering this is likely not in real time): Godot Engine v3.5.stable.mono.thrive.d2ad79a40 - https://godotengine.org Godot Engine v3.5.stable.mono.thrive.d2ad79a40 - https://godotengine.org Inconsistent value (1) for DRI_PRIME. Should be < 1 (GPU devices count). Using: 0 Child process exited with code 132 Note: error lines may not match up when they happened in relation to normal output due to buffering. Error lines are any lines received from the game's stderr output stream. ERROR: Restarting Thrive due to detected startup failure Godot Engine v3.5.stable.mono.thrive.d2ad79a40 - https://godotengine.org Godot Engine v3.5.stable.mono.thrive.d2ad79a40 - https://godotengine.org Inconsistent value (1) for DRI_PRIME. Should be < 1 (GPU devices count). Using: 0 Child process exited with code 132 Thrive exited abnormally with an error If the game did not start correctly, please try the Thrive launch workarounds available under "Thrive Options" in the launcher settings

Additional Context

Thrive 0.6.5

hhyyrylainen commented 6 months ago

This is likely one of the unlucky CPUs that have AVX but not AVX2. I discovered a couple of days ago that I made a mistake that I only checked for AVX support but then went ahead and used AVX2 features. I made a fix today for this: https://github.com/Revolutionary-Games/Thrive/pull/4919 (note that this will now stop the game from running). Once we have switched to Godot 4 it should be possible to make a feature to detect missing AVX and load a slower native library version that only uses SSE 4.2.

RacerBG commented 6 months ago

It shows different log when testing with your changes from PR #4919

For now I will keep this issue open.

RacerBG commented 5 months ago

Still looks the same on the latest master:

`Playing DevBuild Thrive is starting. Log output (due to buffering this is likely not in real time): Thrive was not detected as having started correctly. Will attempt to start Thrive again, attempt number: 2 Thrive is starting. Log output (due to buffering this is likely not in real time): Godot Engine v3.5.stable.mono.official.991bb6ac7 - https://godotengine.org Godot Engine v3.5.stable.mono.official.991bb6ac7 - https://godotengine.org Inconsistent value (1) for DRI_PRIME. Should be < 1 (GPU devices count). Using: 0 Note: error lines may not match up when they happened in relation to normal output due to buffering. Error lines are any lines received from the game's stderr output stream. ERROR: This is not yet available but should be in the next release, unless we forget ERROR: Detected CPU features are insufficient for running Thrive, a newer CPU with required instruction set extensions is required ERROR: Thrive will now quit due to required native library requiring a newer processor than is available ERROR: Skipping settings apply as the game should close soon ERROR: Closing Thrive "normally" due to a detected problem

================================================================= Native Crash Reporting

Got a UNKNOWN while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application.

================================================================= Native stacktrace:

0xb51b7d - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xb51f09 - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xb445bf - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xb5bb60 - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0x7fdde67c6e80 - /usr/lib/x86_64-linux-gnu/libc.so.6 : 
0x7fdd73cd91fe - .mono/assemblies/Release/libthrive_native.so : 
0x7fdde6ccd187 - /lib64/ld-linux-x86-64.so.2 : 
0x7fdde6ccd27d - /lib64/ld-linux-x86-64.so.2 : 
0x7fdde6cc95c2 - /lib64/ld-linux-x86-64.so.2 : _dl_catch_exception
0x7fdde6cd3dcc - /lib64/ld-linux-x86-64.so.2 : 
0x7fdde6cc9523 - /lib64/ld-linux-x86-64.so.2 : _dl_catch_exception
0x7fdde6cd4144 - /lib64/ld-linux-x86-64.so.2 : 
0x7fdde6812c04 - /usr/lib/x86_64-linux-gnu/libc.so.6 : 
0x7fdde6cc9523 - /lib64/ld-linux-x86-64.so.2 : _dl_catch_exception
0x7fdde6cc9679 - /lib64/ld-linux-x86-64.so.2 : 
0x7fdde68126e3 - /usr/lib/x86_64-linux-gnu/libc.so.6 : 
0x7fdde6812cbf - /usr/lib/x86_64-linux-gnu/libc.so.6 : dlopen
0xd4c93c - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xc88208 - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xc88352 - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xc889e0 - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xc894aa - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xc57eac - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xb0d78a - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xb0eaeb - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xb09b3e - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xb66e98 - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xb69032 - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xb59b81 - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xb5f886 - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xb603c0 - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0x40a76387 - Unknown

================================================================= Telemetry Dumper:

Pkilling 0x140589316904640x from 0x140591036525440x Pkilling 0x140589321107136x from 0x140591036525440x Pkilling 0x140589314803392x from 0x140591036525440x Pkilling 0x140589319005888x from 0x140591036525440x Pkilling 0x140589785933504x from 0x140591036525440x Could not exec mono-hang-watchdog, expected on path '/home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/data_Thrive/Mono/etc/../bin/mono-hang-watchdog' (errno 2) Entering thread summarizer pause from 0x140591036525440x Finished thread summarizer pause from 0x140591036525440x. Failed to create breadcrumb file (null)/crash_hash_0x9038605ed

Waiting for dumping threads to resume ERROR: ERROR: ================================================================= ERROR: External Debugger Dump: ERROR: ================================================================= ERROR: mono_gdb_render_native_backtraces not supported on this platform, unable to find gdb or lldb

================================================================= Basic Fault Address Reporting

Memory around native instruction pointer (0x7fdd73cd91fe):0x7fdd73cd91ee c5 fa 59 05 7e b3 f9 ff c5 fa 59 05 2a b2 f9 ff ..Y.~.....Y.*... 0x7fdd73cd91fe c4 e2 79 18 c0 c5 f8 28 b4 24 e0 00 00 00 c5 f8 ..y....(.$...... 0x7fdd73cd920e 54 ce c5 f8 54 05 48 ea f9 ff c5 f8 59 94 24 d0 T...T.H.....Y.$. 0x7fdd73cd921e 00 00 00 c5 f8 28 ac 24 c0 00 00 00 c5 e8 58 d5 .....(.$......X.

================================================================= Managed Stacktrace:

  at <unknown> <0xffffffff>
  at TaskExecutor:SetNativeThreadCount <0x0006f>
  at TaskExecutor:ReApplyThreadCount <0x000fb>
  at TaskExecutor:.ctor <0x00127>
  at TaskExecutor:.cctor <0x0002b>
  at System.Object:runtime_invoke_void <0x00066>
  at <unknown> <0xffffffff>
  at ThriveNewsFeed:StartFetchingFeed <0x000b3>
  at System.Lazy`1:ViaFactory <0x0006e>
  at System.Lazy`1:ExecutionAndPublication <0x000bf>
  at System.Lazy`1:CreateValue <0x000d3>
  at System.Lazy`1:get_Value <0x0001f>
  at ThriveNewsFeed:GetFeedContents <0x00017>
  at ThriveFeedDisplayer:CheckStartFetchNews <0x0006b>
  at ThriveFeedDisplayer:_Ready <0x0034f>
  at System.Object:runtime_invoke_void__this__ <0x00071>

================================================================= Child process exited with code 134 ERROR: Restarting Thrive due to detected startup failure Godot Engine v3.5.stable.mono.official.991bb6ac7 - https://godotengine.org Godot Engine v3.5.stable.mono.official.991bb6ac7 - https://godotengine.org Inconsistent value (1) for DRI_PRIME. Should be < 1 (GPU devices count). Using: 0 ERROR: This is not yet available but should be in the next release, unless we forget ERROR: Detected CPU features are insufficient for running Thrive, a newer CPU with required instruction set extensions is required ERROR: Thrive will now quit due to required native library requiring a newer processor than is available ERROR: Skipping settings apply as the game should close soon ERROR: Closing Thrive "normally" due to a detected problem

================================================================= Native Crash Reporting

Got a UNKNOWN while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application.

================================================================= Native stacktrace:

0xb51b7d - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xb51f09 - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xb445bf - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xb5bb60 - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0x7f898836ee80 - /usr/lib/x86_64-linux-gnu/libc.so.6 : 
0x7f8925ad91fe - .mono/assemblies/Release/libthrive_native.so : 
0x7f8988875187 - /lib64/ld-linux-x86-64.so.2 : 
0x7f898887527d - /lib64/ld-linux-x86-64.so.2 : 
0x7f89888715c2 - /lib64/ld-linux-x86-64.so.2 : _dl_catch_exception
0x7f898887bdcc - /lib64/ld-linux-x86-64.so.2 : 
0x7f8988871523 - /lib64/ld-linux-x86-64.so.2 : _dl_catch_exception
0x7f898887c144 - /lib64/ld-linux-x86-64.so.2 : 
0x7f89883bac04 - /usr/lib/x86_64-linux-gnu/libc.so.6 : 
0x7f8988871523 - /lib64/ld-linux-x86-64.so.2 : _dl_catch_exception
0x7f8988871679 - /lib64/ld-linux-x86-64.so.2 : 
0x7f89883ba6e3 - /usr/lib/x86_64-linux-gnu/libc.so.6 : 
0x7f89883bacbf - /usr/lib/x86_64-linux-gnu/libc.so.6 : dlopen
0xd4c93c - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xc88208 - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xc88352 - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xc889e0 - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xc894aa - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xc57eac - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xb0d78a - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xb0eaeb - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xb09b3e - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xb66e98 - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xb69032 - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xb59b81 - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xb5f886 - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0xb603c0 - /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/Thrive : 
0x419fa387 - Unknown

================================================================= Telemetry Dumper:

Pkilling 0x140227023947456x from 0x140228677659520x Pkilling 0x140227028149952x from 0x140228677659520x Pkilling 0x140227255449280x from 0x140228677659520x Pkilling 0x140227026048704x from 0x140228677659520x Pkilling 0x140227030251200x from 0x140228677659520x Could not exec mono-hang-watchdog, expected on path '/home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive-Launcher/installed/devbuild/data_Thrive/Mono/etc/../bin/mono-hang-watchdog' (errno 2) Entering thread summarizer pause from 0x140228677659520x Finished thread summarizer pause from 0x140228677659520x. Failed to create breadcrumb file (null)/crash_hash_0x9038605ed

Waiting for dumping threads to resume ERROR: ERROR: ================================================================= ERROR: External Debugger Dump: ERROR: ================================================================= ERROR: mono_gdb_render_native_backtraces not supported on this platform, unable to find gdb or lldb

================================================================= Basic Fault Address Reporting

Memory around native instruction pointer (0x7f8925ad91fe):0x7f8925ad91ee c5 fa 59 05 7e b3 f9 ff c5 fa 59 05 2a b2 f9 ff ..Y.~.....Y.*... 0x7f8925ad91fe c4 e2 79 18 c0 c5 f8 28 b4 24 e0 00 00 00 c5 f8 ..y....(.$...... 0x7f8925ad920e 54 ce c5 f8 54 05 48 ea f9 ff c5 f8 59 94 24 d0 T...T.H.....Y.$. 0x7f8925ad921e 00 00 00 c5 f8 28 ac 24 c0 00 00 00 c5 e8 58 d5 .....(.$......X.

================================================================= Managed Stacktrace:

  at <unknown> <0xffffffff>
  at TaskExecutor:SetNativeThreadCount <0x0006f>
  at TaskExecutor:ReApplyThreadCount <0x000fb>
  at TaskExecutor:.ctor <0x00127>
  at TaskExecutor:.cctor <0x0002b>
  at System.Object:runtime_invoke_void <0x00066>
  at <unknown> <0xffffffff>
  at ThriveNewsFeed:StartFetchingFeed <0x000b3>
  at System.Lazy`1:ViaFactory <0x0006e>
  at System.Lazy`1:ExecutionAndPublication <0x000bf>
  at System.Lazy`1:CreateValue <0x000d3>
  at System.Lazy`1:get_Value <0x0001f>
  at ThriveNewsFeed:GetFeedContents <0x00017>
  at ThriveFeedDisplayer:CheckStartFetchNews <0x0006b>
  at ThriveFeedDisplayer:_Ready <0x0034f>
  at System.Object:runtime_invoke_void__this__ <0x00071>

================================================================= Child process exited with code 134 Thrive exited abnormally with an error If the game did not start correctly, please try the Thrive launch workarounds available under "Thrive Options" in the launcher settings`

CI09 commented 5 months ago

If it's the CPU AVX problem, then I had the same issues, @hhyyrylainen kindly told me the solution that is to run the game using command like this:

cd C:\Users\PathHere\Thrive %godot% . --skip-cpu-check

You need godot in PATH (Environment Variable)

hhyyrylainen commented 5 months ago

ERROR: Detected CPU features are insufficient for running Thrive, a newer CPU with required instruction set extensions is required ERROR: Thrive will now quit due to required native library requiring a newer processor than is available

I still haven't had the time to make the variant of the native library that would run without AVX (2). Next week I'm working on getting the game export working again with Godot 4 and then doing native library changes (okay there's a few high priority things before that: https://github.com/orgs/Revolutionary-Games/projects/6/views/1).

hhyyrylainen commented 5 months ago

@RacerBG latest Thrive devbuild 90b7b72208637c3faaeaccafeb199c040eb3e7ac (also requires latest launcher which I released today) now uses a new way to check for CPU features and has the "no AVX" variant of the Thrive native library. Could you give that build a try?

RacerBG commented 5 months ago

It almost works.. Going to the menu now works, the game itself hangs just after showing the microbe stage intro video. The 3D background rocks were showing a checkboard texture of some sort and the Advanced menu of the difficulty selection was unusable. Here are the logs:

`Godot Engine v3.5.stable.mono.official.991bb6ac7 - https://godotengine.org Godot Engine v3.5.stable.mono.official.991bb6ac7 - https://godotengine.org Godot Engine v3.5.stable.mono.official.991bb6ac7 - https://godotengine.org OpenGL ES 3.0 Renderer: AMD Radeon RX 6400 (radeonsi, navi24, LLVM 17.0.6, DRM 3.49, 6.1.0-18-amd64) Async. shader compilation: OFF

Mono: Log file is: '/home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive/mono/mono_logs/2024-03-16_18.55.06_119.log' This is Thrive version: 0.6.5.0 (see below for exact build info) Unhandled exception logger attached Startup C# locale is: en-US Godot locale is: en_US user:// directory is: /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive Game logs are written to: /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive/logs latest log is 'log.txt' Cannot use full-speed Thrive native library due to: CPU is missing AVX 2 extension instruction support The upcoming compatibility library would be compatible with current CPU This is not yet available but should be in the next release, unless we forget Thrive requires a new enough CPU to have various extension instruction sets, see above for what is detected as missing Detected CPU features are insufficient for running Thrive, a newer CPU with required instruction set extensions is required Thrive will now quit due to required native library requiring a newer processor than is available Skipping settings apply as the game should close soon Preventing startup due to StartupActions failing Closing Thrive "normally" due to a detected problem

Godot Engine v4.2.2.rc2.mono.official.c61a68614 - https://godotengine.org Vulkan API 1.3.274 - Forward+ - Using Vulkan Device #0: AMD - AMD Radeon RX 6400 (RADV NAVI24)

This is Thrive version: 0.6.6.0-alpha+90b7b72208637c3faaeaccafeb199c040eb3e7ac (see below for more build info) TODO: reimplement unhandled exception logger Startup C# locale is: bg-BG Godot locale is: en_US user:// directory is: /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive Game logs are written to: /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive/logs latest log is 'log.txt' Cannot use full-speed Thrive native library due to: CPU is missing AVX 2 extension instruction support Using slower Thrive native library that doesn't rely on as new CPU instructions Checked that required CPU features are present Loaded native Thrive library version 12 Doing delayed apply for some settings Set audio output device to: Default Set C# locale to: bg-BG Godot locale is: en TODO: re-add harmony init No SteamClient class found, not initializing Steam SimulationParameters are good This is a DEVBUILD, early release version of Thrive! This version of Thrive was built at Thursday, 21 March 2024 09:46:24 from commit 90b7b72208637c3faaeaccafeb199c040eb3e7ac on branch master Beginning Thrive news feed fetch TaskExecutor started with parallel job count: 4 We were opened through the Thrive Launcher Launcher opening us is hidden Thrive Launcher started us, launcher hidden: True Skipping clearing an UI input action Loading mod Nodes into the scene tree Jukebox now playing from: Menu Jukebox: starting track: res://assets/sounds/main-menu-theme-1.ogg position: 0 Startup successful, removing startup info file ------------ Thrive Startup Succeeded ------------ USER ERROR: Attempt to disconnect a nonexistent connection from 'root:<Window#33034339536>'. Signal: 'focus_entered', callable: ''. at: _disconnect (core/object/object.cpp:1420) USER ERROR: Attempt to disconnect a nonexistent connection from 'root:<Window#33034339536>'. Signal: 'tree_exited', callable: ''. at: _disconnect (core/object/object.cpp:1420) USER ERROR: Attempt to disconnect a nonexistent connection from 'root:<Window#33034339536>'. Signal: 'focus_entered', callable: ''. at: _disconnect (core/object/object.cpp:1420) USER ERROR: Attempt to disconnect a nonexistent connection from 'root:<Window#33034339536>'. Signal: 'tree_exited', callable: ''. at: _disconnect (core/object/object.cpp:1420) USER ERROR: Attempt to disconnect a nonexistent connection from 'root:<Window#33034339536>'. Signal: 'focus_entered', callable: ''. at: _disconnect (core/object/object.cpp:1420) USER ERROR: Attempt to disconnect a nonexistent connection from 'root:<Window#33034339536>'. Signal: 'tree_exited', callable: ''. at: _disconnect (core/object/object.cpp:1420) USER ERROR: Attempt to disconnect a nonexistent connection from 'root:<Window#33034339536>'. Signal: 'focus_entered', callable: ''. at: _disconnect (core/object/object.cpp:1420) USER ERROR: Attempt to disconnect a nonexistent connection from 'root:<Window#33034339536>'. Signal: 'tree_exited', callable: ''. at: _disconnect (core/object/object.cpp:1420) USER ERROR: Attempt to disconnect a nonexistent connection from 'root:<Window#33034339536>'. Signal: 'focus_entered', callable: ''. at: _disconnect (core/object/object.cpp:1420) USER ERROR: Attempt to disconnect a nonexistent connection from 'root:<Window#33034339536>'. Signal: 'tree_exited', callable: ''. at: _disconnect (core/object/object.cpp:1420) USER ERROR: Attempt to disconnect a nonexistent connection from 'root:<Window#33034339536>'. Signal: 'focus_entered', callable: ''. at: _disconnect (core/object/object.cpp:1420) USER ERROR: Attempt to disconnect a nonexistent connection from 'root:<Window#33034339536>'. Signal: 'tree_exited', callable: ''. at: _disconnect (core/object/object.cpp:1420) Jukebox: starting track: res://assets/sounds/main-menu-theme-2.ogg position: 0 USER ERROR: Attempt to disconnect a nonexistent connection from 'root:<Window#33034339536>'. Signal: 'focus_entered', callable: ''. at: _disconnect (core/object/object.cpp:1420) USER ERROR: Attempt to disconnect a nonexistent connection from 'root:<Window#33034339536>'. Signal: 'tree_exited', callable: ''. at: _disconnect (core/object/object.cpp:1420) USER ERROR: Attempt to disconnect a nonexistent connection from 'root:<Window#33034339536>'. Signal: 'focus_entered', callable: ''. at: _disconnect (core/object/object.cpp:1420) USER ERROR: Attempt to disconnect a nonexistent connection from 'root:<Window#33034339536>'. Signal: 'tree_exited', callable: ''. at: _disconnect (core/object/object.cpp:1420) USER ERROR: Attempt to disconnect a nonexistent connection from 'root:<Window#33034339536>'. Signal: 'focus_entered', callable: ''. at: _disconnect (core/object/object.cpp:1420) USER ERROR: Attempt to disconnect a nonexistent connection from 'root:<Window#33034339536>'. Signal: 'tree_exited', callable: ''. at: _disconnect (core/object/object.cpp:1420) USER ERROR: Attempt to disconnect a nonexistent connection from 'root:<Window#33034339536>'. Signal: 'focus_entered', callable: ''. at: _disconnect (core/object/object.cpp:1420) USER ERROR: Attempt to disconnect a nonexistent connection from 'root:<Window#33034339536>'. Signal: 'tree_exited', callable: ''. at: _disconnect (core/object/object.cpp:1420) USER ERROR: Attempt to disconnect a nonexistent connection from 'root:<Window#33034339536>'. Signal: 'focus_entered', callable: ''. at: _disconnect (core/object/object.cpp:1420) USER ERROR: Attempt to disconnect a nonexistent connection from 'root:<Window#33034339536>'. Signal: 'tree_exited', callable: ''. at: _disconnect (core/object/object.cpp:1420)`

RacerBG commented 5 months ago

Now it starts but it sems a little buggy. For example the Esc key does nothing ingame.

`Godot Engine v4.2.2.rc2.mono.official.c61a68614 - https://godotengine.org Vulkan API 1.3.274 - Forward+ - Using Vulkan Device #0: AMD - AMD Radeon RX 6400 (RADV NAVI24)

This is Thrive version: 0.6.6.0-alpha+90b7b72208637c3faaeaccafeb199c040eb3e7ac (see below for more build info) TODO: reimplement unhandled exception logger Startup C# locale is: bg-BG Godot locale is: en_US user:// directory is: /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive Game logs are written to: /home/georgi/.var/app/com.revolutionarygamesstudio.ThriveLauncher/data/Thrive/logs latest log is 'log.txt' Cannot use full-speed Thrive native library due to: CPU is missing AVX 2 extension instruction support Using slower Thrive native library that doesn't rely on as new CPU instructions Checked that required CPU features are present Loaded native Thrive library version 12 Doing delayed apply for some settings Set audio output device to: Default Set C# locale to: bg-BG Godot locale is: en TODO: re-add harmony init No SteamClient class found, not initializing Steam SimulationParameters are good This is a DEVBUILD, early release version of Thrive! This version of Thrive was built at Thursday, 21 March 2024 09:46:24 from commit 90b7b72208637c3faaeaccafeb199c040eb3e7ac on branch master We were opened through the Thrive Launcher Launcher opening us is hidden Thrive Launcher started us, launcher hidden: True Skipping clearing an UI input action Loading mod Nodes into the scene tree Jukebox now playing from: Menu Jukebox: starting track: res://assets/sounds/main-menu-theme-1.ogg position: 0 Startup successful, removing startup info file ------------ Thrive Startup Succeeded ------------ USER ERROR: Attempt to disconnect a nonexistent connection from 'root:<Window#32027706576>'. Signal: 'focus_entered', callable: ''. at: _disconnect (core/object/object.cpp:1420) USER ERROR: Attempt to disconnect a nonexistent connection from 'root:<Window#32027706576>'. Signal: 'tree_exited', callable: ''. at: _disconnect (core/object/object.cpp:1420) USER ERROR: Attempt to disconnect a nonexistent connection from 'root:<Window#32027706576>'. Signal: 'focus_entered', callable: ''. at: _disconnect (core/object/object.cpp:1420) USER ERROR: Attempt to disconnect a nonexistent connection from 'root:<Window#32027706576>'. Signal: 'tree_exited', callable: ''. at: _disconnect (core/object/object.cpp:1420) TaskExecutor started with parallel job count: 4 USER ERROR: Attempt to disconnect a nonexistent connection from 'root:<Window#32027706576>'. Signal: 'focus_entered', callable: ''. at: _disconnect (core/object/object.cpp:1420) USER ERROR: Attempt to disconnect a nonexistent connection from 'root:<Window#32027706576>'. Signal: 'tree_exited', callable: ''. at: _disconnect (core/object/object.cpp:1420) We are not playing a newer Thrive version than last played, not updating latest Previous patch doesn't exist, despawning all entities. Applying patch (Vasmoszerese Volcanic Vent) settings Number of clouds in this patch = 9 Registering new spawner: Name: ammonia density: 0,79999995 Registering new spawner: Name: glucose density: 0,39999998 Registering new spawner: Name: phosphates density: 0,79999995 Registering new spawner: Name: hydrogensulfide density: 0,79999995 oxygen spawn density is 0. It won't spawn carbondioxide spawn density is 0. It won't spawn nitrogen spawn density is 0. It won't spawn sunlight spawn density is 0. It won't spawn temperature spawn density is 0. It won't spawn Number of chunks in this patch = 5 Registering new spawner: Name: FLOATING_HAZARD density: 1 Registering new spawner: Name: SMALL_IRON_CHUNK density: 0,5 MARINE_SNOW spawn density is 0. It won't spawn Registering new spawner: Name: BIG_IRON_CHUNK density: 0,79999995 Number of species in this patch = 1 Registering new spawner: Name: 1 density: 0,17212902 World generation settings: [LAWK: False, Difficulty: normal preset, Life origin: Vent, Seed: 753014786, Day/night cycle enabled: False, Day length: 180, Include multicellular: False, Easter eggs: False] Jukebox now playing from: MicrobeStage Jukebox: starting track: res://assets/sounds/microbe-theme-1.ogg position: 0 Jukebox: starting track: res://assets/sounds/soundeffects/microbe-ambience.ogg position: 0 WARNING: AnimationMixer: 'RESET', Value Track: '.:visible' has different update modes between some animations which may be blended together. Blending prioritizes UpdateMode.UPDATE_CONTINUOUS, so the process treats UpdateMode.UPDATE_DISCRETE as UpdateMode.UPDATE_CONTINUOUS with InterpolationType.INTERPOLATION_NEAREST. at: _update_caches (scene/animation/animation_mixer.cpp:890) USER ERROR: Attempt to disconnect a nonexistent connection from 'root:<Window#32027706576>'. Signal: 'focus_entered', callable: ''. at: _disconnect (core/object/object.cpp:1420) USER ERROR: Attempt to disconnect a nonexistent connection from 'root:<Window#32027706576>'. Signal: 'tree_exited', callable: ''. at: _disconnect (core/object/object.cpp:1420) User requested program exit, Thrive will close shortly USER ERROR: System.ArgumentException: Disposable not registered. (Parameter 'weakReference') at Godot.DisposablesTracker.UnregisterDisposable(WeakReference1 weakReference) at Godot.NodePath.Dispose() at HUDBase.Dispose(Boolean disposing) in /home/hhyyrylainen/Projects/Thrive/src/general/base_stage/HUDBase.cs:line 62 at HUDWithPausing.Dispose(Boolean disposing) in /home/hhyyrylainen/Projects/Thrive/src/general/base_stage/HUDWithPausing.cs:line 101 at CreatureStageHUDBase1.Dispose(Boolean disposing) in /home/hhyyrylainen/Projects/Thrive/src/general/base_stage/CreatureStageHUDBase.cs:line 971 at MicrobeHUD.Dispose(Boolean disposing) in /home/hhyyrylainen/Projects/Thrive/src/microbe_stage/MicrobeHUD.cs:line 543 at Godot.Bridge.CSharpInstanceBridge.CallDispose(IntPtr godotObjectGCHandle, godot_bool okIfNull) at: void Godot.NativeInterop.ExceptionUtils.LogException(System.Exception) (:0) Shutting down native library Shutdown actions complete USER ERROR: System.ArgumentException: Disposable not registered. (Parameter 'weakReference') at Godot.DisposablesTracker.UnregisterDisposable(WeakReference1 weakReference) at Godot.NodePath.Dispose() at MouseHoverPanel.Dispose(Boolean disposing) in /home/hhyyrylainen/Projects/Thrive/src/gui_common/MouseHoverPanel.cs:line 128 at Godot.DisposablesTracker.OnGodotShuttingDownImpl() at Godot.DisposablesTracker.OnGodotShuttingDown() at: void Godot.NativeInterop.ExceptionUtils.LogException(System.Exception) (:0) USER ERROR: 10 shaders of type SceneForwardClusteredShaderRD were never freed at: ~ShaderRD (servers/rendering/renderer_rd/shader_rd.cpp:842) USER ERROR: 2 shaders of type CanvasShaderRD were never freed at: ~ShaderRD (servers/rendering/renderer_rd/shader_rd.cpp:842) USER ERROR: 2 shaders of type ParticlesShaderRD were never freed at: ~ShaderRD (servers/rendering/renderer_rd/shader_rd.cpp:842) ERROR: 36 RID allocations of type 'N10RendererRD11MeshStorage4MeshE' were leaked at exit. ERROR: 86 RID allocations of type 'N10RendererRD15MaterialStorage8MaterialE' were leaked at exit. ERROR: 14 RID allocations of type 'N10RendererRD15MaterialStorage6ShaderE' were leaked at exit. USER ERROR: Decal Atlas: 1 textures were not removed from the atlas. at: ~TextureStorage (servers/rendering/renderer_rd/storage_rd/texture_storage.cpp:544) ERROR: 198 RID allocations of type 'N10RendererRD14TextureStorage7TextureE' were leaked at exit. USER WARNING: 82 RIDs of type "UniformBuffer" were leaked. at: _free_rids (drivers/vulkan/rendering_device_vulkan.cpp:9317) USER WARNING: 44 RIDs of type "IndexArray" were leaked. at: _free_rids (drivers/vulkan/rendering_device_vulkan.cpp:9317) USER WARNING: 44 RIDs of type "IndexBuffer" were leaked. at: _free_rids (drivers/vulkan/rendering_device_vulkan.cpp:9317) USER WARNING: 4 RIDs of type "VertexArray" were leaked. at: _free_rids (drivers/vulkan/rendering_device_vulkan.cpp:9317) USER WARNING: 70 RIDs of type "VertexBuffer" were leaked. at: _free_rids (drivers/vulkan/rendering_device_vulkan.cpp:9317) USER WARNING: 374 RIDs of type "Texture" were leaked. at: finalize (drivers/vulkan/rendering_device_vulkan.cpp:9655) USER ERROR: Parameter "RenderingServer::get_singleton()" is null. at: ~CompressedTexture2D (scene/resources/compressed_texture.cpp:464)

hhyyrylainen commented 5 months ago

The lockup is about expected, for me turning down the number of game threads get the game to function for at least a few minutes.

For example the Esc key does nothing ingame.

I've noticed, it's on the board: https://github.com/orgs/Revolutionary-Games/projects/6/views/1?filterQuery=esc&pane=issue&itemId=56899996 and https://github.com/orgs/Revolutionary-Games/projects/6/views/1?filterQuery=esc&pane=issue&itemId=56456719

As the game no longer fails due to the native library / CPU features, I'll close this issue.