-
Notifications
You must be signed in to change notification settings - Fork 805
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sodium causing clientside chunks leak #2586
Comments
I think this problem is related to a regression in Minecraft 1.21 itself, as the chunks don't seem to get unloaded there either. Unfortunately, it would seem Sodium exacerbates the issue, because it will only unload geometry when the chunks themselves are unloaded, and not when they fall out of the render distance. We might need to rework things to address this. |
Alright after the additional testing i got next information:
|
Co-authored-by: mcrcortex <{ID}+{username}@users.noreply.github.com>
Bug Description
The Sodium installed causing clientsided chunks leak either by itself or makes it much noticeable.
![image](https://private-user-images.githubusercontent.com/174178570/346079617-7dc40f20-7b69-4737-84ed-114fd8e71604.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1NjAyODYsIm5iZiI6MTcyNTU1OTk4NiwicGF0aCI6Ii8xNzQxNzg1NzAvMzQ2MDc5NjE3LTdkYzQwZjIwLTdiNjktNDczNy04NGVkLTExNGZkOGU3MTYwNC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTA1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkwNVQxODEzMDZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iNGFjMmQ5NDY5YmYxNmNkNzY1YWIyMjA5YTY5MWI2NzNmMzU0MWJmNmM5MTEyOTMxZmEzZThjM2Y2OGMzNDFkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.veb5IYrITvy6YL5NlnKhnViKlRN_qtpOjkzMy0yeVCM)
Below i attached screenshot which illustrates the problem.
The amount of chunks on vanilla is a bit above from the starting point, but fairly enough to not set off the alarm.
![image](https://private-user-images.githubusercontent.com/174178570/346084969-8d542c59-ccd9-4af7-975f-d612e8dedcf0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1NjAyODYsIm5iZiI6MTcyNTU1OTk4NiwicGF0aCI6Ii8xNzQxNzg1NzAvMzQ2MDg0OTY5LThkNTQyYzU5LWNjZDktNGFmNy05NzVmLWQ2MTJlOGRlZGNmMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTA1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkwNVQxODEzMDZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mNmEwNGJmNjY0YWU4NDk5MWE2ZGU5NzhmNDZiYWExYTk2OTc5NTZkZmYxOGJlNjRiMmJiZDY1MGJkNWNiZmQwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.IWt6Z9K2tTfUN318TvwCAyeCdzqxBVTG2QAcLsFrB3Q)
Reproduction Steps
Install 1.21 with Fabric Mod Loader.
Use
jdk-21.0.3.9-hotspot
as your runtime.Install Sodium 0.5.11.
Launch the game and create the new world with Creative mode.
Set the game rule keepInventory to true.
Equip elytra and firework.
Set a spawnpoint on
0 320 0
.Open F3 menu and follow one axis both in positive and negative direction on Gizmo debug crosshair.
Fly around 1000 blocks and kill yourself with the console command.
Do the same for the all axes.
Keep an eye on amount of geometry pool
Log File
https://paste.nolog.cz/?9a65e0dee4dddbf2#FdqxtsRo6zU2XyumZ9ZdM1jHRjVyBWyLbduZezS9er4x
Crash Report
https://paste.nolog.cz/?4daec5abb631e610#CbPBK2LbpBALLJ2WyPgmrXYqtFm7VHuTSM7DFgLrkPnr
The text was updated successfully, but these errors were encountered: