I recently installed ubuntu 14.04 on my laptop and wanted to install minecraft. It started perfectly fine (No black screens, no crashes) but after a few seconds, my whole screen goes black for 1 second, it only affect the screen where the game is running and does not stop my inputs (I can still move and do stuff but I don't see it). After it happens for the first time, the top of my screen starts to flicker and the black flashes become more and more frequent. It doesn't happen when I'm not moving.
I tried updating java and the drivers for my graphic card but it didn't change anything.
My graphics card is a Nvidia Geforce GTX 950M
I didn't have this problem when my computer was still on windows and it never happened on my desktop (also on ubuntu 14.04).
If you need any precisions on the nature of the problem or about my config, please ask.
Thanks