It may be over heating. This can happen after it has been on for some time. Once it has been switched off and allowed to cool it works fine for a short while then starts again with the problems. If this is the case, check that your heatsink isn't clogged up with dust and that your fan is working. This usually sorts this problem out.