Sodium

Sodium

35M Downloads

Sodium shows lower FPS, overall performance, and stability compared to Vanilla Minecraft on Apple Silicon

PhoenixFossGR opened this issue ยท 1 comments

commented

Bug Description

I own an iMac with the new M3 chip, and I've noticed significant differences in FPS between Sodium and vanilla Minecraft or with VulkanMod. With Vanilla or VulkanMod, I can achieve 100+ FPS in the same area, whereas with Sodium, I only get around 30-70 FPS. Additionally, chunks load much slower, and the fans start spinning rapidly. When I touch the iMac, it feels very hot. However, this isn't the case with Vanilla or VulkanMod.

Reproduction Steps

Install Fabric and Sodium on a Mac with Apple Silicon (M1, M2, M3)

Log File

[16:03:38] [main/INFO]: Loading Minecraft 1.20.4 with Fabric Loader 0.15.7
[16:03:38] [main/INFO]: Loading 10 mods:
- fabricloader 0.15.7
-- mixinextras 0.3.5
- java 17
- minecraft 1.20.4
- sodium 0.5.8+mc1.20.4
|-- fabric-api-base 0.4.36+78d798af4f
|-- fabric-block-view-api-v2 1.0.4+78d798af4f
|-- fabric-rendering-data-attachment-v1 0.3.42+73761d2e4f
|-- fabric-rendering-fluids-v1 3.0.33+78d798af4f
-- fabric-resource-loader-v0 0.11.17+707e4d1b4f
[16:03:38] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/Users/phoenixfossgr/Library/Application%20Support/minecraft/libraries/net/fabricmc/sponge-mixin/0.12.5+mixin.0.8.5/sponge-mixin-0.12.5+mixin.0.8.5.jar Service=Knot/Fabric Env=CLIENT
[16:03:38] [main/INFO]: Compatibility level set to JAVA_17
[16:03:38] [main/INFO]: Loaded configuration file for Sodium: 42 options available, 0 override(s) found
[16:03:38] [main/INFO]: Searching for graphics cards...
[16:03:39] [main/INFO]: Found graphics card: GraphicsAdapterInfo[vendor=UNKNOWN, name=Apple M3, version=unknown]
[16:03:39] [main/WARN]: Failed sysctl call: hw.cpufrequency, Error code: 2
[16:03:39] [main/INFO]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.3.5).
[16:03:40] [Datafixer Bootstrap/INFO]: 198 Datafixer optimizations took 53 milliseconds
[16:03:41] [Render thread/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[16:03:41] [Render thread/INFO]: Setting user: PhoenixFossGR
[16:03:41] [Render thread/INFO]: Backend library: LWJGL version 3.3.2-snapshot
[16:03:41] [Render thread/INFO]: OpenGL Vendor: Apple
[16:03:41] [Render thread/INFO]: OpenGL Renderer: Apple M3
[16:03:41] [Render thread/INFO]: OpenGL Version: 4.1 Metal - 88
[16:03:41] [Render thread/WARN]: Failed sysctl call: hw.cpufrequency, Error code: 2
[16:03:42] [Render thread/INFO]: Reloading ResourceManager: vanilla, fabric, fabric-api-base, fabric-block-view-api-v2, fabric-rendering-data-attachment-v1, fabric-rendering-fluids-v1, fabric-resource-loader-v0, fabricloader, sodium
[16:03:42] [Worker-Main-5/INFO]: Found unifont_all_no_pua-15.1.04.hex, loading
[16:03:43] [Render thread/WARN]: Missing sound for event: minecraft:item.goat_horn.play
[16:03:43] [Render thread/WARN]: Missing sound for event: minecraft:entity.goat.screaming.horn_break
[16:03:43] [Render thread/WARN]: Missing sound for event: minecraft:entity.generic.wind_burst
[16:03:43] [Render thread/INFO]: OpenAL initialized on device Razer Kraken Ultimate
[16:03:43] [Render thread/INFO]: Sound engine started
[16:03:43] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas
[16:03:43] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/signs.png-atlas
[16:03:43] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[16:03:43] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[16:03:43] [Render thread/INFO]: Created: 1024x1024x4 minecraft:textures/atlas/armor_trims.png-atlas
[16:03:43] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[16:03:43] [Render thread/INFO]: Created: 128x64x4 minecraft:textures/atlas/decorated_pot.png-atlas
[16:03:43] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[16:03:43] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[16:03:43] [Render thread/WARN]: Shader rendertype_entity_translucent_emissive could not find sampler named Sampler2 in the specified shader program.
[16:03:43] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/particles.png-atlas
[16:03:43] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas
[16:03:43] [Render thread/INFO]: Created: 128x128x0 minecraft:textures/atlas/mob_effects.png-atlas
[16:03:43] [Render thread/INFO]: Created: 1024x512x0 minecraft:textures/atlas/gui.png-atlas
[16:03:48] [Render thread/INFO]: Found new data pack fabric, loading it automatically
[16:03:49] [Render thread/INFO]: Loaded 7 recipes
[16:03:49] [Render thread/INFO]: Loaded 1271 advancements
[16:03:49] [Server thread/INFO]: Starting integrated minecraft server version 1.20.4
[16:03:49] [Server thread/INFO]: Generating keypair
[16:03:50] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[16:03:51] [Render thread/INFO]: Preparing spawn area: 0%
[16:03:51] [Render thread/INFO]: Preparing spawn area: 0%
[16:03:51] [Render thread/INFO]: Preparing spawn area: 0%
[16:03:51] [Render thread/INFO]: Preparing spawn area: 0%
[16:03:52] [Render thread/INFO]: Time elapsed: 1880 ms
[16:03:52] [Server thread/INFO]: Changing view distance to 32, from 10
[16:03:52] [Server thread/INFO]: Changing simulation distance to 12, from 0
[16:03:52] [Server thread/INFO]: PhoenixFossGR [local:E:6fde1a80] logged in with entity id 77 at (555.2530662046521, 172.3796877660015, -106.65338406590314)
[16:03:52] [Server thread/INFO]: PhoenixFossGR joined the game
[16:03:52] [Render thread/INFO]: Started 2 worker threads
[16:03:52] [Render thread/INFO]: Loaded 2 advancements
[16:04:16] [Server thread/INFO]: Saving and pausing game...
[16:04:16] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[16:04:16] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[16:04:16] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[16:04:48] [Server thread/INFO]: Saving and pausing game...
[16:04:48] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[16:04:48] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[16:04:48] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[16:04:49] [Server thread/INFO]: PhoenixFossGR lost connection: Disconnected
[16:04:49] [Server thread/INFO]: PhoenixFossGR left the game
[16:04:49] [Server thread/INFO]: Stopping singleplayer server as player logged out
[16:04:49] [Server thread/INFO]: Stopping server
[16:04:49] [Server thread/INFO]: Saving players
[16:04:49] [Server thread/INFO]: Saving worlds
[16:04:49] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[16:04:50] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[16:04:50] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[16:04:50] [Server thread/INFO]: ThreadedAnvilChunkStorage (New World): All chunks are saved
[16:04:50] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[16:04:50] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[16:04:50] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved
[16:04:50] [Render thread/INFO]: Stopping worker threads
[16:04:51] [Render thread/INFO]: Stopping!

Crash Report

I am unable to generate one. I've tried using Fn+F3+C, but nothing happens.

commented

The issue tracker is only intended for bug reports, not help requests. Please ask on the community Discord server.

But please keep in mind that Apple's ARM processors do not meet the minimum hardware requirements due to lacking OpenGL support, and that it is unlikely anyone can fix the issue.