wired-tomato / WayGL

Force MC to use wayland on supported systems
MIT License
17 stars 5 forks source link

Game window closes upon entering a world #9

Open Sollace opened 8 months ago

Sollace commented 8 months ago

One time it happened upon reaching the main menu, but it's more repeatable by entering a singleplayer or multiplayer world. The game doesn't crash or anything, I can see it still running through the logs, just the window itself gets destroyed somehow.

This issue started happening for me since toggling fullscreen mode, but it persists even after manually turning it off in the config and restarting the game.

At first I thought it was because I had installed updates on my system, but the issue persists even after a full reboot and other people I know have mentioned experiencing the same issue. The only way we've been able to get the game playable is by removing WayGL.

I'm using Manjaro/KDE with an nvidia card. I'll try to get my friend to add their specs on here once they are available.

Sollace commented 8 months ago

Looks like adding GL_THREADED_OPTIMIZATIONS=0 (as per a comment on another issue) fixes it

Edit: Problem has returned even with the above environment variable set.

wired-tomato commented 8 months ago

If it's not inconvenient, could you post your logs for when this happened?

Sollace commented 8 months ago

If it's not inconvenient, could you post your logs for when this happened?

If I'm able to reproduce it, sure. Give me a few minutes.

Sollace commented 8 months ago

If it's not inconvenient, could you post your logs for when this happened?

I just had it happen to me again today. Here's the log:

https://mclo.gs/ZTi0sXS