Engine-Room / Flywheel

A modern engine for modded Minecraft.
MIT License
205 stars 52 forks source link

AMD Graphics Cardrendering error while fly wheel is set to instancing #223

Closed Mastermarksmen31 closed 4 months ago

Mastermarksmen31 commented 5 months ago

Describe the Bug

While using an AMD graphics card while fly is set to instancing, graphical issues with chests, shulker boxes and belts are the only ones I've seen but I'm sure more exist, when the chests and shulkers are placed down, parts of them will appear blacked out randomly.

Reproduction Steps

  1. Launch minecraft with create on a machine using an AMD Graphics card
  2. Place a bunch of chests or shulker boxes
  3. ...

Expected Result

Parts of these blocks should appear blacked out

Screenshots and Videos

2024-01-30_10 05 44

Crash Report or Log

No response

Operating System

Windows 11

What is your GPU?

AMD Radeon RX 6800 XT

Mod Version

0.5.1

Minecraft Version

1.18.2

Loader Version

40.2.10

Other Mods

Quark chests are seen on the screenshot but this was tested with only create as well and the issue persisted

Additional Context

I was told to report a bug here as well after leaving one on the Create GitHub, the issue seems to fix itself when switching to flywheel batching using "/flywheel backend batching"

mindbound commented 5 months ago

I'm also having this exact same problem, also on Windows 11, using AMD Radeon RX 7600 XT.

Setting the backend to batching does work.

Jozufozu commented 5 months ago

Please make sure you are using the latest adrenalin drivers for your GPU (should see a download for "AMD Software: Adrenalin Edition"). Older AMD drivers have issues

mindbound commented 5 months ago

I am using the latest stable, 24.1.1.

awbuckst11181999 commented 5 months ago

I updated my drivers and ran into this issue in 1.20.1. /flywheel batching seems to have solved it, but does effect framerate so a fix would be great

Marco6789 commented 5 months ago

I would like to add to this that i do not believe this is an AMD specific issue. [this] (https://github.com/Jozufozu/Flywheel/issues/226) issue has been opened by another user describing the same problem using an Nvidia GPU. I have also left a comment there that goes into detail on how to fix it.

Jozufozu commented 4 months ago

I'm able to reproduce this on an intel iGPU. Resolving as duplicate of #226