I'm new to Linux and I've recently noticed that when I play Minecraft, after 30 minutes or so the system freezes! When it's frozen, I can't do anything and I just force a shut down by holding on the power button. I've tried waiting it out but nothing seems to be happening. I've tried changing my Java, updating drivers, limiting RAM usage, and I've searched this up on Google and haven't found anything. In game, I also see blocks at the edge of my screen that are partly transparent. Also, sometimes my screen flashes black only in game. I usually get around 30-40 fps when using Linux. This doesn't happen in Windows but when I play on Windows I usually get around 15-25 fps on a low render distance. When I used to use Ubuntu, the screen ?

Please help.

I didn't find the right solution from the Internet.

Creative infographic design studio