Skip to content

Fix for AMD GPUs visual bugs with last drivers#549

Open
Carnesito wants to merge 1 commit intoFiniteReality:20.1/forgefrom
Carnesito:fix-amd
Open

Fix for AMD GPUs visual bugs with last drivers#549
Carnesito wants to merge 1 commit intoFiniteReality:20.1/forgefrom
Carnesito:fix-amd

Conversation

@Carnesito
Copy link

This pull request addresses severe visual rendering issues (such as invisible chunks and mesh corruption) that occur on AMD GPUs (e.g., RX 6600) when using Embeddium.
The root cause of these issues appears to be aggressive driver-level optimizations triggered by AMD's Windows drivers, which end up interfering with Embeddium's rendering pipeline.
Solution
This patch introduces a workaround by bypassing the problematic driver behavior. It accomplishes this by manipulating Windows API calls (Kernel32) to temporarily spoof the command line arguments. This successfully prevents the AMD driver from incorrectly applying its invasive optimizations to the game's rendering context.
Captura de pantalla 2026-03-20 144449
Captura de pantalla 2026-03-20 211529
Impact

  • Fully resolves mesh corruption and invisible chunk issues on AMD hardware.
  • The workaround is safely isolated to Windows systems running AMD hardware via specific API interactions.

@github-actions
Copy link

github-actions bot commented Mar 21, 2026

DCO Assistant Lite bot All contributors have read and affirmed the entire contents of the Developer Certificate of Origin.

@Carnesito
Copy link
Author

recheck

@Carnesito
Copy link
Author

I have read and hereby affirm the entire contents of the Developer Certificate of Origin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant