Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DJtheRedstoner opened this issue Jul 10, 2023 · 1 comment
Open
Labels
bug Something isn't working

Comments

@DJtheRedstoner
Copy link
Member

DJtheRedstoner commented Jul 10, 2023

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

2023-07-09_18-54-40.mp4

threads_report.txt

Based on this thread dump, this line is casuing the freeze:

query.occluded = GL15.glGetQueryObjecti(query.nextQuery, GL15.GL_QUERY_RESULT) == 0;

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.

@DJtheRedstoner DJtheRedstoner added the bug Something isn't working label Jul 10, 2023
@dyrix

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants