This can be caused by so many different things that it's barely possible to even get close to figuring it out. Without more information about your hardware and other things like driver version etc, my best guess is Update your drivers. Or try to limit the amount of entities that can be displayed in the settings to maybe circumvent the issue.