RaphiMC / ImmediatelyFast

Speed up immediate mode rendering in Minecraft
https://modrinth.com/mod/immediatelyfast
GNU Lesser General Public License v3.0
292 stars 21 forks source link

High fps drops with REI. #58

Open Minecrafthyr opened 1 year ago

Minecrafthyr commented 1 year ago

With ImmediatelyFast: 4fps https://spark.lucko.me/jSEexP4wwb Without ImmediatelyFast: 20fps https://spark.lucko.me/b6H2e047Kz Mod list:

RaphiMC commented 1 year ago

Can you post your exact computer specs?

Minecrafthyr commented 1 year ago
Minecraft Version: 1.19.4
Minecraft Version ID: 1.19.4
Operating System: Windows 10 (amd64) version 10.0
Java Version: 17.0.1, Oracle Corporation
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Oracle Corporation
Memory: 1403201104 bytes (1338 MiB) / 2575302656 bytes (2456 MiB) up to 5368709120 bytes (5120 MiB)
CPUs: 8
Processor Vendor: AuthenticAMD
Processor Name: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx  
Identifier: AuthenticAMD Family 23 Model 24 Stepping 1
Microarchitecture: Zen / Zen+
Frequency (GHz): 2.10
Number of physical packages: 1
Number of physical CPUs: 4
Number of logical CPUs: 8
Graphics card #0 name: AMD Radeon(TM) Vega 8 Graphics
Graphics card #0 vendor: Advanced Micro Devices, Inc. (0x1002)
Graphics card #0 VRAM (MB): 1024.00
Graphics card #0 deviceId: 0x15d8
Graphics card #0 versionInfo: DriverVersion=26.20.11030.22001
Graphics card #1 name: Virtual Display Device
Graphics card #1 vendor: Huawei
Graphics card #1 VRAM (MB): 0.00
Graphics card #1 deviceId: unknown
Graphics card #1 versionInfo: DriverVersion=1.0.0.9
Memory slot #0 capacity (MB): 8192.00
Memory slot #0 clockSpeed (GHz): 2.67
Memory slot #0 type: DDR4
Memory slot #1 capacity (MB): 8192.00
Memory slot #1 clockSpeed (GHz): 2.67
Memory slot #1 type: DDR4
Virtual memory max (MB): 22516.28
Virtual memory used (MB): 19289.84
Swap memory total (MB): 7220.64
Swap memory used (MB): 699.42
RaphiMC commented 1 year ago

As a temporary fix disabling "fast_buffer_upload" in the config should fix the problem

warior456 commented 1 year ago

there doesn't seem to be a difference with disabling that except even more fps loss

RaphiMC commented 1 year ago

Can you please retest with the latest version for 1.19.4/1.20. I recoded the fast_buffer_upload optimization and some other internals

warior456 commented 1 year ago

I downloaded the mod today

warior456 commented 1 year ago

@RaphiMC

RaphiMC commented 1 year ago

Can you send a spark report of the issue and the client log

warior456 commented 1 year ago

Im on vacation rn I'll try to remember it

Minecrafthyr commented 10 months ago

This is a test in 1.20.2, RoughlyEnoughItems v13.0.678, ImmediatelyFast v1.2.7, fabric-api, architectury, cloth-config, spark. With ImmediatelyFast (about 45 ms related (27ms on item)): https://spark.lucko.me/O8008lG6U4 With ImmediatelyFast, fast_buffer_upload disabled (about 36 ms related (14 ms on item)): https://spark.lucko.me/tjF1RdE2xH Without ImmediatelyFast (about 32 ms related (11 ms on item)): https://spark.lucko.me/kjoPaz437X