Sk1erLLC / Patcher

A Forge mod full of Vanilla bug fixes, Quality of Life improvements, and performance enhancements.
Other
232 stars 60 forks source link

Entity Culling causes freezes with latest AMD drivers on Windows #157

Open DJtheRedstoner opened 1 year ago

DJtheRedstoner commented 1 year ago

The latest AMD drivers on Windows cause the game to freeze if entity culling is turned on. With entity culling disable, the game works fine.

Video and thread dump courtesy of @Noctember

https://github.com/Sk1erLLC/Patcher/assets/52044242/3adf8f0e-f691-483e-925d-b1f59996d467

threads_report.txt

Based on this thread dump, this line is casuing the freeze: https://github.com/Sk1erLLC/Patcher/blob/e296904f3fcab447dc7e1fd7f0d3e92cf0887b44/src/main/java/club/sk1er/patcher/util/world/render/culling/EntityCulling.java#L282

This may be a bug on our side, but this is unlikely since this feature works fine on a wide variety of OpenGL implementations, so it's likely a problem on AMD's end.

dyrix commented 1 year ago

i crash with this setting on i hope this gets fixed soon using 6700xt