Embeddium

Embeddium

37M Downloads

Flickering artifact during GC w/ VSync

soupluvr opened this issue ยท 1 comments

commented

Bug Description

If the game is running with VSync enabled a black screen is displayed when the garbage collector runs. If the garbage collector is running frequently (in larger packs with higher allocation rates), this can create a flickering/strobing effect over the whole screen.

Reproduction Steps

GPU: RTX 4070 (Game Ready Driver v560.70)
Embeddium Version: 0.3.29+mc1.20.1

  1. Launch the game, (Prism Launcher)
  2. Create a new world
  3. Enable vsync
  4. Put slider above your monitor's refresh rate, so VSync takes effect
  5. Open F3, watch the memory usage increase. When it decreases, black screen should happen

Notes:

  • Happens in both full-screen and windowed
  • Happens more frequently during memory-intensive actions (generating chunks especially)
  • Flickering sometimes occurs when the overall memory usage is increasing
  • Allocating more/less ram (within reason) doesn't seem to have any effect

Log File

latest.log

commented

Did some research, apparently this is a problem with minecraft itself, not Embeddium/Sodium