Can you bisect mesa? If changing mesa caused it and other apps are not affected, I doubt it's temperature related. Please also attach your xorg log and dmesg output.