CaffeineMC / sodium

A Minecraft mod designed to improve frame rates and reduce micro-stutter
Other
4.79k stars 811 forks source link

Sodium is decreasing fps not increasing #2873

Closed JackP-07 closed 2 days ago

JackP-07 commented 2 days ago

When I use sodium I get around 200-300 fps which is still a lot but in vanilla I get like 400-500 fps sometimes even higher and I don't know why. I do have some other mods and resource packs but not any that would drastically decrease performance mostly just quality of life mods like better grass, better leaves, fast leave decay and stuff of that sort and the resource packs like fresh animations, vanilla tweaks, a few texture changes and simple stuff like that. I am playing in 1080p and my specs below.

GPU: GTX 1660 Super CPU: i7-8700 RAM: 16GB 2666Mhz 2x8GB Storage: 512Gb NVME SSD

If there is any way you can help I would appreciate it!

Felix14-v2 commented 2 days ago

Please, send some screenshots of a test scene with and without Sodium for comparison with the debug screen (F3) opened. The vanilla renderer has less overhead and sometimes works faster in some cases, but in heavily loaded scenarios like higher render distance or a high number of entities Sodium generally performs noticeably better.

vogon-poetry commented 2 days ago

"bushy leaves" mods and resource packs like Better Leaves do have a large performance impact because of the additional geometry involved. Regardless, for these sorts of support issues you should go to the Discord support forum, not the issue tracker.

JackP-07 commented 2 days ago

The first picture is vanilla and the second one is sodium. I was getting more fps in this new world that I made but I still have less fps in vanilla than in sodium

2024-11-11_00 59 38 Sodium

jellysquid3 commented 2 days ago

Your screenshots indicate no problem. Looking at the peak frame rate is not a helpful metric and it doesn't represent anything important about the performance of the game. And besides, you have a bunch of other resource packs and mods which are going to decrease performance (even more so when the game has so little work to be doing with such a short render distance.)

In other words, you are worrying about the wrong things. Consider increasing your graphical settings (i.e. render distance) and set a frame rate limit so that your computer can focus on the more important things in the game, rather than rendering useless frames you can't see or benefit from.

jellysquid3 commented 2 days ago

And, to be clear, the peak frame rate in very lightly loaded scenarios like this will be worse on NVIDIA GPUs, because we have to apply workarounds to disable broken functionality in the NVIDIA Graphics Driver. They could fix their driver, but they don't, because our mod isn't big enough and they don't care.

But this limitation should not ever matter unless you are using very short render distances on very powerful computers. In real scenarios, it doesn't matter.

JackP-07 commented 1 day ago

Thanks for the help, I did try removing all the other mods I had beside sodium an lithium and I increased chuck render distance and I did get better performance guess the mods i had decreased performance more than I thought