EcoIssues icon indicating copy to clipboard operation
EcoIssues copied to clipboard

[9.6.1 release-337] Linux: world rendering crashes

Open EcoBuilder13 opened this issue 2 years ago • 15 comments

Version: 9.6.1 release-337 OS: Linux Kernel: 5.18.10 Driver: Proprietary NVIDIA 515.48.07

Log File: Player.log.zip

With the above system information using the native Linux client renders the world purple and after a short while will crash without any user interaction, though opening the avatar customization menu will accelerate the process causing the game to crash less then a minute after opening it. The game will also sometimes crash without making it to the title screen.

This appears to be caused by missing libraries and unsupported shader features or the shaders being complied against a incompatible version. I am going attach the full log file that is 55MB+ in size and over 500,000 lines long. Some of the information won't be part of the rendering problem but causes other problems on Linux.

Images: 20220804091405_1 20220804091411_1 20220804091423_1 20220804091433_1

EcoBuilder13 avatar Aug 04 '22 13:08 EcoBuilder13

I am experiencing the same bug. Eco 0.9.6.1 Kernel 5.19.5 Nvidia 515.65.01 purple-bug

hutli avatar Sep 02 '22 20:09 hutli

Hello hutli, it's good to see I'm not the only one with this issue so it will be of more priority to the developers. I notice you are using the NVIDIA 515 driver as well and think they issue may be related to that as the log message reports shaders being incapable with the GPU. Have you ran a 0.9.5.x version with the 515 drivers and not had this issue? As I know they made lots of graphics changes in 9.6 that could of caused the issue but it may be an issue with the newer drivers as well. Soon I am going to see if I can manage to test the older 510 drivers to see if there is an issue with them. (If you don't respond first) If you have a Radeon system with the Mesa drivers on Linux could you also possibly test if 0.9.6.1 is broken on that system?

EcoBuilder13 avatar Sep 03 '22 02:09 EcoBuilder13

Hello @EcoBuilder13, just a heads up, there is another issue mentioning this bug #23380, so we are not the only ones. One of the other people has explicitly stated that they are using v515 drivers, and the other is using Ubuntu 22.04, which indicates that they are probably using the newest Nvidia drivers too. I think your theory is very plausible. I have not tested with other driver versions yet, but I'll see if I can't find the time this weekend to try. I, unfortunately, do not own a Radeon System.

hutli avatar Sep 03 '22 08:09 hutli

Can confirm on nVidia 515, PopOS 22.04 Pink bug; ≥Eco 9.6.x Working; ≤ Eco 9.5.4

cgiAlexis avatar Sep 03 '22 11:09 cgiAlexis

I tried testing with Nouveau drivers this morning, but I couldn't even get the game to launch with those.

hutli avatar Sep 03 '22 11:09 hutli

Unless @EcoBuilder13 comes back with some good results on the 510 drivers, I will be using forced proton through steam ontop of the windows version until they fix this bug (Eco -> Properties -> Compatibility -> "Force the use..."). Based on FPS it performs about 70% as well as the "native" linux version directly from devs.

hutli avatar Sep 03 '22 11:09 hutli

Unfortunately the issue persists on the 510 drivers. Though I am still curious of the result on a Radeon system as the log mentions about shaders not being compatible with the GPU and Desired shader compiler platform 18 is not available in shader blob. I think this might be an issue with their build process not building the shaders for the right version. As a similar issue was present in the 0.9.5 staging builds where some of the library files were not included with the game that would cause it to crash on startup. I was able to prove this by patching the old version of the library but it did not work perfectly. Thankfully they fixed it before release even though they did nothing about the Github issue (https://github.com/StrangeLoopGames/EcoIssues/issues/23003).

EcoBuilder13 avatar Sep 03 '22 16:09 EcoBuilder13

Hi all, this issue was due to a missing file for the Linux version and will be fixed in 9.6.2. Alternatively, using Proton will avoid the issue.

redwyre avatar Sep 03 '22 17:09 redwyre

The issue is still present in 0.9.6.2 release-342. The world is still purple though you can make out more details in the purple. Also the map doesn't work and the game still crashes after a minute.

EcoBuilder13 avatar Sep 15 '22 20:09 EcoBuilder13

Can you upload a new log?

redwyre avatar Sep 16 '22 01:09 redwyre

Updated Log: Player.log.zip

I have also attached an updated screenshot showing some of the other things I can see now. Before I could only see the particles from waterfalls stand out from the purple now it is different things and not the waterfalls anymore. The map only shows a preview before you open it, if you open it, it turns gray and will show that way on the HUD. Also would you like me to file a separate report for the non rendering related libraries that are missing like libvivox?

image

EcoBuilder13 avatar Sep 16 '22 03:09 EcoBuilder13

I am also still seeing this issue, though it seems a little improved compared to 9.6.1. Instead of infinitely falling and being teleported back up, the world seems to exist again. In fact it is possible to interact with plants and such if you happen to look in the right place and direction. I have attached a picture of the player characters legs clipping into presumably a block of dirt, showing that the objects do seem to actually exist. But none of the materials beside the player character seem to work. pink2

And here is the player log: Player.log

cemeceme avatar Sep 17 '22 04:09 cemeceme

I figure this wasn't addressed yet in today's update anyway, but the problem still persists in 9.6.3 for me.

cemeceme avatar Sep 20 '22 02:09 cemeceme

We have a fix for this in v0.9.6.4-beta-staging-2461, is someone able to test the staging build? You can get it from steam beta branch or downloaded from website.

redwyre avatar Oct 09 '22 14:10 redwyre

I can confirm that v0.9.6.4-beta-staging-2461 is working for me. I also noticed that some of the plants that had issues rendering (ex: Old Growth Redwood) work properly now, most likely due to the refactoring of the LOD system in the 9.6 update cycle. Though it appears that plants still have that issue but trees work properly now.

20221009181140_1

EcoBuilder13 avatar Oct 09 '22 22:10 EcoBuilder13