T
tModLoader6mo ago
genetic-orange

Game does not launch, unable to load shared library FNA3D

As title states, due to missing files FNA3D and libFNA3D (to my understanding) tmodloader crashes on startup. I've deep dived this issue on this server, the FAQ, and various other sources and have found no answer. I am on Bazzite, a fedora based Linux OS, I installed NETCore from Microsoft's fedora based instructions so that could be related. The only other mention I found in this server missing fna3d files was in the mod development channel surprisingly. Worried that this is too niche to fix, and I fully understand I may beyond help but any assistance would be appreciated.
22 Replies
tModLoader
tModLoader6mo ago
Welcome to #support-forum. Before someone helps you, please first consult the information in #TML Troubleshooting Guide and try all the suggestions that might fit your particular issue, especially in the linked FAQ page. If the information in the pinned thread does not solve your issue, please post all log files by dragging and dropping them into this chat. In Steam right click on tModLoader in the library, then hover over Manage and click on Browse local files. In the folder that appears find tModLoader-Logs and open that folder. Inside that folder are the logs files. Select them all except the Old folder and drag them into this chat. If you need a visual guide to this process watch this: https://github.com/tModLoader/tModLoader/assets/4522492/3f4efa43-753f-4733-b630-ba85e711340c
genetic-orange
genetic-orangeOP6mo ago
tModLoader
tModLoader6mo ago
Automatic Hastebin for carroch (message.txt): https://hst.sh/ibubagefoc.cs
genetic-orange
genetic-orangeOP6mo ago
^client log ERROR: ld.so: object '/run/host/usr/lib/extest/libextest.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. natives log ^
genetic-orange
genetic-orangeOP6mo ago
tModLoader
tModLoader6mo ago
Automatic Hastebin for carroch (message.txt): https://hst.sh/buqekiyise.cs
genetic-orange
genetic-orangeOP6mo ago
launch log ^
tModLoader
tModLoader6mo ago
Tag: tryopengl (Owner: creedus#0000) Are you experiencing FPS drops, low FPS, or laggy singleplayer gameplay? DirectX on Windows may not be working properly and might be causing these issues. Try using OpenGL using the launch argument in Steam as shown here: https://gyazo.com/a572f60f32424ac1bdbdebb68ead5043
Gyazo
Gyazo
jopojelly
jopojelly6mo ago
Do you have the environment-client.log file?
genetic-orange
genetic-orangeOP6mo ago
Yes, avoided posting that because it doxxed me a bit just a sec
genetic-orange
genetic-orangeOP6mo ago
tModLoader
tModLoader6mo ago
Automatic Hastebin for carroch (message.txt): https://hst.sh/rahivayexu.cs
jopojelly
jopojelly6mo ago
hm, your environment variables show LD_PRELOAD=/run/host/usr/lib/extest/libextest.so:/tmp/pressure-vessel-libs-EMAZ62/${LIB}/gameoverlayrenderer.so, which mentions that libextest.so that is in your errors. After googling your issue I found mention of this: https://github.com/Supreeeme/extest. Is this something you installed? It seems to be conflicting. You might need to fix your environment variables to remove that additional library path
genetic-orange
genetic-orangeOP6mo ago
Wonder if that comes pre packaged with bazzite since I have not installed that myself new to linux so this is a pretty rude awakening, right now trying to manually install fna and fna3d from their github will try cleaning that up after if it doesnt work
jopojelly
jopojelly6mo ago
That won't work, I assume, we ship our own builds on fna with our bespoke changes.
genetic-orange
genetic-orangeOP6mo ago
yeah im jumping through so many hoops trying to set up fna, first I need CMake which then tells me i need something called Sphinx... ill just look at that library path rq
jopojelly
jopojelly6mo ago
That's the /run/media/Carroch/Mods/SteamLibrary/steamapps/common/tModLoader/Libraries/FNA/1.0.0/FNA3D.so mentioned in your logs. It's failing to load because the libextest.so in that LD_PRELOAD environment variable is loading (for some reason?) but it's a 32 bit library. You might be able to work around that by adding a line export LD_PRELOAD="" to like, right after line 9 of LaucnhUtils/Environmentfix.sh
genetic-orange
genetic-orangeOP6mo ago
echo "Fixing Environment Issues" 2>&1 | tee -a "$LogFile" export LD_PRELOAD=" " something like this or should I not take that literal?
jopojelly
jopojelly6mo ago
yeah, that's what I mean, add a new line after that echo line and add that text, save the file, launch from steam as usual
genetic-orange
genetic-orangeOP6mo ago
no luck, same error i guess next thing to try is uninstalling extest, originally I thought it was for the game rust but rust is also a language which it wont let me directly delete so major hiccup bazzite is immutable, and extest is in the root directory trying to jump through a few more hoops but confidence is dropping edit, the entire root is read only alright I'm going say this as "answered", I've done all I can on my end and will likely end up swapping distros physically unable to remove extest because it's read only on the root drive bazzite does not get along with tmodloader is what im going to chalk this up to
jopojelly
jopojelly6mo ago
hm, I thought the export thing would work, guess not. You can try it in start-tModLoader.sh, or you can try unset LD_PRELOAD instead maybe
deja vuu
deja vuu3mo ago
Same issue- fresh bazzite on Lenovo Legion Go. Also installed NETCore too. Perhaps a related issue, there seems to be case sensitivity problems- folders and files spontaneously go "lowercase" so scripts involved in tmodloader will fail to see other files. Yep. I had to reinstall stuff on a different directory, seems on Atomic distribution its finnicky based on filesystem. Game finally launched after just doing this. The rest in this didn't really work, with the exception of getting NETCore installed (and trying to run dotnet-install.sh until it just reports back a dotnet version)

Did you find this page helpful?